NexusFi: Find Your Edge


Home Menu

 





datetime range for multicharts


Discussion in EasyLanguage Programming

Updated
    1. trending_up 2,695 views
    2. thumb_up 4 thanks given
    3. group 1 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
adam081527
Hong Kong
 
Posts: 10 since Feb 2012
Thanks Given: 7
Thanks Received: 4

hi,

im trying to print crude oil 5 minutes data to log, as i live in HK, time range i use is HK time 2230 to 0500 (next day morning), anyone can suggest how should i set the time range??

i've tried separate time range,
if Time >= 2230 and Time <= 0000 then Begin
ends;
if Time >= 0005 and Time <= 0500 then begin
ends;
but it only show data from 0005 to 0500,

anybody pls help??

many thanks,

ad


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
After $87M Settles NO: Irans Nuclear Redline Sets Up the …
Prediction Markets & Event Contracts
UCL Final Kicks Off at Noon ET: PSG at 56.5% as Iran May …
Prediction Markets & Event Contracts
Trump Truth Social Fires Hormuz From 10% to 59% -- Arsen …
Prediction Markets & Event Contracts
The Backwardation Signal: How the CL Futures Curve Tells …
Commodities
Iran Talks Final Stages -- Two VLCCs Exit Hormuz, Record …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
13 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #3 (permalink)
 
Lampert's Avatar
 Lampert 
Calgary, Canada
 
Experience: Intermediate
Platform: Multicharts
Broker: IB, IQFeed
Trading: GC
Posts: 76 since Nov 2011
Thanks Given: 73
Thanks Received: 142


Ad - You almost have it. It should look like this:
if Time >= 2230 and Time <= 2359 then Begin
ends;
if Time >= 0000 and Time <= 0500 then begin
ends;
or you could combine the two statements as:
if Time >= 2230 OR Time <= 0500 then Begin
ends;
Len


Reply With Quote




Last Updated on March 7, 2012


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts