MQL4 - automated forex trading   /  

Documentation

ODL Securities

MQL4 Reference  Window functions  WindowFind

 
int WindowFind( string name)
If indicator with name was found, the function returns the window index containing this specified indicator, otherwise it returns -1.
Note: WindowFind() returns -1 if custom indicator searches itself when init() function works.
Parameters:
name   -   Indicator short name.
Sample:
int win_idx=WindowFind("MACD(12,26,9)");