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?
- How to copy deals of successful traders in MetaTrader 5
- MetaEditor - Professional editor of trading applications
- MetaTrader 5 Virtual Hosting for Forex and stocks

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