Can someone help me code this:
I use a MA cross strategy - EMA9 and EMA21. I'm looking for when the 9 crosses above the 21 to highlight that first candle where the cross happens, and then an alert for when the next candle breaks the high of that "crossover" candle. Example below - the first green candle immediately after the red one, would be my crossover candle, and then i'd want to know if/when the next candle, or few candles, breaks the high of that. hopefully that makes sense. Thanks.
I use a MA cross strategy - EMA9 and EMA21. I'm looking for when the 9 crosses above the 21 to highlight that first candle where the cross happens, and then an alert for when the next candle breaks the high of that "crossover" candle. Example below - the first green candle immediately after the red one, would be my crossover candle, and then i'd want to know if/when the next candle, or few candles, breaks the high of that. hopefully that makes sense. Thanks.