WindowFind() not working
| int WindowFind( | string name) |
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)");
Sorry, was trying to find indicator name instead of short name
Print(WindowExpertName()," ",WindowFind(WindowExpertName()));
returns:
2007.03.06 13:34:52 MACD_Colored_v102 EURUSD,H4: MACD_Colored_v102 -1
Where is a window number????