NexusFi: Find Your Edge


Home Menu

 





Relative Volume Indicator


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 47 posts (253 thanks)
    2. looks_two soulartist with 13 posts (6 thanks)
    3. looks_3 Cachevary with 8 posts (0 thanks)
    4. looks_4 Big Mike with 5 posts (5 thanks)
      Best Posters
    1. looks_one Fat Tails with 5.4 thanks per post
    2. looks_two Silvester17 with 4 thanks per post
    3. looks_3 Big Mike with 1 thanks per post
    4. looks_4 soulartist with 0.5 thanks per post
    1. trending_up 86,753 views
    2. thumb_up 278 thanks given
    3. group 50 followers
    1. forum 106 posts
    2. attach_file 15 attachments




 
Search this Thread

Relative Volume Indicator

  #31 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102

Have put the RelativeVolume V14 in the download section. No further changes.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
Futures True Range Report
The Elite Circle
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
NexusFi Journal Challenge - April 2024
Feedback and Announcements
ZombieSqueeze
Platforms and Indicators
 
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
26 thanks
GFIs1 1 DAX trade per day journal
19 thanks
The Program
18 thanks
  #32 (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


Fat Tails View Post
Have put the RelativeVolume V14 in the download section. No further changes.

View Download Details - Big Mike's Trading Forum

Notifications sent to previous downloaders.

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 Reply With Quote
  #33 (permalink)
 
wccktrader's Avatar
 wccktrader 
Singapore
 
Experience: Intermediate
Platform: NinjaTrader, Sierra Charts
Broker: Thinkorswim, IQFeed
Trading: Options of SPY, IWM, QQQ
Posts: 47 since Nov 2010
Thanks Given: 54
Thanks Received: 149



Fat Tails View Post
Have put the RelativeVolume V14 in the download section. No further changes.

Thank you very much for this indicator. If one could place this indicator in Ninjatrader's Market Analyser, one could be alerted of volume surges in any of the stocks in the watchlist. I have tried to do this but was not successful. Could you advise how it could be made to work. Thanks.

Reply With Quote
  #34 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


wccktrader View Post
Thank you very much for this indicator. If one could place this indicator in Ninjatrader's Market Analyser, one could be alerted of volume surges in any of the stocks in the watchlist. I have tried to do this but was not successful. Could you advise how it could be made to work. Thanks.

The relative volume indicator needs quite a long lookback period, as it uses all data of the n preceding weeks, also it will possibly slow down NinjaTrader if used simutaneously on several instruments. So I am not sure, whether it can be used via the market analyzer. For your purposes it might be eaier to determine a general intraday volume profile and then check against that profile by using daily volume and a factor derived from the volume profile.

Will think about a solution.

Reply With Quote
  #35 (permalink)
 
wccktrader's Avatar
 wccktrader 
Singapore
 
Experience: Intermediate
Platform: NinjaTrader, Sierra Charts
Broker: Thinkorswim, IQFeed
Trading: Options of SPY, IWM, QQQ
Posts: 47 since Nov 2010
Thanks Given: 54
Thanks Received: 149

Thanks again. I have a simple code in Sierra Charts which I call "Virtual Volume Buzz" which takes on the idea you mentioned. It compares the current day volume profile (based on 10 min charts ) against the average volume profile for the last 4 days. The code is appended below. As I am new to coding in Ninjatrader, I have not been able to code it in Ninjatrader. If it could be improved and coded for use in Ninjatrader's Market Analyser, it would be great!


SCSFExport scsf_VirVolBuzz(SCStudyGraphRef sg)
{
// Section 1 - Set the configuration variables

SCFloatArrayRef Day = sg.Subgraph[1].Arrays[0];
SCFloatArrayRef DayCumVol = sg.Subgraph[2].Arrays[0];
SCFloatArrayRef AvgCumVol = sg.Subgraph[3].Arrays[0];
SCFloatArrayRef VolChng = sg.Subgraph[4].Arrays[0];

SCFloatArrayRef Avg = sg.Subgraph[5].Arrays[0];

if (sg.SetDefaults)
{
// Set the configuration and defaults

sg.GraphName = "VirVolBuzz";
sg.StudyDescription = "VirVolBuzz";
sg.FreeDLL = 0;
sg.AutoLoop = 1; // true
sg.GraphRegion = 1;
sg.Subgraph[0].Name = "VirVolBuzz";
sg.Subgraph[0].DrawStyle = DRAWSTYLE_LINE;
sg.Subgraph[0].PrimaryColor = RGB(255,127,0);//magenta

sg.Input[0].Name = "Length";
sg.Input[0].SetInt(39); //Based on 10 mins charts i.e. 39 bars in a trading day. For hourly charts, this can be changed to 7.

sg.Input[0].SetIntLimits(1,1000);

}

// Section 2 - Do data processing here

int i = sg.Index;

// Get the input into a local variable.

int InLength = sg.Input[0].GetInt();


for (int w=0; w <= sg.ArraySize-1; ++w)

{

Day[w]=DATE_PART(sg.BaseDateTimeIn[w]);

}

for (int s=0; s <= sg.ArraySize-1; ++s)

{

if (Day[s] == Day[s-1])

{

DayCumVol[s]=sg.BaseDataIn[SC_VOLUME][s]+DayCumVol[s-1];

}

else

{

DayCumVol[s]=sg.BaseDataIn[SC_VOLUME][s];

}
}


Avg[i] = (DayCumVol[i-InLength] + DayCumVol[i-InLength*2] + DayCumVol[i-InLength*3] + DayCumVol[i-InLength*4])/4;

sg.Subgraph[0][i]=DayCumVol[i] / Avg[i];

}

Reply With Quote
  #36 (permalink)
 
NTrader's Avatar
 NTrader 
Hong Kong
 
Experience: Intermediate
Platform: NinjaTrader
Trading: Currency / Index Futures
Posts: 35 since Mar 2011
Thanks Given: 97
Thanks Received: 9

Thanks again Fat Tails. It works perfectly after trying out the various settings. Now the color of the bar change when it reaches a certain percentage level, below 80 RED, 81-119 WHITE, above 120 GREEN, according to the default setting. I wonder if there could be such an option that the color can change live against the proportional completion of time, e.g. in 1 min out of a 5 min chart, if the figure goes up above 24 (which virtually represents 120 in 5 min), and the color changes to green in that case. Similarily below 16 = RED, 16-24 = WHITE etc.

I believe 5 min is more reliable than 1 min, so I try not to use 1 min chart to accomplish what I suggested above. But sometime the great movement happens right in the middle of 5 min. Right now, I use your bartime to monitor the progress of the bar in the 5 min.

BTW, I still recall from time to time the great moments I spent in the Capital of BEAR back to my young age.

Best regards,
NTrader

Reply With Quote
  #37 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


NTrader View Post
Thanks again Fat Tails. It works perfectly after trying out the various settings. Now the color of the bar change when it reaches a certain percentage level, below 80 RED, 81-119 WHITE, above 120 GREEN, according to the default setting. I wonder if there could be such an option that the color can change live against the proportional completion of time, e.g. in 1 min out of a 5 min chart, if the figure goes up above 24 (which virtually represents 120 in 5 min), and the color changes to green in that case. Similarily below 16 = RED, 16-24 = WHITE etc.

I believe 5 min is more reliable than 1 min, so I try not to use 1 min chart to accomplish what I suggested above. But sometime the great movement happens right in the middle of 5 min. Right now, I use your bartime to monitor the progress of the bar in the 5 min.

BTW, I still recall from time to time the great moments I spent in the Capital of BEAR back to my young age.

Best regards,
NTrader

Agree that this should not be used on 1 minute bars. This applies to all volume indicators. There is too much random volume.

As I understand it, your wish just refers to the large bar. This would require to include a full bar timer within the indicator or to access the other bar timer. It certainly makes sense but is a lot of effort for such a little feature.

In the end it will give you the information of the relative volume for fractional bars, that is 1 minute bars within the 5 minute bars, which is not reliable anyhow, because that is reason that you use 5 minute bars.

I think I won't include it with the standard indicator, but maybe if I find some time, I will play around with it.

Reply With Quote
  #38 (permalink)
 
NTrader's Avatar
 NTrader 
Hong Kong
 
Experience: Intermediate
Platform: NinjaTrader
Trading: Currency / Index Futures
Posts: 35 since Mar 2011
Thanks Given: 97
Thanks Received: 9

Thanks so much FT. Yes, I agree the existing one is already doing a great job. I particularly like the idea "relative" to previous the same time slot, instead of the previous n period. Do you know there are "relative range indicator" and "relative tick velocity indicator" etc. avaliable or that can be developed? I believe there could be predicative value like the "relative volume indicator" when we see the price movements(range/velocity) behave differently from what we usually expect in the past.

Reply With Quote
  #39 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


NTrader View Post
Thanks so much FT. Yes, I agree the existing one is already doing a great job. I particularly like the idea "relative" to previous the same time slot, instead of the previous n period. Do you know there are "relative range indicator" and "relative tick velocity indicator" etc. avaliable or that can be developed? I believe there could be predicative value like the "relative volume indicator" when we see the price movements(range/velocity) behave differently from what we usually expect in the past.

I have done an intraday range indicator as well, but it does not compare the ranges of the current bars to the ranges typically found. It just displays the average range for a certain period of a weekday to indicate whether that time is suitable for trading. I have used it to determine my optimum trading times.

Reply With Quote
Thanked by:
  #40 (permalink)
 
bizman70's Avatar
 bizman70 
toronto, ontario
 
Experience: Intermediate
Platform: ninja trader
Broker: sterling, iqfeed
Trading: es, nq, 6e
Posts: 363 since May 2010
Thanks Given: 41
Thanks Received: 140


wondering if we can create a push like a wykoff type of volume bar with the relative volume - meaning when there is bar that is greather then past X bars the volume bar changes colours

Visit my NexusFi Trade Journal Reply With Quote




Last Updated on March 25, 2019


© 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