PureBytes Links
Trading Reference Links
|
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 amibroker@xxxxxxxxxxxxxxx, "Thomas Z." <tzg@xxx> 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: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
> Of Pavel
> Sent: Monday, January 08, 2007 1:33 AM
> To: amibroker@xxxxxxxxxxxxxxx
> 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.
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.7/620 - Release Date: 1/8/2007 4:12 PM
|