when I create an Object of an indicator-class, let's say
rsi.Create(_Symbol, _Period, 20, PRICE_CLOSE);
int handle = rsi.Handle();
Then it is automatically inserted as a new subwindow into the current chart.
If I want to draw into this subwindow, I need the values of
"chart_id" and "sub_window".
How can I get those values using the handle or the object of the indicator?
I don't want to search all over each chart with functions like "ChartIndicatorsTotal()", "ChartIndicatorName()" and "ChartWindowFind()". Is this the only way?
I hope, there is a possibility to get the informations directly through the handle.Thanx a lot.
But they both NEED "chartId" and "subWindow" as parameters.