Hello
The function Bartype will return a value representing the type of scale in use
0 = TickBar
1 = Intraday
2 = Daily
3 = Weekly
4 = Monthly
5 = Point & Figure
6 = (reserved)
7 = (reserved)
8 = Kagi
9 = Kase
10 = Line Break
11 = Momentum
12 = Range
13 = Renko
My problem is When I got an Intraday chart, I will get a return value of 1 for any intraday charts like: Second chart, Minute charts, Hours charts.
Anyway to discriminate the Intraday chart scale in use
The whole purpose of this is to create a function that will return a string representing the scale in use. This string to be send to Excel as a filter for data computation
Martin
Bartype function: Anyway to discriminate the scale unit
- TJ
- Posts: 7740
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2221 times
Re: Bartype function: Anyway to discriminate the scale unit
look upHello
The function Bartype will return a value representing the type of scale in use
0 = TickBar
1 = Intraday
2 = Daily
3 = Weekly
4 = Monthly
5 = Point & Figure
6 = (reserved)
7 = (reserved)
8 = Kagi
9 = Kase
10 = Line Break
11 = Momentum
12 = Range
13 = Renko
My problem is When I got an Intraday chart, I will get a return value of 1 for any intraday charts like: Second chart, Minute charts, Hours charts.
Anyway to discriminate the Intraday chart scale in use
The whole purpose of this is to create a function that will return a string representing the scale in use. This string to be send to Excel as a filter for data computation
Martin
BarType_ex