Support Board
Date/Time: Sat, 25 Jan 2025 00:33:40 +0000
End Time Of Bar / Bar End Time study
View Count: 882
[2019-01-28 10:01:31] |
User942837 - Posts: 108 |
Hi, I am using custom sessions and need to know the end time of the bar because I need to export this in a csv file. e.g. 00:00:00 Start Time 00:59:59 End Time Bar Period Type Setting 60M In this example the BET value is 0.08, However, when I change the timeperiod to 1D instead of 60M, I get a different value for BET. I am expecting BET would be the same in both examples irrispective of the Bar Chart Period as both have 1 bar and the end time is the same. All I am trying to achieve here is to get access to End Time of a session to export to CSV. Date Time Of Last Edit: 2019-01-28 12:01:28
|
[2019-01-28 17:23:34] |
Sierra Chart Engineering - Posts: 104368 |
The Bar End Time study is being updated in the next version to give a precise value for the bar ending time.
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2019-01-28 17:24:00
|
[2019-02-08 07:23:29] |
User942837 - Posts: 108 |
I can see you changed the Bar End Time to display last trade timestamp however there is still a problem. When I use write bar and study data to file, I am still seeing a decimal e.g. 0.9270138740539551. Of course I have tried dividing by 0.0000115741 in third party language but this is very inaccurate and the Time I'm getting is 22:14:53 for 0.9270138740539551. On the End Time Bar Study it is showing 22:14:59. There is 7 minutes difference! I was hoping that the study would have a subgraph to export the Date and Time stamps as a string representation of the Bar end time. Date is also important as the time when the close is on a different day. Is this possible please? Thank you Date Time Of Last Edit: 2019-02-08 08:02:54
|
To post a message in this thread, you need to log in with your Sierra Chart account: