there was a task in the strategy to set a pending stop loss order at the current high or low of the day
maximum and minimum I get like this
double valueHigh = CurrentDayOHL().CurrentHigh[0]; double valueLow = CurrentDayOHL().CurrentLow[0];
// Submits a stop loss of $500 SetStopLoss(CalculationMode.Ticks, 31);
how to try what will be the correct syntax and logic?
The first one deals with strategy, thanks for your understanding
Comment