PureBytes Links
Trading Reference Links
|
You are getting the buy date because you have filter = buy. Change
filter = C > 0 and set the range date in Analysis window From and To
to 11/4/05. That will give you the close for all symbols today.
Note that if you use n last days you will also get the close for
stocks that no longer trade.
Barry
--- In amibroker@xxxxxxxxxxxxxxx, "chuckitall59" <chuckitall59@xxxx>
wrote:
>
> 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/
|