How to back test EA which uses DLL function ? What am I missing?

Back to topics list To post a new topic, please log in or register
avatar
67
val77 2009.01.26 03:46
 

Hello all,


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!


Valeri


 
avatar
13
avatar
67
val77 2009.01.26 20:39 #
 

Yes, I forgot to check "Allow DLL import" checkbox in tool-->options-->Expert Advistors Setting.

Now the expert works correctly in tester!


Thank you!

Valeri.

 
avatar
1
danon7 2015.10.06 02:31 #
 
Dow2:
Not sure if it's related, but, would it be tool-->options-->Expert Advistors Setting --> Check Allow DLL import ?
thank you.
Back to topics list  

To add comments, please log in or register