Perhaps you should read the manual. OnStart is only for scripts - not for indicators.
Event Handling Functions - Functions - Language Basics - MQL4 Reference
Event Handling Functions - Functions - Language Basics - MQL4 Reference
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
Why doesn't that get me to value?
Also, no errors in the compiler, but errors in MT5...