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

Re: [amibroker] PlotShapes question



PureBytes Links

Trading Reference Links

Here is a little AFL to demonstate the shapes, just for fun, or you
could just look through the help files

shape = Param("shape",0,0,58,1);
Plot( 0,"", colorWhite,styleLine);
Plot( 1,"", colorWhite,styleLine);
Plot( 2,"", colorWhite,styleLine);
PlotShapes( shape, colorYellow, 0, 1, -50 );
Plot( shape,"Param shape number", colorWhite,styleNoLine|styleNoRescale);
Plot( BarIndex()%59,"Static shape number",
colorWhite,styleNoLine|styleNoRescale);

PlotShapes( BarIndex()%59, colorPaleBlue, 0, 1, -25 );

Just scroll through the shapes numbers in parameter window, or view

--
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 1/22/06, Herman van den Bergen <psytek@xxxxxxxx> wrote:
>
> You have probably discovered a few "secret" shapes :-) if you multiply the
> Shape contstant it can happen that you create illegal or undocumented
> shapes, to prevent this i use the IIF() to addign shape constants. like
> PlotShapes(iif( Condition, ShapeSmallCircle, ShapeNone), ... ). A few
> undocumented shapes are:
>
>
> shapeRightTriangle = 53
> shapeLeftTriangle = 55
> shapeSmallUpArrow = 57
> shapeSmallDownArrow = 57
>
>
> herman
>
> -----Original Message-----
> From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx]On Behalf
> Of migliosa
> Sent: Saturday, January 21, 2006 10:27 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] PlotShapes question
>
> After I updated AB to the last beta release, everytime I use PlotShapes
> function, a pair of small arrows are added just below and above the
> price bar. Could you explain me, what does it means and how I can
> remove them ?
>
> Thk
>
>
>
>
>
>  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
>
>
>
>
>
>  ________________________________
>  YAHOO! GROUPS LINKS
>
>
>  Visit your group "amibroker" on the web.
>
>  To unsubscribe from this group, send an email to:
>  amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>  ________________________________
>


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/