I am trying to set the stoploss using Low[0] at the time of entry signal. Therefore I created a variable LowStopLoss as a Double and set LowStopLoss = Low[0] when the conditions are met.
The stop definition is >
SetStopLoss("", CalculationMode.Price, LowStopLoss, false);
It does not work, but when I put number (as an integer) it works fine.
Thanks for help
Petr
Comment