ChikouLibrary "Chikou"
This library contains Chikou Filter function to enhances functionality of Chikou-Span from Ichimoku Cloud using a simple 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 Support/Resistance 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 bullish or bearish within that lookback period.
Bullish : Trend is bullish if Chikou span is above high values of all candles within defined lookback period. Bull color shows bullish trend .
Bearish : Trend is bearish if Chikou span is below low values of all candles within defined lookback period. This is indicated by Bearish color.
Reversal / Choppiness : Reversal color indicates that Chikou are swinging around candles within defined lookback period which is an indication of consolidation or trend reversal.
chikou(src, len, perc, _high, _low, bull_col, bear_col, r_col) Chikou Filter for Ichimoku Cloud with Color and Signal Output
Parameters:
src : Price Source (better to use (OHLC4+high+low/3 instead of default close value)
len : Chikou Legth (displaced source value)
perc : Percentage lookback period for Chikou Filter with defined how much candels of total length should be considered for backward filteration
_high : Ticker High Value
_low : Ticker Low Value
bull_col : Color to be returned if source value is greater than all candels within provided lookback percentage.
bear_col : Color to be returned if source value is lower than all candels within provided lookback percentage.
r_col : Color to be returned if source value is swinging around candles within defined lookback period which is an indication of consolidation or trend reversal.
Returns: Color based on trend. 'bull_col' if trend is bullish, 'bear_col' if trend is bearish. 'r_col' if no prominent trend. Integer Signal is also returned as 1 for Bullish, -1 for Bearish and 0 for no prominent trend.
Chikouspan
Chikou Filter for Ichimoku CloudThis Indicator enhances functionality of Chikou-Span from Ichimoku Cloud using a simple trend filter.
Methodology
Chikou is basically close value of ticker offset to close and it is a good for indicating if close value has crossed potential Support/Resistance 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 bullish or bearish within that lookback period.
Bullish : Trend is bullish if Chikou span is above high values of all candles within defined lookback period. Green color shows bullish trend.
Bearish: Trend is bearish if Chikou span is below low values of all candles within defined lookback period. This is indicated by red color.
Reversal / Choppiness : White color indicates that Chikou are swinging around candles within defined lookback period which is an indication of consolidation or trend reversal.
Default Settings
Different source types are included but I've found that (OHLC4+High+Low)/3 is better for Chikou and Symmetrically Weighted Moving Average (SWMA) is also applied but it produce some repainting though. Default period is set to 26 and lookback percentage is 50%. Low percentage would decrease filter's efficiency.
Usage
This filter can be used to check if Chikou crossover has occurred in past. This can be used with Donchain channels, Bollinger Bands or any Moving Average as replacement of High / Low values. I'll use this indicator in all my Ichimoku Cloud studies especially adaptive ones. Filter outputs in Color and Integer format; both can be used as signals definitions.
Chikou Span 'Open Space' ColorsThe Ichimoku Clouds strategy has been one of my favorite scripts to work with since I came across it a few months ago, so I thought I'd share one of the automated features I created for the strategy.
For the purpose of this script, I'll only explain the Chikou Span aspect of it since there are plenty of other explanations about Ichimoku Clouds.
The Chikou Span is one of the most useful aspects of the Ichimoku Clouds strategy despite it not being used in most people's strategies. It is calculated by simply taking the current closing value and plotting it backwards 26 bars. The Chikou Span is used to identify large trend moves and trend reversals by what is referred to as 'open space'. This occurs when the Chikou Span is not intersecting any candlestick within 10 bars (if you were to draw a horizontal line from the tip of the Chikou Span, it would not touch any part of a candle within 10 bars).
The purpose of this script is to better identify the Chikou Span reaching 'open space' by coloring the Chikou Span's line:
- Green when it is in upwards open space (bullish trend), and
- Red when it is in downwards open space (bearish trend).
I've also included my personal color scheme for the Ichimoku Clouds strategy as well as inputs to turn on/off every aspect of the strategy.
** Disclaimer: THIS IS NOT TRADING ADVICE. The Chikou Span should not be used on its own to make any trades. When trading with the Ichimoku Cloud strategy, one should utilize all 5 lines of the strategy to make realistic trades. If you'd like to learn more, I'd recommend reading "Trading with Ichimoku Clouds - The Essential Guide to Ichimoku Kinko Hyo Technical Analysis" **
【Super Bollinger】The market consists of three phases: an uptrend phase, a downtrend phase, and a range-bound phase.Furthermore, if we include a trend phase and a correction phase, the market has five phases. In other words, the market is classified into the “five phases” as below:
1) Uptrend market (trend phase, upward bias)
2) Downtrend market (trend phase, downward bias)
3) Upward correction phase (correction phase, upward bias)
4) Downward correction phase (correction phase, downward bias)
5) Range-bound phase, sideways (correction phase, basically not biased)
For your judgment of the above market trends, Super Bollinger is extremely useful and effective. And Super Bollinger has advantage in judging market price level.
そもそも、相場は、5つの局面に分けることができます。
すなわち、
1)上昇トレンド局面(上昇バイアス)
2)下降トレンド局面(下降バイアス)
3)調整の反騰局面(上昇バイアス)
4)調整の反落局面(下降バイアス)
5)レンジ局面(バイアスなし)
そして、スーパーボリンジャー、これら5つの局面の判断を下す際にきわめて有効なツールです。また、とりわけ、価格分析に優れたチャートです。
With regard to Chikou Span,this span gives very useful information about (1) the direction of the market (being in an upward bias by buying pressure or in a downward bias by selling pressure) , (2) the timing of buying on the dip or selling on the rally, (3) the market’s temporal rhythm etc..
遅行スパンに関しては、基本的に、
(1)相場の方向性(買い優勢か売り優勢か)
(2)押し目買いや戻り売りのタイミング
(3)相場の時間的リズム
等々に関して実に有効な情報を与えてくれます。
【SpanModel】The Span Model is a very unique chart which shows us especially when to buy and when to sell. And the Span Model has advantage in judging the trade timing.
スパンモデルとは、いつ買うか、いつ売るかを教えてくれるとてもユニークなチャートです。とりわけ、トレードのタイミングを判断する上で優れています。
The Span Model is composed of only three lines (spans).
They are the Blue Span, the Red Span and the Chikou Span.
And a major characteristic of the Span Model is the signals (Span Model Signals) of the two types explained below:
1) Buy signal
The buy signal is lit when the Blue Span sits above, and the Red Span sits below.
2) Sell signal
The sell signal is lit when the Red Span sits above, and the Blue Span sits below.
スパンモデルには、構成要素(3つのスパン)として、青色スパン、赤色スパン、そして、遅行スパンがあります。
スパンモデルの大きな特長として、シグナル(スパンモデルシグナル)があります。そして、2種類のシグナルがあります。
1)買いシグナル
青色スパンが上方、赤色スパンが下方に位置するときに点灯します。
2)売りシグナル
赤色スパンが上方、青色スパンが下方に位置するときに点灯します。
My Ichimoku indicator & Strategyhello I'm a beginner in trading, but I try to learn how to code strategies.
I recoded the Ichimoku indicator, and created my personnal strategy based on it.
The backtesting is done from 1/1/2017 to today in 45 min Time Unit for candles, with a 1 000 € equity.
The trades are all Long Entries and Exits with no pyramiding, no short trades at all.
/!\ Exchanges commission fees are not calculated and can in reality easily divide by 2 the total profit (am I right guys?) /!\
A buy signal is triggered upon these conditions:
- close is above the Kuma (cloud)
AND
- close crosses over Kijunsen AND Kijunsen is not flat (calculated with rising and falling with input "Kijunsen Lag")
OR
- Close crosses over ChikouSpan AND there was a sell signal in the last 8 candles
Sell signal is the same but reversed.
I appreciate your feedback ! Maybe I will update this later if I get better results.