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

[amibroker] TimeFrameGetPrice DJIA across midnight Hong Kong time



PureBytes Links

Trading Reference Links

I am using real-time 1m data at Hong kong to access the DJIA and other 
symbols of Hong Kong. 

>From Hong Kong time, DJIA opens 10:30pm in the night and closes 5:00 am 
the next day morning. 

I want to run this line: 

DayO = TimeFrameGetPrice("O", inDaily); // to get the opening price of 
today

However, the result returned is the openning price of the midnight 
12:00am bar instead of the open price which should be of previous night 
(10:30pm bar)

How can I possibly make TimeFrameGetPrice to get the true opening price 
across the midnight, but simulatenously don't affect other local (HK) 
symbols whose trading sessions are in day time? 

Thanks. 



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

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

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/