Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Measuring trade intensity with the free Pace of Tape indicator
Collapse
X
-
Code:Calculate = Calculate.OnEachTick; protected override void OnBarUpdate() { int pace = 0; int i = 0; while(i < CurrentBar) { TimeSpan ts = Time[0] - Time[i]; if (ts.TotalSeconds < period) pace += Bars.BarsPeriod.Value; else break; ++i; }
it must be halloween, bcuz this is very scary, lol
Comment
-
Originally posted by jack98765 View Post
Do you still have this zip file? It's missing from this forum. Thank youLast edited by aligator; 09-13-2020, 12:48 PM.
- Likes 1
Comment
-
Originally posted by balltrader View PostCode:Calculate = Calculate.OnEachTick; protected override void OnBarUpdate() { int pace = 0; int i = 0; while(i < CurrentBar) { TimeSpan ts = Time[0] - Time[i]; if (ts.TotalSeconds < period) pace += Bars.BarsPeriod.Value; else break; ++i; }
it must be halloween, bcuz this is very scary, lol
Cheers!
Comment
-
Okay I see it now, thank you. I either overlooked it the first time or it wasn't showing up. It's still not quite what i'm looking for though. Do you know of an indicator that measures current tick movement in either direction per seconds/minutes (I mean that as price movement speed)? I can't find anything that does this and don't believe it would be hard to code, I'm just not familiar enough with C#.Last edited by jack98765; 09-14-2020, 10:20 AM.
Comment
-
Originally posted by jack98765 View Post
Okay I see it now, thank you. I either overlooked it the first time or it wasn't showing up. It's still not quite what i'm looking for though. Do you know of an indicator that measures current tick movement in either direction per seconds/minutes (I mean that as price movement speed)? I can't find anything that does this and don't believe it would be hard to code, I'm just not familiar enough with C#.
BarTimes is a simple indicator to provide the time it takes to build a bar This is useful for non time-based bars such as Range, Renko, Volume, Tick, etc, to help show how long any bar took to develop. The indicator has options to display the time in milliseconds, seconds, minutes, or hours, the default […]
- Likes 2
Comment
-
Originally posted by aligator View Post
Yes, there are many custom indicators that if you do a search you will find them under the User Apps Downloads. Here is the BarTimes indicator that times the formation of a bar and can be downloaded here:
https://ninjatraderecosystem.com/use.../nt8-bartimes/
Comment
-
Originally posted by jack98765 View Post
Thanks for the suggestion. I tried that one but it's for plotting time duration of bars. I'm trying to find something that shows current speed of price movement (velocity), like a radar gun and gives rate of speed. There are some paid indicators that many do it but it's source code is probably in a dll file that can't be modified.
Radar gun measures velocity(m/s), but rate of speed is acceleration. You get a ticket for speeding not for accelerating from 0 to 5 miles per hours. Regardless, this indicator essentially gives you what you need. Here is why:
For example, on a 100 tick charts the indicator measures the "time to complete" a 100 tick bar in seconds, i.e., 5 seconds. So your average velocity of that bar is 100/5 = 20 ticks per second. If you want to plot the bar "velocity" then plot the ratio of bar size in ticks to the "time to complete." Now, because every bar on the chart is 100 ticks, a plot of the "velocity" will visually looks exactly the same (actually inverted) as the plot for "time to complete" the bar, except on a different scale by a constant factor.
So, this indicator is a good representation of the bar velocity.
Perhaps if you provide actual examples, charts, or references to "some paid indicators that many do it" or what you have seen elsewhere it would be easier for someone to code a different indicator.
Finally, if this is important to you and you "don't believe it would be hard to code" then editing an existing NT8 indicator to do what you want is not a difficult task, just needs a little effort to learn simple cut and paste without being a programmer.
Cheers!Last edited by aligator; 09-15-2020, 03:43 PM.
- Likes 2
Comment
-
Originally posted by PN720 View PostHi, was the NT8 indicator ever attached to any of these posts?
https://ninjatraderecosystem.com/use.../nt8-bartimes/
Comment
-
Originally posted by aligator View PostPaceOfTapeNT8.zip
Here is my conversion of the original PaceOfTape indicator for NT 8.0. 16.1.
It is Free! (a 10 min effort)
Cheers!
I managed to download this indicator for NT8 (with great thanks !!!) . . . However, I can't seem to figure out how to change the colour when the indicator shows a spike (above 100 as I had entered) ?? Please help.
Last edited by Dan_C; 01-20-2021, 03:19 AM.
Comment
-
Originally posted by Dan_C View Post
Last edited by aligator; 01-20-2021, 10:19 AM.
Comment
-
Originally posted by aligator View Post
I cant tell from your chart with no information, could you post a screenshot of drop down list of parameters. Perhaps you need to change the threshold value. This variable is very different for different contracts and time frames. Also, maybe both plots have the same color, if so change one of the colors.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by r68cervera, Today, 05:29 AM
|
0 responses
2 views
0 likes
|
Last Post
by r68cervera
Today, 05:29 AM
|
||
Started by geddyisodin, Today, 05:20 AM
|
0 responses
3 views
0 likes
|
Last Post
by geddyisodin
Today, 05:20 AM
|
||
Started by JonesJoker, 04-22-2024, 12:23 PM
|
6 responses
35 views
0 likes
|
Last Post
by JonesJoker
Today, 05:14 AM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
12 responses
3,239 views
0 likes
|
Last Post
by Leafcutter
Today, 05:08 AM
|
||
Hi
by AveryFlynn
Started by AveryFlynn, Today, 04:57 AM
|
0 responses
6 views
0 likes
|
Last Post
by AveryFlynn
Today, 04:57 AM
|
Comment