can one monitor time taken for each volume bar to complete?
With Sierra Charts, is there a way by which one can 'see' how long it takes for each 'volume bar' to complete? I already have the 'remaining volume' study on my 'volume charts' (which shows how many contracts still remain till the current volume bar closes), but is there any feature within Sierra Charting which allows me to see the length of time it is taking for these 'volume bars' to 'close'?
Sure, just look at the timestamps of the bars. SC bar timestamps are the beginning of the bar though. So for historical bars, you just need to compare the timestamp of a bar and the next timestamp to get the duration of the bar. Of course for the last bar on the chart that wont work. Instead for the last bar you can use sc.LatestDateTimeForLastBar, which is the timestamp of the last tick of the bar.
Aslan, thank you for this reply but as I am not an accomplished computer or even Sierra Charting expert, can you please describe more clearly how exactly I need arrange things such that I can monitor the time taken for each volume bar to complete?
-Add the Spreadsheet Study study to your chart.
-Set the Chart Region to 2.
-Set the Scale to User Defined, Top of Range = to your volume bar period setting, Bottom of Range = 0.
-Give it a name in the Spreadsheet Name field.
-Set the Number of Rows to 10.
-Set the Draw Style to Bar, Width and Color to your choice.
-On the spreadsheet, put this in cell K3: =IF(ROW()=3,F3,0)
This will grow a volume bar at the current bar only, as volume occurs.
Tomgilb many thanks for your suggestions which I just saw on returning from a short two days of golfing in sunny Wales. Can you please tell me which / where and what spreadsheet do I go to to enter the formula you provided? I would be most grateful for further clarification but in the meantime thanks a lot and I hope to hear further from you.
Aslan, I have no idea where I should be entering all you wrote ... if you could help a novice with step by step instructions I shall willingly try and see what I can do with your suggestions at my end. But many thanks for troubling to send me your response.
Here is an even more explicit list of instructions:
-Focus your volume chart, press F6, add the Spreadsheet Study study from the left window to the right window.
On the Settings and Inputs tab:
-Set the Chart Region to 2.
-Press the Scale button and set the Scale Range to User Defined, the Top of Range = to the same value as your volume per bar setting (F5 >> Bar Period >> Volume per Bar), and the Bottom of Range = 0.
-Give it a name in the Spreadsheet Name field, e.g. Volume-o-meter.
-Set the Input Name >> Number of Rows to 10. No need to change any other Input Values.
On the Subgraphs tab:
-Set the Draw Style of K (SG1) to Bar
-Set the Color and Width to your choice.
-Press OK and OK.
When the spreadsheet appears, put this in cell K3: =IF(ROW()=3,F3,0)
FYI re: spreadsheet studies:
-By default, the sheet#/tab position directly correlates to the chart number, so enter the formula on the sheet # that matches the chart #. Ignore the other sheets, if any.
-You can minimize the spreadsheet; it does not need to be visible.
The following 2 users say Thank You to tomgilb for this post: