calculates the range of fast and slow moving but need to normalize it so it runs in the range from 0-100 like an rsi - was done on meta but dont know how to do it for ninja- any help will be great
Note: If you find bugs, have feature requests, or anything else, post in THIS thread.
This is the TrendGRaBer, ORIGINALLY created by @ Aligator. His NT7 version can be found HERE, and the NT8 version he created is on NT's EcoSystem HERE.
This indicator is based on a setup by Mrs. Raghee Horner. The credit for the setup goes to Mrs. Horner, and the indicator development to Aligator.
If interested in more information about trading this system, you can watch a webinar she posted HERE.
The indicator is simple, in that it produces 3 moving averages, based on a the High, Close and Low. These 3 MAs produce a channel. Prices that close ABOVE the channel are painted based on the bar's Open-Close relationship. Prices BELOW in a similar fashion. Closes in between the upper/lower channel a different color, also based on the individual bar's Open-Close relationship.
The indicator updates in real-time, on each tic.
The MA types available are:
EMA
SMA
HMA
WMA
DEMA
TMA
TEMA
ZLEMA
Again, this indicator is not my idea, but based on the setup by Mrs. Horner, and the indicator built by Aligator.
---EDIT - 24January2020---
This indicator was renamed to Trend GRaBer with proper citations provided.
Chart will draw up to 3 MAs with selection of 7 diff MA to choose from. Note that you can modify the code to add more MAs if you have them. I have to comment out some of them as they are not converted to NT8 yet.
Export with 8.0.2.0
this is an auto trendline indicator that was on the Ninja forum. Be sure to click true for all of the downtrend/uptrend settings and to fix the colors of the lines for up/dwn trend.
it would be great if we had the ability to adjust the width of the lines. alas in this one the width is set.
it doesn't cast an arrow like our old auto trendline which is helpful for me but it might be a nice option if anyone goes to improving it.
mostly i like that it shows the squeeze of trendlines by plotting overhead lines as well. on the 3 minute ES i'm using the setting of Long Term Period: 9 and Short Term Period of: 90 i know that sounds crazy but that's what gave me the screen shot attached. hope it helps.
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 my implementation of a Universal Renko bar type. It allows the user to choose when the bar closes in the direction of the previous bar (Trend), and when it closes in the direction against the previous bar (Reversal).
This allows you to tailor the bar to behave specifically how you want it in ways that hopefully may enhance your particular trading style. As an example, if I am a reversal trader, entering on reversal bars, and putting my stop behind the entry bar, I can choose trend and reversal settings that minimize the size of reversal bars, and therefore optimize my stop sizes, etc.
Parameters are:
'Tick Trend' - Number of ticks to close the bar in the Trend direction
'Tick Reversal' - Number of ticks to close the bar in the Reversal direction
'Open Offset' - Number of ticks offset to draw the artificial open
Like most Renko bars, the bar open is artificial, and is placed by default halfway up the previous bar. The open is aesthetic only, it is not used in the bar size calculation. The tails on the bar show real prices. The artificial Open may affect your backtesting depending on the coding of your strategy. Internally uses NT PeriodType.Custom5
V2:
To support Muti TimeFrame indicators/strategies using the Add() method, added an alternative way to specify all bar specs in the 'Tick Trend' parameter. You can now alternatively specify each parameter as 3 digits in the Data Series window 'Tick Trend' parameter or Add() method 'Period' parameter. For example to specify TickTrend=4 , TickReversal=8, OpenOffset=2 or (T4R8O2) then specify: 'Tick Trend'=004008002 in Data Series window, or Add(PeriodType.custom5, 004008002);' in your MTF code. The normal way of specifying the parameters will continue to work as well.
updated .ts file to reflect correct version # and add a quick change log.. no code changes. thanks to Hguru for the feedback...
Another update from previously posted KR_Trender_v4 for ToS. Inspired by some research around the 9/30 method, i needed something to show me the fast price move on the short-term compared to the prevailing longer-term trend to better identify entry points. initially i used Slow/Fast Stoch & Stoch Momentum but wasn't convinced. I went ahead and added a Fast_Momentum to KR_Trender.
for me, this is a 3 in 1. The concpet behind the calc of Fast_Mom and Trender lines is close to MACD (but more elaborate as we look at 3 EMA's not 2 - and Trender is bounded -100 to 100, where MACD isn't). then we have a representation of fast momentum (save the space of my SMI), and we have the "full trend flag" indicator when the price AND all the 3 EMA's align in a full trend formation.
on the top screen, i show the actual 3xEMA setup i used to originally develop the concept of KR_Trender, the shading is based on a BB, but has nothing to do with Trender, but it changes color based on the Trend state (Full up, Full Down, or in-Transition).
- Fast_Mom is calculated as score of the fast EMA vs it's own Hi/Low Channel. this is the same concept used by Stoch & Stoch Momentum, but then it's scaled to same scale as the main trend line - enabling mathematically comparing the 2 as rate of change of price taken from 2 diferent views.
- a crossing between Fast_Mom and Trender means the rate of price change on the short term has started to exceed, slow, or change direction from the longer-term rate of change. A crossing of zero means the shorter-term trend is reversing. if that's strong enough of a move, the longer trend will follow.
- once you get to use it, you will see the 2 lines sort of pull each other. retraces and pullbacks that provide good position entry points are much clearer as identified by the Fast_Mom line (that was my main issue)
- i kept PPS (Person's) indicator on top chart - Fast_Mom compares very well against PPS signals. many times beats it to indicate a change up or down. so that made me happy.
Other improvements:
- can show/hide Fast_Momentum plot
- can change length of Long_term Trend period. if equal to or below the main length, it will be ignored.
- Adjusted smoothing calc to only use EMA smoothing, as HMA causes an issue with chart labels in ToS
- Fast_Price_weight now 0 by default to allow focus on long-term trend and Fast_Momentum.
- Fast EMA is always taken as half of the main length
suggested Length/Long_Trend settings: 10/20 or 8/16 for intraday and 20/40 or 20/50 for longer term. Should not use Length lower than 4.
i used KR_Trender on a 5min chart as well as on daily/week . initial results are positive and tested well in live trading.
feel free to use, comment and feedback, and please keep only within BMT.
Here is my big update of previously posted KR_Trender_v3 for ToS (aka, the Rainbow_Trender). My goal is to put together a trend detection indicator (based on multi-EMAs - the most basic and enduring concept), that makes it simpler to visualize good trends to ride, and more reliable to take positions, "add to position" in case of possible continuation, and exit if trend is found to be slowing down.
pls feel free to try with different instruments, timeframes, and provide feedback. (good & bad all welcome)...
So what represnts an ideal trend, when is a "Full Trend Alignment" detected?
this is based on the calculation of an average "score" of price relative to 3 EMA's of different lengths, and of these EMA's each to the next longer one. to explain in chart terms: a full up trend is detected when the price (P, i use HLC3 by default) moves and stays above EMA10, AND the EMA10 crosses above EMA20 AND EMA20 crosses above EMA40. otherway around for an established down trend. now I don't have to plot all these EMAs on my price charts . i can also add more weight to score of price action relative to fast EMA for reduced lag of signal
Note: the EMAs are hardcoded in the study. i set only one in the study settings, and then it takes half length of it as the faster EMA, and double length as the slower length .. i thought of making all 3 lengths adjustable from study settings, but preferred to keep this part simple. for bigger timeframe trend, i can set to 100, knowing it will take 50, 100 and 200 EMAs into the calc
Key changes for v4:
Simplify visulaization: removed vertical lines (found them nice but confusing), replaced with Chart Labels.
Better position decision making:
Added visual clue when a full trend alignment is detected (small green/red squares)
Chart Labels reflecting:
Trend Status Up, Down, or Retracing (Trend is slowing down or possibly reversing)
Strength of price move: Weak, Medium, and Strong
Position Recommendatoin: Long, Short, Break (this is where things get interesting. The position recommendation is made more strict. KR_Trender will only give a go "Long" or "Short" if a full trend alignment is detected (the Green/Red small squares) AND the move is sustained or getting stronger (in either directions up or down). otherwise, the recommendation is a "Break !" which means i should close the position, or add to it if other PA analysis tells me there's a chance of trend continuation.
Other changes:
exposed settings for desired Trend Level. i would keep it between 30 & 40, but you can try different values. also we still have an optional weight for score of fast price action relative to the 3 EMA's
Please do not share outside of BMT.. feel free to send me any feedback if you find this helpful in capturing trends (or not, or if you think i should simplify or add something i missed)
The VHF indicator can be a useful tool as it attempts to measure the “trendiness” of a market. It reveals the strength of a trend, not the trend direction. This filter compares the sum of one-day price changes within a specific time period to the range between the high and low prices over the specified period. The VHF values help identify whether prices are in a trending phase as well as the degree or strength of a trend, where the trader should use trend-following indicators, or if the prices are in a trading range market, a case where congestion-phase indicators (such as
oscillators which work well in trading range markets) should be used.
In theory, the VHF indicator can be used in the following three ways:
1. In determining whether a particular market condition is trending or is in a congestion/non-trending phase: A rising VHF line indicates a developing trend; a falling VHF line indicates prices may be entering a trading range market.
2. To determine the degree or strength of a trend: The higher the VHF line, the higher the degree of trending. A falling line indicates a trend is weak.
3. The use of the VHF as a contrarian indicator: Relatively low VHF values can indicate that prices can be expected to break out of the congestion phase and start trending. On the other hand, relatively high VHF values indicate that a trending phase may be coming to a close and that the market is getting ready to enter a congestion phase.
April 12th, 2018 02:17 AM traderhas My goodness!This is the ultimate filter for chop.Tried it on 1 min Dow futures.Thanks and God bless.CANNOT trade without
it.
August 13th, 2011 07:37 PM philtrader thanks for sharing. defining trend strengh is key with money management.
May 25th, 2011 10:49 PM piptek Thanks for sharing and your hard work. Big heart.
March 23rd, 2011 02:21 PM tradermav Thanks for sharing.
October 4th, 2010 02:23 AM tradermav Thanks for sharing appreciate the work put into this 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!
January 15th, 2013 12:12 AM jpstyles2002 Looks great and am excited to get it set up in my TOS charts...Just one problem for me though...not usre how to import t
his into my TOS charts as an indicaotr, can you give me some guidence as to how to import this indicator? My thank in ad
December 29th, 2016 01:08 PM WattMan Thanks for this looks promising as I use the default Stoch strategy within ToS in my current approach that I am trying t
o sharpen. Your indicator does add value. As I was trying to get a strategy version implemented, I wanted to know your t
houghts on how you would define entry/exit points on this indicator? You mentioned you use this on 5min charts, I typica
lly use 2h charts - while my strategy along with the default Stoch looks promising, your indicator is eluding me... Feel
free to PM me if you want to take this offline...
September 9th, 2012 03:05 AM Herbert Thank you for a well don Work
September 3rd, 2012 01:02 PM kareem40 thanks for all your work. Well done.
September 2nd, 2012 01:55 AM Cloudy Good going RedK, thanks!
September 1st, 2012 06:48 PM Hguru KR,
This looks very interesting. I just downloaded it and the heading says V5 but inthe study it says V4 is this correct. I
trade futures Crude/CL and Dow/YM have you tested it yet on futures and also is there a better time period that this stu
dy tends to look and work consistently better at. I tend to look at the tick charts and 1, 5 and 15 minute charts so jus
t wondering what to expect and what type of settings to have and also how do i get the top study as well.
January 18th, 2017 03:02 PM AABid Thank you for sharing. Your kindness is greatly appreciated. This bar type is the cornerstone of my trading as it help
s me to filter all the noise. I use setting of 1-5-1 for the emini.
August 23rd, 2016 01:59 PM Trading Noob Awesome Renko implementation!
April 19th, 2024 08:36 PM racecarjw I believe this will help in my trading. Thank you for your generosity.
December 21st, 2023 11:15 AM ballhaj very nice
May 15th, 2022 10:06 AM ndakotan will come in very handy. thanks
June 24th, 2021 08:48 PM perdelta Excellent work! As a huge fan of Raghee's trading style and tools I could not be happier with having found your version
of her GRaB Candles and 34 EMA Wave. Thanks!!!
May 1st, 2021 07:44 AM binonut Thanks, this fits well into my current systems and helps immensely when reading a chart quickly.