[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] Locking Right Axis and styleLeftAxisScale for Text Display?



PureBytes Links

Trading Reference Links

Terry,

Thanks for the reply, let me rephrase...
Using ...
 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?
Thanks,

MV

  -----Original Message-----
  From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx]On
Behalf Of Terry
  Sent: Sunday, August 20, 2006 7:46 PM
  To: amibroker@xxxxxxxxxxxxxxx
  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.

  --

  Terry

  -----Original Message-----
  From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
Behalf Of Mr. Valley
  Sent: Sunday, August 20, 2006 19:55
  To: amibroker@xxxxxxxxxxxxxxx
  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);