Forum

best way of checking if anMQL5 indicator is on the chart from EA OnInit()

What is the best way of checking if a required indicator is on the chart before proceeding? I was looking along these lines but I am struggling to find a better function to do the job that ObjectsTotal() ? int objectsTotal = ObjectsTotal (); bool customIndicatorFound = false ; for ( int i = 0 ; i <

MQL programming include files missing

I came across some useful source code for an indicator I want to write. But this code has an include file I can not find in any installation I have. It is supposed to be in MQL5/Include. THE AUTHOR claims it is absolutely standard, part of the normal installation, but I can not see that it is. #