hey Guys,
I am having issues understanding how the ignore flags are working for the signal's filters. Based on the documentation and following up the comments in the standard library module CExpertSignal, it should be possible to ignore the signal generated by filters through the m_ignore protected property:
but following the code, the flags of filters are never being checked and only signal object's flag (not the filters) is being checked!
I tried to set the flags in the main Expert source as follow :
What am I missing? Any one has any experience with this issue?
Thank you in advance for your help.
Cheers,
Zarik
So, In case anyone is interested or for future people who has the same issue as mine: after spending tremendous amount of time over this, I have to say that my question is not possible! You can not change the ignore flag of individual filters of CExperSignal. The original idea was to turn different filters based on different market conditions on and off but that's only possible if you dynamically changing the weight of the filter to 0 (basically neutralizing that filter) or mod the standard CExperSignal.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
hey Guys,
I am having issues understanding how the ignore flags are working for the signal's filters. Based on the documentation and following up the comments in the standard library module CExpertSignal, it should be possible to ignore the signal generated by filters through the m_ignore protected property:
but following the code, the flags of filters are never being checked and only signal object's flag (not the filters) is being checked!
I tried to set the flags in the main Expert source as follow :
What am I missing? Any one has any experience with this issue?
Thank you in advance for your help.
Cheers,
Zarik