|
Terry,
Thanks, Each of the values are at the top of the screen, rather than down
the left side. Can I use PlotText() to plot the value left justifed on the
visible screen on each line?
Do you
know how to use PlotText()? I can't but one example.
MV
GraphXSpace =
20;
Plot(Close,"Close",1,1);
Plot(LastValue(H,89),"89HIGH",colorRose,1 );
Plot(LastValue(L,89),"89LOW",colorPaleGreen,1 );
Plot(Close,"Close",1,1 |
styleLeftAxisScale ); // Close added to
Left Axis to set Default scale the same as right
axis
Plot(LastValue(H,89),"89HIGH",4,1 | styleLeftAxisScale
);
Plot(LastValue(L,89),"89LOW",5,1| styleLeftAxisScale
);
MV,
First comment, if
you just want lines you can simply do this:
Plot(89,"89HIGH",colorRose );
Or
this:
PlotGrid(89,colorRose );
Second, I have many
StyleLeftAxisScale plots and I have never seen a left side scale shown. Might
be me.
Third,
StyleLeftAxisScale is to show a plot that fills the full screen, but has
drastically different values than the plots that do not use StyleLeftAxisScale
or StyleOwnScale. The actual scale is determined by the min/max values of
whatever you put on that screen. With StyleOwnScale you can force a range like
this:
Plot(89,"89HIGH",colorRose, StyleOwnScale, 0, 100
);
This means the
scale is FIXED from 0 to 100. If you plot values larger or smaller than those,
they simply go "off chart".
There is no such
adjustment for StyleLeftAxisScale. You could use the above, but then the whole
point is moot if there is no "left scale" anyway, right?
I have seen some
exotic code from Fred in Fred's Equity Line where he computes his own min/max
values. I believe this code is posted in the Library.
-----Original
Message----- From:
[EMAIL PROTECTED]ps.com [mailto:amibroker@yahoogroups.com]
On Behalf Of Mr.
Valley Sent: Monday, August
21, 2006 07:16 To:
[EMAIL PROTECTED]ps.com Subject: RE: [amibroker] Locking Right
Axis and styleLeftAxisScale for Text Display?
Thanks for the reply,
let me rephrase...
GraphXSpace =
20;
Plot(Close,"Close",1,1);
Plot(LastValue(H,89),"89HIGH",colorRose,1
);
Plot(LastValue(L,89),"89LOW",colorPaleGreen,1
);
Plot(LastValue(H,89),"89HIGH",4,1 | styleLeftAxisScale );
Plot(LastValue(L,89),"89LOW",5,1| styleLeftAxisScale
);
1.)How do I plot the
values on the left side of the screen "at the line level" so when the line
moves up and down, so does the test as well?
Since both of these
values plotted are identical, the "lines" themselves should be on top of one
another, so I figure the scaling is independent.
I didn't want to plot
the Values in the Title line, I just wanted to plot the Values on the line on
the left side of the screen.
2.)Why don't both
lines overlap if the default scaling is the same and the values are the
same?
3.)Is there a way to
link the scaling of the Right and Left Axis?
-----Original
Message----- From:
[EMAIL PROTECTED]ps.com
[mailto:amibroker@yahoogroups.com]On Behalf Of Terry Sent: Sunday, August 20, 2006 7:46
PM To:
[EMAIL PROTECTED]ps.com Subject: RE: [amibroker] Locking Right
Axis and styleLeftAxisScale for Text Display?
I don't
understand your entire question, however:
StyleLeftAxisScale
is a way to give you an independent scale when you have a plot that is in an
entirely different range than your regular plot. Example, SRSI (0 to 1) with
Price on normal right axis. If you want the scale to be the same, just plot
them both on the regular axis!
StyleOwnScale was
added more recently as a more flexible way to control plot scale. I still
use both methods for alternate scale plots.
What I don't
follow is "left justified text at the line level". "\n" is a line break and
the text following is printed on the NEXT line and is left justified. Send a
screen shot or something to show what is wrong and what you want. There is
no difference in title plot titles whether or not you use any of the
alternate scaling styles.
-----Original
Message----- From:
[EMAIL PROTECTED]ps.com [mailto:amibroker@yahoogroups.com]
On Behalf Of Mr.
Valley Sent: Sunday, August
20, 2006 19:55 To:
[EMAIL PROTECTED]ps.com Subject: [amibroker] Locking Right Axis
and styleLeftAxisScale for Text Display?
All, 1.) How do you plot
Text Left Justified at the Line Level using styleLeftAxisScale
not at the Title Level and the use of \n doesn't do it. Apparently the
default scale for the styleLeftAxisScale is the RightAxisScale until an
individual StyleOwnScale is used.
2.) Is there
a handy way Plot LeftJustified text at the line
level using only the RightAxisScale as
well? 3.)
Is there such a thing as SetChartOptions to lock the styleLeftAxisScale
to the same scale as the current RightAxis
automatically?
Thanks in
advance. MV
example for ^DJI symbol
/* styleLeftAxisScale
Plot */
Plot(Close,"Close",1,1); Plot(11380,"11380 Text Inserted
Here to be at the line level left justified",10,1 |
styleLeftAxisScale);
__._,_.___
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
SPONSORED LINKS
YAHOO! GROUPS LINKS
__,_._,___
|