Comment() call in OnCalculate and the indicator ignores it when you hit debug button (it never triggers).
I put a break point on the - Errors, bugs, questions
- debugging in mt4
- Print Call Stack function
enjoysmath:
I put a break point on the Comment() call in OnCalculate and the indicator ignores it when you hit debug button (it never triggers).
I put a break point on the Comment() call in OnCalculate and the indicator ignores it when you hit debug button (it never triggers).
What broker and symbol do you use in debug mode?
The OnCalculate() function is called only in custom indicators when it's necessary to calculate the indicator values by the Calculate event.
This usually happens when a new tick is received for the symbol, for which the indicator is calculated.
If there is no ticks - the break point won't be reached.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register