- Don't "worry." Don't speculate. Measure when you have a problem.
- Indicators: Code it properly so it only recomputes bar zero (after the initial run.)
How to do your lookbacks correctly.
Or, reduce Tools → Options (control-O) → Charts → Max bars in chart to something reasonable (like 1K.)
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Hi all,
You know to use an indicator in EA you should initiate it in OnInit function.
However sometimes I need to Initiate an indicator in a function instead of just Copy data from already initiated indicator.
But I use at least 8 indicators and I worry if I over initiate indicators (by initiating them in every different function)
what do you think?