When the last three candles were above the 50 exponential moving average place a trade. How to do this?
-
How do I place a trade on the condition that the last three candles were above the 50 exponential moving average?
Is it enough to have candle close, candle ID 3? and then the EMA condition on the other side.Or does typing candle ID 3 only take into consideration the previous 3rd candle but not the subsequent candles up to the current candle?
Kind Regards,
Chris K
-
@christhapiss You need to specify all thos candles this way (for a buy trend, for exmple):

-
@christhapiss Hi, l'androrra is correct and this is the traditional way but it prevents you having a choice in the number of candles, in the following link you will see how I use a loop to achieve this.
Hope this helps
-
@jstap Loops are always more effective, in effect.
Thanks