i am using 5EMA and 10 EMA lines, so how to find the average of last two or three crossover values
The AVG of particular condition or OHLC is possible but, as per your condition the average of last three ema crossover happend can not be defined from tradescript
1 Like
is it possible to use if command, like, if crossover is true, set = ref(close, 1)