NexusFi: Find Your Edge


Home Menu

 





Relative Volume for Sierra Chart


Discussion in Sierra Chart

Updated
      Top Posters
    1. looks_one slickiam with 14 posts (11 thanks)
    2. looks_two Big Mike with 12 posts (3 thanks)
    3. looks_3 scottemp with 4 posts (0 thanks)
    4. looks_4 aweedram with 2 posts (7 thanks)
      Best Posters
    1. looks_one aweedram with 3.5 thanks per post
    2. looks_two Sawtooth with 3 thanks per post
    3. looks_3 slickiam with 0.8 thanks per post
    4. looks_4 Big Mike with 0.3 thanks per post
    1. trending_up 19,648 views
    2. thumb_up 27 thanks given
    3. group 22 followers
    1. forum 41 posts
    2. attach_file 7 attachments




 
Search this Thread

Relative Volume for Sierra Chart

  #1 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,397 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,537

In my head this makes sense, but not sure once put into practice and studied... if there is anyone else who thinks it also makes sense, I would appreciate someone creating a Sierra Chart indicator.

Here is what I am thinking:

- Selectable lookback, let's use 20 as the example and a daily chart
- Will require 20 weeks of data
- Look at each day of the week's volume independently over the last 20 sessions, and average those 20 together to give us the nominal value (let's say 0 is 'normal' so it works with a zero line histogram)
- Plot today's session volume relative to the average relative volume for the prior 20 sessions, as a histogram it would be above/below zero based on a percentage increase over relative average

Example:

If the last 20 Monday's we saw an average volume of 100,000, and today on Monday we saw 150,000 then the relative volume would plot 1.50.

If the last 20 Friday's we saw an average volume of 100,000 and today on Friday we saw 75,000 then the relative volume would plot 0.75.

I am only interested in using this on daily charts.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
NexusFi Journal Challenge - April 2024
Feedback and Announcements
Exit Strategy
NinjaTrader
Are there any eval firms that allow you to sink to your …
Traders Hideout
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
38 thanks
NexusFi site changelog and issues/problem reporting
27 thanks
GFIs1 1 DAX trade per day journal
18 thanks
The Program
18 thanks
  #2 (permalink)
 Sawtooth 
Prescott AZ USA
 
Experience: Advanced
Platform: SierraChart
Broker: Stage5, FCM:Dorman, Data:Denali, Routing:Teton
Trading: YM ES NQ
Posts: 474 since Nov 2009
Thanks Given: 216
Thanks Received: 603

I think this has been done:

WishList - [AUTOLINK]Relative Volume[/AUTOLINK] Indicator / table - Sierra Chart

There is also a Relative Volume study in the Add Custom Studies... >> User Contributed Studies.

Reply With Quote
Thanked by:
  #3 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,397 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,537



tomgilb View Post
I think this has been done:

WishList - [AUTOLINK]Relative Volume[/AUTOLINK] Indicator / table - Sierra Chart

There is also a Relative Volume study in the Add Custom Studies... >> User Contributed Studies.

Thanks.

I applied it to a SPY chart, 1 day intraday with the minimum lookback value of 5 to test against.

Assuming it does not include today in the lookback, the past 5 volume values for SPY would be

Tuesday 4/16 1283
Tuesday 4/9 903
Tuesday 4/2 910
Tuesday 3/26 796
Tuesday 3/19 1534

The average of those is 1085.

Today's volume was 1509, so relative volume should show 139%. Instead, it shows 11%.

Can anyone else take a look and confirm? I am using the one from User Contributed Studies.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #4 (permalink)
 
slickiam's Avatar
 slickiam 
Tomsk, Russia
 
Experience: Beginner
Platform: custom
Trading: gold
Posts: 273 since Dec 2010
Thanks Given: 133
Thanks Received: 435


Big Mike View Post
In my head this makes sense, but not sure once put into practice and studied... if there is anyone else who thinks it also makes sense, I would appreciate someone creating a Sierra Chart indicator.

Here is what I am thinking:

- Selectable lookback, let's use 20 as the example and a daily chart
- Will require 20 weeks of data
- Look at each day of the week's volume independently over the last 20 sessions, and average those 20 together to give us the nominal value (let's say 0 is 'normal' so it works with a zero line histogram)
- Plot today's session volume relative to the average relative volume for the prior 20 sessions, as a histogram it would be above/below zero based on a percentage increase over relative average

Example:

If the last 20 Monday's we saw an average volume of 100,000, and today on Monday we saw 150,000 then the relative volume would plot 1.50.

If the last 20 Friday's we saw an average volume of 100,000 and today on Friday we saw 75,000 then the relative volume would plot 0.75.

I am only interested in using this on daily charts.

Mike

hi Mike

this is my attempt to code it but i'm unable to test it as it should at this moment

try this on a CLR/regular version /there is an issue w this on noCLR for me so i'm waiting for v968/

gd lck

Scientia Libertas Prosperitas
Attached Files
Elite Membership required to download: rv_b1.cpp
Reply With Quote
Thanked by:
  #5 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,397 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,537


slickiam View Post
hi Mike

this is my attempt to code it but i'm unable to test it as it should at this moment

try this on a CLR/regular version /there is an issue w this on noCLR for me so i'm waiting for v968/

gd lck

Thanks, but it isn't working as expected.

There are no values less than 0.

If today's session has 50% of the volume of the lookback period, then the plot should be 0.5 or -50 depending on your preference.

The values are definitely different than the built-in User Study linked by @tomgilb, so if you can correct the plot it may work. Once that is done I'll do some math and see where we land.

Thx again for efforts.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #6 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,397 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,537


Big Mike View Post
Thanks, but it isn't working as expected.

There are no values less than 0.

If today's session has 50% of the volume of the lookback period, then the plot should be 0.5 or -50 depending on your preference.

The values are definitely different than the built-in User Study linked by @tomgilb, so if you can correct the plot it may work. Once that is done I'll do some math and see where we land.

Thx again for efforts.

Mike

Hmm, I just looked again at a longer lookback, and I do see values less than 1 now (I meant to say less than 1 not 0).

I would prefer it if it had a zero line and used negative values to represent lower volume, and positive values to represent higher volume.

0 would be equal, -50 would be 50% under volume, +50 would be 50% over volume.

Thx again.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #7 (permalink)
 
slickiam's Avatar
 slickiam 
Tomsk, Russia
 
Experience: Beginner
Platform: custom
Trading: gold
Posts: 273 since Dec 2010
Thanks Given: 133
Thanks Received: 435


Big Mike View Post
Hmm, I just looked again at a longer lookback, and I do see values less than 1 now (I meant to say less than 1 not 0).

I would prefer it if it had a zero line and used negative values to represent lower volume, and positive values to represent higher volume.

0 would be equal, -50 would be 50% under volume, +50 would be 50% over volume.

Thx again.

Mike

hi Mike

I've set 1 as the base - not 0

I thought you will take a look inside this simple code to correct it as you need

My hope was you have started to study ACSIL

So this is beta2 and you could change the histogram as you need it w the info:

rv = SUM(Volumes);

av= rv / lookback;

the histogram is : rvs[sc.Index] = ( sc.BaseDataIn[SC_VOLUME][sc.Index] / av ) - 1 ;

Pls., let me know if you need to improve the study.

gd lck

Scientia Libertas Prosperitas
Reply With Quote
  #8 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,397 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,537


slickiam View Post
hi Mike

I've set 1 as the base - not 0

I thought you will take a look inside this simple code to correct it as you need

My hope was you have started to study ACSIL

So this is beta2 and you could change the histogram as you need it w the info:

rv = SUM(Volumes);

av= rv / lookback;

the histogram is : rvs[sc.Index] = ( sc.BaseDataIn[SC_VOLUME][sc.Index] / av ) - 1 ;

Pls., let me know if you need to improve the study.

gd lck

Thx, will take another look. Unfortunately, I've not written a single line of ACSIL. I've simply had so little time for what seems like years now due to the forum. I am still struggling to get a hold on that so I can make necessary time for myself.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #9 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,397 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,537

@slickiam on first glance, it looks correct. It passed the test from my April 23rd figures above.

My only request is I think I prefer the scale of 100 instead of 1.0 after all. So instead of +0.39 it would be +39.

Can you tell me how to make this change?

Thanks again.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #10 (permalink)
 
slickiam's Avatar
 slickiam 
Tomsk, Russia
 
Experience: Beginner
Platform: custom
Trading: gold
Posts: 273 since Dec 2010
Thanks Given: 133
Thanks Received: 435



Big Mike View Post
Thx, will take another look. Unfortunately, I've not written a single line of ACSIL. I've simply had so little time for what seems like years now due to the forum. I am still struggling to get a hold on that so I can make necessary time for myself.

Mike

And this forum is the best. Thank you for the forum, Mike.


Quoting 
My only request is I think I prefer the scale of 100 instead of 1.0 after all. So instead of +0.39 it would be +39.

Sure.

Just multiply the histogram by 100

rvs[sc.Index] = ( ( sc.BaseDataIn[SC_VOLUME][sc.Index] / av ) - 1 ) * 100;

gd lck

Scientia Libertas Prosperitas
Reply With Quote
Thanked by:




Last Updated on August 8, 2018


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts