Indicator-Classes are no derivitives of "ChartObject".
The hirarchy is
CIndicator <- CSeries <- CArrayObj <- CArray <- CObject
So there's no method called "ChartId()".
The only chart-methods I can find are
"CIndicator::AddToChart(...)"
and
"CIndicator::DeleteFromChart(..)"
The hirarchy is
CIndicator <- CSeries <- CArrayObj <- CArray <- CObject
So there's no method called "ChartId()".
The only chart-methods I can find are
"CIndicator::AddToChart(...)"
and
"CIndicator::DeleteFromChart(..)"
But they both NEED "chartId" and "subWindow" as parameters.
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
Hello everyone,
when I create an Object of an indicator-class, let's say
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.