The Trigger Lines indicator is composed of two lines. The leading line is a linear regression indicator (LinReg). The lagging line or signal line is an exponential moving average (EMA) of the leading line.
This indicator comes with two different options for identifying and uptrend or downtrend:
Trigger line cross: When the leading regression line crosses above the signal line, this is the beginning of an uptrend. Vice-versa the indicator signals a downtrend, as long as the leading line remains below the signal line.
Thrust bars: An uptrend is detected via an upthrust bar that closes and has a median above both trigger lines. A downtrend follows a downthrust bar that closes and has a median below both trigger lines.
The second trend definition adapts faster to changing market conditions, but also produces a higher number of false signals. The trend can be shown via paint bars. The indicator further comes with sound alerts that will signal a trend change.
Trader Trader EA buys and sells based upon crosses above and below TRIX. TRIX is an oscillator used to trade trends based on a triple smoothed moving average. A cross up and over TRIX initiates a long position, and a cross down and under TRIX initiates a short position.
In his article in this issue, “True Range Adjusted Exponential Moving Average (TRAdj EMA),” author Vitali Apirine presents how a security’s true range, which measures volatility, can be incorporated into a traditional exponential moving average. The trend-following indicator, called the true range adjusted exponential moving average (TRAdj EMA), applied with different lengths, can help define turning points and filter price movements. By comparing the indicator with an exponential moving average of identical length, the trader can gain insight into the overall trend.
At various times, I have wanted an indicator that showed the slope of a line between two price points on a chart. I looked here on the forum for one and found a number of people discussing it, generally attempting to measure the slope of a line they'd drawn on the chart, and realizing that, if the chart is resized in any way, the slope is changed, blowing its usability.
I finally looked at the question independent of the chart. Treating the problem as that of measuring the leftmost angle of a right triangle, with the hypotenuse formed by the price at the starting point and the price at the end point and the right angle at the lower right, I finally found a usage for the trigonometry classes I'd had.
If you know the length of two sides of a right triangle, you can calculate the angles using the inversions of the sine, cosine and tangent functions, the arcsin, the arccos and the arctangent.
Taking the difference in price between the starting bar and the ending bar, converted to ticks, as the height of the side opposite the angle and the number of bars as the length of the side parallel to the bottom of the chart, the leftmost angle can be calculated and it will stay the same regardless how the chart is resized. This gives the 'real' angle, or slope, of a line drawn from the price on the starting bar to a price on the ending bar. Fortunately, the C# programming language contains the arctan function, Atan(), so it was possible to build the math without my brain exploding.
I wrote a NinjaTrader indicator that allows you to choose whether to start on Open, Close, High, Median or Low, to choose whether to end on Open, Close, High, Median or Low and the period, or number of bars, you want to measure. I have uploaded the .cs file, zipped. Just import it, as usual. All the math is contained within the indicator.
No line is drawn on the chart (since it calculates for every bar, you'd potentially have a bazillion confusing lines). Instead a new panel is created with the angle at each bar plotted, between +90 and -90, which would be the angle if you measured price change on one bar.
The usability of this indicator is not as immediately obvious as I expected it to be. However, you can see that, where the plot makes a kind of 'plateau' or trough, price is continuing steeply up or down. With a long period, areas that are usually called 'chop' can be seen, as the angle maintains a value closer to zero.
This is not a lagging indicator, regardless how long the period is. Price movement on the current bar is immediately reflected in the angle. Relatively short periods can be used, for example, in automated trading to help guard against sudden unfavorable price spikes, an intra-day nemesis.
I have not tested moving averages of the angle, but those may also be useful, though will add a lag, of course. (11/25/15) I have found myself using a Linear Regression Channel of the angle indicator and comparing to an LRC of price.)
I may also make an indicator that averages high-to-high, low-to-low, median-to-median and high-to-low angles in an attempt to emulate what the human brain does when we look at a chart. We see all this detailed activity, but the brain sort of fuzzes the image allowing us to immediately see, price going up, price going down, price going nowhere. Seeing the forest, rather than the trees.
If it seems to do the trick, I will post that, as well. (11/25/15) After further exploration, I realized that the Linear Regression Channel indicator that comes with NinjaTrader does this already, and better than I could.
I hope those of you looking for an angle/slope indicator will find this of some use.
(Double-checked math. It is correct and you can use it with confidence. Understand that the 2 period minimum actually goes BACK 2 bars, so this version minimally measures 3 bars, including bar 0. 11/19/15)
November 15th, 2015
Size: 2.53 KB
Downloaded: 323 times
1680
DavidBodhi
After explicitly and laboriously adding various moving average types, linear regression, etc. to subsequent versions of my slope angle indicator, I finally realized that, in the indicator code, Input[0] refers to whatever price or indicator data series the user puts in the "Input series" field of the indicator parameters window. Duh. I reiterate: duh.
So, in this version (V5) I removed all the explicit options and changed the code to calculate using the Input series. Now, it'll simply use the values of whatever you put in the Input series field.
What it no longer will do, however, is allow you to measure the angle between High and Low or Median and Close or whatever. Now it'll just do High to High, Low to Low, etc. I may, in the future, add back the option to choose differing price values to start and end on, but you can still use V1 for that, if desired.
Or, if someone wants to merge the two versions, feel free. Just let me know so *I* can use it!
In the screen shot, you can see two instances of it. The upper plot shows the angle between Low[3] and Low[0]. The lower plot shows the angle between SMA(50)[3] and SMA(50)[0].
I drew the vertical lines to show that the plot crosses zero, meaning a perfectly flat slope, a little later than where the SMA slope is visually flat. That's due to the period of the measurement being 3 bars. A 1 bar period shows the zero slope much closer to its real location, but you tend to get a much choppier line. Another trade-off. Still, the indicator can be useful for measuring extreme slopes or generally flat periods, which was my original intent.
I do want to mention that any negative value means slope is downward. Likewise any positive value means slope is upwards. So, even where the slope curve is rising, if it's still below zero, the slope you're measuring is descending, just not as steeply.
I hope this indicator is of some greater use to the community than V1.
October 25th, 2017
Size: 2.00 KB
Downloaded: 309 times
1922
DavidBodhi
Exported using NT Version 7.0.1000.30
The True Strength Index was developed by William Blau and published in his book "Momentum, Direction and Divergence". This version of the TSI is an enhanced version of the NinjaTrader default indicator. It comes with the following improvements:
Momentum period: The original version of the indicator uses the price difference between the current and the prior close, which is the 1-period momentum. The updated version of the indicator also allows for selecting a momentum period greater than 1.
Triple Smoothing: The standard version of the indicator comes with double smoothing for momentum and absolute momentum. William Blau himself also used triple smoothing, This indicator lets you choose between double and triple smoothing. If you set the third smoothing period to 1, you will get double smoothing, and the indicator will display identical results with the NinjaTrader default indicator.
Smoothing with different moving averages: William Blau has suggested to use the EMA for double or triple smoothing. This indicator offers you a selection of more than 30 different moving averages for the smoothing. The default is set to EMA in line with the original indicator.
Signal Line: I have added a signal line for timing entries and exits. The signal line is obtained by smoothing the TSI with one of the selectable moving averages, similar to the signal line of the MACD. The default period for the signal line is 7.
Histogram: The indicator has an option to plot a histogram, which shows the difference between TSI and signal line.
Trend definition: The indicator exposes the current trend via an IntSeries. The trend can be determined based on the TSI (rising & not oversold, falling & not overbought, neutral), the signal line (rising & not oversold, falling & not overbought, neutral)) or the TSI / signal line crosses. All trend definitions are not straightforward, but require a higher close to switch to an uptrend, or a lower close to switch to a downtrend. Moreover the DSM / signal line cross will only show an uptrend, when not oversold and a downtrend when not overbought.
Paint bars: The paintbars can be used to plot the trend information. The trend states are uptrend, downtrend and neutral trend as explained above. It is possible to apply the indicator to the price panel and unselect the indicator plots. This allows to use the indicator as a "paintbar only" indicator.
Sound alerts: The indicator comes with sound alerts which are triggered when the trend changes. The sound files are included with the zip file and should be manually copied into the directory Documents -> program files (x86) -> NinajTrader 7 -> sounds.
Update March 13, 2014: Trend filter, paint bars, sound alerts and histogram added.
Update November 16, 2015: Momentum period added. Option added to select from different moving averages.
Note: The parameter structure of the indicator was changed. In case that you have used the prior version of the anaTSI as input series for other indicators or strategies, these indicators or strategies will only work, if you change the syntax of the indicator call to conform with the new parameter structure.
This is a news indicator for NT7. It provides news from forexfactory.com to your chart. It is not mine, I downloaded it from tradingstudies.com (free indies in the download part of website). I don't know if it works on 6.5, but there's no harm in trying. I am NOT a programmer, so cannot offer any assistance. Import as usual.
August 30th, 2011
Size: 21.33 KB
Downloaded: 1429 times
980
taylor
Here is an indicator that I had coded for me last year. I recently made a few additions to it.
It's a lot like a MACD Bollinger Band Indicator, but different.
It will paint short, long and neutral bars.
It has a countertrend indicator built into it, which can be turned off (I usually turn it off as it produces lots of signals.)
It has the ability to email the user a trigger signal, which might be useful if you are trading in longer time frames, such as 4 hour or daily.
When I had it coded I was trying to recreate the RMO signals that are available in Metastock. I wanted to switch to Ninja, but at the time I was using the RMO for my trading signals.
I find it most useful when used with a longer term trend filtering indicator.
September 10th, 2018 01:19 AM marsel Hallo, do you have NT8 version for this TSI ?
Thank you
April 1st, 2016 09:56 PM usdivers I concur with Macguy, works great for confirming ES moves on the 5000 volume. Trued lower volume charts, however 5000 se
ems just about right, with lot less market noise.
February 25th, 2016 03:22 PM no3putts Thank you!
January 13th, 2016 03:36 PM macguy This is quite impressive on my $ES_F 5,000 volume charts. Can't thank you enough.
December 7th, 2015 04:06 PM gringa I just put this on a chart with DavesFibber, very clear signals ... thanks!
May 15th, 2017 02:35 PM brucerobinson 5* may be premature as I've only just installed it but if I don't rate now I probably won't (a man's got to know his lim
itations).
I've searched and tried so many and found problems such as:
DTTWin uses a dll which some don't like. Doesn't bother me as the owner isn't likely to mess with customers, however, wh
ilst the original source of the news is FF, the dll takes it from a mirror on his own site (which has some enhancements
to the FF presentation of news). His site frequently blocks my IP address returning an error 403 both on his news page a
nd the dll for the Ninja indicator. FF's site doesn't block me, and this indie gets new direct from FF.
jtEcononews (on which DTTW is built) - despite various claims to have been fixed by others, when I install most recent v
March 17th, 2016 08:18 AM no3putts Thank you!
December 4th, 2012 03:32 PM dilbert618 Thanks
April 28th, 2012 12:24 PM Klausi A really helpful indicator for every day, slim : The necessary is met, without unneeded features, workin' fully automati
c, fast updates, great overview, adjustable
for your personal needs. I use it 12 weeks now and I'm happy with it.