For example: If the volatility > 1.5...continue with possible trade logic.
The 1.5 is a variable parameter (MinAtr), but the 1.5 value is constant for the entire optimization run.
I have the volatility indicator in a separate panel.
All I want to do is draw a black (or whatever color) line at 1.5 of that panel (3).
Currently, the following code is used for the indicator & it works.
ATR(MomBars).Panel = 3;
Add(ATR(MomBars));
Thanks.

Comment