It is possible with this to get more shapes than you want.
You might want to try this instead

Peaks = Peakbars( H, 2 ) ==0;

Plot( C,Name (),colorBlack,styleCandle);

PlotShapes (shapeDownArrow * Peaks , colorRed , 0 , Graph0, - 10 );


--
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 20/06/06, TH <[EMAIL PROTECTED]> wrote:

You did not read my suggestion! You have no plot to reference. You need at least one since plotShapes is referenced to some other plot.

 

Peaks = IIf (Peak (H, 2) == H, 1, 0);

Plot( C,Name (),colorBlack,styleCandle);

PlotShapes (shapeDownArrow * Peaks , colorRed , 0 , Graph0, - 10 );

--

Terry

 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of orionsturtle
Sent: Monday, June 19, 2006 12:19 PM
To: [email protected]
Subject: [amibroker] Re: Plotting shapes over a peak

 

I tried your suggestion. This is what I used but no go...

 

Peaks = IIf(Peak(H, 2) == H, 1, 0);

PlotShapes(shapeDownArrow * Peaks , colorRed , 0, H, -10);

 

If you see anything else please let me know. I'll keep plugging

away. I'll figure this code out sooner or later. Thank you for your

response!

 

OT

 

 

 

--- In [email protected], "wavemechanic" <[EMAIL PROTECTED]> wrote:

> Use the following for Peaks:

>

> Peaks = IIF(Peak(H, 2) == H, 1, 0);

>

> ----- Original Message -----

> From: "orionsturtle" <[EMAIL PROTECTED]>

> To: <[email protected] >

> Sent: Friday, June 16, 2006 3:14 PM

> Subject: [amibroker] Plotting shapes over a peak

>

>

> >

> > I am trying to just see visually what the peak function does.

> >

> > I want to plot a shape over a given peak. i am trying this code

but no

> > go... any help???

> >

> > Peaks = Peak(H,2);

> > PlotShapes(shapeDownArrow * Peaks , colorRed , 0, H, -10);

> >

> > Thanks!!!

> >

> > OT

> >

> >

> >

> >

> >

> >

> >

> > 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

> >

> >

> >

> >

> >

> >

> >

> >

> >

> > --

> > No virus found in this incoming message.

> > Checked by AVG Free Edition.

> > Version: 7.1.394 / Virus Database: 268.9.0/366 - Release Date:

06/15/06

> >

> >

 

 

 

 

 

 

 

------------------------ Yahoo! Groups Sponsor --------------------~-->

Something is new at Yahoo! Groups.  Check out the enhanced email design.

http://us.click.yahoo.com/rlNZQC/gOaOAA/cosFAA/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:

    [EMAIL PROTECTED]

 

<*> Your use of Yahoo! Groups is subject to:

    http://docs.yahoo.com/info/terms/

 

 




__._,_.___

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
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to