
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
Seems that need a #property statement for chart or data window.
ie, find that if remove #property... the indi will not plot whatever the window is. the code is loaded and then removed.
.
If have property set to data window, I can draw in main window but the data window of course gets created.
.
could create two indi versions - just seems easy way out.
.
and...
Note: For custom indicators being initialized (call from the init() function), this index is not defined.
The returned index is the number of window (0-chart main menu, subwindows of indicators are numbered starting from 1) where the custom indicator is working. A custom indicator can create its own new subwindow during its work, and the number of this subwindow will differ from that of the window where the indicator was really dropped in.
.
can you clarify above? perhaps backing up your explanation with code (and reasoning as to why an indi would want to create a child win)
.
cheers