I have an old EA for MT4. it has functions like
Code:
extern bool Example = TRUE;
int init() {
//remaining code
return (0);
}
int deinit() {
//remaining code
return (0);
}
int start() {
//remaining code
return (0);
}
And if i want to upgrade to latest code, can i just change the name
int init() => void OnInit()
int deinit() => Void OnDeinit
int start() => void OnTick()
extern => input
Code:
input bool Example = TRUE;
void OnInit() {
//remaining code
return (INIT_SUCCEEDED);
}
void OnDeinit(const int reason) {
//remaining code
return (0);
}
void OnTick() {
//remaining code
return (0);
}
Will this impact my EA functions and performance?