I will just copy the candletrail-function and adjust it to have a look to the atr each candle.
pls. allow a little bit time
Thank you very much.fxdaytrader wrote:Yes we can- but (maybe) not today.
I will just copy the candletrail-function and adjust it to have a look to the atr each candle.
pls. allow a little bit time
Thank you very much again !fxdaytrader wrote:if I did not overlook something that should work![]()
You have to enable the AtrTrailingStop, by default its deactivated.
I suggest to set the variables as you need them and "hardcode" it (better than using setfiles ...).
version 2 attached
Code: Select all
if (Ask > iHigh(Symbol(),0,1) + (Buffer / factor)) thanks.fx8000 wrote:For a long, if Ask price is > the high of the previous candle plus buffer, then the trade is triggered. Otherwise, no trade. The previous candle is the one that closed above 60LWMA.Code: Select all
if (Ask > iHigh(Symbol(),0,1) + (Buffer / factor))
E.g. Do not buy above WR2 or sell below WS2.fxdaytrader wrote:what do you mean with boundary filter? pls. explain, I do not have a clue