What is the cleanest way of ending an indicator from within the OnCalculate? Also is it acceptable to call OnInit from within OnCalculate? What impact will that have on prev_calculated? If the int OnInit() is used, and it is called from within OnCalculate, and returns a non zero value (error) will it still call OnDeInit as if it wasnt being called from OnCalculate and terminate the indicator? Does this all apply to the OnTick for EAs as well?
- Can a broker change an asset stop level? [SOLVED]
- Features of the mql4 language, subtleties and techniques
- How to write an indicator to show specific price ribbons or boundaries
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