I'd like to get the Average Weekly Volume in the Market Analyzer and I assume there is no direct market Data to get this number. I was just wondering if there was an easy formula to get this number that I could whip into an indicator and put that into the market analyzer?
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Average Weekly Volume
Collapse
X
-
Average Weekly Volume
Hi,
I'd like to get the Average Weekly Volume in the Market Analyzer and I assume there is no direct market Data to get this number. I was just wondering if there was an easy formula to get this number that I could whip into an indicator and put that into the market analyzer?Tags: None
-
I'm also thinking it would be nice to have a market analyzer with the volumes from last Friday, Thursday, Wednesday, Tuesday and Monday as I like to search for odd volume activity.
So to get the volume from last Friday do I have to use that DayOfTheWeek thing?
-
Hmmm, strange, I started trying this out and I managed to get the volume percentage for 1,2 & 3 days ago but 4 & 5 come up as 0.
I used this formula in 5 different indicators and applied them to the market analyzer with Daily data:
Value.Set((Volume[1]/SMA(Volume, 200) [0])*100);
Value.Set((Volume[2]/SMA(Volume, 200) [0])*100);
Value.Set((Volume[3]/SMA(Volume, 200) [0])*100);
all of these worked fine as seperate indicators
Value.Set((Volume[4]/SMA(Volume, 200) [0])*100);
Value.Set((Volume[5]/SMA(Volume, 200) [0])*100);
these return a number of 0
Why would that be?
any help is appreciated, thanks
Comment
-
Okay, it's Number of bars to look back. I increased it and then the 4 & 5 came up with numbers. I guess I don't understand that though, I thought I'd only need 4 or 5 bars in the look back??Last edited by stockgoblin; 11-12-2012, 08:31 PM.
Comment
-
Volume Percentage indicators for Market Analyzer
Ah yes, I got it now. Wow, this is great. Now I have a clear indication of the last 5 days of volume, laid out nicely on the market analyzer. Volume percentage rocks!!!!
remember to use Daily data and 200 bar lookback with these
Comment
-
Oh and here's the Volume Percentage indicator for the current day to put into the market analyzer.
- use daily data and 200 bar lookback and I like a cell condition that turns it blue background with white text if over %150!!
yesAttached Files
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by andrewtrades, Today, 04:57 PM
|
1 response
10 views
0 likes
|
Last Post Today, 05:02 PM | ||
Started by chbruno, Today, 04:10 PM
|
0 responses
6 views
0 likes
|
Last Post
by chbruno
Today, 04:10 PM
|
||
Started by josh18955, 03-25-2023, 11:16 AM
|
6 responses
436 views
0 likes
|
Last Post
by Delerium
Today, 03:42 PM
|
||
Started by FAQtrader, Today, 03:35 PM
|
0 responses
9 views
0 likes
|
Last Post
by FAQtrader
Today, 03:35 PM
|
||
Started by rocketman7, Today, 09:41 AM
|
5 responses
20 views
0 likes
|
Last Post Today, 03:33 PM |
Comment