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

Re: [amibroker] plotting old prices


  • Date: Fri, 19 Mar 2010 11:59:35 -0400
  • From: Keith McCombs <kmccombs@xxxxxxxxxxxx>
  • Subject: Re: [amibroker] plotting old prices

PureBytes Links

Trading Reference Links



Jim --
There are
78 5min bars per day.  So you could look back 5 days, or 390 bars.
Plot(C, .....  // for today's data
Plot(Ref(C, -390),....  // for one week ago.

But there are a few gottchas:
What about a holiday or half day?  You may have to use DayOfWeek(), DateNum(), and or TimeNum() to at least verify that there is no problem.  Also, check that your database doesn't leave holes when volume falls to zero and that there are no extra bars before or after normal trading hours.

-- Keith

On 3/18/2010 22:55, jim fenster wrote:
 
Hey,

Say today is Monday and it is a 5-minute chart. Is it possible to chart the price of last Monday overlayed on top of this current one? And the same for Tuesday etc?


Thanks,

Jim


The new Internet Explorer® 8 - Faster, safer, easier. Optimized for Yahoo! Get it Now for Free!


__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___