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?
Range bar time control [SOLVED]
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: Range bar time control
Change the TIME to TIME_sI 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?
eg.
Code: Select all
if time_s>=090000 and time_s<=160000 then begin....
-
- Posts: 61
- Joined: 25 Jul 2013
- Has thanked: 18 times
Re: Range bar time control
how about tick bar chart? can time work? or I need to use time_s as well?
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: Range bar time control [SOLVED]
Any Sub-Minute analysis and non-time-based analysis must use the _s suffix keywords.how about tick bar chart? can time work? or I need to use time_s as well?
Non-time-based analysis = any charts that are NOT based on time interval.