Though I am able to compile the code, when I look at the chart the strategy is not placing any stop loss orders. Can someone please help me to write the correct syntax or help to understand what is wrong here?
SetStopLoss(CalculationMode.Price,ATRTrailing(4, 10, 0.005)[1]);
I also tried the other syntax but that did not work either.
SetTrailStop(CalculationMode.Price,ATRTrailing(4, 10, 0.005)[1]);
Very much appreciate your help in advance.
Comment