This study uses complete available trading methodology to provide trade confirmations. Its still in experimental phase so will be updated accordingly.
ADAPTIVE LENGTH PARAMETERS
Relative Strength Index (MZ RVSI)
- For adaptive length, I tried using and for this purpose I used my Relative Strength Index " RVSI" indicator. RVSI is the best way to detect if is going for a breakout or not and based on that indication length changes.
- RVSI breaking above provided value would indicate breakout and hence dynamic length would accordingly make more over-fitted to better act as . Similar case would happen if goes down and dynamic length becomes more under-fit.
- Original RVSI Library and study can be found here:
is used as measurement and detection tool. Dual ATR condition would decide over-fitting or under-fitting of curve.
Chikou Backward Trend Filter
- Chikou is basically close value of ticker offset to close and it is a good for indicating if close value has crossed potential zone from past. Chikou is usually used with 26 period.
- Chikou filter uses a lookback length calculated from provided lookback percentage and checks if trend was or within that lookback period.
- Original Chikou Filter library and study can be found here:
Tenkan-Sen (Conversion Line)
Tenkan-sen is a moving average that is calculated by taking the average of the high and the low for the last nine periods conventionally but in this study its length is dynamically adapted based on , and Chikou filter. Default adaption range is set to 9-30 which I found universally applicable to almost every market on all time-frames.
Kijun-Sen (Base Line)
The Kijun-Sen is usually considered a line which also acts as an indicator of price movements in the future and takes a longer period into consideration, usually 26 periods compared to Tenkan-Sen’s nine periods is used conventionally. In this study, its length is set to vary in range of 20-60 based on adaptive parameters.
Senkou-Span (Leading Span)
- Senkou-Span A : Senkou Span A is the average of the highs and lows of Tenkan-Sen and Kijun-Sen so it automatically adapts accroding to dynamic lengths of Tenkan and Kijun.
- Senkou-Span B : Senkou Span B is usually calculated by averaging highs and lows of the past 52 periods and plotting it 26 points to the right but this study uses adaptive parameters to adapt its dynamic length in range of 50-120 which makes Kumo ( ) a better area for . I don’t consider its necessary to adapt Kumo’s displacement to the right, so I used conventional 26 period as offset.
The Chikou Span, also known as the lagging span is formed by taking the price source and offsetting it back 26 periods to the left but I used adaptive length in range 26-50 which makes this tool a better option to check for Chikou-Price cross check in wide range.
TRADE SIGNALS & CONFIRMATIONS
- : RVSI used to detect breakout about given point. By default, based RVSI is selected for all dynamic length adaption and also for trade confirmations.
- Cross(Tenkan,Kijun) : Easiest way to detect trend as if Tenkan is above Kijun then market is uptrend and vice versa.
- : High is a good way to confirm if price is on the move or not.
- Tenkan = Kijun : Because of a wide range of Tenkan and Kijun length; their value can become equal before reversal.
- Chikou > Source : A very conventional way to detect price momentum as if Chikou is above price then market is in uptrend and vice versa.
- Chikou Momentum : Another simpler way to represent Chikou > Source as if momentum of price source is uptrend then price will tend to follow.
- Source > Kumo : Using the best tool of i.e. Kumo. If price crosses both Senkou-Span A & B then market has broken potential resistance leading to a good uptrend and vice versa.
- Source > Tenkan : Better way to detect price trend in short term.
- Chikou Backward Trend Filter : Different from Chikou>Source in a way that Chikou filter makes sure that price crosses highest/lowest within defined period.
- Bars Coloring : Bars coloring is set as following :
- src > tenkan-Sen and src > kijun-Sen : Strong uptrend detection and shown by green bars.
- src < tenkan-Sen and src < kijun-Sen : Strong downtrend detection and shown by green bars.
- src > tenkan-Sen and src < kijun-Sen : Better way to detect bottom reversals as if price comes above tenkan but remains below kijun; that’s early signs of recovery. Light red bars are used for this by default.
- src < tenkan-Sen and src > kijun-Sen : Better way to detect top reversals as if price comes below tenkan but remains above kijun; that’s early signs of losing potential in uptrend. Dark Grey bars are used for this by default.
Kumo Coloring : Following steps are used to derive Kumo’s dynamic color:
- Average of Senkou-span A and B is calculated.
- with 14 period of that average is calculated.
- Gradient color based on calculated values with 0-100 range is derived which is final Kumo color.
Signals Overlay : Red and Green small triangles are used as signals overlay.
- Average of Senkou-span A and B is calculated.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.