(login for full post details)
|
#1 (permalink)
|
Netherlands
Experience: Advanced
Platform: Ensign, Multicharts
Trading: SP500
Posts: 92 since Nov 2009
Thanks: 66 given,
57
received
|
In my indicator, it is a custom plot like in Ninja's custom plot example so the scale is not set automatically like with a normal plot.
In the indicator code i use:
this.ChartControl.FixedPanelMaxRight = highest + (highest/10);
this.ChartControl.FixedPanelMinRight = lowest - (lowest/10);
to set the min and max values and that works.
But when i try to set the Range Type
this.ChartControl.YAxisRangeTypeRight = YAxisRangeType.Fixed;
the range in the chartpanel is set instead of the panel the indicator is on.
How to set the range in a specific panel?
Also what is the correct way to update the chart with such changes?
Refresh?
Invalidate?
ChartControl.Update();
Any help is greatly appreciated.
|
|
|