SYNTAX PlotText( ''text'', x, y, color, bkcolor = colorDefault ) What is "M"+C[i] for? Just "M" should do, or If you want to print price too you need to use NumToStr(C[i])
Joseph Biran ____________________________________________ -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of softnews2003 Sent: Sunday, January 07, 2007 11:51 AM To: [email protected] Subject: [amibroker] Re: Using Letter instead of shapes over the chart. Dear J. Biran, I already lookup that, the problem there the price also plot with the letter. I couldn't solve that. dist = 1.5*ATR(10); for( i = 0; i < BarCount; i++ ) { if( Buy[i] ) PlotText( "M" + C[ i ], i, L[ i ]-dist[i], colorGreen ); if( Sell[i] ) PlotText( "M" + C[ i ], i, H[ i ]+dist[i], colorRed ); } Please help. Thanks 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: http://www.amibroker.com/devlog/ For other support material please check also: http://www.amibroker.com/support.html Yahoo! Groups Links
