I write a simple code to catch the new created object on the chart.
void OnChartEvent(const int id,
const long &lparam,
const double &dparam,
const string &sparam)
Print("id = ",id );
//--- the object has been deleted
Print("The object with name ",sparam," has been deleted");
//--- the object has been created
Print("The object with name ",sparam," has been created");
But whatever object I create on the chart, the function just can't catch it. Is this the bug of the new release of MT4?
My MT4 version is Build 840 (12 Jun 2015)
To add comments, please log in or register