pearsonbe / Publications
Forum
How to Determine if an EMA Crosses Previous Candles
Hi. A function in my EA function should return true when EMA 13 crosses the previous two candles. The idea is to see if the EMA value was between the candle's open and close price . It doesn't work. Here's an ASCII visual of the candles and EMA. ++ ++ ++ ++ ++ --------- ---++---++---