Support Board
Date/Time: Wed, 12 Mar 2025 11:49:11 +0000
Post From: Write Bar Study with Numbers Bars (Bar Time Duration always zero)
[2024-12-24 12:25:29] |
DHTrading - Posts: 17 |
I'm not sure why you think it's my problem. I didn't write the studies. I wish I could code like you guys. Numbers Bar Calculated Values Study is a Sierra Chart provided study and it has a SubGraph called "Bar Duration" which is a separate feature to Date and Time columns. In the csv, it should show the duration of the bar such as a range bar as a floating point decimal so that it can be calculated externally. When that subgraph is enabled and written to csv it's always zero. There are other values like day and week range that are consistently 0s in the CSV. It's not just the BarTime-Bar Duration deal. If I add the separate but also supplied Sierra Chart study called Bar Time Duration as an secondary study to numbers bars calculated and write that out to csv it naturally shows the CORRECT value. I'm not sure how else to explain it so here are the steps to reproduce Steps To Reproduce ================== Load Numbers Bars Calculated Values on any numbers bars chart like ES, CL, NQ, GC, RTY, YM Enable all subgraphs to visible. Load Write Bar and Study Data to File study and give it a file name to export the bar data. Compare the output of the csv to the output on the screen. Result ====== The screen values show consistently and accurately. Some of the values are consistently written as 0s in the csv columns. Date Time Of Last Edit: 2024-12-24 12:58:04
|
![]() ![]() |