use of MQLInfoInteger(MQL_OPTIMIZATION)
Hi, did you ever figure out what was wrong? I see that noone replied. I have the same situation. I call a function from OnTesterPass() and in this function MQLInfoInteger(MQL_OPTIMIZATION), MQLInfoInteger(MQL_FORWARD) and MQLInfoInteger(MQL_TESTER) are all false. Any advice would be apppreciated.
Goesta Torsten Hulden #:
Hi, did you ever figure out what was wrong? I see that noone replied. I have the same situation. I call a function from OnTesterPass() and in this function MQLInfoInteger(MQL_OPTIMIZATION), MQLInfoInteger(MQL_FORWARD) and MQLInfoInteger(MQL_TESTER) are all false. Any advice would be apppreciated.
Hi, did you ever figure out what was wrong? I see that noone replied. I have the same situation. I call a function from OnTesterPass() and in this function MQLInfoInteger(MQL_OPTIMIZATION), MQLInfoInteger(MQL_FORWARD) and MQLInfoInteger(MQL_TESTER) are all false. Any advice would be apppreciated.
MQLInfoInteger(MQL_FRAME_MODE) == true
I'm trying to run some code if in a tester optimization. My code below doesn't seem to work and MQLInfoInteger(MQL_OPTIMIZATION) seems to be false. The function is called from OnTesterPass. Should that make a difference?
Cheers
E