The Divergent - Advanced Divergence IndicatorAutomated divergence detection with unparalleled customizability for any market on TradingView.
This is the Basic (Free) version of The Divergent - Advanced Divergence Indicator .
Features :
1. Divergence detection for any market & any timeframe
Bitcoin? Tesla? Gold? You name it. The Divergent will spot divergences for you on any market and any timeframe.
2. Choose from 2 built-in oscillators
The Basic version of The Divergent comes with 2 built-in oscillators: MACD and RSI
3. Automated detection of Regular Bullish and Regular Bearish divergences
The Basic version of The Divergent can detect two types of divergences: Regular Bullish and Regular Bearish
4. Complete control over every aspect of divergence detection
The Divergent exposes over 40 different settings to allow you fine tune the divergence detection algorithm.
- Oscillator (MACD / RSI)
- Detect Regular Bullish Divergences
- Detect Regular Bearish Divergences
- Pivot Detection Source (Price / Oscillator)
- Source smoothing
- Candle Pivot Detection Mode (Bodies / Wicks)
- Pivot Lookback Right
- Pivot Lookback Left
- Divergence Max. Length
- Divergence Min. Length
- Number of Historic Pivots to Compare
- Pivot Correction
- Restrict Starting Pivot to a Single Divergence
- Allow Early Detection of Divergences
- Line of Sight filter
- Minimum Pivot Change filter
- Pivot Candle Color filter
- Moving Average Filter
- MACD settings
- RSI settings
5. Divergence statistics
6. Fully documented
The Divergent has each and every of its inputs documented via tooltips inside the settings panel. Simply hover your mouse over the ( i ) icon next each the input field to learn more about the purpose of the configuration.
---
Расхождение
The Divergent (Pro) - Advanced Divergence IndicatorAutomated divergence detection with unparalleled customizability for any market on TradingView.
This is the Pro version of The Divergent - Advanced Divergence Indicator .
The Pro version contains everything that is in the Basic version, plus:
1. Access to a 2nd indicator, called "The Divergent's Companion"
By applying the companion indicator to the same chart you have The Divergent on, you will have the divergence lines and labels plotted on your price chart as well:
2. Hidden Divergences
While the Basic version can only detect Regular Divergences, the Pro version can detect both Regular and Hidden Divergences:
3. Seven more oscillators to detect divergences on
The Basic version comes with the two most popular oscillators, the MACD and the RSI.
With the Pro version you get access to 7 more oscillators:
- CMF (Chaikin Money Flow)
- Stochastic RSI
- MFI (Money Flow Index)
- TCI (Trading Channel Index), also known as WaveTrend
- Balance of Power
- CCI (Commodity Channel Index)
- Awesome Oscillator
4. Alerts
With the Pro version you can set up alerts on The Divergent indicator, allowing you to get alerted to one of the following events:
1. Regular Bullish Divergence
2. Hidden Bullish Divergence
3. Regular Bearish Divergence
4. Hidden Bearish Divergence
5. Pivot Low Confirmed
6. Pivot High Confirmed
5. Divergence Verification
The Pro version allows you to measure the quality of the detected divergences.
With divergence verification enabled, The Divergent will tell you how many times a particular divergence "played out", i.e. how many times a bullish or bearish divergence has actually resulted in the change in price in the direction predicted by the divergence. You can configure the price % levels which are used to categorise the divergences as valid or invalid (or unknown).
6. Use the signals in your own Pine Script strategy / indicator
The Pro version comes with access to a Pine Script Library called The Divergent Library .
Just add The Divergent onto the same chart you have your strategy on, link the two together using a "source" input, and use the functions in the library to process the signals from The Divergent :
You can think of The Divergent being a DaaS ( D ivergece a s a S ervice)!
7. Customise the look of the divergence lines and labels
The Pro version allows you to change the style of the divergence lines and labels:
---
Multi-Function RCI(strategic signal,alert and divergence)Japanese below / 日本語説明は下記
Overview
Multi-function RCI indicator with functions below.
1.Multiple signals according to conditions where 3 RCI lines cross
2.Alert when signals triggered
3.Auto divergence drawing
What is RCI?
RCI is one of the oscillator indicators such as RSI and stochastic, measuring overbought/oversold. While RSI and stochastic measures overbought/oversold by price axis, RCI measures by price and time axis.
Please see the details below.
Functions:
1.Multiple signals according to conditions where RCI 3 lines cross
There is two types of signals available in this indicator
A. Overbought/oversold signals
B. Strategic signals
A. Overbought/oversold signals
These signals are displayed when each RCI line crosses upperband/lowerband.
Conditions are as follows:
-RCI(Short) cross over/under upper band
-RCI(Short) cross over/under lower band
-RCI(Middle) cross over/under upper band
-RCI(Middle) cross over/under lower band
-RCI(Long) cross over/under upper band
-RCI(Long) cross over/under lower band
Upper band and lower band can be parameterized.
a. Cross over upper band/Cross under lower band:
These signal are good to judge trend maturity. Once trends get matured, market usually goes into sideways and lead to trend reversal.
b. Cross under upper band/Cross over lower band:
These signal are good to catch trend reversal.
The longer RCI period gets, the bigger price movement gets.
Sample chart
RCI(middle,dark blue) and RCI(Long, magenta) crosses over/under upper band/lower band
B. Strategic signals
Strategic signals are more appropriate to judge timing to enter a trade.
Signals will be appeared when conditions below met with option to select signal sensitivity.
-RCI(Short) crosses over RCI(Middle)
-RCI(Middle) crosses over RCI(Long) and RCI(Long) is below zero line
-RCI(Short) crosses over RCI(Long) and RCI(Long) is below zero line
-RCI(Short) crosses under RCI(Middle)
-RCI(Middle) crosses under RCI(Long) and RCI(Long) is below zero line
-RCI(Short) crosses under RCI(Long) and RCI(Long) is below zero line
With signal sensitivity “Advanced” selected, signals will be displayed when conditions above are met above upper band or below lower band.
Advanced mode is more suitable to aim bigger trend while standard mode is for short term up/down movement.
Signal sensitivity is designed for users to select depending on their trading style(Day trading, swing trading, scalping) and strategy.
Once strategic signals triggered, prepare for trend reversal, observing price action.
The two charts below describe how different signal sensitivity makes.
Sample chart(Standard)
RCI(middle, dark blue) and RCI(long,magenta) cross signals are displayed as an example
Sample chart(Advanced)
RCI(middle, dark blue) and RCI(long,magenta) cross signals are displayed as an example
As you can see, advanced mode is more suitable to aim big movement as RCI cross happens after maximum stretch, while standard is good to catch smaller wave.
2.Alert when signals triggered
Alert can be set with above-mentioned signal conditions.
3.Auto divergence drawing
Divergence line will be automatically drawn as per the logic below.
Also, users can select which RCI line(Short/middle/long) will be targeted to detect divergence.
Bearish : When two consecutive pivot highs go up but RCI values corresponding to each high go down.
Bullish: When two consecutive pivot lows go down but RCI values corresponding to each low go up.
Pivot highs(lows) are identified when those are preceded by n lower highs(lows) and proceeded by n lower highs(lows).
* n is parameterized.
See the diagram below.
How to access this indicator?
This indicator is paid and invited-only indicator.
Please see the instruction below.
Comment section is only for comments on the indicator or updates. Please refrain from contacting me using comments to follow TradingView house rules.
———————————————————————————————————————
多機能RCIインジケーターです。以下の機能が搭載されています。
1.複数タイプのシグナル表示(シグナル感度制御付き)
2.アラート設定
3.ダイバージェンス自動描画
RCIとは?
RCIはRSIやストキャスティクスと同様に買われすぎ・売られすぎを数値化するオシレーター系インジケーターの一つです。
RSIやストキャスティクスが価格軸だけを元に買われすぎ・売られすぎを数値化するのに対して、RCIは価格と時間軸の双方を考慮して買われすぎ・売られすぎを数値化するという違いがあります。
機能詳細は以下の通りです。
機能詳細
1.複数タイプのシグナル表示(シグナル感度制御付き)
3本のRCIとアッパーバンド・ロワーバンドとの交差条件で異なるシグナルを表示することができます。
このインジケーターには以下の2つのタイプのシグナルが存在します。
A. 買われすぎ/売られすぎシグナル
B. ストラテジーシグナル
A. 買われすぎ/売られすぎシグナル
RCIと買われすぎ・売られすぎの水準であるアッパーバンドとロワーバンドとのクロスでシグナルを表示します。
条件:
RCI(短期)がアッパーバンドを上抜いた時または下抜いた時
RCI(短期)がロワーバンドを下抜いた時または上抜いた時
RCI(中期)がアッパーバンドを上抜いた時または下抜いた時
RCI(中期)がロワーバンドを下抜いた時または上抜いた時
RCI(長期)がアッパーバンドを上抜いた時または下抜いた時
RCI(長期)がロワーバンドを下抜いた時または上抜いた時
アッパーバンドとロワーバンドはパラメータ設定可能です。(初期値は80と-80%)
<使い方>
A.アッパーバンドの上抜け/ロワーバンドの下抜け
トレンドの過熱感・成熟度の判断に使用。一般的にはトレンドが成熟しきった後に天井圏や底値圏を形成し、その後トレンド転換が発生します。
b.アッパーバンドの下抜け/ロワーバンドの上抜け
トレンド転換のタイミングを図るのに使用。
サンプルチャート
RCI中期(青)・長期(マゼンタ)が上下バンドを上抜いた時、下抜いた時
B. ストラテジーシグナル
3本のRCIの交差条件で発生するこのシグナルは相場の反転が期待できるシグナルということで、よりトレード機会の判断に向いています。
またシグナル発生の感度を、StandardとAdvancedの二つから選択することができます。
シグナル条件:
<シグナル感度: Standard>
<上昇示唆>
RCI(短期)がRCI(中期)を上抜いた時
RCI(中期)がRCI(長期)を上抜いた時かつ、RCI(長期)がゼロラインより下にある時※
RCI(短期)がRCI(長期)を上抜いた時かつ、RCI(長期)がゼロラインより下にある時
※ノイズを除去するため
<下落示唆>
RCI(短期)がRCI(中期)を下抜いた時
RCI(中期)がRCI(長期)を下抜いた時かつ、RCI(長期)がゼロラインより上にある時
RCI(短期)がRCI(長期)を下抜いた時かつ、RCI(長期)がゼロラインより上にある時
<シグナル感度: Advanced>
Advancedの場合は、RCIがアッパーバンドより上にある状態で上記の条件が満たされるか、ロワーバンドより下にある状態で上記条件が満たされた場合にのみシグナルが表示されます。
Advancedはよりトレンドの転換や大きな波を狙うのに適したものであるのに対し、Standardはより細かい動きを狙うためのシグナルとなるように設計しています。
この辺りの好みはトレードスタイルや狙いに応じて異なるため、トレーダーが各自選択できるように汎用的な作りとなっているのが特徴です。
ストラテジーシグナルが現れたらトレンド転換の可能性に備え、プライスアクションを見ながらトレードタイミングの判断を行います。
以下の二つのチャートでStandardとAdvancedモードで発せられるシグナルの違いが確認できます。
サンプルチャート(Standard モード)
中期RCI(青)と長期RCI(マゼンタ)の交差
サンプルチャート(Advanced モード)
中期RCI(青)と長期RCI(マゼンタ)の交差
AdvancedモードではRCIが最大限伸びたところからの交差を捉えているため、より大きな波を捉えられる一方で、Standardモードではより細かい波を捉えられることが確認できます。
3.ダイバージェンス自動描画機能
以下のロジックに基づきダイバージェンスを自動描画します。(初期表示:非表示)
下降示唆:2つの連続する高値(*)が切り上げられているが、 それぞれの高値に対応するRCIの値は切り下げている場合
上昇示唆:2つの連続する安値(*)が切り下がっているが、 それぞれの安値に対応するRCIは切り上がっている場合
*高値(安値)は、左右n本(**)ずつのローソク足の高値(安値)より高い(低い)高値(安値)をピボットハイ・ローとして算出しています。
** nはユーザ設定値です。
サンプルチャート
高値PL1はPL1の安値より左側にn個のより低い安値、右側にn個のより低い安値があった場合に安値として認識されます。
上記の例では安値がPL1>PL2と切り下がっていますが、対応するRCIの値はvalue1<value2と切り下がっているためダイバージェンスと認識されダイバージェンスラインが自動描画されます。
このようにロジックに基づいてダイバージェンスを認識してライン描画するため、肉眼で捉える場合より正確なダイバージェンスが把握できるでしょう。
言うまでもないことですが、ダイバージェンスが出たから逆張り、などの安易な発想は避けるべきです。
環境認識の一つの要素として見るべき指標でしょう。
インジケーターの使用について
当インジケーターは招待制インジケーター(有料)となっています。
使用を希望される方は以下の指示欄をご確認ください。
このページのコメント欄はインジケーターそのものに対するコメントやアップデートの記載のためのものとなっております。Tradingviewのハウスルールを守るためにもコメント欄からの連絡はご遠慮ください。
[JL] Stochastic Divergence AlertCompare two cross area:
k is increasing, low is lower and previous k is less than bottom level then it is bottom divergence
k is decrease, high is higher and previous k is more than top level then it is top divergence
With long term moving average(400), seems that Stochastic Divergence is more accurate than RSI Divergence on 1m chart.
TradeChartist Mean Momentum Drift Oscillator (MMDO)™TradeChartist Mean Momentum Drift Oscillator (MMDO) is the Oscillator version of the ™TradeChartist Mean Momentum Drift Bands (MMDB) indicator with some added visual features to spot Momentum, divergences and Price action using ™TradeChartist Zone Visualizer model.
===================================================================================================================
Features of ™TradeChartist MMDO
==============================
Price zone detection using ™TradeChartist Zone Visualizer model.
No User input required.
3 Visual colour schemes - Chilli, Flame and Custom.
Clear Visualization of Overbought and Oversold zones.
Colour Bars based on Momentum strength.
MDDO highs and lows tracker helps detect divergences.
===================================================================================================================
Example Charts
1. MMDO used along with ™TradeChartist MMDB (Mean Momentum Drift Bands) on 4hr chart of BINANCE:BTCUSDT
2. MMDO on 1hr chart of OANDA:EURUSD to confirm Drift Bands breakout entries on MMDB
3. MMDO on 1hr chart of BINANCE:LUNAUSDT
===================================================================================================================
Best Practice: Test with different settings first using Paper Trades before trading with real money
===================================================================================================================
TSI in Dynamic Zones with Divergence and Pivot PointsTrue Strength Index , or TSI is considered a "leading indicator" - in contrast to a "lagging indicator" just as Moving Averages it does not show a confirmation what already happened, but it shows what can happen in the future. For example: The chart is climbing while the TSI oscillator is slowly declining, gets weaker and weaker, maybe even prints bearish divergences? That means that a reversal might be occurring soon. Leading indicators are best paired with Stop and Resistance Lines, General Trendlines , Fib Retracements etc. Your chart is approaching a very important Resistance Trendline but the TSI shows a very positive signal? That means there is a high probability that the Resistance is going to be pushed through and becomes Support in the future.
What are those circles?
-These are Divergences. Red for Regular-Bearish. Orange for Hidden-Bearish. Green for Regular-Bullish. Aqua for Hidden-Bullish.
What are those triangles?
- These are Pivots . They show when the TSI oscillator might reverse, this is important to know because many times the price action follows this move.
What are these blue or orange areas?
- Those are dynamic zones. For the analysis of the TSI its important to know if the indicator is in a state of oversold or overbought to filter out ranging price movement. Normally those zones are static, in this version of the TSI oscillator dynamic zones were added to show a dynamic calculation whether the TSI oscillator is oversold, overbought or ranging.
Please keep in mind that this indicator is a tool and not a strategy, do not blindly trade signals, do your own research first! Use this indicator in conjunction with other indicators to get multiple confirmations.
MM NINJA OSCThe MM Ninja is a a 2-1 oscillator with the Smoothed Mac-D and the MM Ichimoku turned into an oscillator.
- Plots Divergence
- QQE Trailing stop
- Pullback Alarms (reversals/with trend)
- Alarms for all functions
How to use-
Line the signal given with the MM Sensei Ichimoku for confirmation of trade to measure momentum
Use the Pullback function to get into pullbacks of a trend or maybe find reversals of a trend
The trailing stop can also be used to confirm a continuation of a trend or the exit of one once the signal lines cross it.
Link below or PM us for access to this indicator Happy Trading
AJ Scalp Reversal Tops and Bottoms IndicatorReuploaded after TV took it down.
A free scalping reversal, top and bottom indicator. It prints signals in real time, and should be used for scalping.
Following candle will usually always follow the signal but from there closer management is required.
This script uses RSI, Volume, OBV, Pivots and a few more indicators to calculate the signals.
Use alongside other indicators and price action analysis for best results.
Only use on time frames above 1H, otherwise the signals fire too frequently.
*These signals are different compared to other scripts created by me
Better Trader Super PredictThis is a free trading assistant that combines 4 types of trading signals and useful tools.
Four types of trading signals:
1. Trending signals. KAMA and Awesome oscillator(5,34) and (3,25) are used to confirm trend.
2. Knifes. This is a SOT detector with volume and spread filtering. The algorythm takes into account the volatility.
3. Predict. The distance from VWAP and BB stdev 2 and 3 is used. Signals usually appear when RSI/MACD/AO divergence is detected.
4. High risk signals. These are SOT and high volume signals without hard filtering.
All signals use distance from SMMA and volatility.
Filters use LL and HH events.
Each signals has entry zone, recommended stop-loss and a number of take-profits.
Recommended entry points and usually located in the body of higher timeframe candles.
Recommended stop-loss zones are using ATR(10) with multiplier that depends on the timeframe.
Take-profit points and arranged within daily and week levels using pivots and VWAP.
The useful tools are:
- Autofibo
- Ichimoku clouds
- VWAP
Disclaimer:
Your trading is fully your responsibility.
Sell and Buy markers are not a financial advice.
Do not take too much risk.
Almost all signals are NOT repainted. There some rare trend signals that can be repainted.
Baekdoo compressed multi EMA box and its crossover indicatorHi forks,
I'm trader Baekdoosan who trading Equity from South Korea. This Baekdoo compressed multi EMA box and its crossover indicator tells us good trading time for swing trading.
Here is the idea. As you can see formula, I put ema of 5 days to 100 days.
and draw box when all disparity of the EMAs are less than 5%
I put those value in input variable as 105 (100 means same as max/min disparity ratio, 105 means max is 5% greater than min). This can be used 110 (10% of box) based on your needs.
Once box are drew, I put indicator when it crossover the box with 5 times larger than 60 days' highest volume. Then I put triangle indicator. This will be good trading point for short-mid term trading. you can check historical chart to evaluate this.
Hope this will help your trading on equity as well as crypto. I didn't try it on futures . Best of luck all of you. Gazua~!
+ Rate of ChangeNOTE!* If you were using my previous + Rate of Change (and OBV) indicator, I will not be updating that. OBV was moved to my + Breadth & Volume indicator.
This indicator here is basically and updated version of the old indicator, without OBV.
The Rate of Change, or RoC, is a momentum indicator that measures the percentage change in price between the current period and the price n periods ago.
It oscillates above and below a zeroline, basically showing positive or negative momentum.
I applied the OBV's calculation to it, but without the inclusion of volume (also added a lookback period) to see what would happen. I rather liked the result.
I call this the "Cumulative Rate of Change." I only recently realized that this is actually just the OBV without volume, however the OBV does not have a lookback period, and this indicator does.
Doing some more fiddling, I realized that removing both the signum and the volume from the calculation gets you basically a price chart, but calculated as the change in price over n periods. I'm leaving this in because maybe someone discovers they really like having a line chart with moving averages or some other indicator on it to leave their main chart indicator free (giving a more clear look at price action). Can't hurt, right?
Default lookback is set to 1, but play with longer settings (especially if using the traditional RoC, which is by default in TV set to 10, and is nigh on useless at 1--I like 13).
Default source is set to each candle close, but give ohlc4 a look. It smooths out the indicator a bit, and because it's an average of the open, high, low, and close it should give a better idea of what price in general is doing.
Moving averages, Bollinger Bands, Donchian Channels, candle coloring and alerts are my usual additions.
Below are some comparison images of the different indicators wrapped up in here.
Comparison of Cumulative Rate of Change with two different sources. Lookback set to 1.
Cumulative Rate of Change as a price chart, essentially.
And, lastly, the traditional Rate of Change indicator.
Inverse Divergence [HeWhoMustNotBeNamed]Experimental.
In regular scenario divergence calculation follows these procedure
Pivots on price are considered as primary source
They are compared with pivots on oscillators
Trend bias of price is used
This is an experimental version where
Pivots on oscillators are considered as primary source
They are compared with pivots on price
Trend bias of oscillator is used. Using percentrank to define oscillator trend
Caution: Not meant for trading :)
CryptoGraph MA DivergenceCryptoGraph MA Divergence is a multifunctional trading tool that identifies aspects of trend trading.
The indicator is based on moving averages, transformed into an oscillator. This way it becomes possible to get a better visualisation of MA's relative to each other, and more importantly, it enables us to spot divergences based on MA's.
This simply yet effective enhancement wasn't seen before as an oscillator, so I decided to make and share it.
Features of the indicator:
- Blue/Purple wave (Based on Moving Averages)
- White line (Average of Blue/Purple Wave)
- Green/Red Dots (Trend reversals)
- Red/Green lines (Wider red and green lines are regular divergences, thinner red and green lines are hidden divergences)
What to look for?
- A red or green dot may be a very early indication of a trend reversal, in times of consolidation they cluster together. Use other CryptoGraph indicators to filter these dot clusters.
- Blue/Purple wave crossing 0 line.
- Divergences. Divergences are automatically spotted in the indicator. HOWEVER, always try to find them manually, since the indicator won't be able to spot them all automatically.
For access contact me through TradingView or Discord.
MACD Performance - TradingEDThis case study is based on a previous MACD study, but with three different counts to compare different trends. The use of this indicator is restricted to private use, and it can be used only by invitation. Different functionalities have been added to the original code, such as alerts and signals that seek to make trading much easier to interpret by any type of trading operator of any experience level , from beginner to intermediate and advanced .
Key components of the original indicator:
● The Moving Average Convergence Divergence ( MACD ) is calculated by subtracting a long period (26) Exponential Moving Average ( EMA ) from a short (12) period EMA .
● MACD triggers technical signals when it crosses above (to buy) or below (to sell) its signal line.
● The speed of crossovers is also taken as a signal of a market is overbought or oversold.
● MACD helps traders to understand whether the bullish or bearish movement in the price is strengthening or weakening.
It is a momentum indicator that follows the trend and shows the relationship between two moving averages of the price of a security. It can function as a trigger for buy and sell signals, when you cross above (to buy) or below (to sell) your signal line. It helps to understand if the movement is bullish or bearish , if it is getting stronger or weaker. The further the MACD is above or below its baseline, it indicates that the distance between the two EMAs will be growing, often shown with a histogram that graphically represents the distance between the MACD and its signal line, and It is used to identify when the bullish or bearish momentum.
Main functions of this modified indicator:
1) You can select the type of MOVING AVERAGE, among many available options ( SMA , EMA , DEMA , HMA , etc.)
2) The SOURCES for the counts can be determined by the trader (close, open, etc).
3) The MEASURE can be based on a CANDLES count if you are trading OHLC Charts from 1D onwards, or if your trading is intraday, you can also select counts by MINUTES, HOURS or DAYS, depending on your trading style.
4) LENGTH, by default it will be loaded as in the STRATEGY, but considering the previous point, you can modify it according to your convenience.
5) You have the option to hide or show the HISTOGRAM or even the MACD if you want to see one of them.
6) You have the option to hide or show a LABEL at the top of the chart, with respect to the signals: BULLISH green, BEARISH red.
Main performance functions of this modified indicator:
I) In the case of the PERFORMANCE that appears at the right of the chart, you have the option to adjust the WIDTH of each box.
II) The TEXT of the PERFORMANCE is not modifiable, but you can customize the default color. *
III) The BACKGROUND of the PERFORMANCE, you can customize the default color. *
IV) You have the option to hide or show a PERFORMANCE that appears at the right of the chart.
Main functions to customize the style of this indicator:
a) You can select the colors for the FAST LENGTH, SLOW LENGTH AND HISTOGRAM with the colors that best suit you. * **
b) For any type of SIGNAL, it is painted as a VERTICAL LINE in the graph, you can change the color that comes by default. *
c) In the case of the LABELS that appear at the top, the text is not modifiable, but you can customize both the type of label and change the default color. *
d) You can select the colors for the BACKGROUND of the indicator according to the trend, whether it is BEARISH or BULLISH, with the colors that best suit you. *
e) You can select the color for the ZERO LEVEL, with the colors that best suit you.
* By default, they are marked as red for downtrends and green for uptrends.
** By default, they are marked as orange for downtrends and blue for uptrends.
CryptoNite - Machine Learning Strategy (15Min Timeframe)Greeting Traders! I am back with another ML strategy. :D I kept my word with combining my machine learning algorithms from Python and integrating them into Tradingview. Thanks to Tradingview's new release of Pinescript v5 it is now possible. This strategy respects the Sortino Ratio and was created using 2 years of data for 50 different cryptocurrencies. That is a total of 100 years of data and 44,849 trades to create this strategy. Now let me tell you, my computer and I are exhausted. We both been at it non-stop for about two months everyday. I refine the strategy, and the computer runs 24/7 for a few days to spit out the best results into the terminal. It's been a good run so my computer will finally get some sleep tonight.
So let's talk a little about the features of the strategy. In the settings window, you'll see the Stoploss, Take Profit Parameters, and Date Range. You can change the Date Range, but I recommend to leave the SL/TP parameters how they are because the machine learning algo chose those input. If you wish to change them you are always welcome to do so but backtest results will change. For the Take Profit parameters you'll see on the left side you something labeled time duration(displayed in minutes) and on the right side you'll see take profit values. Let's talk a little bit how they work.
TP_values = {
"0": 0.102,
"133": 0.051,
"431": 0.039,
"963": 0
}
In python, the table looks like this but it is quite easy to understand in Tradingview.
From 0-133 minutes, the strategy is looking to the reach target point 1 at 10.2% profit.
From 133-431 minutes, the strategy is looking to the reach target point 2 at 5.1% profit.
From 431-963 minutes, the strategy is looking to the reach target point 3 at 3.9% profit.
From 963+ minutes, the strategy is looking to break even at 0% profit on target point 4.
Through each target point a sell trigger is active. It will look for the best time to sell even if TP has not been reached.
This helps the trade not stay open too long.
The last thing I need to mention is the textbox displayed on the right side of your chart. This textbox displays the current Take Profit value in dollar amount. So when you're in a trade you'll know what TP target has to be reached when the open trade is active. Throughout time, the target price changes depending how long the trade has been open. If you have any questions feel free to comment down below, and enjoy this strategy!
Binary ComboThis script combines Stochastic Divergence and WaveTrend Crosses.
Stochastic Divergence may be useful for seeing a shift in momentum before the price action reflects it.
WaveTrend gives us context to the short term trend.
You can combine these together to find good entries.
RSI Linear Regression with ZigZag by zdmreBoth the RSI (Relative Strength Index) and the Linear Regression ( LR ) rank among the most popular momentum indicators used in trading. When used in combination with other technical indicators (ZigZag), both RSI, LR and ZigZag can offer value in validating trade opportunities to optimize your risk management practices.
Here’s a look at how to use RSI, LR and ZigZag (Can be used for divergence patterns.) as part of your trade analysis.
If you have new ideas to improve this indicator then let me know please.
***Use it at your own risk
MTF DPO-RSI IndicatorThis indicator uses the principle of taking the RSI of DPO readings across multiple time frames in order to provide trade signals and an overarching view of market conditions to the trader. My hope with creating this indicator was to present more divergence based signals than your typical indicator, while still keeping those signals at a high quality.
In the settings menu, you may specify:
Indicator Timeframe - the chart resolution that is used to calculate values.
Source DPO Length - the number of bars used to calculate the Detrended Price Oscillator value. The DPO value is the source for the RSI calculations.
DPO Hull Smoothing - how much smoothing is applied to the DPO . Smoothing is accomplished by taking a Hull Moving Average of the closing price, and using this to calculate the DPO value.
RSI Length - the number of bars used to calculate the RSI of the DPO value.
Time Multipliers 1 through 6 - use this to define what resolution each plot will represent. A value of 1 will represent the current Indicator Timeframe. A value of 3 will represent 3 times the current Indicator Timeframe, etc.
Show Plot 1 through 6 - toggles the display of plots.
How I trade with this indicator:
A value of under 30 represents an over sold state for that particular plot. A value of over 70 represents an overbought state for that plot.
Identify divergences on a lower timeframe plot which are apparent in overbought or oversold conditions, and confirm the signal with an overbought or oversold condition, or a divergence on a higher timeframe plot. Divergences which begin in oversold or overbought territory and end inside the 30-70 range tend to be more reliable signals, in my experience. Like all indicators, this is best when used in conjunction with other indicators. Trend indicators, such as double EMA's and Supertrend are my favorite pairing, and a stochastic RSI is a good tool to have as well.
This is my first published indicator! If you find unique ways to use it, drop me a message. I'd love to know what you find. :)
Ultimate Bullish Divergence for RSI MFI RVSI OBV w/ Buy SignalsThis strategy is based on the Indicator below and includes all of its features.
This version Includes the Strategy tester and a dynamic SL
The only drawdown of this version is that Alerts are not as customizable
Ultimate Bullish Divergence for RSI OBV RVSI MFI w/ Buy Alerts
Ultimate Bullish Divergence for RSI OBV RVSI MFI w/ Buy AlertsThis Indicator detects Divergence based on multiple Pivot points instead of just one.
- You can detect divergence on these Oscillators:
- RSI, RVSI, MFI, TRIX RSI, OBV and more soon
You can detect bullish and hidden bullish divergence:
- bullish divergence: Oscillator makes a higher low while price is making a lower low
- hidden bullish divergence: Oscillator makes a lower low while price is making a higher low
ranges where it should look for Divergence:
- To reduce false positives you are able to define and combine the following ranges:
- Manual Ranges: you’re able to type in the ranges that you came up with your manual technical analysis
- Auto Fib Ranges: option to only look for divergence below/above/within multiple Fibonacci levels
- Oversold limit: option to only look for divergence below a certain Oscillator Level
- EMA Ranges: Only look for divergence if below/above/within certain EMA's
- VWAP Ranges: option to only look for divergence below/above/within VWAP levels
Multiple options of waiting for confirmation:
- Waiting for X candle closes
- Wait for a price bounce
- Wait for an Oscillator to Oscillator EMA cross
- Wait for EMA cross (coming soon)
Divergence-Support/ResistenceAnother script based on zigzag, divergence, and to yield support and resistence levels.
This idea started with below two concepts:
▶ Support and resistence are simply levels where price has rejected to go further down or up. Usually, we can derive this based on pivots. But, if we start looking at every pivot, there will be many of them and may be confusing to understand which one to consider.
▶ Lot of people asked about one of my previous script on divergence detector on how to use it. I believe divergence should be considered as area of support and resistence because, they only amount to temporary weakness in momentum and nothing more. As per my understanding
Trend > Hidden Divergence > Divergence > Oscillator Levels of Overbought and Oversold
⬜ Process
▶ Now combining the above two concepts - what we are trying to do here is draw support resistence lines only on pivots which has observed either divergence or hidden divergence. Continuation and indecision pivots are ignored.
▶ Input requires only few parameters.
Zigzag lengths and oscillator to be used. Oscillator periods are automatically calculated based on zigzag length. Hence no other information required. You can also chose custom oscillator via external source.
▶ Display include horizontal lines of support/resistence which are drawn from the candle from where divergence or hidden divergence is detected.
▶ Support resistence lines are colored based on divergence. Green shades for bullish divergence and bullish hidden divergence whereas red shades for bearish divervence and bearish hidden divergence. Please note, red and green lines does not mean they only provide resistence or support. Any lines which are below the price should be treated as support and any line which are above the price should be treated as resistence.
▶ Divergence symbols are also printed on the bar from where divergence/hidden divergence is detected.
↗ - Bullish Hidden Divergence
↘ - Bearish Hidden Divergence
⤴ - Bullish Divergence
⤵ - Bearish Divergence
▶ Script also demonstrates usage of libraries effectively. I have used following libraries in this code.
import HeWhoMustNotBeNamed/ zigzag /2 as zg
import HeWhoMustNotBeNamed/enhanced_ta/8 as eta
import HeWhoMustNotBeNamed/ supertrend /4 as st
Can be good combination to use it with harmonic patterns.
Volume Price Trend with Divergence and Pivot Points The volume price trend indicator is used to determine the balance between a security’s demand and supply. The percentage change in the share price trend shows the relative supply or demand of a particular security, while volume indicates the force behind the trend. The VPT indicator is similar to the on-balance volume (OBV) indicator in that it measures cumulative volume and provides traders with information about a security’s money flow.
This is Volume Price Trend or VPT recalculated to be an Oscillator, a Divergence hunter was added, also Pivot Points and Alerts.
VPT is considered a "leading indicator" - in contrast to a "lagging indicator" just as Moving Averages it does not show a confirmation what already happened, but it shows what can happen in the future. For example: The chart is climbing while the VPT oscillator is slowly declining, gets weaker and weaker, maybe even prints bearish divergences? That means that a reversal might be occurring soon. Leading indicators are best paired with Stop and Resistance Lines, general Trendlines , Fib Retracements etc...Your chart is approaching a very important Resistance Trendline but the VPT shows a very positive signal? That means there is a high probability that the Resistance is going to be pushed though and becomes Support in the future.
What are those circles?
-These are Divergences. Red for Regular-Bearish. Orange for Hidden-Bearish. Green for Regular-Bullish. Aqua for Hidden-Bullish.
What are those triangles?
- These are Pivots . They show when the VPT oscillator might reverse, this is important to know because many times the price action follows this move.
Please keep in mind that this indicator is a tool and not a strategy, do not blindly trade signals, do your own research first! Use this indicator in conjunction with other indicators to get multiple confirmations.