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
I wrote this EA
int start()
{
//----
Print("History total",OrdersHistoryTotal() ) ;
int handle=FileOpen("mffd.csv",FILE_CSV|FILE_READ|FILE_WRITE,';');
FileSeek(handle, 0, SEEK_END);
FileWrite(handle, " 0 "," OrdersHistoryTotal()=",OrdersHistoryTotal(),TimeToStr(TimeCurrent()));
FileClose(handle);
//----
return(0);
}
As it is sunday, I can't test it inside a chart, as the data feed is stopped
So I tested it through the strategy tester.
I use the file statements (Print seems not working with the tester)
The results are in the file mffd.csv
I see that OrdersHistoryTotal is 0, although I do have orders in my MT4 account history
Is that normal ?
Thanks