Hi, I'm backtesting my basic codes and I actually don't have any problems while backtesting it on results but I get OrderClose 4108 Error on Journal tab. There is my codes, what do I wrong? I did some researches but couldn't find the answer to fix my codes. I would appreciate your helps.
- OrderClose() error 4108, unknown ticket 1 for OrderClose function
- OrderClose() error 138 during backtest
- Having a hard time getting my EA to close trades
else if (OrderSelect(ticket,SELECT_BY_TICKET)==true && OrderCloseTime()==0 && kontrol<3) { OrderClose(ticket,0.01,Ask,10); }
I know that it is not obvious, but topics concerning MT4 and MQL4 have their own section.
In future please post in the correct section.
I will move your topic to the MQL4 and Metatrader 4 section.
Thank you so much @Keith Watford I'm a newbie in this forum. I'll obey the rules as soon as I get how to use. Sorry for my mistake. Thanks again!
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register