- Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes
- How can retrieve multiple ticket numbers
- How do I avoid selecting a closed ticket?
Why don't you tray yourself the example in the editor's reference for OrdersTotal:
int handle=FileOpen("OrdersReport.csv",FILE_WRITE|FILE_CSV,"\t"); if(handle<0) return(0); // write header FileWrite(handle,"#","open price","open time","symbol","lots"); int total=OrdersTotal(); // write open orders for(int pos=0;pos<total;pos++) { if(OrderSelect(pos,SELECT_BY_POS)==false) continue; FileWrite(handle,OrderTicket(),OrderOpenPrice(),OrderOpenTime(),OrderSymbol(),OrderLots()); } FileClose(handle);
Why don't you tray yourself the example in the editor's reference for OrdersTotal:
Thanks for responding...
Thanks for responding...
1) We all started as amateurs and in my case reading and studying the code of other helped me a lot to leave being an amateur!
2) That's not - according to my understanding - an educating forum. You have the reference where you find all you need to understand the code.
3) I think you have to start from there at least.
4) I don't really understand what you want - may you look for someone in the freelance office?
1) We all started as amateurs and in my case reading and studying the code of other helped me a lot to leave being an amateur!
2) That's not - according to my understanding - an educating forum. You have the reference where you find all you need to understand the code.
3) I think you have to start from there at least.
4) I don't really understand what you want - may you look for someone in the freelance office?
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use