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

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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????