Here is another example. First pullup a chart of $SPX or $COMPX. Then you can 
change the ticker and dates as needed.

/**** START ****/

Title = Name()+"  \\c11"+Interval(format=2)+"  "+Date()+"\\c34  PlotShapes 
Examples";
Plot(C, "", colorViolet, styleCandle);
GraphXSpace = 6;

Date_ = "22-11-2006";  /* dd-mm-yyyy */
dd_ = StrToNum(StrLeft (Date_,2)  );
mm_ = StrToNum(StrMid  (Date_,3,2));
yy_ = StrToNum(StrRight(Date_,4)  );
Date_Num = (10000 * (yy_ - 1900)) + (100 * mm_) + dd_;

PlotShapes(shapeDownArrow * (DateNum()==Date_Num), colorRed, 0, H, -15);

Date_ = "28-11-2006";  /* dd-mm-yyyy */
dd_ = StrToNum(StrLeft (Date_,2)  );
mm_ = StrToNum(StrMid  (Date_,3,2));
yy_ = StrToNum(StrRight(Date_,4)  );
Date_Num = (10000 * (yy_ - 1900)) + (100 * mm_) + dd_;

PlotShapes(shapeUpArrow * (DateNum()==Date_Num), colorGreen, 0, L, -15);

/**** END ****/


--- In [email protected], "Thomas Z." <[EMAIL PROTECTED]> wrote:
>
> Yes, see the following example:
> 
> Plot(C,"Close",3,64);
> 
> PlotShapes(shapeCircle,4,0,H, 12);
> 
> PlotShapes(shapeCircle,5,0,L,-12);
> 
> Best Regards
> 
> Thomas
> 
> www.patternexplorer.com
>   _____  
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
> Of Pavel
> Sent: Monday, January 08, 2007 1:33 AM
> To: [email protected]
> Subject: [amibroker] Displaying Buy/Sell Symbols
> 
> Hi all,
> 
> When using the PlotShapes function, is it possible to plot the symbol 
> just above/below the high/low of the signal bar (like the way MetaStock 
> plots symbols with its Explorer)? 
> 
> As far as I can tell the only parameter available is the 
> pixel 'offset', which isn't ideal due to different-sized bars.
> 
> Thanks,
> 
> Pavel.


Reply via email to