NexusFi: Find Your Edge


Home Menu

 





datetime range for multicharts


Discussion in EasyLanguage Programming

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




 
Search this Thread

datetime range for multicharts

(login for full post details)
  #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?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Request for MACD with option to use different MAs for fa …
NinjaTrader
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
Trader Dale [email protected] or Scammer Dale
Trading Reviews and Vendors
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Tao te Trade: way of the WLD
30 thanks
GFIs1 1 DAX trade per day journal
27 thanks
Deaddogs Stock Trading
23 thanks
Supertradersams Thread Journal on NQ/MNQ
21 thanks
Daytrading ES & NQ
12 thanks

(login for full post details)
  #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
The following 4 users say Thank You to Lampert for this post:





Last Updated on March 7, 2012


© 2024 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 - Privacy Policy - Downloads - Top
no new posts