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

RE: [amibroker] Re: help needed in finding error in afl



PureBytes Links

Trading Reference Links

thank you very much for your help.
 
i got what i am looking for.
 
asit.

> To: amibroker@xxxxxxxxxxxxxxx
> From: gp.investment@xxxxxxxxx
> Date: Sat, 9 Feb 2008 07:26:41 +0000
> Subject: [amibroker] Re: help needed in finding error in afl
>
> Do you mean High greater than the HHV of the first 19 bars of the day,
> or of the most-recent 19 bars?
>
> For the former, something like this:
>
> dn = DateNum();
> newDay = dn != Ref(dn,-1);
> bsnday = BarsSince(newDay);
> Buy = bsnday>19 && H > ValueWhen(bsnday==19, HHV(H,19));
>
> For the latter, maybe like this:
>
> dn = DateNum();
> newDay = dn != Ref(dn,-1);
> Buy = BarsSince(newDay)>19 && H > Ref(HHV(H,19),-1));
>
> Regards,
> GP
>
>
> --- In amibroker@xxxxxxxxxxxxxxx, asit mistry <asitasu@xxx> wrote:
> >
> >
> > ok . i understand it. but can u help me to code it. i want to buy if
> the high of bar after 19 bars in intraday is higher than 19 bar range.
> > http://ss1.richmedia.in/recurl.asp?pid=186
> >
>
>
>
>
> 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
>
> <*> To visit your group on the web, go to:
> http://groups.yahoo.com/group/amibroker/
>
> <*> Your email settings:
> Individual Email | Traditional
>
> <*> To change settings online go to:
> http://groups.yahoo.com/group/amibroker/join
> (Yahoo! ID required)
>
> <*> To change settings via email:
> mailto:amibroker-digest@xxxxxxxxxxxxxxx
> mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
>
> <*> 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/
>



It's about getting married. Click here! Try it! __._,_.___

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




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___