I have an issue in live with an automated system (see the picture), I don't understand why. On sim everyting's perfect (picture 2)
Could you help me ?
Thanks a lot !
if (Achat==1 && TradeJ==1) {
EnterLong(1);
TradeJ=0;
}
if (Vente==1 && TradeJ==1) {
EnterShort(1);
TradeJ=0;
}
if ((StopL==500 || Objectif==500) || ToTime(Time[0])==Ending-10000) {
ExitShort();
ExitLong();
}

Comment