I’m using the ATR indicator as my Stop loss and profit target and I want that value to not update with each new bar. I’ve tried different methods but nothing works so far.
1
2
3
4
5
ATR=AverageTrueRange[14]
SET STOPpLOSS(1*ATR)
SET TARGETpPROFIT(2*ATR)
Here the Value of “ATR” updates as every new bar opens but I want to only get the value from the same bar as I opened my position and use that value as a constant but I can’t seem to figure out how.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.