StopLoss trigger not executed
Somebody, please help ...
You can't compare two double variables so easy. Use NormalizeDouble() function.
Somebody, please help ...
You can't compare two double variables so easy. Use NormalizeDouble() function.
You agree to website policy and terms of use
Somewhere after the start function I wrote a code that was supposed to be triggered by a stoploss. But it was never executed; Print ("SL/TP") was not executed. Any idea?
int start()
{
...
if ( OrderClosePrice()==OrderStopLoss() )
Print ("SL/TP");
...
}