I wrote an EA shell which uses a DLL function in start() function - and it works OK while in forward test mode, but is blocked while I try to back test on historical data.
Below are screenshots to illustrate the issue:
My expert settings:
Forward test (DLL function int GetIntValue(int) is called and returns integer value back which is confirmed by the Print(..) message "Returned from..."):
And here is a warning message while expert is running in tester:
The question is: What needs to be done to let MT allow my EA to call DLL function in backtest mode?
Thank you in advance!
Yes, I forgot to check "Allow DLL import" checkbox in tool-->options-->Expert Advistors Setting.
Now the expert works correctly in tester!
To add comments, please log in or register