x1 = Param("x1 test",0,-10,10,1);
y1 = Param("y1 test",0,-10,10,1);
Plot(10,"",1,1);
Plot(20,"",1,1);
Plot(0,"",1,1);
bi = BarIndex()==LastValue(BarIndex());
for( i = 0; i < BarCount; i++ )
{
if( Bi[i] ) PlotText("MyTest",i+x1,10+y1,colorBlue);
}
--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm
On 06/09/06,
Mr. Valley <[EMAIL PROTECTED]> wrote:
I have looked at the PlotText examples and can't seem to figure it out to use it in other ways than the example.
I guess I'm having trouble understanding where to put it on the x and y axis according to a value and then how to shift the plot left and right.
//In the example below...x1 = Param("x1 test",10,-10, 20,0.001);
y1 = Param("y1 test",10,-10, 20,0.001);
x2 = Param("x2 test",10,-10, 20,0.001);
y2 = Param("y2 test",10,-10, 20,0.001);
//In the example below...
Plot
(10,"",1,1 );PlotText
("MyTest",x1,y1,colorBlue,colorDefault); // How do I put the "MyTest" centered on the line at the left side of the screen on the very same line?//How do I then shift the Plot up AND down from that point to control it?
PlotText
( "Buy\n@" + 10.00, x2,y2, colorBrightGreen ); // How do I put the "Buy\n@" in the right Margin if I say 15 or 20 spaces?What am I doing wrong - Any thoughts?
Thanks in advance.
M
__._,_.___
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
| Software support | Small business finance | Business finance online |
| Business finance training | Business finance course |
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___
