ATR Stop Loss - Add ATR multiple above or below last two candles highs or lows?
-
Hi All,
I'm new to fxdreema and having an issue with coding a stop loss that work how I want it to....
I'm aware you can set stop losses using indicators but I cannot get the stop loss to work as intended
For buys I'm looking to set a stop loss that is an ATR multiple (i.e. ATR x 1.0x) below the lowest low of the last two candles (candles 1-2), and reverse for sell stops
Any ideas on how I can do this in FXdreema?
my initial thoughts I need to create a separate indicator for the 2 day highs or lows and then add ATRs to that?
Any help would be appreciated!
Cheers,
-
Try adding this in adjust for buys, -iATR(NULL,0,14,0);
this for sells +iATR(NULL,0,14,0);
to multiply add *2 or something in between ) and ;
14 is the ATR period you want to use, NULL is for current symbol. 0 is the current time frame, put this in the stop loss box that's using the level you want to adjust -
Thanks for the response, I'm grateful
My challenge I've found is that I need to apply the ATR stop loss above or below the last two candles high or low - the ATR is then multiplied and extends the stop beyond this level
I'll give your suggestion a try although I think the stop should be using the last 2 candle high and low and then applying the formula you mentionWhat I'm finding is that I can modify them but the stop determines the position size and it is not consistent at present as it may be initially 1% but extends out to 4% risk which then randomly adds weight to every outcome