EA optimization - ISSUE

Olki123  

Hi guys!

I have developed an EA, with HFT strategy type, and the signals are working well, tested in scripts and single run, but when I am trying to do optimization, the results are coming as 0 trades in forex symbols and index symbols are working well .

Does anyone have any idea?

PS: I'm normalizing the digits with _Digits all functions.

Thanks for all !

[Deleted]  
Olki123:

Hi guys!

I have developed an EA, with HFT strategy type, and the signals are working well, tested in scripts and single run, but when I am trying to do optimization, the results are coming as 0 trades in forex symbols and index symbols are working well .

Does anyone have any idea?

PS: I'm normalizing the digits with _Digits all functions.

Thanks for all !


Send a screenshot 

Fernando Carreiro  
Olki123: I have developed an EA, with HFT strategy type, and the signals are working well, tested in scripts and single run, but when I am trying to do optimization, the results are coming as 0 trades in forex symbols and index symbols are working well . Does anyone have any idea?
That usually means that there is a bug in your code, probably a problem with the proper initialisation of globally scoped variables.
William Roeder  
Olki123: the results are coming as 0 trades in forex symbols and index symbols are working well .

PS: I'm normalizing the digits with _Digits all functions.

_Digits is for only the current chart symbol. If you are trying to trade multiple symbols, use of _Digits, _Symbol, _Period, and _Point (or the corresponding functions) is wrong.

Reason: