PureBytes Links
Trading Reference Links
|
Thanks GP. I couldn't figure out what was wrong with it. I came upon
another error elsewhere after I changed the buy to Thomaz suggestion.
At least now I know it actually works.
Thanks again,
Mo.
--- In amibroker@xxxxxxxxxxxxxxx, "gp_sydney" <gp.investment@xxx> wrote:
>
> That formula does work for me, and I get lots of buy signals.
>
> You can simplify it a bit though by removing the IIf statement and
> setting the result straight into Buy. You don't need IIf if the two
> outcomes are just True (1) and False (0):
>
> Buy = C < 0.90 * ValueWhen(C > Ref(HHV(C, 250), -1), C);
>
> Regards,
> GP
>
>
> --- In amibroker@xxxxxxxxxxxxxxx, "mo_means_go" <mo_means_go@> wrote:
> >
> > I have the following pullback test for a buy:
> >
> > Buy_Requirement = IIf ( C < 0.90 * ValueWhen ( C > Ref ( HHV ( C, 250
> > ), -1 ), C), 1, 0 );
> > Buy = Buy_Requirement == 1;
> >
> > I am not generating signals. Am I using this incorrectly for what I'm
> > trying to accomplish? Any help would be appreciated.
> >
> > Thanks,
> >
> > Mo
> >
>
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/
|