Cumulative Volume Study - Sierra Chart | futures io social day trading
futures io futures trading


Cumulative Volume Study
Updated: Views / Replies:6,790 / 31
Created: by omni72 Attachments:4

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 dont 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
 4  
 
Thread Tools Search this Thread
 

Cumulative Volume Study

  #11 (permalink)
Elite Member
Georgia, US
 
Futures Experience: None
Platform: Various
Favorite Futures: Various
 
josh's Avatar
 
Posts: 4,897 since Jan 2011
Thanks: 5,143 given, 11,242 received


omni72 View Post
My eventual goal is to be able to filter by day types.

This type of statistical analysis is probably best for outside the trading platform, via excel or some other similar program. There are some resources on the forum for this kind of thing, including exporting data into a mysql and doing queries based on that for certain types of analysis.

Reply With Quote
The following user says Thank You to josh for this post:
 
  #12 (permalink)
Elite Member
Tulsa, OK
 
Futures Experience: Beginner
Platform: Jigsaw, Ninja Trader, Sierra Chart
Broker/Data: Ninjatrader/Rithmic
Favorite Futures: G&L Tribute Series Rampage
 
omni72's Avatar
 
Posts: 348 since Jan 2012
Thanks: 582 given, 619 received


josh View Post
This type of statistical analysis is probably best for outside the trading platform, via excel or some other similar program.

Agreed and thanks for bringing up that point. I'm envisioning more of a separate spreadsheet/database or possibly even a dashboard type interface. Either way, it's not something I think has to be on the chart itself.

Luck is what happens when preparation meets opportunity. ~ Seneca
Reply With Quote
 
  #13 (permalink)
Market Wizard
Bangkok
 
Futures Experience: Intermediate
Platform: MultiCharts.NET, S5, Ninj
Broker/Data: AMP, S5, IB
Favorite Futures: ES
 
DionysusToast's Avatar
 
Posts: 2,669 since Nov 2010
Thanks: 776 given, 8,723 received
Forum Reputation: Legendary



omni72 View Post
Thanks for the input, but, as vegasfoster indicates, I'm using Sierra so I can't use Ninja indicators.
:

Understood but if you take a look @ the code.....

 
Code
      protected override void OnBarUpdate()
        {
            // Use this method for calculating your indicator values. Assign a value to each
            // plot below by replacing 'Close[0]' with your own formula.
			if (FirstTickOfBar) 
			{
				if (Bars.FirstBarOfSession)
				{
					barCounter = 0;
					cVol = 0;
				}
				else
				{
					cVol = cVol + Volume[1];
				}
				barCounter ++;
				tempNOC = numberOfOccurences[barCounter];
				tempVol = avgVolAtTime[barCounter] * numberOfOccurences[barCounter];
				averageVolume = (tempVol / tempNOC);				
			} 
			
            cumulativeVolume = (cVol + Volume[0]);
            numberOfOccurences[barCounter] = tempNOC + 1;
			avgVolAtTime[barCounter] = (cVol + Volume[0] + tempVol) / numberOfOccurences[barCounter];
			CumulativeVolumeDiff.Set(cumulativeVolume - avgVolAtTime[barCounter]);
		}
You'll see there is very little to it. I think you could port it to Sierra pretty easily

Reply With Quote
The following 2 users say Thank You to DionysusToast for this post:
 
  #14 (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

Here is the spreadsheet I'm using. Though it is hard to use because I input the data each evening manually (copy and paste). Something people don't like.

Attached Files
Register to download File Type: zip MySCVolumeProfile.zip (32.5 KB, 52 views)
Reply With Quote
The following user says Thank You to FGBL07 for this post:
 
  #15 (permalink)
Elite Member
Tulsa, OK
 
Futures Experience: Beginner
Platform: Jigsaw, Ninja Trader, Sierra Chart
Broker/Data: Ninjatrader/Rithmic
Favorite Futures: G&L Tribute Series Rampage
 
omni72's Avatar
 
Posts: 348 since Jan 2012
Thanks: 582 given, 619 received


DionysusToast View Post
Understood but if you take a look @ the code.....

 
Code
      protected override void OnBarUpdate()
        {
            // Use this method for calculating your indicator values. Assign a value to each
            // plot below by replacing 'Close[0]' with your own formula.
			if (FirstTickOfBar) 
			{
				if (Bars.FirstBarOfSession)
				{
					barCounter = 0;
					cVol = 0;
				}
				else
				{
					cVol = cVol + Volume[1];
				}
				barCounter ++;
				tempNOC = numberOfOccurences[barCounter];
				tempVol = avgVolAtTime[barCounter] * numberOfOccurences[barCounter];
				averageVolume = (tempVol / tempNOC);				
			} 
			
            cumulativeVolume = (cVol + Volume[0]);
            numberOfOccurences[barCounter] = tempNOC + 1;
			avgVolAtTime[barCounter] = (cVol + Volume[0] + tempVol) / numberOfOccurences[barCounter];
			CumulativeVolumeDiff.Set(cumulativeVolume - avgVolAtTime[barCounter]);
		}
You'll see there is very little to it. I think you could port it to Sierra pretty easily

Thanks DT, I may give it a shot. I'm not a coder though, so it doesn't take much to exhaust my programming skills


FGBL07 View Post
Here is the spreadsheet I'm using. Though it is hard to use because I input the data each evening manually (copy and paste). Something people don't like.

Thanks FB, appreciate your contribution and sharing. As I get my own into some reasonable state of usefulness, I will post it here as well.

Luck is what happens when preparation meets opportunity. ~ Seneca
Reply With Quote
 
  #16 (permalink)
Elite Member
las vegas
 
Futures Experience: Intermediate
Platform: Sierra Chart
Broker/Data: Velocity/IB
Favorite Futures: 6E
 
Posts: 1,147 since Feb 2010
Thanks: 304 given, 836 received

I looked at this today and I looked at DT's code. DT's code looks like it just starts at the first bar of the session. I was going to make the time selectable, but I would need to do a for statement to reference prior days in a range of time, and I've never done that so not sure how it will work out. Was also thinking of having the option of comparing the current bar only to the previous average of the same prior days' bars as opposed to the cumulative for the time range, which I think will be simpler. To clarify, I'm pretty slow at this and am taking this on as a learning exercise, so again, if someone more proficient wants to crank this out, then I will not be offended.

Reply With Quote
The following user says Thank You to vegasfoster for this post:
 
  #17 (permalink)
Elite Member
las vegas
 
Futures Experience: Intermediate
Platform: Sierra Chart
Broker/Data: Velocity/IB
Favorite Futures: 6E
 
Posts: 1,147 since Feb 2010
Thanks: 304 given, 836 received

I need help on this. To use time as I know how I need to correlate the sc.Index to the time somehow and I can't figure a way to do that. Below is my initial thought process, but right now the StartIndex integer is null.

 
Code
	SCDateTime& IndexDateTime =  sc.BaseDateTimeIn[sc.Index];
	        
        bool InputsReversed = (EndTime.GetTime() > StartTime.GetTime());
	if (InputsReversed)
	{
                Int StartIndex = ?????  <---Somehow identify the first sc.Index after the StartTime as StartIndex
                Int Length = sc.Index - StartIndex;
	
	        float Sum = 0.0f;
		for (int InIndex = sc.Index - (Length - 1); InIndex <= sc.Index; InIndex++)
		{
		Sum += sc.Volume[InIndex];
		}
	
	float Volume = Sum;
	CumulativeVolume[sc.Index] = Volume;
If @ktrader or @aslan or @pbeguin or someone else good could help that would be great. Thank you.

Reply With Quote
The following user says Thank You to vegasfoster for this post:
 
  #18 (permalink)
Elite Member
glostrup, denmark
 
Futures Experience: Advanced
Platform: Custom platform
Broker/Data: CQG
Favorite Futures: Futures, Options, Stocks
 
ktrader's Avatar
 
Posts: 249 since Aug 2011
Thanks: 151 given, 274 received


vegasfoster View Post
I need help on this. To use time as I know how I need to correlate the sc.Index to the time somehow and I can't figure a way to do that. Below is my initial thought process, but right now the StartIndex integer is null.

 
Code
	SCDateTime& IndexDateTime =  sc.BaseDateTimeIn[sc.Index];
	        
        bool InputsReversed = (EndTime.GetTime() > StartTime.GetTime());
	if (InputsReversed)
	{
                Int StartIndex = ?????  <---Somehow identify the first sc.Index after the StartTime as StartIndex
                Int Length = sc.Index - StartIndex;
	
	        float Sum = 0.0f;
		for (int InIndex = sc.Index - (Length - 1); InIndex <= sc.Index; InIndex++)
		{
		Sum += sc.Volume[InIndex];
		}
	
	float Volume = Sum;
	CumulativeVolume[sc.Index] = Volume;

@vegasfoster, i think sc.GetNearestMatchForSCDateTime passing the current chart as chartnumber does it.

--ktrader

Reply With Quote
The following user says Thank You to ktrader for this post:
 
  #19 (permalink)
Elite Member
Tulsa, OK
 
Futures Experience: Beginner
Platform: Jigsaw, Ninja Trader, Sierra Chart
Broker/Data: Ninjatrader/Rithmic
Favorite Futures: G&L Tribute Series Rampage
 
omni72's Avatar
 
Posts: 348 since Jan 2012
Thanks: 582 given, 619 received

Still tinkering with this project, so I'm glad to see a few others are making their own go of it

Got a little sidetracked working on a trade-size study. I was actually able to get most of that one done, so I'm returning my focus to this task.

Luck is what happens when preparation meets opportunity. ~ Seneca
Reply With Quote
 
  #20 (permalink)
Elite Member
las vegas
 
Futures Experience: Intermediate
Platform: Sierra Chart
Broker/Data: Velocity/IB
Favorite Futures: 6E
 
Posts: 1,147 since Feb 2010
Thanks: 304 given, 836 received


I'm making some progress with @ktrader idea, it's doing something, unfortunately just not what I want yet.

Reply With Quote
The following user says Thank You to vegasfoster for this post:

Reply



futures io > > > > Cumulative Volume Study

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
Cumulative Delta Volume Trading Big Mike The Elite Circle 980 December 10th, 2017 07:17 AM
Gom Cumulative Delta Volume for MultiCharts proton242 The Elite Circle 291 November 13th, 2017 07:31 AM
Volume Breakdown and Cumulative Delta cleon EasyLanguage Programming 8 November 9th, 2014 06:12 AM
ACSIL - Getting the high/low/open/close values of the cumulative delta study yonatan Sierra Chart Programming 4 October 12th, 2012 04:29 PM
Cumulative Delta Study in Multicharts DT Malvolio MultiCharts 1 January 21st, 2012 08:37 AM


All times are GMT -4. The time now is 10:20 AM.

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-12 in 0.12 seconds with 20 queries on phoenix via your IP 54.90.92.204