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

Re: [amibroker] plot nr7 on a indicator



PureBytes Links

Trading Reference Links

Bracket count was necessary, and the == instead of = to equate 2 values
One thing remember the rest of the plotshapes function inputs in case
you want to plot them on some other type of chart.

rang=High-Low;
nr7=IIf(rang==LLV(rang,7),shapeDigit7,shapeNone);
PlotShapes(nr7,colorGreen,0,L,0);

also here is another way of writing it
rang=High-Low;
nr7=rang==LLV(rang,7);
PlotShapes(nr7*shapeDigit7,colorRed,0,L,-16);




On 03/02/07, murthysuresh <money@xxxxxxxxxxxxxx> wrote:
> Hello
> I am trying to plot a NR7- smallest range in 7 days. But i keep getting
> error.
> here is my code. can someone point where i did wrong.
>
> rang=High-Low;
> nr7=IIf(rang=LLV(rang,7),shapeDigit7,shapeNone));
> PlotShapes(nr7,colorGreen);
>
>
>
>
> 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
>
>
>
>


-- 
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://www.aflwriting.com

Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.20/664 - Release Date: 2/2/2007 3:42 PM