- There is a slight performance hit passing parameters than globals, But good coding practice should minimize globals.
- Properly coded indicators only update bar zero every time. The difference is negligible.
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
What's better in terms of performance? :
Use global variables for acces them from differents functions in the EA, or declare as local in start function and pass through parameters to other used functions?
(like indicators, that are re-calculated every time in the start loop)
Thanks