Do we have it?
For example, for intrabar and daily bar the start date and end date of bar are equal, but for weekly, monthly, ... they are different.
So it would be natural to have a function or reserved word for both the start date and end date of a bar.
And we need also start time and end time of a bar too.
HaeRim
InvestWare, Inc.
http://www.investware.net
Do we have a function or reserved word for the start of bar?
- ABC
- Posts: 718
- Joined: 16 Dec 2006
- Location: www.abctradinggroup.com
- Has thanked: 125 times
- Been thanked: 408 times
- Contact:
2haerim,
what you want should be doable with BarStatus already:
This reserved word will return one of four possible values:
2 = the closing tick of a bar
1 = a tick within a bar
0 = the opening tick of a bar (relevant only for strategies using Open Next Bar order actions)
-1 = an error occurred while executing the reserved word
Now you only need to store the values in variables.
At least it gets you going, until TS Support has established something else.
Best regards,
ABC
what you want should be doable with BarStatus already:
This reserved word will return one of four possible values:
2 = the closing tick of a bar
1 = a tick within a bar
0 = the opening tick of a bar (relevant only for strategies using Open Next Bar order actions)
-1 = an error occurred while executing the reserved word
Now you only need to store the values in variables.
At least it gets you going, until TS Support has established something else.
Best regards,
ABC