This indicator creates a convergence-divergence indicator, similar to a MACD, using any two indicator plots. Parameters: Fast Indicator: Enter the fast indicator name and parameters here. Ex: Stochastics(7,14,3) Fast Indicator Plot: Enter the name of the plot you want to use as an input for the fast indicator. Ex: D Slow Indicator: Enter the slow indicator name and parameters here. Slow Indicator Plot: Enter the name of the plot you want to use as an input for the slow indicator. Smooth Periods: Number of SMA periods used to smooth the ICD plot.
The three plots are Avg, Diff, and ICD which are exactly like the MACD plots.
Big thanks goes out to @gomi and @NJAMC for their indicator instantiating code.
Changes from previous version:
1. Advanced divergence removed, simple divergence optimized, fix divergence bug.
2. Add DM trend filter to all time frames.
3. Add additional MA.
4. Improved markers mechanism with the addition of dynamic offset based on ATR.
5. Add background options.
6. CPU performance should be approximately 20% better after code optimization.
The indicator provides real time analysis of user defined set of conditions which can be enabled separately for up to four time frames simultaneously, the result is real-time true/false signal for the selected combination.
Features:
Current intra bar trend direction.
Current intra bar counter trend direction.
Four selectable MAs for each TF with user defined slope or rising/falling.
1. Advanced divergence removed, simple divergence optimized
2. Separation to second MA is now available also when second MA is disabled.
3. Additional options at section 6.1 Paint Bars Type.
4. Additional options at section 5.4.1 Background mode.
5. DM filter is improved with more advanced options, filter result can be reflected to the followings: Paint Bars, MA line, Background, all options are listed at section 7.1.2
6. Fixed few minor bugs, also CPU performance should be slightly better after optimizing several parts in code.
Compatibility to previous templates: it depends on the options are used, changed properties may not keep its previous value.
Existing features:
1. Double MA capability (optional), each MA type can be doubled with any other MA type except momentums, which can be doubled with itself only.
2. Display real-time and history MA slope (normalized).
3. Divergence with second MA mode.
4. Display MA line colored.
5. Optional colored background.
6. Optional colored Paint bars.
7. The following coloring modes are enabled independently for MA line, background and paint bars:
1. By slope threshold.
2. By rising/falling.
3. By support/resistance mode (when time bar closes above MA line, it become a support, and vice versa).
8. By support/resistance mode with slope threshold.
9. By support/resistance mode with rising/falling.
10. Paint bars contain additional filter for specific trend type.
11. User defined text for slope box.
12. DM filter
Please remove previous version and restart ninja trader, before installing this release.
This new version comes as protected assembly.
Updated December 25, 2012 version 2.83
Updated February 28, 2012 version 3.10
Updated June 30, 2012 version 3.35
Updated September 03, 2012 version 3.42
Exported using NT version 7.0.1000.10
1. Show real time trend direction, based on the following features and help to visualize underlying trend.
1. Display long/short status based on main MA is above/below second MA
2. Optional, Display how many support/resistance MA's are above/below main MA(up to three MA's).
3. Optional DM direction trend filter.
4. Optional N bars high above/low below, reference MA as trend direction/filter.
5. Selectable 14 MA types
6. Selectable price type for each MA.
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.
This volume indicator is based on Gail Mercer's article in the Sept. 2012 issue of TASC. It colors the volume bars based on whether the price bar is an up, down, outside, or inside price bar.
The logic is as follows:
- Up bar = current high > previous high and current low >= previous low (green vol bar)
- DownBar = current high <= previous high and current low < previous low (red vol bar)
- OutsideBar = current high > previous high and current low < previous low (gray vol bar)
InsideBar = current high <= previous high and current low >= previous low (transparent vol bar)
here's a quick one.. inspired by range charts, but simplified and still painted on regular time charts..
i needed something to help me spot common S/R levels and also watch price moves between levels of either % of price or in blocks of a certain dollar value (0.2, 0.5, 1.0 ... etc)
default is to show moves in increment of 0.5% of all-time (based on chart) mid-price, but can be changed to better suit the time aggregation and the underlying price range we're looking at (for shorter timeframe, you may want to look at $.25 levels, for a stock like AAPL you want to look at a $5.0 increments and so on)
The percentage level value is always approximated to the nearest multiple of $0.1 to make it meaningful.
if there's a setting in Override Range Unit, then that's the one the study will use as a unit for the incermental levels.
you can show/hide the levels calc details labels on top using the study settings.
found it interesting and it helps hide a lot of noise from price - also comes closer to my own view of Darvas so thought to share for the Range Chart & breakout trading fans..
Cheers,
RedK
April 11th, 2015 04:54 AM uzzo great indicator, thanks
November 16th, 2013 10:53 AM westsider Nice work!
May 18th, 2013 02:00 AM moorookaman
September 10th, 2012 10:25 AM jmont1 @Erez, thanks for all these updates. Minor questions - Why not include the slope in the MA Package as an option for eac
h MA?
Also, any chance you would participate in the divergence thread started by Big Mike:
February 10th, 2014 10:45 AM StarSpangled Thanks Erez!!! Tip for installing folks is to install the MASlopeMultiV3.42 FIRST and then this indicator. You may
get an import error otherwise. This is a very "Heady" but most powerful tool. Awesome work!!
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.