can one monitor time taken for each volume bar to complete? - Sierra Chart | futures io social day trading
futures io futures trading


can one monitor time taken for each volume bar to complete?
Updated: Views / Replies:1,691 / 12
Created: by gidster Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

can one monitor time taken for each volume bar to complete?

  #1 (permalink)
Trading Apprentice
London UK
 
Futures Experience: Intermediate
Platform: Sierra Chart
Favorite Futures: ES
 
Posts: 7 since Jun 2012
Thanks: 12 given, 1 received

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'?

Thanks,

gidster

Reply With Quote
 
  #2 (permalink)
Elite Member
Madison, WI
 
Futures Experience: Advanced
Platform: Sierra Charts, ALT
Favorite Futures: ES
 
aslan's Avatar
 
Posts: 614 since Jan 2010
Thanks: 342 given, 1,077 received

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.

Reply With Quote
 
  #3 (permalink)
Trading Apprentice
London UK
 
Futures Experience: Intermediate
Platform: Sierra Chart
Favorite Futures: ES
 
Posts: 7 since Jun 2012
Thanks: 12 given, 1 received



aslan View Post
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?

Thanks,

gidster

Reply With Quote
 
  #4 (permalink)
Elite Member
Phoenix AZ USA
 
Futures Experience: Advanced
Platform: SierraChart
Broker/Data: TradePro/TransAct
Favorite Futures: NQ YM RTY
 
Posts: 295 since Nov 2009
Thanks: 125 given, 338 received


gidster View Post
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'?

Thanks,

gidster

Try this:

-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.

Reply With Quote
 
  #5 (permalink)
Elite Member
Madison, WI
 
Futures Experience: Advanced
Platform: Sierra Charts, ALT
Favorite Futures: ES
 
aslan's Avatar
 
Posts: 614 since Jan 2010
Thanks: 342 given, 1,077 received

If you want to see the code or use a pre-done study, just check out the Bar Time Duration study.

The following is the code from studies7.cpp:

 
Code
SCSFExport scsf_BarTimeDuration(SCStudyInterfaceRef sc)
{
	SCSubgraphRef TimeDiff = sc.Subgraph[0];

	SCInputRef Multiplier = sc.Input[0];

	if (sc.SetDefaults)
	{
		sc.GraphName = "Bar Time Duration";
		sc.StudyDescription = "This study displays the time duration of a bar.";

		TimeDiff.Name = "Duration";
		TimeDiff.DrawStyle = DRAWSTYLE_BAR;

		sc.GraphRegion = 1;
		sc.ValueFormat = 20;
		sc.AutoLoop = 1;
	}

	if (sc.Index < sc.ArraySize - 1)
		TimeDiff[sc.Index] = (float)(sc.BaseDateTimeIn[sc.Index + 1] - sc.BaseDateTimeIn[sc.Index]);
	else
		TimeDiff[sc.Index] = (float)(sc.LatestDateTimeForLastBar - sc.BaseDateTimeIn[sc.Index]);
}


Last edited by aslan; September 4th, 2012 at 09:55 AM.
Reply With Quote
 
  #6 (permalink)
Elite Member
near Paris, France
 
Futures Experience: Beginner
Platform: -
Favorite Futures: -
 
Nicolas11's Avatar
 
Posts: 1,070 since Aug 2011
Thanks: 2,232 given, 1,729 received

As a side-note, I think that the duration of the bar can also be shown as part of "Numbers Bars Calculated Values".

Reply With Quote
 
  #7 (permalink)
Trading Apprentice
London UK
 
Futures Experience: Intermediate
Platform: Sierra Chart
Favorite Futures: ES
 
Posts: 7 since Jun 2012
Thanks: 12 given, 1 received


tomgilb View Post
Try this:

-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.

gidster

Reply With Quote
 
  #8 (permalink)
Trading Apprentice
London UK
 
Futures Experience: Intermediate
Platform: Sierra Chart
Favorite Futures: ES
 
Posts: 7 since Jun 2012
Thanks: 12 given, 1 received


aslan View Post
If you want to see the code or use a pre-done study, just check out the Bar Time Duration study.

The following is the code from studies7.cpp:

 
Code
SCSFExport scsf_BarTimeDuration(SCStudyInterfaceRef sc)
{
	SCSubgraphRef TimeDiff = sc.Subgraph[0];

	SCInputRef Multiplier = sc.Input[0];

	if (sc.SetDefaults)
	{
		sc.GraphName = "Bar Time Duration";
		sc.StudyDescription = "This study displays the time duration of a bar.";

		TimeDiff.Name = "Duration";
		TimeDiff.DrawStyle = DRAWSTYLE_BAR;

		sc.GraphRegion = 1;
		sc.ValueFormat = 20;
		sc.AutoLoop = 1;
	}

	if (sc.Index < sc.ArraySize - 1)
		TimeDiff[sc.Index] = (float)(sc.BaseDateTimeIn[sc.Index + 1] - sc.BaseDateTimeIn[sc.Index]);
	else
		TimeDiff[sc.Index] = (float)(sc.LatestDateTimeForLastBar - sc.BaseDateTimeIn[sc.Index]);
}

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.
Gidster

Reply With Quote
 
  #9 (permalink)
Elite Member
Phoenix AZ USA
 
Futures Experience: Advanced
Platform: SierraChart
Broker/Data: TradePro/TransAct
Favorite Futures: NQ YM RTY
 
Posts: 295 since Nov 2009
Thanks: 125 given, 338 received


gidster View Post
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.

gidster

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.

Reply With Quote
The following 2 users say Thank You to tomgilb for this post:
 
  #10 (permalink)
Elite Member
Oberhausen, Germany
 
Futures Experience: Advanced
Platform: Sierracharts
Broker/Data: Interactive Brokers/DTN IQFeed
Favorite Futures: Bund Future
 
Posts: 278 since Aug 2011
Thanks: 100 given, 310 received


SC offers a Bar Time Duration study . It will plot the duration of bars. Just click "F6" and add it to your chart.

Reply With Quote

Reply



futures io > > > > can one monitor time taken for each volume bar to complete?

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Time per volume bar patbateman NinjaTrader 1 June 24th, 2012 05:31 PM
Can we look at volume on a range bar chart? jabeztrading Traders Hideout 3 March 14th, 2012 10:51 PM
Chart Bar with volume indicator inside Bar? hector24 NinjaTrader 11 October 9th, 2011 11:41 AM
Volume for Current Bar RambleDog NinjaTrader 4 May 16th, 2011 08:37 PM
Volume Chart Bar Size Setting??? RJay Traders Hideout 5 September 1st, 2009 11:32 PM


All times are GMT -4. The time now is 10:15 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-10 in 0.12 seconds with 19 queries on phoenix via your IP 54.221.73.186