IKH Cloud V1.0 (nextSignals)The IKH Cloud V1.0 (nextSignals) is an Ichomoku-type indicator that can be used for various trading strategies. It's based on a ThinkScript study from @stephenharlinmd (aka nextSignals) that uses an instantaneous moving average as the base MA, and a custom trailing stop. Both of these components form the cloud.
Indicator Components and Calculation
The indicator comprises two key components:
Instantaneous Moving Average (IMA) : This is a type of moving average that places a greater weight on the most recent data points, and is based on Ehler's book "Rocket Science for Traders". This is slightly different from the Doc's original, but is very approximate.
Trailing Stop : This component helps determine the stop loss level that moves along with the price. The trailing stop is based on the highest high and the lowest low of the last 5 bars, as well as the simple moving averages of the low and high of the previous bar. The trailing stop is calculated separately for each condition: when the bar index is greater than 1 and when the previous 'a' variable is either 1 or 0.
These two components are used to create a filled area on the chart, also known as the 'cloud'. The color of the cloud and the candlesticks change based on the relative positions of the IMA and the trailing stop.
How to Use the Indicator
The following are just ideas on how to use this indicator, and is not financial advice in any form:
Trend Identification: When the IMA is above the trailing stop (cloud), it indicates an uptrend, and when it's below, it indicates a downtrend.
Entry/Exit Signals: Traders can consider going long when the candlesticks move above the cloud and short when they move below the cloud.
Stop Loss Level: The trailing stop line (the cloud's edge) can serve as a dynamic stop loss level.
Please don't use just this indicator on its own. Please use this in conjunction with other analysis tools, indicators, and systems you already have in place. Always consider the overall market context and use appropriate risk management strategies.
Awan Ichimoku
Ichimoku Cloud Momentum & Trend Indicator «NoaTrader»If you like Ichimoku cloud and use it in your analysis, or you are new to it and sometimes gets tricky to figure out all the details, this indicator tries to simplify that and visualize the change of trend and momentum relative to the past based on ichimoku.
The RED/GREEN columns are showing momentum strength while the black diamond line suggests the trend change. The conditions are simple enough to check them out on the script.
As you can see highlighted cyan circles on the chart as major important signals on the chart of Bitcoin daily timeframe.
This script tries to be complementary to the ichimoku cloud itself and cannot replace the levels represented by the cloud on chart.
Banded Chikou Breakout — Quantifying Ichimoku MomentumTitle: Banded Chikou Breakout — Quantifying Ichimoku Momentum
Overview:
Banded Chikou Breakout (BCB) is a unique, algorithmic script designed to augment the capabilities of traders seeking substantial breakout opportunities. Constructed on the robust principles of the Ichimoku trading strategy, BCB is designed to quantify and filter the Chikou Span's significant breakouts above or below the price action. This script does not aim to replace the Ichimoku system; instead, it enhances it, providing an optimized tool for momentum trading.
Rationale:
Ichimoku traders often scrutinize the Chikou Span's position relative to price action to identify market trends. However, determining whether the Chikou Span is above or below due to a genuine trend or mere market noise can be challenging in choppy markets. BCB resolves this predicament by offering a unique way to interpret the Chikou Span's movement. It does so by quantifying the Chikou Span's momentum and utilizing Bollinger Bands to determine its significance. By effectively differentiating substantial movements from the insignificant, BCB can help traders better navigate the market and increase their potential for profitable trades.
How it Works:
BCB combines three key elements: a Momentum Script (simulating Chikou Span), a Bollinger Band Script, and a Timeframe Switcher, all working together to provide a refined trading perspective.
Momentum Script: Calculates the price difference between the current price and the price 'n' periods ago, transforming the Chikou Span into a quantifiable momentum value that signifies the strength and speed of a market move.
Bollinger Band Script: Computes a Simple Moving Average (SMA) around the momentum, plotting two 'bands' at a specified standard deviation from this SMA. This functionality allows traders to discern when the Chikou Span's momentum is abnormally high or low, signifying a potential significant breakout.
Timeframe Switcher: This feature lets traders apply the BCB script to a different timeframe from the one they are currently viewing. This capability can help traders identify higher timeframe breakouts and trade them with precision on the lower timeframe.
How to Use:
BCB is designed to complement the Ichimoku strategy for effective breakout identification.
Add the BCB script to your trading chart. It plots the momentum (yellow line) and Bollinger Bands (green lines) with the area between the bands shaded blue.
Utilize the Ichimoku strategy to identify larger and smaller timeframe trends.
Optional: Leverage the timeframe switcher to synchronize your trades with higher timeframe trends while operating on lower timeframes.
If the BCB momentum line crosses the upper Bollinger Band while the Ichimoku indicates a bullish trend, it signifies a potential significant upward breakout. Similarly, a cross below the lower band during a bearish trend could denote a significant downward breakout.
Remember, without the context provided by the Ichimoku system's trend analysis, BCB can yield false breakouts. It is, therefore, crucial to use these tools in tandem. I like to check for an Ichimoku trend on the 4H and 1H charts, and then use BCB on charts <60 minutes to capture trends with precision.
Simple Ichimoku Kinko Hyo Cloud█ OVERVIEW
This indicator as an educational and showcase the usage of user-defined types or objects (UDT) for Ichimoku Kinko Hyo or Ichimoku Cloud.
█ CREDITS
TradingView
Ichimoku Z-Score Stochastic Oscillator with Kumo Depth Analysis---
Ichimoku Z-Score Stochastic Oscillator with Kumo Depth Analysis
---
Script Overview
Welcome to the Advanced Ichimoku Z-Score Stochastic Oscillator with Kumo Depth Analysis. This unique strategy is designed to provide a comprehensive, multi-timeframe trading view by leveraging the Ichimoku Cloud, Z-Score, Stochastic Oscillator, and an innovative implied volatility measure – the Kumo Depth. By integrating these powerful tools into one script, traders can make more informed decisions by considering trend strength, volatility, and volume in one holistic view.
Rationale & Strategy
The script was created with the rationale that trading decisions should not only be based on price action and volume, but also on market trend strength and implied volatility. The script integrates these various elements:
The Ichimoku Cloud, a versatile indicator that provides support and resistance levels, trend direction, and momentum all at once.
The Z-Score, a statistical measurement of a value's relationship to the mean (average) of a group of values.
The Stochastic Oscillator, a momentum indicator that uses support and resistance levels to determine probable trend reversals.
The Kumo Depth Analysis, an innovative measure of implied volatility and market trend strength derived from the thickness of the Ichimoku Cloud.
How It Works
This script works by providing visual buy and sell signals based on the confluence of the aforementioned tools.
Ichimoku Cloud and Z-Score: The script first calculates the Ichimoku Cloud lines for both a higher and lower timeframe and measures how much current prices deviate from the cloud using Z-Score.
Stochastic Oscillator: This Z-Score is then inputted into a Stochastic Oscillator, thus giving the oscillator a more normalized range.
Kumo Depth Analysis: Simultaneously, the thickness of the Ichimoku Cloud (Kumo) is calculated as an implied volatility indicator. This depth is normalized and used as a filter to ensure we are trading in a market with substantial trend strength.
Signals: Buy and sell signals are triggered based on the crossover and crossunder of the Stochastic Oscillator lines. Signals are then filtered based on their location relative to the Ichimoku Cloud (price should be above the cloud for buy signals and below for sell signals) and the normalized Kumo Depth.
How to Use
Signal Types: The script provides both strong and weak signals. Strong signals are accompanied by high volume, while weak signals are not. Strong buy signals are indicated with a green triangle at the top, strong sell signals with a red triangle at the bottom. Weak signals are shown as blue and yellow circles, respectively.
Trend Strength: The trend strength is shown by the normalized Kumo Depth. The greater the Kumo Depth, the stronger the trend.
Timeframes: You can customize the timeframes used for the calculations in the input settings.
Adjustments: Users can adjust parameters such as the Ichimoku settings, Stochastic Oscillator settings, timeframes, and Kumo Depth settings to suit their trading style and the characteristics of the asset they are trading.
This script is a complete trading strategy tool providing multi-timeframe, trend-following, and volume-based signals. It's best suited for traders who understand the concepts of trend trading, stochastic oscillators, and volatility measures and want to incorporate them all into one powerful, comprehensive trading strategy.
Ichimoku Cloud+quality lineIchimoku Cloud+quality line
this is ichimoku indicator, only quality line added.
Super Momentum Trend IndicatorThis is a trend momentum indicator that uses some of Ichimoku Cloud's core trading concepts and Supertrend, so before using this indicator, you can first understand Ichimoku Cloud, which is very helpful for understanding this indicator.
There are mainly the following ways to identify trends in Ichimoku Cloud.
1. The price is above or below the Tenkan-sen and the Kijun-sen
2. The Tenkan-sen crosses the Kijun-sen
3. The price breaks or falls below Leading Span B
4. Leading Span A crosses Leading Span B
I converted the above signal into the following expression (see chart):
1. Green dot: the price is above the Tenkan-sen and Kijun-sen
2. Red dot: the price is below Tenkan-sen and the Kijun-sen
3. Orange or blue dot: the price is between Tenkan-sen and Kijun-sen
4. Triangular symbol: the Tenkan-sen crosses the Kijun-sen, and the price continues to stand firmly above or below Kijun-sen by 2 candles (prevent fake moves)
5.B1 signal: the price breaks or falls below Leading Span B
6. B2 signal: Leading Span A crosses Leading Span B (this expresses whether the color of the cloud is green or red in Ichimoku cloud)
The default for this indicator is Ichimoku Cloud turned off so that the charts are simpler, but you can turn it on if you want to check Ichimoku Cloud.
When you use this indicator, you can observe the changes of the dots:
1. The upward trend reverses to a downward trend (see chart)
What you will see is: green dots, orange dots, red dots, unless the price suddenly falls below the Tenkan-sen and the Kijun-sen, then you will see red dots directly without orange dots .
2. The downward trend reverses to an upward trend (see chart)
What you will see is: red dots, blue dots, green dots, unless the price suddenly breaks through the Tenkan-sen and Kijun-sen, then you will see the green dots directly without the blue dots.
The dot is usually the signal on the left-hand side, the triangle is between the left-hand side and the right-hand side, and B1/B2 is the signal on the right-hand side.
I recommend entry trades separately , and using Supertrend to judge the trend. This is why this indicator also adds two Supertrends.
Why not just use the Super Trend indicator?
Because SuperTrend only provides a pure uptrend or downtrend, it does not show the upcoming reversal.
And with the momentum dots added, when you see orange or blue dots, the trend may be about to reverse.
Therefore, this indicator can better capture the changing process of the trend.
What if the momentum dots are not trending as indicated by the SuperTrend indicator?
If the Super Trend shows a downward trend, but you frequently see green and blue dots, it means that the trend is likely to reverse upwards.
On the contrary, if the Super Trend shows an upward trend, but you frequently see red or orange dots, it means that it is likely to reverse downward.
Please remember that when you want to open a position, the trend direction of SuperTrend should be consistent with the direction of the dots momentum and signals. If they are inconsistent, you need more patience to judge the trend direction.
Which signal is most important?
When using these signals, you must remember that the dot belongs to the left-hand side signal, the triangle belongs to the half left-hand side and half right-hand side signal, and B1/B2 is the right-hand side signal. So I think the B1/B2 signal is the most important because of the meaning of B1 It means that the price has broken through the support or resistance of the cloud layer, and the meaning of B2 in Ichimoku Cloud is that the cloud (kumo) has reversed.
I backtested COINBASE:BTCUSDT for several signals of this indicator, and the B2 signal has a higher win rate.
Why two SuperTrends are used?
Because I found that there are many fake moves in the market, using two SuperTrends with different ATR multipliers can effectively identify fake moves.
Most Important Reminder:
The dot display, triangle signal, and B1/B2 signals have a sequential relationship with the timing of their appearance. During the process of trend change, you will definitely see the change of the dot first, then the triangle, and finally B1/B2, this is why I suggest that you should add positions separately.
If the signals on the chart are not displayed in sequence, it means that the trend has not reversed. Then adding positions separately at the beginning can just reduce your loss.
In addition, it is strongly recommended that you must understand the formula of Ichimoku Cloud, otherwise you may misuse this indicator.
How do I use this indicator?
1. I will build positions in batches when I see the triangle, B1, and B2 signals.
2. When you see Supertrend changing trend, or reverse triangle, you can consider ending position.
3. Triangle/B1/B2 and other signals should be in the same direction as Supertrend before entering the market.
4. When you see the green dot, you don’t need to rush to get into the market, you can wait for a triangle signal, because the triangle means that the conversion line (Tenkan-sen) crosses the base line (Kijun-sen), and the price stands firm on the base line (Kijun-sen) two candles above or below
5. If you are not sure why there is a triangle/B1/B2 signal in a certain place, you can open Ichimoku Cloud in settings to confirm for yourself.
========== 中文說明 (Chinese Explanation) ==========
這是一隻趨勢動量指標,使用了部分 Ichimoku Cloud 的核心交易理念與Supertrend,所以在使用這支指標之前,您可以先搞懂 Ichimoku Cloud,對於理解這隻指標很有幫助。
在 Ichimoku Cloud 中主要有以下幾種方式來確定趨勢。
1.價格在轉換線(Tenkan-sen)與 基準線(Kijun-sen)上方或下方
2.轉換線(Tenkan-sen)與 基準線(Kijun-sen)交叉
3.價格突破或跌破 Leading Span B
4. Leading Span A 與 Leading Span B 交叉
我將上述訊號轉換成以下表達方式(看圖):
1.綠點:價格在轉換線(Tenkan-sen)與 基準線(Kijun-sen)之上
2.紅點:價格在轉換線(Tenkan-sen)與 基準線(Kijun-sen)之下
3.橘點或藍點:價格在轉換線(Tenkan-sen)與 基準線(Kijun-sen)之間
4.三角形符號:轉換線(Tenkan-sen)與 基準線(Kijun-sen)交叉,並且價格持續站穩 Kijun-sen 兩根K線(防止假突破)
5.B1 訊號:價格突破或跌破 Leading Span B
6.B2 訊號:Leading Span A 與 Leading Span B 交叉(這表達為雲的顏色是綠色還是紅色)
這隻指標的預設 Ichimoku Cloud 是關閉的,這樣圖表會更簡單,但如果你想檢查 Ichimoku Cloud ,可以隨時打開。
在你使用這支指標時,可以觀察圓點的變化:
1、向上趨勢反轉成向下趨勢(看圖)
你會看到的點順序是:綠點、橘點、紅點,除非價格突然跌破轉換線(Tenkan-sen)與 基準線(Kijun-sen),這時會直接看到紅點而沒有橘點。
2、向下趨勢反轉成向上趨勢(看圖)
你會看到的點順序是:紅點、藍點、綠點,除非價格突然突破轉換線(Tenkan-sen)與 基準線(Kijun-sen),這時會直接看到綠點而沒有藍點。
圓點通常是左側訊號,三角形介於左側與右側之間,而B1/B2則是右側訊號,我建議將倉位根據訊號顯示的前後順序分批下單,並且搭配 Supertrend來判斷趨勢,這也是為什麼這隻指標還加上了兩條 Supertrend 的原因。
為什麼不單純使用 Super Trend 指標?
因為 SuperTrend 只提供了單純的向上趨勢或向下趨勢,而不會顯示即將到來的反轉。
而加上動量圓點之後,當你看見橘點或藍點時,代表趨勢可能即將反轉。
因此這隻指標更能捕捉到趨勢的變化過程。
如果動量圓點跟 SuperTrend 指標顯示的趨勢不一樣怎麼辦?
如果 Super Trend 顯示向下趨勢,而你卻頻繁看到綠點跟藍點,代表趨勢很可能會向上反轉。
相反的,如果 Super Trend 顯示向上趨勢,而你卻頻繁看到紅點或橘點,代表很可能要向下反轉。
請記得,當你要建立倉位時,SuperTrend 的趨勢方向應該跟原點動量的方向是一致的,如果這兩個方向不一致,你需要更多的耐心來判別趨勢方向。
哪個訊號最重要?
使用這些訊號時必須記得,圓點屬於左側訊號,三角形屬於半左側半右側訊號,而B1/B2則是右側訊號,真的要我說的話,我認為B1/B2訊號最重要,因為B1的意義代表價格突破了雲層支撐或阻力,而B2在 Ichimoku Cloud 裡面的意義是雲朵(kumo)發生了反轉。
我針對這隻指標的幾個訊號對COINBASE:BTCUSDT進行了回測,B2訊號有較高的勝率。
為什麼使用了兩條 SuperTrend ?
因為我發現在市場經常會產生假突破,使用兩條 SuperTrend 並設置不同的 ATR 乘數,可以有效識別假突破。
最重要的提醒:
圓點的顯示、三角形訊號、B1/B2 這幾種訊號,它們出現的時間點是有順序關係的,趨勢轉變的過程,你一定會先看見圓點的變化,然後是出現三角形,最後出現B1/B2,這也是為什麼我建議你應該分批下單,如果圖表上的訊號沒有按照順序先後顯示,表示趨勢並沒有反轉,那麼一開始的分批下單,剛好可以降低你的虧損。
另外強烈建議,務必搞懂 Ichimoku Cloud 的公式,否則你可能會誤用這個指標。
我是如何使用這隻指標?
1.我會在看見三角形、B1、B2訊號時,分批建倉。
2.當你看到Supertrend改變趨勢,或是反向三角形時,可以考慮賣出。
3.三角形/B1/B2等訊號應該跟Supertrend是同一個方向時才可以進場。
4.當你看見綠點時,可以不用著急做多,可以再等一個三角形的訊號,因為三角形表示轉換線(Tenkan-sen)與 基準線(Kijun-sen)交叉,並且價格站穩在基準線(Kijun-sen)之上或之下兩天
5.如果你不確定某個地方為什麼會有三角形/B1/B2訊號,可以打在設定中打開Ichimoku Cloud自行確認。
Trend IndicatorThis indicator has different features:
1. Ichimoku = this indicator can plot Ichimoku calculated both in the common formula and with the volume average, you can choose the calculator method for each line.
2. Channel and Bands = this mode allows the user to choose from channel and band, "channel" shows the Keltner channel, and "band" shows the Bollinger bands. Both the indicators are calculated including the volume in the formula of the average midpoint.
3. Color candle = this function allows the user to see two different colors of candles on the chart, the positive color occurs when both the long-term average and the short team average of price calculated using the volume is above the two averages calculated without the volume. This function is great to analyze the volume pressure, useful to identify trend continuation and exhaustion.
4. Extreme reversal zones = this is a version of the Keltner channels calculated over a high number of candles and with high deviation, to identify the potential zones of reversal.
Note that in the "Ichimoku" indicator, the backline is the T.R.A.M.A. indicator, created and published open source by Lux Algo, which I thank for the script.
LeafAlgo Premium Macro StrategiesA "macro score", as defined here, is created by giving various weights to different signals and adding them together to get one smooth score. Positive or negative values are assigned to each of the signals depending on if the statement is true or false (e.g. DPO > 0: +1, DPO < 0: -1). This manner of strategy allows for a subset of the available signals to be present at one time as opposed to every technical signal having to be active in order for a long/short signal to trigger.
This strategy contains SIX different macro score strategies -- "Base DFMA", "Base DFMG", "Ichimoku", "TSI", "Donchian DFMA", and "Donchian DFMG". These strategies have the signals and weights pre-determined in the code. The "Base DFMA" strategy is based on our Democratic Fibonacci Moving Average (DFMA) indicator; the "Donchian DFMA" is the same as the base DFMA strategy, but with a signal from our Donchian Cloud Score indicator as added confluence. The "Base DFMG" strategy is based on our Democratic Fibonacci McGinley Dynamics (DFMG) indicator; the "Donchian DFMG" is the same, but with the Donchian Cloud Score as added confluence. The "Ichimoku" strategy is based on the major sub-indicators found within an Ichimoku Cloud in addition to our Donchian Cloud Score. The "TSI" strategy is based on the True Strength Index.
The ability to select your strategy of choice can be found at the top of the strategy settings under "Strategy Options", then in the drop-down menu labeled "Strategy Choice".
The DFMA - Democratic Fibonacci Moving Average - is a separate indicator that we have released that takes 10 different Fibonacci MAs (lengths of 3 to 233, at Fibonacci intervals) and averages them to form the DFMA line. This helps by creating a consensus on the trend based on moving averages alone. Crossovers of the DFMA with the various Fib MA lengths as well as a cross of the price source and these lines can provide adequate long and short signals. In the two DFMA strategies, the heaviest weights have been given to crosses of the DFMA line/Fib MA (233) as well as the crosses of the Fib MA (3)/DFMA. Additionally, there are thresholds for DPO ( Detrended Price Oscillator , above or below 0), CMO ( Chande Momentum Oscillator , above or below 0), Jurik Volatility Bands (above or below 0), and Stoch RSI (above or below 50). These four signals hold a lighter weight than the MA cross signals. The macro score itself ranges between -10 and 10. In addition to the macro score line, a momentum line (sourced by the macro score itself) has been included. A crossover/crossunder of the macro score and the macro momentum line is included into the long/short signal syntax in addition to a threshold for the macro score.
The DFMG - Democratic Fibonacci McGinley Dynamics - is a separate indicator that we have released that takes 10 different Fibonacci McGinley Dynamic liness (lengths of 3 to 233, at Fibonacci intervals) and averages them to form the DFMG line. This helps by creating a consensus on the trend based on moving averages alone. Crossovers of the DFMG with the various Fib MG lengths as well as a cross of the price source and these lines can provide adequate long and short signals. This strategy has the signals and weights pre-determined in the code. Heaviest weights have been given to crosses of the DFMG line/ McGinley (233) as well as the crosses of the McGinley (3)/DFMG. Additionally, there are thresholds for DPO ( Detrended Price Oscillator , above or below 0), CMO ( Chande Momentum Oscillator , above or below 0), Jurik Volatility Bands (above or below 0), and Stoch RSI (above or below 50). These four signals hold a lighter weight than the McGinley cross signals. The macro score itself ranges between -10 and 10. In addition to the macro score line, a momentum line (sourced by the macro score itself) has been included. A crossover/crossunder of the macro score and the macro momentum line is included into the long/short signal syntax in addition to a threshold for the macro score.
For the Ichimoku macro score, five signals were considered and weighted equally:
- Kijun-sen < Ichimoku Source
- Tenkan-sen < Ichimoku Source
- Kijun-sen > Chikou-span
- Tenkan-sen > Kijun-sen
- Senkou Span A > Senkou Span B
In addition to these factors, the Ichimoku strategy utilizes the Donchian Cloud Score in the long and short entry signals. Thus, the Donchian Cloud settings are applicable to this strategy.
For the True Strength Index strategy, the heaviest weights have been given to various TSI signals, including a crossover/crossunder of TSI signal and TSI value, a threshold for the TSI Signal (above or below 0), and a crossover/crossunder of the CMO ( Chande Momentum Oscillator ) and the TSI signal line. Additionally, there are thresholds for DPO ( Detrended Price Oscillator , above or below 0), Jurik Volatility Bands (above or below 0), and Stoch RSI (above or below 50). These three signals hold a lighter weight than the three TSI signals. The macro score itself ranges between -10 and 10. In addition to the macro score line, a momentum line (sourced by the macro score itself) has been included. A crossover/crossunder of the macro score and the macro momentum line is included into the long/short signal syntax in addition to a threshold for the macro score.
The Donchian Cloud Score is derived from a set of 5 Donchian channels (upper, lower, and basis plotted) defaulted to lengths of 25, 50, 100, 150, and 200. A set of conditions associated with the channels aims to determine ranging versus trending markets. Weights are given to these conditions accordingly, then tallied up to determine the "cloud score", ranging between -25 and 25. In general, a ranging market is determined by a cloud score between -10 and 10, while a positive trending market has a score higher than 10 and a negative trending market has a score lower than -10. That said, long and short thresholds similar to the macro score itself are included in the user settings and set to a default of 5 or -5. The cloud score is plotted as a line in the underlay with coloration reflecting ranging or trending markets (green color above the long threshold, gray between the thresholds, and red below the short threshold). The cloud score is incorporated into the strategy syntax for long and short positions in that the score must be above or below the set threshold for a trade to be placed. A breakdown for the Donchian scoring is as follows:
- Broke the 25-length DC (DC(25)) upper band in the previous 3 bars - +1 if true, 0 if false
- Broke the DC(50) upper band in the previous 3 bars - +2 if true, 0 if false
- Broke the DC(100) upper band in the previous 3 bars - +3 if true, 0 if false
- Broke the DC(150) upper band in the previous 3 bars - +4 if true, 0 if false
- Broke the DC(200) upper band in the previous 3 bars - +5 if true, 0 if false
- Broke the DC(25) lower band in the previous 3 bars - -1 if true, 0 if false
- Broke the DC(50) lower band in the previous 3 bars - -2 if true, 0 if false
- Broke the DC(100) lower band in the previous 3 bars - -3 if true, 0 if false
- Broke the DC(150) lower band in the previous 3 bars - -4 if true, 0 if false
- Broke the DC(200) lower band in the previous 3 bars - -5 if true, 0 if false
- DC(25) basis line above the DC(50) basis line - +1 if true, -1 if false
- DC(25) basis line above the DC(100) basis line - +1 if true, -1 if false
- DC(25)basis line above the DC(150) basis line - +1 if true, -1 if false
- DC(25) basis line above the DC(200) basis line - +1 if true, -1 if false
- DC(50) basis line above the DC(100) basis line - +1 if true, -1 if false
- DC(50) basis line above the DC(150) basis line - +1 if true, -1 if false
- DC(50) basis line above the DC(200) basis line - +1 if true, -1 if false
- DC(100) basis line above the DC(150) basis line - +1 if true, -1 if false
- DC(100) basis line above the DC(200) basis line - +1 if true, -1 if false
- DC(150) basis line above the DC(200) basis line - +1 if true, -1 if false
Thresholds for both the respective macro score and the Donchian Cloud score have been included. Entry signals for each strategy require the score to be >= the respective thresholds for longs and <= the respective thresholds for shorts.
Additionally, a normalized z-score has been included. The z-score does not affect the entry and exit signals, however, it is displayed on the chart in the form of bar coloration. The z-score has been normalized to a range of -1 to +1. A z-score under -0.60 is displayed as a red bar color, a score between -0.60 and -0.2 is displayed as an orange bar color, a score between -0.2 and 0.2 is displayed as a gray bar color, a score between 0.2 and 0.6 is displayed as a lime bar color, and a score over 0.6 is displayed in green.
Data for each respective strategy will be displayed in an overlaid table. This includes the factors that comprise the macro score of choice, the values of each signal that adds up to the macro score, the macro score itself, the value of the momentum line of the macro score, the normalized z-score value, and the Donchian Cloud score (if applicable). Green coloration notes bullish sentiment within the signals or values, gray coloration is neutral, and red coloration notes bearish sentiment.
Take profit, stop loss, and trailing percentages are also included, found at the bottom of the Input tab under “TT and TTP” as well as “Stop Loss”. The take profit and stop loss levels will be reflected as green and red lines respectively on the chart as they occur. Make sure to understand the TP/SL ratio that you desire before use, as the desired hit rate/profitability percentage will be affected accordingly. The option for adding in a trailing stop has also been included, with options to choose between an ATR-based trail or a percentage-based trail. This strategy does NOT guarantee future returns. Apply caution in trading regardless of discretionary or algorithmic. Understand the concepts of risk/reward and the intricacies of each strategy choice before utilizing them in your personal trading.
Profitview/Pineconnector Settings:
If you wish to utilize Profitview’s automation system, find the included “Profitview Settings” under the Input tab of the strategy settings menu. If not, skip this section entirely as it can be left blank. Options will be “OPEN LONG TITLE”, “OPEN SHORT TITLE”, “CLOSE LONG TITLE”, and “CLOSE SHORT TITLE”. If you wished to trade SOL, for example, you would put “SOL LONG”, “SOL SHORT”, “SOL CLOSE LONG”, and “SOL CLOSE SHORT” in these areas. Within your Profitview extension, ensure that your Alerts all match these titles. To set an alert for use with Profitview, go to the “Alerts” tab in TradingView, then create an alert. Make sure that your desired asset and timeframe are currently displayed on your screen when creating the alert. Under the “Condition” option of the alert, select the strategy, then select the expiration time. If using TradingView Premium, this can be open-ended. Otherwise, select your desired expiration time and date. This can be updated whenever desired to ensure the strategy does not expire. Under “Alert actions”, nothing necessarily needs to be selected unless so desired. Leave the “Alert name” option empty. For the “Message”, delete the generated message and replace it with {{strategy.order.alert_message}} and nothing else. If using Pineconnector, follow the same directions for setting up an alert, but use the ",buy,,risk=" syntax as noted in the tooltips.
ZN PivotsDescription
This indicator is aimed at showing the pivot points of the trend by using Ichimoku cloud and Bollinger bands.
BOLL : Upper Bollinger Band. The red circle formed on it refers to the downward intersection of the MACD indicator. In the downward intersection, a red circle appears.
BOLL : Middle Bollinger Band.
BOLL : Lower Bollinger Band. The red circle formed on it refers to the downward intersection of the RSI indicator. In the downward intersection, a red circle appears.
ICHI : Ichimoku Leading A Line. The green circle formed on it refers to the upward intersection of the ICHIMOKU indicator.
ICHI : Ichimoku Leading B Line. The red circle formed on it refers to the downward intersection of the ICHIMOKU indicator.
Warning
As a result, this indicator should be expected to give an idea of the trend direction, not a trading signal.
Version
v1.0
FlashTrade 20 Asset ScreenerThe FlashTrade 20 Asset Screener is a powerful screening tool written in Pinescript and designed for use in Tradingview. It simultaneously monitors a combination of seven (7) lagging and three (3) leading indicators for twenty (20) assets, such as; stocks, cryptocurrencies, or forex pairs.
The screener sends summarized numeric data as an alert to external programs that specialize in automated trading. This proprietary technology developed by the algorithmic trading firm known as FlashTrade.AI is now integrated with the rules-based trading platform TradeLab.AI.
The lagging indicators tracked by the screener are as follows:
1. The 8 Period Exponential Moving Average (8EMA): It determines whether it is over or under the 21 Period Exponential Moving Average (21EMA).
2. Two Closes of the 8 Period Exponential Average (8EMA): This confirms a trend as either bullish or bearish when it occurs over or under the 21 Period Exponential Moving Average (21EMA).
3. Ichimoku Cloud: This indicator identifies whether the price is above or below the cloud, indicating bullish or bearish trends.
4. Ichimoku Cloud: Conversion Line Above Base or Conversion Line Below Base: This measures the trend strength based on the distance between the conversion line and the base line.
5. Ichimoku Cloud: Lag Line Above Price or Lag Line Below Price: This tracks the lag line's position relative to the current price to confirm trend direction.
6. Ichimoku Cloud: Leading Cloud Green or Leading Cloud Red: This identifies the trend based on the color of the leading cloud.
7. MACD: This oscillator tracks the difference between two exponential moving averages and helps identify bullish or bearish momentum in the market.
The screener also tracks three leading indicators that primarily measure trading volume and momentum. These leading indicators are:
1. The Relative Strength Index (RSI): This oscillator measures the speed and change of price movements to identify overbought or oversold conditions in the market.
2. The Stochastic: This oscillator measures the momentum of price movements and helps identify potential trend reversals in the market.
3. The relative Vigor Index (RVGI): This indicator measures the strength of price movements by comparing the closing price to the trading range and helps identify trend reversals.
Overall, the FlashTrade 20 Asset Screener is a powerful tool for traders looking to automate their trading strategies. By monitoring multiple indicators for multiple assets simultaneously, it can identify trends and capitalize on opportunities when they present themselves.
Gamification IndicatorDo you want your charts to look like a video game? Look no further! Would you rather be an alien racing through a lava tube, a surfer with great white sharks, an airplane flying through the clouds, or some other custom emoji setup of your choice? Traders can choose their own custom player emoji, trend indicator, obstacle emoji, and celestial emoji. This indicator is just for fun and is not intended to be used when making trading decisions. Enjoy!
This indicator also contains a live sun/moon emoji that should accurately reflect day/night and can give information about the current moon phases.
Shoutout to @citlacom for the public Moon Ephemeris and calculations. Building this indicator was a useful & fun introduction to financial astrology in Pinescript.
Volume Spread Analysis IchimokuThis version of the popular Ichimoku indicator is modified to let the user choose between his classic mode and the volume-weighted mode.
Every line of the indicator is customizable with this function.
The Kijun and Tenkan lines are choosable from:
1. The normal version, so the average of the high and the low of the selected period
2. The volume mode, so the average price of the selected input ponderated to the volume
The Senkau Span A is the average from the Kijun (fast line) and the Tenkan (slow line) lines and it's choosable from:
1. The normal price version
2. The volume mode
3. The average between points 1 and 2
4. The automatic average between the two fast lines that you've chosen
The Senkau Span B is the slowest line of the indicator, used to determine the long-term trend, and can be chosen from:
1. The normal average price between the high and the low of the selected period
2. The volume average price, using the Volume Weighted Moving Average
The Trama Backline is the popular "LUX Algo" T.R.A.M.A. indicator, which I'm thankful for, and can be fantastically used to display the current trend strength and condition. This line is readable in the following way:
- If the line is moving sideways, the trend may be in a consolidation phase
- If the line is moving upwards or downwards, the trend may be in a trend phase
Renko Ichimoku CloudThis script utilizes its source from a non-repainting renko closing price. Renko charts focus solely on price movement and minimize the impacts of time and the extra noise time creates. Employing the renko close helps smooth out the Ichimoku Cloud. Insignificant price movements will not cause a change in the plotted lines of the indicator unless a new threshold is breached or a "brick" is created.
This Ichmoku Cloud includes all standard lines with standard lengths. These include:
Tenken Sen
Kiju Sen
Senkou A/B
Chikou Span
We have also included plotted marks for when there is a Tenken Sen/ Kiju Sen cross and for the Kumo cloud twist.
There are two methods for selecting the box size. Box size is critical for the overall function and efficacy of the plots you will visually see with this indicator. Box size is set automatically using the Average True Range "ATR" or manually using the "Traditional" setting. The simplest way to determine a manual box six is to take the ATR of the given instrument and round it to the nearest decimal place. As an example, if the ATR for the asset is 0.017, you would round that number to 0.02 and utilize this as your traditional box size.
Ichimoku Cloud and ADX with Trailing Stop Loss (by Coinrule)The Ichimoku Cloud is a collection of technical indicators that show support and resistance levels, as well as momentum and trend direction. It does this by taking multiple averages and plotting them on a chart. It also uses these figures to compute a “cloud” that attempts to forecast where the price may find support or resistance in the future.
The Ichimoku Cloud was developed by Goichi Hosoda, a Japanese journalist, and published in the late 1960s. It provides more data points than the standard candlestick chart. While it seems complicated at first glance, those familiar with how to read the charts often find it easy to understand with well-defined trading signals.
The Ichimoku Cloud is composed of five lines or calculations, two of which comprise a cloud where the difference between the two lines is shaded in.
The lines include a nine-period average, a 26-period average, an average of those two averages, a 52-period average, and a lagging closing price line.
The cloud is a key part of the indicator. When the price is below the cloud, the trend is down. When the price is above the cloud, the trend is up.
The above trend signals are strengthened if the cloud is moving in the same direction as the price. For example, during an uptrend, the top of the cloud is moving up, or during a downtrend, the bottom of the cloud is moving down.
DMI is simple to interpret. When +DI > - DI, it means the price is trending up. On the other hand, when -DI > +DI, the trend is weak or moving on the downside. The ADX does not give an indication of the direction but about the strength of the trend.
Typically values of ADX above 25 mean that the trend is steeply moving up or down, based on the -DI and +DI positioning. This script aims to capture swings in the DMI, and thus, in the trend of the asset, using a contrarian approach.
Trading on high values of ADX, the strategy tries to spot extremely oversold and overbought conditions. Values of ADX above 45 may suggest that the trend has overextended and is maybe about to reverse.
This strategy combines the Ichimoku Cloud with the ADX indicator to better enter trades.
Long orders are placed when these basic signals are triggered.
Long Position:
Tenkan-Sen is above the Kijun-Sen
Chikou-Span is above the close of 26 bars ago
Close is above the Kumo Cloud
MACD line crosses over the signal line
-DI is greater than +DI
ADX is greater than 45
Close Position:
3% increase trailing
3% decrease trailing
The script is backtested from December 2022 and provides good returns.
A trading fee of 0.1% is also taken into account and is aligned to the base fee applied on Binance.
Ichimoku Cloud ExIchimoko Clouds with vertical lines at the Conversion Period (default: 9), Base Period (default: 26) and Lagging Span B period (default: 52) as visual clues to the offsets.
Consensus Tables - Oscillators, Multi-MA , DFMA, and IchimokuThis indicator is a series of underlaid tables that determine a consensus value using a simple positive or negative score for a set signal. This consensus value is also shown as a histogram and reflected on the chart's bar colors. There are a total of four different table options to choose from: a set of trend and volume oscillators, a set of 11 moving averages, a set of Fibonacci moving averages and their own consensus line, and a set of Ichimoku-based conditions. The type of table can be chosen from a drop-down menu at the top of the user settings, with settings for each of the table types grouped up respectively.
Oscillator Table:
The Oscillator table consists of the Average Directional Index (ADX) set as a value instead of +/- and is not used in the scoring to gather consensus. Rather, a value of 25 or above is used to confirm the trend regardless of positive or negative. The Chande Momentum Oscillator (CMO), Detrended Price Oscillator (DPO), Momentum, Rate of Change (ROC), Relative Strength Index (RSI), True Strength Index (TSI), and Volume Oscillator are used in the Oscillator table for a consensus value and given a + or - depending on the condition being met. The conditions and weighting are as follows:
-- CMO > or < 0, given a weight of +/- 2
-- DPO > or < 0, given a weight of +/- 2
-- Momentum > or < 0, given a weight of +/- 2
-- ROC > or < 0, given a weight of +/- 2
-- RSI > or < 50, given a weight of +/- 1
-- TSI Value Line > or < 0, given a weight of +/- 1
-- TSI Signal Line > or < 0, given a weight of +/- 1
-- Volume Osc. > or < 0, given a weight of +/- 2
The consensus value is determined by adding these values together and dividing by 13.
Multi-MA Table:
For the Moving Average Ribbon/Multi-MA table the user is able to determine the source, type, and lengths of 11 moving averages. The type selection consists of EMA, DEMA, TEMA, SMA, RMA, VWMA, WMA, SMMA, and a Hull MA. The preset values for the 11 moving averages are 5, 7, 10, 14, 21, 26, 50, 75, 100, 150, and 200. The consensus conditions and weighting are as follows:
-- If MA(1 through 10) < or > the price source, given a weight of +/- 1
-- If MA(11) < or > the price source, given a weight of +/- 2
The consensus value is determined by adding these values together and dividing by 12.
DFMA Table:
The Democratic Fibonacci Moving Average table is derived from our indicator of the same name. The source for the DFMA can be chosen by the user, but the SMA lengths are predetermined in Fibonacci intervals from 3 to 233. The DFMA line itself is determined by finding the average value of these 10 Fibonacci MA lengths. The consensus conditions and weighting are as follows:
-- If Fib. MA (3-233) < or > the source, given a weight of +/- 1
-- If DFMA value < or > the source, given a weight of +/- 2
The consensus value is determined by adding these values together and dividing by 12.
Ichimoku Table:
The Ichimoku table values a handful of conditions using the Tenkan-sen/Conversion Line, Kijun-sen/Base Line, Senkou-span A and B, and the Chikou-span, each of which are given their standard values of 9, 26, 52, and 26, respectively, but can be changed in the user settings if desired. As opposed to the other tables, there are fewer conditions to be met and given values to. All of the conditions are given the same weighting (+/- 1). The conditions are as follows:
-- Kijun-sen < or > the source
-- Tenkan-sen < or > the source
-- Kijun-sen > or < the Chikou-span
-- Tenkan-sen > or < the Kijou-sen
-- Senkou Span A > or < Senkou Span B
The consensus value is determined by dividing the total value by 5.
Overall consensus and overall trend values are given alongside each of these options. The overall consensus value is determined by taking the average of the 4 respective consensus values. Trend values are determined as such:
-- If consensus value >= 0.75, considered a "Strong Buy"
-- If consensus value is between 0.25 and 0.75, considered a "Buy"
-- If consensus value is between 0.25 and -0.25, considered "Neutral"
-- If consensus value is between -0.25 and -0.75, considered a "Sell"
-- If consensus value is <= -0.75, considered a "Strong Sell"
Table colors are set as either green, red, or gray to reflect positive, negative, and neutral sentiment sentiment. Bar colors reflect the consensus value and the determined table trend:
-- If trend for the chosen table is "Strong Buy", bar color is green
-- If trend for the chosen table is "Buy", bar color is lime
-- If trend for the chosen table is "Neutral", bar color is gray
-- If trend for the chosen table is "Sell", bar color is orange
-- If trend for the chosen table is "Strong Sell", bar color is red
ABC_caluculator for Ichimoku Kinko Hyo(IKH) usersThis tool is using for calculating Target Value(N,V,E prices) by only clicking on a chart.
There is several points which makes it better.
Decrease the number of times of clicking.
Calculator needs a reset button, it's like loop structure. Push the reset and function again.
Plot percentages which it compare closing price and Target Value(N,V,E prices) on a chart.
Plot loss cut points from evaluating risk/returns.
My question is also written down precisely here !!!!!
↓
stackoverflow.com
Ichimoku Cloud with MACD and Trailing Stop Loss (by Coinrule)The Ichimoku Cloud is a collection of technical indicators that show support and resistance levels, as well as momentum and trend direction. It does this by taking multiple averages and plotting them on a chart. It also uses these figures to compute a “cloud” that attempts to forecast where the price may find support or resistance in the future.
The Ichimoku Cloud was developed by Goichi Hosoda, a Japanese journalist, and published in the late 1960s. It provides more data points than the standard candlestick chart. While it seems complicated at first glance, those familiar with how to read the charts often find it easy to understand with well-defined trading signals.
The Ichimoku Cloud is composed of five lines or calculations, two of which comprise a cloud where the difference between the two lines is shaded in.
The lines include a nine-period average, a 26-period average, an average of those two averages, a 52-period average, and a lagging closing price line.
The cloud is a key part of the indicator. When the price is below the cloud, the trend is down. When the price is above the cloud, the trend is up.
The above trend signals are strengthened if the cloud is moving in the same direction as the price. For example, during an uptrend, the top of the cloud is moving up, or during a downtrend, the bottom of the cloud is moving down.
The MACD is a trend following momentum indicator and provides identification of short-term trend direction. In this variation it utilises the 12-period as the fast and 26-period as the slow length EMAs, with signal smoothing set at 9.
This strategy combines the Ichimoku Cloud with the MACD indicator to better enter trades.
Long/Exit orders are placed when three basic signals are triggered.
Long Position:
Tenkan-Sen is above the Kijun-Sen
Chikou-Span is above the close of 26 bars ago
Close is above the Kumo Cloud
MACD line crosses over the signal line
Exit Position:
Price increases 3% trailing
Price decreases 3% trailing
The script is backtested from 1 June 2022 and provides good returns.
The strategy assumes each order is using 30% of the available coins to make the results more realistic and to simulate you only ran this strategy on 30% of your holdings. A trading fee of 0.1% is also taken into account and is aligned to the base fee applied on Binance.
CVD Ichimoku(s)ENGLISH
What is this indicator?
This is a combination of two indicators: the CVD - Cumulative Volume Delta Candles published by TradingView (version v3 2022.07.11) with two Ichimoku clouds: one for the current time frame and another for a bigger time frame.
The user of the indicator can define that bigger time frame with a multiplier. By default it multiplies x6 the current TF (for example, if you watch at the 1 hour time frame the second kumo belongs to 6 hour TF).
Additionaly, an orange line replicates the senko span A without displacement. It is extra layer of visual information that can be hidded from settings.
How it should be used?
Delta Volume indicators can be hard to read. This format gives the trader an overview of where the agressive buyers/sellers are in relation to past market orders. And relative to price if used in combination with the classic Ichimoku indicator on price. I recommend to use it as a support for your ideas applying Ichimoku's calculations deep knowledge.
CATALÀ*
Què és aquest indicador?
És una combinació de dos indicadors: el CVD - Cumulative Volume Delta Candles publicat per TradingView (versió v3 2022.07.11) amb dos Ichimoku clouds: on pel time frame actual i un altre per un time frame superior.
L'usuari de l'indicador pot definir aquest time frame superior mitjançant un multiplicador. Per defecte multiplica x6 el TF actual (per exemple, si uses l'indicador al time frame d'1 hora, el segon kumo correspondrà al TF de 6 hores).
Adicionalment hi ha una línia taronja que replica el senko span A sense desplaçament. És una capa extra d'informació visual que pot ser amagada des de la configuració.
Com s'ha de fer servir?
Els indicadors de Delta Volume poden ser difícils de llegir. Aquest format dona al tradejador una visió global d'on són els compradors/venedors agressius en relació al mercat d'ordres passat. I relatiu al preu en combinació amb el clàssic indicdor Ichimoku sobre preu. Recomano usar-lo com a suport per les teves idees aplicant un profund coneixement dels càlculs d'Ichimoku.
*Catalan is a language speaked since 8th century in most eastern territories of the current Spain (Catalunya, Illes Balears, País Valencià), south of France and some zones of Italy. Catalan is spoken by some 9,000,000 people in Spain and some 125,000 in France, as well as by some 30,000 in Andorra and some 40,000 in Alghero.
Ichimoku(s)ENGLISH
What is this indicator?
This is a doble Ichimoku cloud: one for the current time frame and another for a bigger time frame.
The user of the indicator can define that bigger time frame with a multiplier. By default it multiplies x6 the current TF (for example, if you watch at the 1 hour time frame the second kumo belongs to 6 hour TF).
Additionaly, an orange line replicates the senko span A without displacement. It is extra layer of visual information that can be hidded from settings.
Other ichimoku lines are hidden by default, but can be activated from "Style" tab at the settings.
How it should be used?
If gives Ichimoku traders perspective from bigger time frames. Can be used to avoid movements against major tendencies without the need to change charts.
CATALÀ*
Què és aquest indicador?
És un doble núvol d'Ichimoku: un pel time frame actual i un altre per un time frame superior.
L'usuari de l'indicador pot definir aquest time frame superior mitjançant un multiplicador. Per defecte multiplica x6 el TF actual (per exemple, si uses l'indicador al time frame d'1 hora, el segon kumo correspondrà al TF de 6 hores).
Adicionalment hi ha una línia taronja que replica el senko span A sense desplaçament. És una capa extra d'informació visual que pot ser amagada des de la configuració.
La resta de línies d'Ichimoku estan ocultes per defecte, però poden activar-se des de la pestanya "Style" de la configuració.
Com s'ha de fer servir?
Dóna als tradejadors d'Ichimoku perspective dels time frames superiors. Pot ser usat per evitar moviments contra tendències majors sense necessitat de canviar de gràfic.
*Catalan is a language speaked since 8th century in most eastern territories of the current Spain (Catalunya, Illes Balears, País Valencià), south of França and some zones of Italy. Catalan is spoken by some 9,000,000 people in Spain and some 125,000 in France, as well as by some 30,000 in Andorra and some 40,000 in Alghero.
Ichimoku RONIN [Lite]This Ichimoku is a Lite Edition of Ichimoku RONIN
Features :
- Ichimoku Default Lines
- Settings for Shift all of Lines
- Two Custom Periods Lines
- 9/26/52 Cycle Counter
- Optimized for Pine Script 5
- No Shifted Senko Span A Line
- New Cloud Alert
- KijunSen & TenkanSen Lines Crossed Alert
Good Trading to All ...
Ichimoku MA Up & DownIchimoku and MA use the default.
It is repainted because it uses a moving average line.
A marker is only true if it was created after the candle closed.
The principle is too simple.
Please enjoy using it.
- Up : Conversion Line > MA #1 and Base Line > MA #2
It is an uptrend. The short-term moving average should be above the conversion line. And the long-term should be above the Base Line.
- Down : Conversion Line < MA #1 and Base Line < MA #2
It's a downtrend. The short-term moving average should be below the conversion line. And the long-term should be below the Base Line.
You can get better results if you use a momentum indicator like RSI.
Thank you.
Ichimoku Cloud and ADX with Trailing Stop Loss (by Coinrule)The Ichimoku Cloud is a collection of technical indicators that show support and resistance levels, as well as momentum and trend direction. It does this by taking multiple averages and plotting them on a chart. It also uses these figures to compute a “cloud” that attempts to forecast where the price may find support or resistance in the future.
The Ichimoku Cloud was developed by Goichi Hosoda, a Japanese journalist, and published in the late 1960s. It provides more data points than the standard candlestick chart. While it seems complicated at first glance, those familiar with how to read the charts often find it easy to understand with well-defined trading signals.
The Ichimoku Cloud is composed of five lines or calculations, two of which comprise a cloud where the difference between the two lines is shaded in.
The lines include a nine-period average, a 26-period average, an average of those two averages, a 52-period average, and a lagging closing price line.
The cloud is a key part of the indicator. When the price is below the cloud, the trend is down. When the price is above the cloud, the trend is up.
The above trend signals are strengthened if the cloud is moving in the same direction as the price. For example, during an uptrend, the top of the cloud is moving up, or during a downtrend, the bottom of the cloud is moving down.
DMI is simple to interpret. When +DI > - DI, it means the price is trending up. On the other hand, when -DI > +DI , the trend is weak or moving on the downside. The ADX does not give an indication about the direction but about the strength of the trend.
Typically values of ADX above 25 mean that the trend is steeply moving up or down, based on the -DI and +D positioning. This script aims to capture swings in the DMI, and thus, in the trend of the asset, using a contrarian approach.
Trading on high values of ADX, the strategy tries to spot extremely oversold and overbought conditions. Values of ADX above 45 may suggest that the trend has overextended and is may be about to reverse.
This strategy combines the Ichimoku Cloud with the ADX indicator to better enter trades.
Long orders are placed when these basic signals are triggered.
Long Position:
Tenkan-Sen is above the Kijun-Sen
Chikou-Span is above the close of 26 bars ago
Close is above the Kumo Cloud
MACD line crosses over the signal line
-DI is greater than +DI
ADX is greater than 45
Close Position:
3% increase trailing
3% decrease trailing
The script is backtested from 1 January 2018 and provides good returns.
The strategy assumes each order is using 30% of the available coins to make the results more realistic and to simulate you only ran this strategy on 30% of your holdings. A trading fee of 0.1% is also taken into account and is aligned to the base fee applied on Binance.
This script also works well on MATIC (1d timeframe), ETH (1d timeframe), and SOL (1d timeframe).