It's common for people to look at how large the upper or lower 'wicks' or 'shadows' are in comparison to the range of a bar. In writing strategies that do so, I got tired of re-re-coding calculations to look for especially large ones.
So, I created an indicator that shows the upper and lower wick size as a percentage of the bar's range. So, now, if I want to specify a wick that's greater than 50% of the bar's range, I can just look for instances where the indicator values are UpperWick > 50 or LowerWick < -50.
If you find looking for negative numbers cumbersome, edit the indicator and reverse the LowerWick calculations, from either (Low[0] - Open[0]) or (Low[0] - Close[0]) to (Open[0] - Low[0]) or (Close[0] - Low[0]), respectively. Then, all the histogram bars will point upwards and you can make your code always look for positive values.
I hope some of you find this indicator handy.
I neglected to account for instances where Range() is zero, so the original indicator sometimes stops working. This newer version corrects that problem.
April 28th, 2017
Size: 14.23 KB
Downloaded: 170 times
1863
jta3
For true Point and figure charting and analysis NT 7 does not work because of a issue with drawing new bars on sessions. What I did is tweak the existing PointAndFigure chart code and replaced some logic so that it will no longer plot a new bar on session breaks (Sessions still exist).
I have more on point and figure in the Elite section, but for who that are no elite I still want to help. I encourage you to join the elite section and support this site.
What this means; longer term PnF charts are not only possible, but with my PnF suite might just be the best PnF setup out there. I will let you make your own decision on that opinion.
After downloading the code it must be copied to folder:
\My Documents\Ninja Trader 7\bin\Custom\Type
and because it is provided as a .cs file it must be compiled (by compiling any other indicator). Once compiled Ninja Trader must be closed and reopened before the new chart type, named “SodyPointAndFigure” will replace the old PnF.
Simple alternative to Median or Typical Input to your indicator. Hat tip to Fat Tails for the idea.
It takes 6 data points (high, low, open, close, mean and mean body) to arrive at the average. Useful for smoothing out the data.
On the screenshot: green is using Close for an input, yellow is using SixPointsInput.
April 22nd, 2015
Size: 1.76 KB
Downloaded: 169 times
1632
gregid
You can set up this simple indicator to give you information like:
How many bars are currently visible on the chart
What is the time span of the visible chart
What is the time range of the visible chart
This is especially usefull if you zoom in and out on the chart and would like to quickly know on what time frame are you basing your observations/decisions.
It updates the information every time you scroll or zoom in and out
September 10th, 2016
Size: 2.01 KB
Downloaded: 164 times
1754
Trading Noob
R-Squared, Coefficient of Determination, the square of the Correlation Coefficient. This should return the same values as the standard supplied RSquared. Unfortunately both versions always iterate, so should probably be used with CalculateOnBarClose == true.
I believe my version to be slightly more CPU efficient, as it does not require a square root calculation used in the distribution version.
Version 1.0.
July 3rd, 2010
Size: 6.78 KB
Downloaded: 164 times
525
fluxsmith
Linear Regression Intercept. Returns slightly different values than the standard LinRegIntercept provided, which I believe to be incorrect (at least through NT7 Beta 18). Also unlike the provided version does not require iteration on intrabar updates. Version 1.0.
July 3rd, 2010
Size: 4.59 KB
Downloaded: 162 times
520
fluxsmith
Standard SMA re-programmed to display fractional pricing to match Interest Rate Futures pricing.
[Will also properly display decimal pricing on contracts other than Interest Rates]
Should return the same values as the standard 'SUM', hopefully with less memory overhead. Intended to be used as a component in more complex indicators. Version 1.0.
This indicator counts the number of bars that have moved in the same direction, plotting a positive histogram for rising bars and a negative one for falling bars. I forget how I handled dojis, but I did.
It also includes SMAs of rising and falling bars, with a user-configurable period for the moving average.
I hope a few people still using NT7 find this useful.
April 18th, 2015
Size: 1.81 KB
Downloaded: 137 times
1627
gregid
I need True Range for another indicator that I am creating. Comments are welcome if anyone finds an error. Nothing came up in search so I wrote the code. Version 1.0.0.0 (My first Ninjatrader code, I am a SQL Server DBA/C#developer by day)
March 17th, 2013
Size: 2.18 KB
Downloaded: 135 times
1380
weasel
Average (Mean) Absolute Deviation (AAD) is another statistical measure of variability similar to Standard Deviation or MAD. The main difference from StdDev is weight of the outliers (since there is no squaring in AAD). Study first to decide which measure is more suitable for your needs/data
April 30th, 2015
Size: 2.14 KB
Downloaded: 119 times
1634
gregid
Interquartile Range is another robust statistical measure of variability most similar to MAD. It is calculated as a difference between Lower and Upper Quartile. Study first to decide which measure is more suitable for your needs/data.
On the screenshot:
yellow: StdDev,
green: g3InterquartileRange
Median Absolute Deviation (MAD) is a statistical measure of volatility similar to Standard Deviation. It is considered more resilient to outliers in a data set then StdDev. In the MAD, the deviations of a small number of outliers are irrelevant.
April 27th, 2015
Size: 2.49 KB
Downloaded: 101 times
1633
gregid
This was uploaded in Error to the NT7 site. This is an NT8 indicator, please see NT8 downloads for information and to download the indicator. Sorry for the confusion.
April 28th, 2017
Size: 126.53 KB
Downloaded: 40 times
1862
jta3
CandleStickDoctor Version 1.0
Author: radi8
Trading Group Affiliation: TeamPIPPEdge
I wrote this indicator to help quickly identify known bullish and bearish candlestick patterns. The majority of the patterns are derived from the candlestick indicator included as part of the native NT offering. I found that indicator to be of little practical value, but the logic behind the pattern detection to be of immense help. I added a few patterns I wanted in there. The included patterns are listed below, and by no means, are they all inclusive. It is not that difficult to add additional patterns.
The indicator will paint bullish or bearish bars user defined colors. The indicator captures mouse events, so if you click on a bar it will tell you what signals were generated for that bar. Multiple patterns can be detected on a single bar. Dojis are not painted.
Alert features are included.
This version successfully compiles on NT7 version 7.0.1000.31