Divergence Scaner 3D Dynamic_tHello MY friend
divergence scanner 3D dynamic
It is a dynamic 3D scanner for identifying positive and negative divergences in 10 indicators.
This indicator can identify the types of Regular_Hidden_Exaggerated divergences for bullish and bearish states in the following indicators.
(MACD_L, MACD_H, RSI, Stochastic, Volume, CCI, MFI, Momentum, OBV, ADX)
This indicator is able to identify the mentioned divergences in the desired price source and in the desired settings for each indicator.
This can be done in up to 3 scans with different sensitivities at the same time. Therefore, the chances of identifying different price points are increased.
Also, the price point for each scan is determined and drawn separately.
This is a dynamic indicator.
That is, the divergence is not misdiagnosed at any moment, and it expresses the presence or absence of divergence for each indicator, and at the first moment of divergence in each sweep, it informs the user of its existence. And if the divergence disappears at the first instant, the label text is corrected.
That is why we say it is dynamic.
This indicator can calculate and identify the divergence with the percentage of allowed deviation both in the price and in the indicator if the user needs.
This indicator has an alert function to inform about the formation of divergence in one scan with desired settings for all divergence modes and for all 10 indicators.
This indicator can label the last 5 divergences for positive and negative divergences and for all three scans. Also display the Fibonacci level for the last divergence.
According to your needs, you can activate only a number of scans that you want or activate only a number of indicators that you want.
The logic of calculation and identification of divergence in the indicator:
As you know, divergences are more valid if they occur between two consecutive peaks and valleys.
In this indicator, three scans are considered, and the user can identify tiny and small pivots according to his needs and strategy by entering different degrees of sensitivity for each scan.
The indicator identifies the desired divergences for 2 consecutive valleys and 2 consecutive peaks in each scan separately and displays them to the user.
Important note:
This indicator is not limited to identifying the indicator points only in line with the price points, that is, the price points and the indicator may not be in the same line.
The higher the sensitivity of your scan, the smaller waves will be detected, and the lower the selection number, the larger waves will be detected.
By enabling pints you can see detected pivots and also by enabling Fibonacci you can see the value of the Fibonacci number for the last detected divergence.
You can see the deviations with the allowed deviation rate if needed and You can also get midpoint error and midline error.(More details are given in the clip.)
This indicator can be customized according to your needs and will identify the divergences of your choice for active scans.
For better display in label printing, the indicator tries to print the output of all active scans in one label, provided that the label printing location is the same.
Note that divergence label printing is done only with the lowest and highest price.
However, drawing the divergence line and printing the point labels depends on the price source you select in each scan.
You can see the scan number written in front of the marker name on the printed label to identify which scan this divergence is for.
Also, before the name of the indicator, an abbreviation related to the type of divergence is also written so that you can understand the type of divergence. For example, H stands for HD divergence.
It is better to consider a color for each scan so that it remains easily in your mind and you can easily recognize the points of each scan.
It is better to adjust the detection sensitivity in scans so that small and large spots are detected simultaneously to increase the performance of the marker.
last word :
Due to the capability of three simultaneous scans as well as dynamics at any moment, we think that the error in detecting the divergence in this indicator is below 1% and also the error in finding the divergence is below 3%. Also, the chances of identifying different price points are increased.
This can be said. It is a very good implementation. You can experience it in back test and forward test.
I tried to show you the full explanation with details in the form of a few clips. You can refer to my YouTube channel for a better introduction of the indicator and to know how to set the settings correctly.
Be careful to experience better execution speed ,Run the indicator when the market is open.
thank you
Ccidivergence
Bonsai OS (Oscillators)Bonsai OS combines four oscillators (RSI, CCI, Stochastic, MACD) in one interface. Features divergence detection, color-intensity, and insights into divergences. Assists traders in spotting potential pivot points.
═════════════════════════════════════════════════════════════════════════
🌳 Bonsai OS 🌳 Advanced Oscillator Suite
📘 Overview
Bonsai OS is a tool tailored for traders focusing on reversal strategies and those keen on identifying market divergences. Combining multiple oscillators into one unified interface, it aids traders in pinpointing potential pivot reversal points.
📌 Algorithm Logic
• Multi-Oscillator Integration: Bonsai OS calculates and integrates the values from four standard oscillators: RSI, CCI, Stochastic, and MACD. Each oscillator's value is derived from its respective mathematical formula, analyzing historical data points.
• Divergence Detection: The tool runs a series of comparisons between price action and oscillator values. When discrepancies (divergences) are observed, they are highlighted, suggesting potential market reversals.
• Price Strength Visualization: A gradient background that is determined by an average of the oscillator values in relation to their historical norms, thereby providing a visual cue about the current price strength, whether it is strong or weak.
• Alerts: Users can set up notifications based on specific divergence insights. Once set criteria are met, alerts are triggered.
🎯 Purpose
• For Professionals: Bonsai OS offers integrated oscillator readings, allowing a more in-depth market analysis.
• For Beginners: Simplified readings and visual cues make it easier for newcomers to understand oscillator indicators and market conditions.
🛠 Distinctive Elements
• Oscillator Fusion: Bonsai OS goes beyond just grouping oscillators. It looks for matching divergences across them, aiming to find stronger signals for market reversals.
• Divergence Indicators: Bonsai OS identifies divergence patterns between price trends and oscillator readings, highlighting their intensity with color variations.
• Insight into Failed Divergences: Recognizing not all divergences lead to reversals, Bonsai OS provides markers for potential false signals, helping traders exercise caution and fine-tune their strategies.
Getting Bullish/Bearish and Divergences
📊 Features
• Data Source Customization: Users have the flexibility to choose between default data inputs or adjust to their preferred price points (like High & Low).
• Combined Divergence Signals: Beyond individual oscillator divergences, Bonsai OS identifies instances when several oscillators indicate divergence at the same time.
• Adaptable Outputs: Outputs like 'Bullish Divergence ▲', 'Getting Bullish ▲', 'Getting Bearish ▼' and 'Bearish Divergence ▼' are plotted as non-displayable 1 or 0 for seamless integration into other custom indicators, ensuring a harmonious integration.
Here's an example of a custom indicator that can be used for inputting data from external sources:
//@version=5
indicator("My Script Template", overlay = true)
group_name = "External Source"
external = input.source(title = "Source", defval = close, inline = "external", group = group_name)
val = input.int(title = ">", defval = 0, inline = "external", group = group_name)
// Your logic follows here...
Bonsai OS as External Source
🎛 How To Use Bonsai OS
1. Select the desired oscillator.
2. Monitor the color changes for market condition insights.
3. Look out for divergence markers to anticipate potential market shifts.
4. If required, set up alerts for real-time updates.
Indicator Settings Menu
📜 Feedback & Continual Development
We welcome your feedback. It's essential for the continuous improvement of Bonsai OS and to better serve the TradingView community.
❗️ Disclaimer
Trading involves risks. Bonsai OS aims to provide an analytical tool to support traders, but it's essential to complement its insights with other research. Always seek advice from financial professionals and trade responsibly.
TrendFollow-1HThis is a trading strategy specially used on btcusdtperp in binance 1H chart
The most important part of this strategy is to use Support and Resistance with trading volume
Auxiliary indicators are include Directional Movement Index, trading volume, Commodity Channel Index,volume-weighted average price,Range Filter
Why is it not applicable to other trading varieties or exchanges?
Because the activity of each trading target is different from the trading volume, this strategy is very focused on the change of trading volume, so it may not be applicable to every trading variety
The idea of this strategy is to chase when the trend in the market is clear
Determine whether to break support or resistance to identify trends
But the market is full of false breakouts
Therefore, trading volume is an important indicator for judging the true and false.
Therefore, when the price breaks through support or resistance, accompanied by a huge trading volume, and forms a resonance with auxiliary indicators, the strategy will follow the trend, a time stop loss is also set. After entering the market, if there is no immediate profit to the stop profit, you will leave the market first.
But the market is always random, so the profit and loss ratio must be taken into account
Use a fixed stop loss space in exchange for a larger profit space, and ensure that the expected value is positive to make stable profits in the market
Therefore, this strategy uses 3.2% stop loss, 3.3% Take profit1 and 7.2% take profit2
About 1.5:1 profit and loss ratio to ensure positive expected value
Because the market has a clear trend only about 10% of the time
So the trading frequency of this strategy is very low
According to the backtest of up to 2021-01-01 till now , it takes about 5 days to make a transaction
User can choose their own leverage to obtain higher returns. But be sure to prioritize risk.
In order to prevent you from using this strategy without knowing it, the trading date of this strategy is only executed until the release date, and positions will not be opened and closed for subsequent markets.
You can contact me if you want to know more about this strategy
這是專門用於幣安1H圖表中btcusdtperp的交易策略
本策略最重要的部分是將支撐和阻力與交易量一起使用
輔助指標包括ADX,成交量,CCI,VWAP,Range Filter等
為什麼不適用於其他交易品種或交易所?
由於每個交易標的的活躍度與交易量不同,本策略非常注重交易量的變化,因此不一定適用於每個交易品種
這個策略的方法是在趨勢明朗的時候進行趨勢跟隨
確定是否打破支撐或阻力以識別趨勢
但市場充滿假突破
因此,成交量是判斷真假的重要指標。
當價格突破支撐位或阻力位,伴隨著巨大的成交量,並與輔助指標形成共振時,策略會順勢而為,同時設置時間止損。進場後,如果沒有立即獲利到止盈,就離場。
但市場總是隨機的,所以必須考慮盈虧比
用固定的止損空間換取更大的盈利空間,保證預期值為正,才能在市場中穩定獲利
因此,該策略使用 3.2% 止損、3.3% 止盈1 和 7.2% 止盈2
約1.5:1盈虧比,確保正期望值
因為市場只有大約 10% 的時間有明顯的趨勢
所以這個策略的交易頻率很低
根據2021-01-01至今的回測,交易頻率大約5天一次
用戶也可以選擇適合自己的槓桿以獲得更高的收益。但一定要優先考慮風險。
為防止您在不知情的情況下使用本策略,本策略的運行交易的日期僅至2023-05-30止,後續日期將不開倉和平倉。
如果您想了解更多有關此策略的信息,可以聯繫我。
Normalized CCI Divergence StrategyStrategy Overview:
This script takes the Commodity Channel Index and normalizes the equation to be read easier by the user. Bullish, Bearish, Hidden Bullish, and Hidden Bearish divergences are identified and displayed in the underlay. Hidden Bullish and Hidden Bearish are turned off by default, but can be turned on in the user settings. The strategy itself signals long or short based on the appearance of these divergences in addition to previous CCI values being above or below a threshold. *Shorter timeframes such as 5M are recommended.* 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”. Make sure to understand the TP/SL ratio that you desire before use, as the desired hit rate/profitability percentage will be affected accordingly. 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 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.
Fisherized CCIIntroduction
This here is a non-repainting indicator where I use inverse Fisher transformation and smoothing on the well-known CCI (Commdity Channel Index) momentum indicator.
"The Inverse Fisher Transform" describes the calculation and use of the inverse Fisher transform by Dr . Ehlers in 2004. The transform is applied to any indicator with a known probability distribution function. It enables to transform an indicator signal into the range between +1 and -1. This can help to eliminate the noise of an indicator.
The CCI is an momentum indicator which describes the distance of the price to the average price.
For smoothing I used the Hann Window and NET (Noise Elimination Technique) methods.
Additional Features
Divergence Analysis
Trend-adaptive Histogram
Timeframe selection
Usage
It is usually used to spot potential trend reverals or mean-reversion (against the trend) trades on lower timeframes. IMO it can be even used to spot trend-following trades. It always depends on which settings you have, which timeframe do you use and which indicators you combine with it.
The suggested timeframe for this indicator is 15 min (with the length setting on 50).
The histogram with adaptive mode enabled could be used as filter applied on the buy and sell signals.
The divergence analysis can help to spot additional entries/exits or confirm the buy and sell signals.
Always try to find the best settings! This indicators has a lot of customization options you should take advantage of.
Signals
The indicator uses the following logic to generate the buy and sell signals:
Normal
Buy -> When CCI and MA go above the top band (usually +100) and cross
Sell -> When CCI and MA go below the the bottom band (usually -100) and cross
Fisherized
Buy -> When CCI and MA go above the the zero line and cross
Sell -> When CCI and MA go below the the zero line and cross
Have fun with the indicator! I am open for feedback and questions. :)
Strength of Divergence Across Multiple IndicatorsOverview:
One-stop shop for all your divergence needs, including:
(1) A single metric for divergence strength across multiple indicators.
(2) Labels that make it easy to spot where the truly strong divergence is by showing the overall divergence strength value along with the number of divergent indicators. Hovering over the label shows a breakdown of each divergent indicator and its individual divergence strength value.
(3) Fully customizable, including inputs for pivot lengths, divergence types, and weights for every component of the divergence strength calculation. This allows you to quickly and easily optimize the output for any chart. Don't worry, the default settings will have you covered if you're not interested in what's going on under the hood.
The Divergence Strength Calculation:
The total divergence strength value is the sum of the divergence strengths of all indicators for which divergence was detected at a given bar. Each indicator's individual divergence strength is comprised of two basic components: (1) |ΔPrice| - the magnitude of the change in price over the divergence period (pivot-to-pivot), and (2) |ΔIndicator| - the magnitude of the change in indicator value over the divergence period.
Because different indicators' scales and volatility can vary greatly, the Δ values are expressed in terms of standard deviation to ensure that the values are meaningful and equitable across all indicators and assets/instruments/currency pairs, etc:
|ΔIndicator| = |indicator_value_1 - indicator_value_2| / 2 * StDev(indicator_series,100)
Calculation Weights:
All components of the calculation are weighted and can be modified on the Inputs page in settings (weights are simply multipliers). For example, if you think hidden divergence should carry less weight than regular divergence, you can assign it a lesser weight. Or if you think RSI divergence is worth more than OBV divergence, you can adjust their weights accordingly. List of weights:
Regular divergence weight - default = 1
Hidden divergence weight - default = 1
ΔPrice weight - default = 0.5 (multiplied by the ΔPrice component)
ΔIndicator weight - default = 1.5 (multiplied by the ΔIndicator component)
RSI weight - default = 1.1
OBV weight - default = 0.8
MACD weight - default = 0.9
STOCH weight - default = 0.9
Development for additional indicators is ongoing, as is research into the optimal weight configuration(s).
Other Inputs:
Pivot lengths - specify the number of bars before and after each pivot high/low to consider it a valid candidate for divergence.
Lookback bars and Lookback pivots - specify the number of bars or the number of pivots to look back across.
Price sources - specify separate price sources for bullish and bearish divergence
Display settings - specify how lines and labels should display, including which divergence strength values should show the largest labels. Include/exclude specific divergence types and indicators.
Please report any bugs, or let me know if you have any enhancement suggestions or requests for additional indicators.
@reees
resistances and divergence[zavaUnni]
Select from selectable settings: rsi, cci, mfi, or stochstic
The default indicator is set to cci.
When you select an indicator in Settings, you can see the diversity that occurs in that indicator.
Resistance fills the histogram in yellow; the stronger the resistance, the higher the saturation.
If the volume is large but the change rate of candlestic(spred_rate) is not large, it means resistance has occurred.
It is a method of finding anomalies in the spred_rate and volume relationship.
After obtaining the accumulated spred_raterelative to the accumulatedvolume value,
we calculated that the larger the difference is, the larger the resistance value.
The formula with the resistanc
a_sma = ta.cum(spred_rate)/ta.cum(volume)
ifpricebull = open+(open*a_sma * volume)
ifpricebear = open-(open*a_sma * volume)
bullD = close>ifpricebull or closeifpricebull or close<ifpricebear? 0 : math.abs(ifpricebear-close)/close
This calculated resistance index was percentaged based on the highest value over the period and then reflected in the color saturation.
If the short length of ma is above the long length of ma, it is reported as an upward trend and marked in green on the top bar
In the opposite case, the bottom bar is marked in red.
The narrower the separation between short length and long length, the more transparent the color becomes.
e value is as follows
Bogdan Ciocoiu - Code runnerDescription
The Code Runner is a hybrid indicator that leverages other pre-configured, integrated open-source algorithms to help traders spot regular and continuation divergences.
The Code Runner specialises in integrating some of the most popular oscillators well known for their accuracy when scalping using divergence strategies.
Uniqueness
The Code Runner stands out as a one-stop-shop pack of oscillator algorithms that traders can further customise to spot divergences.
The indicator's uniqueness stands from its capability to recast each algorithm to apply to the same scale. This feature is achieved by manually adjusting the outputs of each algorithm to fit on a scale between +100 and -100.
Another benefit of the Code Runner comes from its standardisation of outputs, mainly consisting of lines. Showing lines enables traders to draw potential regular and continuation divergences quickly.
The indicator has been pre-configured to support scalping at 1-5 minutes.
Open-source
The Code Runner uses the following open-source scripts and algorithms:
www.tradingview.com
www.tradingview.com
www.tradingview.com
www.tradingview.com
www.tradingview.com
www.tradingview.com
www.tradingview.com
www.tradingview.com
These algorithms are available in the public domain either in TradingView space or outside (given their popularity in the financial markets industry).
Bogdan Ciocoiu - MoonshotDescription
Moonshot is an indicator that encapsulates the value delivered by the TSI, MACD, Awesome Oscillator and CCI algorithms to produce signals to enable users to enter positions in ideal market conditions. Moonshot integrates the value delivered by the above four algorithms into one script.
This indicator is particularly useful when trading continuation/reversal divergence strategies.
Uniqueness
The Moonshot's uniqueness stands from integrating the above algorithms into the same visual area and leveraging preconfigured parameters suitable for 1-3 minute scalping techniques.
In addition, Moonshot allows swapping or furthermore configuring the above four algorithms in such a way to align signals by colour-coding or shape thickness to aid the users with identifying any emerging patterns quicker.
Furthermore, Moonshot's uniqueness is also reflected in the way it has standardised the outputs of each algorithm to look and feel the same (including the scale at which the shapes are shown) and, in doing so, enables users to plug them in/out as needed.
Open-source
The indicator leverages the following open-source scripts/algorithms:
www.tradingview.com
www.tradingview.com
www.tradingview.com
www.tradingview.com
CCI heatmap(15-170)This is CCI (Commodity channel index) heatmap for the period lengths (15 to 170).
How to use :
1.) When overwhelming green appears, it means price is supposed to be trending up.
2.) When white appears, it means price is supposed to be neutral.
3.) When overwhelming red appears, it means price is supposed to be trending down.
Note: This indicator is supposed to be used with CCI heatmap(175-330) and CCI heatmap(335-490) aligned in increasing order of period lengths for higher resolution of period lengths. Otherwise use CCI heatmap(low resolution) indicator in which these 3 high resolution indicator is adjusted to a single indicator.
(Expect remaining indicator to be published to the public in mid of march 2021)
Simple CCI Spotter™TradeChartist Simple CCI Spotter is an elegant version of the classic CCI indicator and helps spot price trends using visually engaging and appealing CCI plot and background. The Bull and the Bear background fills are highly useful for traders who like to visually understand areas of entry and exit based on CCI .
===================================================================================================================
What does Simple CCI Spotter do?
Plots CCI with visually engaging colours for Bull and Bear zones (Green and Red) with optional background fill.
Plots CCI coloured bars on main chart based on user preferred Upper and Lower CCI bands (Default - 25/-25).
Plots CCI based on EMA smoothing (1 for Regular CCI without smoothing).
Plots Heikin Ashi CCI if enabled from indicator settings.
Plots CCI highs of Bull Zone and RSI lows of Bear Zone. Helps visually spot divergences.
===================================================================================================================
Note:
Default Settings:
5 period EMA Smoothed CCI .
For Heikin Ashi CCI on normal bars, enable ᴜsᴇ ʜᴇɪᴋɪɴ ᴀsʜɪ ᴄᴄɪ and change EMA CCI sᴍᴏᴏᴛʜɪɴɢ to 1.
===================================================================================================================
[NLX-L2] Oscillator Divergences MTF- Oscillator Divergences -
This indicator give you signals on various oscillator divergences (Regular/Hidden Bull/Bear) you can choose from:
CCI
Donchian
Fisher Transform
MACD
MFI
Momentum
OBV
QQE
RSI
RSX
TSI
- How to Use -
1. Add a Trend Indicator like Trend Index MTF to your chart
2. Add this Oscillator Divergences Indicator to your Chart and select the Trend Index MTF with Type L1 in the Settings as Signal Source
3. Add the Backtest Module to your Chart and select the Signal with Type L2 as Source
The Hurst Exponent Signal Filter can be used as well to filter some of the noise (release coming soon)!
- Alerts for Automated Trading -
See my signature below. Contact me for the Alert module.
RSI, CCI WaveTrend God by Keiron RichieThis script uses Relative Strength Index ( RSI ), Commodity Channel Index ( CCI ) and WaveTrend (WT) together as an oscillator with an additional custom RSI rate of change indicator and buy/sell background color zones derived from a complex combination of these indicators.
The White line shows the moving average of RSI as an oscillator
The Green line is the fast Exponential Moving Average ( EMA ) of CCI & the Red line is the slow EMA of CCI .
The Blue area is the EMA of WaveTrend WT
How to read:
If the RSI , CCI or WT crosses above a programmed threshold and the other lines are also within a pre-defined buy range then the background will change to green for buy.
If the RSI , CCI or WT crosses below a programmed threshold and the other lines are also within a pre-defined sell range then the background will change to red for sell.
Where requirements are not met, the background is neither green nor red.
There are also red and green indicator x’s at the top/bottom of the indicator. They show a drastic change in Relative strength within a short period. This often indicates an immediate buy or sell opportunity.
Buy, Sell, Exit Buy and Exit Sell alerts are included.
Use the link below to obtain access to this indicator.
[CryptoWho] Multi DivergencesThis script looks for divergences on up to six indicators, sums them up and draw a histogram below the chart.
You have several options to customize the output:
1. indicators: RSI, Stoch RSI, MACD, CCI, OBV, WaveTrend (LazyBear)
2. Divergences: Regular, hidden, both
3. Lookback period for divergences
BITSTAMP:BTCUSD
CCI Divergence PointerThis script points regular and optionally hidden types of bullish and bearish CCI divergences on the chart by drawing the divergence lines and optionally labels.
Hidden divergence is disabled by default, it can be enabled over settings window.
Regular divergence is enabled by default, it can be disabled over settings window.
There is an option to display the price channel additionally.
Added alerts for all types of divergences.
The Trend Hawk Study v2.0Study Version of the TrendHawk Strategy based on Commodity Channel Index(CCI). Comes with built-in alerts and stop loss.