ATR stop loss multiplier
-
Hi, i am trying to make a ATR based stop loss. I found an old post on the forum that explained how to set it up. However, i would like to make the multiplier value as a constant so i can backtest different values for optimisation.. In the image you can see that i have set *2 as default multiplier. If i save *2 as a constant i get en error message when compiling..

-
@piptheripper Firstly you create a Constant:

Then you manually embed it into the appropriate place :

-
awesome, thanks. Appreciate it!
-
@l-andorrà said in ATR stop loss multiplier:
@piptheripper Firstly you create a Constant:

Then you manually embed it into the appropriate place :

GRACIAS
-
No hay de qué.
