StochasticColors Version 1.1
Author: radi8
Trading Group Affiliation: TeamPIPPEdge
Nope this isn't that special, but it dovetails with the MACDcolor indicator I posted. This is similar to several commercially available indicators. Single plot Stochastic with colors.
This does expose all the native stochastic data series, which others do not, so you can pull the D or K value if you need to. Also, this has several advanced alert features, including the ability to only trigger alerts during defined periods of the day.
I like to keep it simple and I like when my indicators agree. The posted image shows the gemMACDcolor and the gemStochasticColor indicators superimposed. I like it when the Stoch crosses over the MACD and both are in OB/OS territory.
Submitted image shows the gemMACDcolor and the gemStochasticColor indicators on a LogikUltimateRenko chart.
Cheers!
radi8
NOTE: To superimpose the MACD and Stochastics plots, as shown in the example, simply set the display panels to the same number or drag one plot on top of the other.
UPDATE (1/31/17)
I found a small bug with the time logic that I corrected. The indicator is otherwise unchanged. If you would like the indicator to generate signals at all times then set all the time bin values to -1.
The Stochastic RSI was developed by Tushar Chande and Stanley Kroll. Details can be found in Stocks & Commodities V. 11:5 "Stochastic RSI and Dynamic Momentum Index" (May 1993) and in their book "The New Technical Trader", which was published in 1994. The Stochastic RSI is said to better in identifying overbought and oversold conditions than both the RSI or the Stochastics.
The Stochastic RSI comes as a default indicator with NinjaTrader. The version published here is a version with the following enhancements:
- The NinjaTrader default indicator calculates a raw Stochastics directly from the RSI, which is used as an input series. No further smoothing is possible. The enhanced version allows further smoothing of the raw K line. The default period for the K line smoothing is set to 1 (no smoothing).
- The indicator comes with a D line added. The D line is calculated as a SMA of the K line and can be used as signal line.
- The NinjaTrader default version uses the same lookback period for the RSI and the Stochastics. This is in line with the suggestions by Tushar Chande and Stanley Kroll. However, this version allows to select different periods for RSI and Stochastics.
- Code efficiency is improved, which results in a reduced CPU load, when the indicator is set to COBC = false.
if you use a Momentum study to identify swings, or start/end of a price move, you may like this one.
in KR_SMI, i try to improve the visulaization and signal of ToS's Stochastic Momentum Index
1. i didn't like that it uses double EMA, so i changed that into a single-time EMA.
2. K Period, d Period .. confusing.. in reality SMI tries to identify the recent movement compared to a longer-term price shift. so i changed that into Look_Back_Period and Length
3. Signal is generated thru a crossing with a slower/smoothed EMA of SMI line. in reality, we can see the change of SMI line trend using colors and get an earlier signal for swings or price move shifting direction (Green = momentum up, red = momentum down, Yellow = possible swing detected)
4. crossing the zero line means a lot (momentum reversing). this is ignored in original indicator. so we added a zero line. Overbought/oversold are at +/-50% by default - but you can change that
screenshot shows how this compares vs the classic SMI in ToS
Best used together with a trend following indicator for a confirmed entry/exit signals.
just realized all the indicators i posted are optimized for dark chart background color. they will look ugly on light-color charts. sorry for that.
beware of a bug in ToS, when you use Inertia or Hull smoothing with AddChartLabel, and you try to enter a lower smoothing value in study settings, the indicator calc behaves erratically. if that happens, remove/re-add the study to your chart. i just found out about that and will report it.
as usual, please do not share outside BMT.
All feedback welcome,
RedK
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)
Nice colored Stochastics Indicator. Set it at 4,8,1 for daytrading and you will hit the high and low peaks really well. I have been using for a while and didn't see one like this posted on the site so hear it is.
This indicator was posted by PFSMedical
He requested it be converted to NT7
It appears to be a very interesting divergence spotter in that it plots the number 1 position and then all subsequent divergence points.
The updates seem to be working correctly at first glance. If something else is not behaving properly please let me know
PFSMedical post is as follows:
this is an indicator that measures divergence ..... it was developed for ninja 6.5 by a person no longer trading...
it measures peaks in the stochastics, and numbers them .... on both the indicator, and price...
since i'm a trader, and NOT a programmer/coder .... i have given up on trying to convert this myself to the new ninja 7 format ...
would like to have this converted to ninja 7 by someone who actually enjoys doing that kinda thing ....
This strategy initiates trades based on slow stochastic's overbought and oversold levels. The strategy will buy when certain oversold conditions are met and sell when certain overbought conditions are met.
Buy Logic
A market order to buy will be generated at the open of the next bar if the following conditions are met:
1. SlowK line crosses above the SlowD line
2. SlowK value is less than the oversold level
Sell Logic
A market order to buy will be generated at the open of the next bar if the following conditions are met:
1. SlowK line crosses below the SlowD line
2. SlowK value is greater than the overbought level
Stop and limit levels can be specified when formatting the strategy inputs. This strategy also has the option for email alerts. The email alert can be selected when formatting the strategies inputs.
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
February 1st, 2017 02:52 PM kcoverlandpark thanks! helpful
January 31st, 2017 10:24 AM clinto69 How do you get the 2 indicators superimposed? Or how do you tell when they cross if they are on 2 separate panels?
January 30th, 2017 02:47 AM Tobyredart This makes it easier to see position. Thank you.