![]() |
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Jun 2011
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts
|
Hi there. Is anyone one aware of an indicator that measures the tick volume. Not a tick chart, but a volume of ticks indicator.
Regards! |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Dec 2008
Location: http://coroin.com
Posts: 156
Thanks: 8
Thanked 7 times in 7 posts
|
@Vol plots the volume of each bar (comprised of ticks)
can you elaborate on what you're trying to accomplish? cheers, -e |
|
|
|
|
The following user says thank you to e-man for this post: |
|
|
|
#3 |
|
NinjaTrader Customer Service
Join Date: Mar 2012
Location: Denver, CO
Posts: 1,183
Thanks: 130
Thanked 180 times in 179 posts
|
Hello Isubeano,
Welcome to the NinjaTrader Support Forums! I believe what you are looking for is a indicator that displays the number of ticks in a bar. To my knowledge I do not know of an indicator that does that, but there are a few that you could try or use as references. The following link is to an indicator that displays the real-time level II tick volume at specific prices. http://www.ninjatrader.com/support/f...d=4&linkid=336 This next one displays the time, tick count, volume, and many other items on the chart. http://www.ninjatrader.com/support/f...d=1&linkid=320 Let us know if we can be of further assistance.
JC
NinjaTrader Customer Service |
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Dec 2008
Location: http://coroin.com
Posts: 156
Thanks: 8
Thanked 7 times in 7 posts
|
one more link to add to JC's list:
if you're looking for the prints/ticks/orders per bar, use Bars.TickCount: http://www.ninjatrader.com/support/h...?tickcount.htm cheers, -e |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Jun 2011
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts
|
E-man,
Yes, what I'm looking for is a way to measure the number of trades per bar. ie. If I have a 1min chart up...to be able to see for each 1min bar the number of trades that occurred during that 1min interval....not the volume of contracts, but number of trades. thank you JC for those links.... |
|
|
|
|
|
#6 |
|
Senior Member
Join Date: Dec 2008
Location: http://coroin.com
Posts: 156
Thanks: 8
Thanked 7 times in 7 posts
|
right-on, i think Bars.TickCount is what you're after then.
cheers, -e |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Jun 2011
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts
|
thanks eman,
It appears that will not work unless there's a tweak I'm unaware of. It seems it counts only using tick charts |
|
|
|
|
|
#8 |
|
NinjaTrader Customer Service
Join Date: Mar 2012
Location: Denver, CO
Posts: 1,183
Thanks: 130
Thanked 180 times in 179 posts
|
Hello Isubeano,
You would want to use CalculateOnBarClose (COBC) set to false to be able to get a the Bars.TickCount to be able to get the TickCount of a bar. Note that the, COBC can vastly effect how a indicators/strategy functions. If CalculateOnBarClose is true, then the strategy/indicator will be calculated at the close of each bar. If your strategy/indicator is set to COBC is false, then it will be calculated on each tick of data. See the following link for more info on COBC. http://www.ninjatrader.com/support/h...onbarclose.htm Let us know if we can be of further assistance.
JC
NinjaTrader Customer Service |
|
|
|
|
|
#9 |
|
Senior Member
Join Date: Dec 2008
Location: http://coroin.com
Posts: 156
Thanks: 8
Thanked 7 times in 7 posts
|
interesting, b/c this page makes no mention of the COBC requirement:
http://www.ninjatrader.com/support/h...?tickcount.htm found this thread that has a bit more info (incl a mention of a future consideration for development team): http://www.ninjatrader.com/support/f...ad.php?t=49902 bottom line is this is a real-time property, not an historical property like volume. cheers, -e |
|
|
|
|
|
#10 |
|
Junior Member
Join Date: Oct 2012
Posts: 11
Thanks: 7
Thanked 0 times in 0 posts
|
Hi Guys
Is there an Indicator in NT7 that will plot the Volume of Ticks in a bar? This is the closest thread I could find. I have little programming experience so if I need to do that I would appreciate all the advice or instruction that I can get. Thanks |
|
|
|
|
|
#11 |
|
NinjaTrader Customer Service
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
|
Hello HiTrade1208,
Are you referring to volume profile? If so then NinjaTrader comes with a volume profile indicator. You can apply it on the chart by following the below steps:
Besides this you can also use the various member submitted indicators based on volume/market profile. You can download a few from the below linksBesides the free indicator few of our 3rd party partners provides a comprehensive package on volume/market profile. You can refer then from their websites
Joydeep M.
NinjaTrader Customer Service |
|
|
|
|
|
#12 |
|
Junior Member
Join Date: Aug 2008
Posts: 16
Thanks: 6
Thanked 0 times in 0 posts
|
The original poster of this thread was asking how to get a tick count for each bar to use in an indicator calculation.
For instance, in another strategy development platform (not to be mentioned) I was able to write an indicator that calculated On Balance Volume where the "volume" (used for calculation) was either the trade volume or number of ticks. Number of Ticks would be used in calculation when BarType were "Volume Bars". The system @OBV calculates only with Trade Volume based on following: Code:
if (Close[0] > Close[1]) Value.Set(Value[1]+ Volume[0]); else if (Close[0] < Close[1]) Value.Set(Value[1] - Volume[0]); else Value.Set(Value[1]); Code:
if (BarsPeriod.BasePeriodType == PeriodType.Volume)
{
if (Close[0] > Close[1])
Value.Set(Value[1]+ Bars.TickCount);
else if (Close[0] < Close[1])
Value.Set(Value[1] - Bars.TickCount);
else
Value.Set(Value[1]);
}
I have tried this with COBC = false as suggested but the indicator is plotting the same value as OBV() . Using a Print() statement on CurrentBar ==1 the BarsPeriod.BasePeriodType evaluates to "Minute". Even though my chart is a 10000 vol ES chart. As for the dataprovider I am using an External Tradestation Connection with the NTExternalFeed Strategy on a Delayed 10000 Volume ES Chart. The connection seems to be working fine. NT 10000 Vol chart gets updated when TS Chart is updated.
Last edited by tornadoatc; 02-06-2013 at 05:41 AM.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Calculate up tick volume | freewind | Automated Trading | 1 | 09-07-2010 03:21 PM |
| tick volume goes low | deanz | Version 7 Beta General Questions & Bug Reports | 8 | 07-01-2010 04:19 AM |
| Tick volume indicator | joker23 | Indicator Development | 1 | 02-10-2010 06:10 AM |
| Tick volume indicator | Mindset | Indicator Development | 1 | 08-28-2009 07:25 AM |
| Tick Volume | NinjaTrader_Josh | Indicator Development | 4 | 07-27-2007 01:39 AM |