NexusFi: Find Your Edge


Home Menu

 





datetime range for multicharts


Discussion in EasyLanguage Programming

Updated
    1. trending_up 2,196 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

  #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?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Better Renko Gaps
The Elite Circle
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
REcommedations for programming help
Sierra Chart
How to apply profiles
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
18 thanks
GFIs1 1 DAX trade per day journal
16 thanks
Vinny E-Mini & Algobox Review TRADE ROOM
13 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


© 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