Range bar time control  [SOLVED]

Questions about MultiCharts and user contributed studies.
dingmanhoe123
Posts: 61
Joined: 25 Jul 2013
Has thanked: 18 times

Range bar time control

Postby dingmanhoe123 » 10 Nov 2014

I used to set a trading period in my min chart trading eg. if time>=0900 and time<=1600 then begin....

however, if I want to trade with range bar chart for trading. how could I control the trading period between 0900 to 1600?

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Range bar time control

Postby TJ » 10 Nov 2014

I used to set a trading period in my min chart trading eg. if time>=0900 and time<=1600 then begin....

however, if I want to trade with range bar chart for trading. how could I control the trading period between 0900 to 1600?
Change the TIME to TIME_s

eg.

Code: Select all


if time_s>=090000 and time_s<=160000 then begin....

dingmanhoe123
Posts: 61
Joined: 25 Jul 2013
Has thanked: 18 times

Re: Range bar time control

Postby dingmanhoe123 » 10 Nov 2014

how about tick bar chart? can time work? or I need to use time_s as well?

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Range bar time control  [SOLVED]

Postby TJ » 10 Nov 2014

how about tick bar chart? can time work? or I need to use time_s as well?
Any Sub-Minute analysis and non-time-based analysis must use the _s suffix keywords.

Non-time-based analysis = any charts that are NOT based on time interval.


Return to “MultiCharts”