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

[amibroker] Unbelievably Simple Question



PureBytes Links

Trading Reference Links

I'm not a programmer nor new to AB but this incredibly simple, 
fundamental problem has me stumped.  I'm just trying to get todays 
close in Explore but I continually get the close on the day the Buy 
took place when running Explore for several days back (typically, n 
last days=5 or so). I've checked Help and tried everything I can 
think of but it still gives me the close on the buy date.  How do I 
get the following Explore code to give me TODAYS close????



Buy=Cross(Close,MA(Close,50));

Sell=0;

Filter=Buy;

AddColumn(Close,"close");//gives close on "buy" date

AddColumn(Ref(Close,0),"close");//still doesn't work


Go easy on me gang-even I can't believe I can't figure
this out.

Thanks in advance,
Chuck






 







------------------------ 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/