datetime range for multicharts - EasyLanguage Programming | futures trading

Go Back

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > TradeStation > EasyLanguage Programming

datetime range for multicharts
Started:March 7th, 2012 (10:23 AM) by adam081527 Views / Replies:890 / 2
Last Reply:March 7th, 2012 (10:39 PM) Attachments:0

Welcome to

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

datetime range for multicharts

Old March 7th, 2012, 10:23 AM   #1 (permalink)
Trading Apprentice
Hong Kong
Futures Experience: Beginner
Platform: Sierra Chart
Favorite Futures: ES, Crude Oil
Posts: 10 since Feb 2012
Thanks: 7 given, 4 received

datetime range for multicharts


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
if Time >= 0005 and Time <= 0500 then begin
but it only show data from 0005 to 0500,

anybody pls help??

many thanks,


Reply With Quote

Old March 7th, 2012, 10:23 AM   #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.


Old March 7th, 2012, 10:39 PM   #3 (permalink)
Man wearing a tuque
Calgary, Canada
Futures Experience: Intermediate
Platform: Multicharts
Broker/Data: IB, IQFeed
Favorite Futures: GC
Lampert's Avatar
Posts: 76 since Nov 2011
Thanks: 73 given, 128 received

You almost have it

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

Reply With Quote
The following 4 users say Thank You to Lampert for this post:

Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > TradeStation > EasyLanguage Programming > datetime range for multicharts

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

Corey Rosenbloom: Tips, Tactics, and Real Trades: Trading Intraday Trend Reversals

Elite only

An Afternoon with FIO trader bobwest

Elite only

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

Similar Threads
Thread Thread Starter Forum Replies Last Post
MultiCharts Webinar: Peter Campbell - Systematic Trading with MultiCharts MultiCharts MultiCharts 25 August 31st, 2015 08:32 PM
Range Bars cgiann Traders Hideout 10 August 28th, 2012 10:40 PM
"Best" DateTime format for Matlab import MXASJ Matlab, R project and Python 3 December 14th, 2010 06:44 AM
Range Day ntsst3 Beginners and Introductions 2 October 12th, 2010 06:37 AM
RANGE CHARTS joyginy Traders Hideout 36 October 9th, 2010 10:36 PM

All times are GMT -4. The time now is 03:49 PM.

Copyright © 2016 by 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.
no new posts

Page generated 2016-10-20 in 0.06 seconds with 19 queries on phoenix via your IP