PureBytes Links
Trading Reference Links
|
ref(buysig,2) will look 2 days into the future adn entry would be
before the signal occurs?
ref(buysig,-2) will delay the signal by 2 days
you can also just use settradedelays to delay entry, although the
arrows will still show on the signal day
--
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 10/28/05, Yuki Taga <yukitaga@xxxxxxxxxxxxx> wrote:
> I can't believe I can't make this work, but there you go.
>
> AFAIK, ref(anything,2) would look 2 days after anything.
>
> So, if I have defined a BuySignal, and I set my Buy statement to
>
> Buy = ref(BuySignal,2);
>
> Why does my trade list show the trades are executed on the day of the
> BuySignal, instead of two days later?
>
> Such a simple problem, I'm sure, but my brain is locked I guess.
>
> Yuki
>
------------------------ 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/
|