Hello Rakesh,
If I understand what you want correctly, then you can set hte GraphXSpace = 25;
This will leave room top and bottom equally for the price chart.
Then manually adjust the price up however much you want to make all the room for the indicator at the bottom of the chart.
Then scale the output of your indicator so that it only takes 25% of the full scale using either LeftAxisScale or OwnScale style. I use the Min, Max parameters of the plot statement to accomplish that. For instance if the range of the indicator is 0-100, I would set the min,max to 0,400.
So the answer to your question is yes it is doable.
However, their some limitations regarding labels when you are mixing units.
It all depends on the type of indicator that you wish to display.
Experimenting with this is easy, since you can see the results on screen instantly. Have fun!
Best regards,
Dennis
On Jun 29, 2008, at 2:08 PM, Rakesh Sahgal wrote:
Hi All
I wish to insert an indicator in the pane that contains the price data in a chart such that let us say for instance 3/4ths of the pane (vertically ) is allocated to the price data and the residual 1/4th of the screen space is allocated to the indicator.
[] I am aware of the styleleftaxiscale option that can be used in plot statements. That however occupies the entire screen space and acts like an overlay.
[] I would like to obtain a graph of the kind that is obtained using stylearea like ribbon on the bottom of the chart. The difference being that I want to segregate the lower quarter of the chart pane and use it for plotting an indicator not just a ribbon.
Is this do-able via afl?
Thanks in advance for any help.
Regards
Rakesh