Must be called from a custom indicator. It returns the number of the subwindow where the indicator is working