PureBytes Links
Trading Reference Links
|
Simply::
BuySig = buy condition occurs;
Buy = Ref(BuySig,-1) and H > Ref(H,-1); /*next day's high is
greater than BuySig high */
--- In amibroker@xxxxxxxxxxxxxxx, "Ara Kaloustian" <ara1@xxxx> wrote:
>
> BuyTrigger = iif(BuySignal,-1)==1 and High>Ref(Hgh,-1)1,0);
>
> This must be processed at the close of day after BuySignal. So you
would have BuySignal True for yesterday and today's high is greater
than yesterday's high ... and you trade tomorrow.
>
> Ara
> ----- Original Message -----
> From: Ian West
> To: amibroker@xxxxxxxxxxxxxxx
> Sent: Thursday, October 27, 2005 10:14 PM
> Subject: Re: [amibroker] delaying the buy
>
>
> A similar problem to Yuki - but not only do I want to delay the
buy by one day, but the trigger must be a higher high for a trade to
occur
>
> I.E.
> BuySig= buy condition occurs
> BuyTrig=next day's high is greater than BuySig high
>
> How would this be expressed in AFL.
>
> Ian
>
>
> 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
>
> a.. Visit your group "amibroker" on the web.
>
> b.. To unsubscribe from this group, send an email to:
> amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
> c.. 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/
|