convert indicator from mt5 to mt4

 

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()

 

OnInit and OnCalculate are not API but functions.

They both exists in MT4 and MT5.

 
  1. 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.

  2. Perhaps you should read the manual.
              Event Handling Functions - Functions - Language Basics - MQL4 Reference
Reason: