Stop loss under x period low
-
How do I create a stop loss at the low of lets say the last 25 candles
-
@costad1991 You can do it this way:

-
Thank you! Would you be able to add ATR to that? So, like it would put stop loss at that lvl -ATR
-
@costad1991 Do you mean maybe subtracting as many pips below the low price as the ATR value right now?
-
Yea or +
-
-
@costad1991 The you will need to store the value of the ATR into a variable first and then include it in the 'Adjust' tab of the block.
-
I'm having a lot of trouble figuring out what is wrong with this https://fxdreema.com/shared/x5Kun6z6e. I'm trying to make it buy when MACD crosses above 0 line If candle close is above 200 EMA, and sell if MACD crosses below 0 line and closes below 200 EMA. It skips over a lot of trades that should be triggered
-
-
@costad1991 I don't see my suggestions about the variable. Did you try it? On the other hand, your logic is correct. Can you please show some examples of those skipped trades?