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

Re: [amibroker] Simple problem



PureBytes Links

Trading Reference Links

Hi - Seems simple enough, looks like it should work. I would try commenting 
out everything except the 2 required lines - Filter and AddColumn for 
yesterday's close. If that works, start uncommenting one line at a time and 
see what happens...


Steve

----- Original Message ----- 
From: "interfool" <02@xxxxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, August 22, 2008 5:51 PM
Subject: [amibroker] Simple problem


> I've been trying for a while now to do something extremely simple,
> just display yesterdays' close in an exploration. No matter what I set
> the settings to, it comes up with some wacky number, not yesterdays
> close. Todays close comes up fine.
>
> Here's my latest simple code:
>
> _SECTION_BEGIN("Basic Params");
> //no params right now
> _SECTION_END();
> //periodicity set to Daily
>
> Filter = 1;
> Buy = O;
> Sell = 0;
> AddColumn(C,"Close",1.4); //this works, shows todays close
> AddColumn(Ref(C,-1),"Close",1.4); //shouldn't this show yesterday's
> close if settings are daily for periodicity? A number shows up, but it
> doesn't relate to anything.
>
> Help!
>
> Thanks,
>
> ol' interfool
>
>
>
> ------------------------------------
>
> 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
>
>
>
> 



------------------------------------

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/