OnInit and OnCalculate are not API but functions.
They both exists in MT4 and MT5.
- Why did you post your MT4 question in the Root / MT5 General
section instead of the MQL4 section, (bottom of the Root page?)
General rules and best pratices of the Forum. - General - MQL5 programming forum
Next time post in the correct place. The moderators will likely move this thread there soon. - Perhaps you should read the manual.
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
Dear developers,
I have an indicator , which works fine in mt5., please help me in finding the corresponding MT4 API for below Api's
int OnInit()
int OnCalculate()