Download MetaTrader 5
To add comments, please log in or register
Publish your article to let the traders see it in MetaTrader 5!
Valera
70
Valera 2009.01.26 02: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

Dow2
22
Dow2 2009.01.26 07:27  
Not sure if it's related, but, would it be tool-->options-->Expert Advistors Setting --> Check Allow DLL import ?
Valera
70
Valera 2009.01.26 19: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.

Daniel OnWealth
9
Daniel OnWealth 2015.10.06 00:31  
Dow2:
Not sure if it's related, but, would it be tool-->options-->Expert Advistors Setting --> Check Allow DLL import ?
thank you.
/
To add comments, please log in or register