GiorgioLauria / Publications
Forum
OrderClose error 4051
Good morning, this ea when I try to do the backtest returns the error 4051 in the Diary. Thanks. extern double percentage = 2.0 ; extern int bars = 2 , stop = 100 ; double average_swing,entry; int ticket,bar; void OnTick () { if (!newbar()) return ; if (ticket!= 0 ) { OrderSelect