RSI-MFI Machine Learning [ Manhattan distance ]The RSI-MFI Machine Learning Indicator is a technical analysis tool that combines the Relative Strength Index (RSI) and Money Flow Index (MFI) indicators with the Manhattan distance metric.
It aims to provide insights into potential trade setups by leveraging machine learning principles and calculating distances between current and historical data points.
The indicator starts by calculating the RSI and MFI values based on the specified periods for each indicator.
The RSI measures the strength and speed of price movements, while the MFI evaluates the inflow and outflow of money in the market.
By combining these two indicators, the indicator captures both price momentum and money flow dynamics.
To apply machine learning principles , the indicator utilizes the Manhattan distance metric to quantify the similarity or dissimilarity between different data points.
The Manhattan distance is calculated by taking the absolute differences between corresponding RSI and MFI values of the current point and historical points.
Next, the indicator determines the nearest neighbors based on the calculated Manhattan distances.
The number of nearest neighbors is determined by the square root of the specified count of neighbors.
By identifying similar patterns and behaviors in the historical data, the indicator aims to uncover potential trade opportunities.
Trade signals are generated based on the calculated distances. The indicator compares each distance with the maximum distance encountered so far.
If a new maximum distance is found, it updates the value and considers the corresponding direction as a potential trade signal. The trade signals are stored in an array for further analysis.
Furthermore, the indicator considers the price action and a calculated regression line to differentiate between long and short trade signals.
Long trade signals are identified when the closing price is above the regression line, indicating a potentially bullish setup.
Short trade signals are identified when the closing price is below the regression line, indicating a potentially bearish setup.
The RSI-MFI Machine Learning Indicator visualizes the regression line on the price chart and labels the bars accordingly. It highlights the regression line with different colors based on the trade signals, making it easier for traders to identify potential entry or exit points.
Traders can use the RSI-MFI Machine Learning Indicator as a tool to analyze price movements, evaluate market conditions based on RSI and MFI, leverage machine learning concepts to find similar patterns, and make informed trading decisions.
MFI
Overbought & Oversold HeatmapThe Broadview OBOS Heatmap is a new indicator that takes commonly used oscillators and transforms them into a powerful heatmap, providing traders and investors with an unparalleled level of insight into market trends and cycles. With the ability to visualize 15 different oscillators all at once, the Broadview Overbought & Oversold Heatmap offers users the ability to control and analyze an impressive array of indicators.
The Relative Strength Index (RSI) is a momentum oscillator that measures the speed and change of price movements. It is often used to identify overbought and oversold conditions in the market. The Money Flow Index (MFI) is a volume-weighted version of the RSI, used to measure buying and selling pressure. The Commodity Channel Index (CCI) is a versatile oscillator used to measure momentum, trend, and overbought/oversold conditions. It is often used to identify trend reversals.
The Aroon Oscillator is a trend-following oscillator that measures the strength of a trend and the potential for a trend reversal. The Relative Volatility Index (RVI) is a volatility-based oscillator that measures the strength of a trend and potential trend reversals. The Stochastic Detrended Price Oscillator is a momentum oscillator that measures the difference between the current price and its moving average.
The Stochastic Elders Force Index is an oscillator used to measure buying and selling pressure. The Stochastic Relative Strength Index is a momentum oscillator used to measure the strength of a trend. The Stochastic Relative Vigor Index is a momentum oscillator used to measure the trend strength and potential reversals. The Stochastic Klinger Oscillator is a momentum oscillator that measures buying and selling pressure. The Stochastic Awesome Oscillator is a momentum oscillator that measures the difference between two moving averages.
The Stochastic Ultimate Oscillator is an oscillator used to measure the strength of a trend and potential reversals. The Stochastic Chande Momentum Oscillator is a momentum oscillator that measures the difference between two moving averages. The Stochastic On Balance Volume Oscillator is a volume-based oscillator used to measure the buying and selling pressure. The Stochastic MACD is a momentum oscillator that measures the difference between two moving averages.
The Broadview OBOS Heatmap is an extremely powerful indicator that reimagines commonly used oscillators as a heatmap, providing traders and investors with an unparalleled level of insight into market trends and cycles. With the ability to control and analyze 15 different oscillators at once, the Broadview Overbought & Oversold Heatmap offers users an incredibly comprehensive tool for analyzing market trends and making informed trading decisions.
Moonhub IndexMoonhub Index combines several popular technical indicators to create an aggregated index that aims to give a clearer overall picture of the market. The index takes into account the current market condition (trending, ranging, or volatile) to adjust its calculations accordingly.
The indicators used in this composite index are:
Hull Moving Average (HMA)
Fisher Transform (FT)
Williams Alligator
Moving Average Convergence Divergence (MACD)
Average True Range (ATR)
On-Balance Volume (OBV)
Money Flow Index (MFI)
Accumulation/Distribution (AD)
Pivot Points
True Strength Index (TSI)
Volume-Weighted Average Price (VWAP)
The script calculates the values of each indicator and then normalizes and weighs them according to predefined weights. The composite index is formed by summing the weighted values of each indicator. The final Moon Index is plotted on the chart, along with several other related lines like the exponential moving averages (EMA) and simple moving averages (SMA) of the index.
This custom index can be used by traders to get a more comprehensive view of the market and make better-informed trading decisions based on the combined insights of multiple indicators.
Stochastic Momentum Index (SMI) of Money Flow Index (MFI)"He who does not know how to make predictions and makes light of his opponents, underestimating his ability, will certainly be defeated by them."
(Sun Tzu - The Art of War)
▮ Introduction
The Stochastic Momentum Index (SMI) is a technical analysis indicator that uses the difference between the current closing price and the high or low price over a specific time period to measure price momentum.
On the other hand, the Money Flow Index (MFI) is an indicator that uses volume and price to measure buying and selling pressure.
When these two indicators are combined, they can provide a more comprehensive view of price direction and market strength.
▮ Improvements
By combining SMI with MFI, we can gain even more insights into the market. One way to do this is to use the MFI as an input to the SMI, rather than just using price.
This means we are measuring momentum based on buying and selling pressure rather than just price.
Another way to improve this indicator is to adjust the periods to suit your specific trading needs.
▮ What to look
When using the SMI MFI indicator, there are a few things to look out for.
First, look at the SMI signal line.
When the line crosses above -40, it is considered a buy signal, while the crossing below +40 is considered a sell signal.
Also, pay attention to divergences between the SMI MFI and the price.
If price is rising but the SMI MFI is showing negative divergence, it could indicate that momentum is waning and a reversal could be in the offing.
Likewise, if price is falling but the SMI MFI is showing positive divergence, this could indicate that momentum is building and a reversal could also be in the offing.
In the examples below, I show the use in conjunction with the price SMI, in which the MFI SMI helps to anticipate divergences:
In summary, the SMI MFI is a useful indicator that can provide valuable insights into market direction and price strength.
By adjusting the timeframes and paying attention to divergences and signal line crossovers, traders can use it as part of a broader trading strategy.
However, remember that no indicator is a magic bullet and should always be used in conjunction with other analytics and indicators to make informed trading decisions.
VolumeIndicatorsLibrary "VolumeIndicators"
This is a library of 'Volume Indicators'.
It aims to facilitate the grouping of this category of indicators, and also offer the customized supply of the source, not being restricted to just the closing price.
Indicators:
1. Volume Moving Average (VMA):
Moving average of volume. Identify trends in trading volume.
2. Money Flow Index (MFI): Measures volume pressure in a range of 0 to 100.
Calculates the ratio of volume when the price goes up and when the price goes down
3. On-Balance Volume (OBV):
Identify divergences between trading volume and an asset's price.
Sum of trading volume when the price rises and subtracts volume when the price falls.
4. Accumulation/Distribution (A/D):
Identifies buying and selling pressure by tracking the flow of money into and out of an asset based on volume patterns.
5. Chaikin Money Flow (CMF):
A variation of A/D that takes into account the daily price variation and weighs trading volume accordingly.
6. Volume Oscillator (VO):
Identify divergences between trading volume and an asset's price. Ratio of change of volume, from a fast period in relation to a long period.
7. Positive Volume Index (PVI):
Identify the upward strength of an asset. Volume when price rises divided by total volume.
8. Negative Volume Index (NVI):
Identify the downward strength of an asset. Volume when price falls divided by total volume.
9. Price-Volume Trend (PVT):
Identify the strength of an asset's price trend based on its trading volume. Cumulative change in price with volume factor
vma(length, maType, almaOffset, almaSigma, lsmaOffSet)
@description Volume Moving Average (VMA)
Parameters:
length : (int) Length for moving average
maType : (int) Type of moving average for smoothing
almaOffset : (float) Offset for Arnauld Legoux Moving Average
almaSigma : (float) Sigma for Arnauld Legoux Moving Average
lsmaOffSet : (float) Offset for Least Squares Moving Average
Returns: (float) Moving average of Volume
mfi(source, length)
@description MFI (Money Flow Index).
Uses both price and volume to measure buying and selling pressure in an asset.
Parameters:
source : (float) Source of series (close, high, low, etc.)
length
Returns: (float) Money Flow series
obv(source)
@description On Balance Volume (OBV)
Same as ta.obv(), but with customized type of source
Parameters:
source : (float) Series
Returns: (float) OBV
ad()
@description Accumulation/Distribution (A/D)
Returns: (float) Accumulation/Distribution (A/D) series
cmf(length)
@description CMF (Chaikin Money Flow).
Measures the flow of money into or out of an asset over time, using a combination of price and volume, and is used to identify the strength and direction of a trend.
Parameters:
length
Returns: (float) Chaikin Money Flow series
vo(shortLen, longLen, maType, almaOffset, almaSigma, lsmaOffSet)
@description Volume Oscillator (VO)
Parameters:
shortLen : (int) Fast period for volume
longLen : (int) Slow period for volume
maType : (int) Type of moving average for smoothing
almaOffset
almaSigma
lsmaOffSet
Returns: (float) Volume oscillator
pvi(source)
@description Positive Volume Index (PVI)
Same as ta.pvi(), but with customized type of source
Parameters:
source : (float) Series
Returns: (float) PVI
nvi(source)
@description Negative Volume Index (NVI)
Same as ta.nvi(), but with customized type of source
Parameters:
source : (float) Series
Returns: (float) PVI
pvt(source)
@description Price-Volume Trend (PVT)
Same as ta.pvt(), but with customized type of source
Parameters:
source : (float) Series
Returns: (float) PVI
Direction Analysis WavesDescription
It is an indicator that aims to provide information about the direction of the trend, the basis of which is the CCI, CMO and MFI indices.
Symbols on the indicator are for informational purposes. Information about colors and symbols is given below.
Blue Wave: Graphical representation of the Commodity Channel Index (CCI) curve.
Green/Red Wave: Graphical representation of the Chande Momentum Oscillator (CMO) curve. This curve turns green when it rises above zero, and turns red when it falls below zero.
Yellow Wave: Graphical representation of the Money Flow Index (MFI) curve.
Blue Line: CCI line.
Green/Red Cross: CCI line shows green cross on red cross below 0 value.
Warning
As a result, this indicator should be expected to give an idea of the trend direction, not a trading signal.
Version
v1.0
Bender Money Flow Index MTF with Buy & Sell SignalsMFI = Money Flow Index
MTF = Multi Timeframe
The Money Flow Index (MFI) is a technical indicator that can generate sentiment insight or pressure using both price and volume data.
Configurable Indicator Signals
Signal on MFI line directional changes
Invalidate Signal if not in a overbought or oversold pressure zone
Invalidate signal if MFI line is not in confluence with the moving average
Invalidate signal after a defined number of bars in the opposing direction
Please Note:
This indicator is also embedded in the Bender Bot strategy script. Signals and confluence identified by this indicator can be used to autonomously mange strategies. The below features will not have any effect on this indicator's functionality when used as a stand alone indicator.
Bender Bot Strategy Confluence
Require any signal and MFI directional confluence before opening any trade
Require any signal and MFI and Moving average to be in confluence before opening any trade
Require any signal to be in directional confluence with the full MFI signal
Please feel free to contact me with any questions or concerns.
Profitunity - Beginner [TC]This indicator aggregates the knowledges of the first level of the Trading Chaos approach by Bill Williams. It uses the Market Facilitation Index (MFI) in conjunction with the type of bar(candle) to generate strong long and strong short signals.
General information
Bars numeration
All bars or candles could be numbered with the following algorithm. If we divide the candle for 3 equal parts from high to low. The highest third have the number 1, the middle one - 2, the lowest one - 3. Hence we can define the first number as the number of the third where the price opened, second - where the price closed. For example, if the price opened at the highest third and closed at the lowest one this candle has the number 13.
Trend defining
Also candles could be divided into three groups according to the trend condition: uptrend, downtrend, sideways. If the middle of the candle's trading range is above the high of the previous candle - it's uptrend candle, if below the low of the previous candle - it's downtrend candle, sideways in other candles.
Profitunity windows
According to Bill Williams MFI has 4 windows - fake, green, fade and squat. I am not going to describe here the methodology of MFI, but one thing you should know that the most valuable windows are green and squat. Green state is an indication of the true move on the market. Squat the sign that the increase in volume have not triggered the trend continuation and reverse is about to happen.
How to use?
You can use this script as the helper in automatic defining the type of candle. Indicator shows only green (green candle color) and squat (red candle color) MFI states. Add script to any timeframe and asset chart to see labels.
The "strong long" label flashes when 3 conditions are met:
1. Squat candle
2. Candle number 13
3. Downtrend candle
"Strong short" label flashes when:
1. Squat candle
2. Candle number 31
3. Uptrend candle
This indicator helps to find the trend reversal points, can be used in conjunction with other TA tools to find the entry points.
Money Flow Index/MFIma/smooth vol-mfisoory for spaling not an english native speaker
this script is an extended version of MFI
i add it
mfi ema vol
and a verion that calc the MFI with smooth ma ema-vol
also the src for calc can be change now
thc code is open to explore for any use
enjoy.
Multi-Indicator Divergence ScreenerHere is a new screener for everyone.
I have applied my Better Divergence On Any Indicator logic to scan 3 different indicators and up to 6 different assets at one time. Shoutout to LonesomeTheBlue and QuantNomad for their respective work on divergence and scanner scripts. I've implemented similar logic to put together this scanner.
So far, I have added support for RSI, OBV, MACD, MFI, Stochastic, and FSR, though I'm happy to add more by request. Please note, for simplicity, I have removed the logic to filter for only overbought/oversold divergences. Because this can scan both centered oscillators and non-centered indicators, overbought/oversold does not apply to all of them. I may try to find a way to work in back in later, as time allows.
Personally, I like to find confluences different types of indicators. For instance, agreeable divergence with a centered strength oscillator like RSI and a volume based indicator like OBV gives me more confidence that there will be follow-through.
Like in the Better Divergence script, you can opt to scan for confirmed divergences, potential divergences, or both.
You have the option to show or hide a table that will tell you exactly which assets have divergence, on which indicator they were found, and how many points of divergence were identified. By default, bull divergences will be green, bear will be red, but you can change these base colors to your liking. Confirmed divergences are shown with a solid background, while potentials (if selected) are shown with transparent background. If all 3 of your chosen indicators have divergence in the same direction, the asset name will show in the bull or bear color to highlight the confluence.
Alerts have also been set up to fire on bar close. The message will essentially tell you the same thing the table does, but in condensed format.
You can choose to have alerts fire any time there is any divergence detected across all assets, only when there are divergences on at least 2 of the chosen indicators for a given asset, or limit them to only when all 3 indicators show divergence in agreement.
UFO + Realtime Divergences (UO x MFI)UFO + Realtime Divergences (UO x MFI) + Alerts
The UFO is a hybrid of two powerful oscillators - the Ultimate Oscillator (UO) and the Money Flow Index (MFI)
Features of the UFO include:
- Optional divergence lines drawn directly onto the oscillator in realtime.
- Configurable alerts to notify you when divergences occur, as well as centerline crossovers.
- Configurable lookback periods to fine tune the divergences drawn in order to suit different trading styles and timeframes.
- Background colouring option to indicate when the oscillator has crossed its centerline.
- Alternate timeframe feature allows you to configure the oscillator to use data from a different timeframe than the chart it is loaded on.
- 2x MTF triple-timeframe Stochastic RSI overbought and oversold confluence signals painted at the top of the panel for use as a confluence for reversal entry trades.
The core calculations of the UFO+ combine the factory settings of the Ultimate Oscillator and Money Flow Index, taking an average of their combined values for its output eg:
UO_Value + MFI_Value / 2
The result is a powerful oscillator capable of detecting high quality divergences, including on very low timeframes and highly volatile markets, it benefits from the higher weighting of the most recent price action provided by the Ultimate Oscillators calculations, as well as the calculation of the MFI, which incorporates volume data. The UFO and its incorporated 2x triple-timeframe MTF Stoch RSI overbought and oversold signals makes it well adapted for low timeframe scalping and regular divergence trades in particular.
The Ultimate Oscillator (UO)
Tradingview describes the Ultimate Oscillator as follows:
“The Ultimate Oscillator indicator (UO) is a technical analysis tool used to measure momentum across three varying timeframes. The problem with many momentum oscillators is that after a rapid advance or decline in price, they can form false divergence trading signals. For example, after a rapid rise in price, a bearish divergence signal may present itself, however price continues to rise. The Ultimate Oscillator attempts to correct this by using multiple timeframes in its calculation as opposed to just one timeframe which is what is used in most other momentum oscillators.”
You can read more about the UO and its calculations here
The Money Flow Index ( MFI )
Investopedia describes the True Strength Indicator as follows:
“The Money Flow Index ( MFI ) is a technical oscillator that uses price and volume data for identifying overbought or oversold signals in an asset. It can also be used to spot divergences which warn of a trend change in price. The oscillator moves between 0 and 100. Unlike conventional oscillators such as the Relative Strength Index ( RSI ), the Money Flow Index incorporates both price and volume data, as opposed to just price. For this reason, some analysts call MFI the volume-weighted RSI .”
You can read more about the MFI and its calculations here
The Stochastic RSI (relating to the built-in MTF Stoch RSI feature)
The popular oscillator has been described as follows:
“The Stochastic RSI is an indicator used in technical analysis that ranges between zero and one (or zero and 100 on some charting platforms) and is created by applying the Stochastic oscillator formula to a set of relative strength index ( RSI ) values rather than to standard price data. Using RSI values within the Stochastic formula gives traders an idea of whether the current RSI value is overbought or oversold. The Stochastic RSI oscillator was developed to take advantage of both momentum indicators in order to create a more sensitive indicator that is attuned to a specific security's historical performance rather than a generalized analysis of price change.”
You can read more about the Stochastic RSI and its calculations here
How do traders use overbought and oversold levels in their trading?
The oversold level, that is when the Stochastic RSI is above the 80 level is typically interpreted as being 'overbought', and below the 20 level is typically considered 'oversold'. Traders will often use the Stochastic RSI at an overbought level as a confluence for entry into a short position, and the Stochastic RSI at an oversold level as a confluence for an entry into a long position. These levels do not mean that price will necessarily reverse at those levels in a reliable way, however. This is why this version of the Stoch RSI employs the triple timeframe overbought and oversold confluence, in an attempt to add a more confluence and reliability to this usage of the Stoch RSI .
What are divergences?
Divergence is when the price of an asset is moving in the opposite direction of a technical indicator, such as an oscillator, or is moving contrary to other data. Divergence warns that the current price trend may be weakening, and in some cases may lead to the price changing direction.
There are 4 main types of divergence, which are split into 2 categories;
regular divergences and hidden divergences. Regular divergences indicate possible trend reversals, and hidden divergences indicate possible trend continuation.
Regular bullish divergence: An indication of a potential trend reversal, from the current downtrend, to an uptrend.
Regular bearish divergence: An indication of a potential trend reversal, from the current uptrend, to a downtrend.
Hidden bullish divergence: An indication of a potential uptrend continuation.
Hidden bearish divergence: An indication of a potential downtrend continuation.
How do traders use divergences in their trading?
A divergence is considered a leading indicator in technical analysis , meaning it has the ability to indicate a potential price move in the short term future.
Hidden bullish and hidden bearish divergences, which indicate a potential continuation of the current trend are sometimes considered a good place for traders to begin, since trend continuation occurs more frequently than reversals, or trend changes.
When trading regular bullish divergences and regular bearish divergences, which are indications of a trend reversal, the probability of it doing so may increase when these occur at a strong support or resistance level . A common mistake new traders make is to get into a regular divergence trade too early, assuming it will immediately reverse, but these can continue to form for some time before the trend eventually changes, by using forms of support or resistance as an added confluence, such as when price reaches a moving average, the success rate when trading these patterns may increase.
Typically, traders will manually draw lines across the swing highs and swing lows of both the price chart and the oscillator to see whether they appear to present a divergence, this indicator will draw them for you, quickly and clearly, and can notify you when they occur.
Setting alerts.
With this indicator you can set alerts to notify you when any/all of the above types of divergences occur, on any chart timeframe you choose.
Configurable pivot period.
You can adjust the default pivot lookback values to suit your prefered trading style and timeframe. If you like to trade a shorter time frame, lowering the default lookback values will make the divergences drawn more sensitive to short term price action.
Disclaimer: This script includes code from the stock UO and MFI by Tradingview as well as the Divergence for Many Indicators v4 by LonesomeTheBlue.
Divergence for Many Panel (D4MP+)Divergence for Many Panel (D4MP+)
This Divergence for Many Panel indicator is built upon the realtme divergence drawing code originally authored by LonesomeTheBlue, now in the form of a panel indicator.
The available oscillators, hand picked for their ability to identify high quality divergences currently include:
- Ultimate Oscillator (UO)
- True Strength Index (TSI)
- Money Flow Index (MFI)
- Relative Strength Index (RSI)
- Stochastic RSI
- Time Segmented Volume (TSV)
- Cumulative Delta Volume (CDV)
Note : this list of available oscillators may be added to or altered at a later date.
The indicator includes the following features:
- Ability to select any of the above oscillators
- Optional divergence lines drawn directly onto the oscillator in realtime .
- Configurable alerts to notify you when divergences occur.
- Configurable pivot lookback periods to fine tune the divergences drawn in order to suit different trading styles and timeframes, including the ability to enable automatic adjustment of pivot period per chart timeframe.
- Background colouring option to indicate when the selected oscillator has crossed above or below its centerline.
- Alternate timeframe feature allows you to configure the oscillator to use data from a different timeframe than the chart it is loaded on.
- Oscillator name label, so you can clearly see which oscillator is selected, in the case you have multiple loaded onto a chart.
- Optional adjustable range bands.
- Automatic adjustment of line colours, centerlines and range band levels on a per oscillator basis by default.
- Ability to customise the colours of each of the oscillators.
What is the Ultimate Oscillator ( UO )?
“The Ultimate Oscillator indicator (UO) indicator is a technical analysis tool used to measure momentum across three varying timeframes. The problem with many momentum oscillators is that after a rapid advance or decline in price, they can form false divergence trading signals. For example, after a rapid rise in price, a bearish divergence signal may present itself, however price continues to rise. The ultimate Oscillator attempts to correct this by using multiple timeframes in its calculation as opposed to just one timeframe which is what is used in most other momentum oscillators.”
What is the True Strength Index ( TSI )?
"The true strength index (TSI) is a technical momentum oscillator used to identify trends and reversals. The indicator may be useful for determining overbought and oversold conditions, indicating potential trend direction changes via centerline or signal line crossovers, and warning of trend weakness through divergence."
What is the Money Flow Index ( MFI )?
“The Money Flow Index ( MFI ) is a technical oscillator that uses price and volume data for identifying overbought or oversold signals in an asset. It can also be used to spot divergences which warn of a trend change in price. The oscillator moves between 0 and 100. Unlike conventional oscillators such as the Relative Strength Index ( RSI ), the Money Flow Index incorporates both price and volume data, as opposed to just price. For this reason, some analysts call MFI the volume-weighted RSI .”
What is the Relative Strength Index ( RSI )?
"The relative strength index (RSI) is a momentum indicator used in technical analysis. RSI measures the speed and magnitude of a security's recent price changes to evaluate overvalued or undervalued conditions in the price of that security. The RSI can do more than point to overbought and oversold securities. It can also indicate securities that may be primed for a trend reversal or corrective pullback in price. It can signal when to buy and sell. Traditionally, an RSI reading of 70 or above indicates an overbought situation. A reading of 30 or below indicates an oversold condition. It is also commonly used to identify divergences."
What is the Stochastic RSI (StochRSI)?
"The Stochastic RSI (StochRSI) is an indicator used in technical analysis that ranges between zero and one (or zero and 100 on some charting platforms) and is created by applying the Stochastic oscillator formula to a set of relative strength index (RSI) values rather than to standard price data. Using RSI values within the Stochastic formula gives traders an idea of whether the current RSI value is overbought or oversold. The StochRSI oscillator was developed to take advantage of both momentum indicators in order to create a more sensitive indicator that is attuned to a specific security's historical performance rather than a generalized analysis of price change."
What Is Time Segmented Volume?
"Time segmented volume (TSV) is a technical analysis indicator developed by Worden Brothers Inc. that segments a stock's price and volume according to specific time intervals. The price and volume data is then compared to uncover periods of accumulation (buying) and distribution (selling)."
What is Cumulative Volume Delta ( CDV )?
"The CDV analyses the net buying at market price and net selling at market price. This means, that volume delta is measuring whether it is the buyers or sellers that are more aggressive in taking the current market price. It measures the degree of intent by buyers and sellers, which can be used to indicate who is more dominant. The CDV can be used to help identify possible trends and also divergences"
What are divergences?
Divergence is when the price of an asset is moving in the opposite direction of a technical indicator, such as an oscillator, or is moving contrary to other data. Divergence warns that the current price trend may be weakening, and in some cases may lead to the price changing direction.
There are 4 main types of divergence, which are split into 2 categories;
regular divergences and hidden divergences. Regular divergences indicate possible trend reversals, and hidden divergences indicate possible trend continuation.
Regular bullish divergence: An indication of a potential trend reversal, from the current downtrend, to an uptrend.
Regular bearish divergence: An indication of a potential trend reversal, from the current uptrend, to a downtrend.
Hidden bullish divergence: An indication of a potential uptrend continuation.
Hidden bearish divergence: An indication of a potential downtrend continuation.
Setting alerts.
With this indicator you can set alerts to notify you when any/all of the above types of divergences occur, on any chart timeframe you choose.
Configurable pivot periods.
You can adjust the default pivot periods to suit your prefered trading style and timeframe. If you like to trade a shorter time frame, lowering the default lookback values will make the divergences drawn more sensitive to short term price action.
How do traders use divergences in their trading?
A divergence is considered a leading indicator in technical analysis , meaning it has the ability to indicate a potential price move in the short term future.
Hidden bullish and hidden bearish divergences, which indicate a potential continuation of the current trend are sometimes considered a good place for traders to begin, since trend continuation occurs more frequently than reversals, or trend changes.
When trading regular bullish divergences and regular bearish divergences, which are indications of a trend reversal, the probability of it doing so may increase when these occur at a strong support or resistance level . A common mistake new traders make is to get into a regular divergence trade too early, assuming it will immediately reverse, but these can continue to form for some time before the trend eventually changes, by using forms of support or resistance as an added confluence, such as when price reaches a moving average, the success rate when trading these patterns may increase.
Typically, traders will manually draw lines across the swing highs and swing lows of both the price chart and the oscillator to see whether they appear to present a divergence, this indicator will draw them for you, quickly and clearly, and can notify you when they occur.
Disclaimer : This script includes code from several stock indicators by Tradingview as well as the Divergence for Many Indicators v4 by LonesomeTheBlue. With special thanks.
MFI + Realtime DivergencesMoney Flow Index (MFI) + Realtime Divergences + Alerts
This version of the MFI indicator adds the following 5 additional features to the stock MFI:
- Optional divergence lines drawn directly onto the oscillator in realtime.
- Configurable alerts to notify you when divergences occur.
- Configurable lookback periods to fine tune the divergences drawn in order to suit different trading styles and timeframes, including the ability to enable automatic adjustment of pivot period per chart timeframe.
- Background colouring option to indicate when the MFI oscillator has crossed above or below its centerline, or optionally when both the MFI has crossed its centerline and an external oscillator, which can be linked via the settings, has also crossed its centerline.
- Alternate timeframe feature allows you to configure the oscillator to use data from a different timeframe than the chart it is loaded on.
This indicator adds additional features onto the standard MFI , whose core calculations remain unchanged. Namely the configurable option to automatically, quickly and clearly draw divergence lines onto the oscillator for you as they occur in realtime. It also has the addition of unique alerts, so you can be notified when divergences occur without spending all day watching the charts. Furthermore, this version of the TSI comes with configurable lookback periods, which can be configured in order to adjust the sensitivity of the divergences, in order to suit shorter or higher timeframe trading approaches.
What is the Money Flow Index ( MFI )?
Investopedia describes the True Strength Indicator as follows:
“The Money Flow Index ( MFI ) is a technical oscillator that uses price and volume data for identifying overbought or oversold signals in an asset. It can also be used to spot divergences which warn of a trend change in price. The oscillator moves between 0 and 100.
Unlike conventional oscillators such as the Relative Strength Index ( RSI ), the Money Flow Index incorporates both price and volume data, as opposed to just price. For this reason, some analysts call MFI the volume-weighted RSI .”
What are divergences?
Divergence is when the price of an asset is moving in the opposite direction of a technical indicator, such as an oscillator, or is moving contrary to other data. Divergence warns that the current price trend may be weakening, and in some cases may lead to the price changing direction.
There are 4 main types of divergence, which are split into 2 categories;
regular divergences and hidden divergences. Regular divergences indicate possible trend reversals, and hidden divergences indicate possible trend continuation.
Regular bullish divergence: An indication of a potential trend reversal, from the current downtrend, to an uptrend.
Regular bearish divergence: An indication of a potential trend reversal, from the current uptrend, to a downtrend.
Hidden bullish divergence: An indication of a potential uptrend continuation.
Hidden bearish divergence: An indication of a potential downtrend continuation.
Setting alerts.
With this indicator you can set alerts to notify you when any/all of the above types of divergences occur, on any chart timeframe you choose.
Configurable pivot periods.
You can adjust the default pivot periods to suit your prefered trading style and timeframe. If you like to trade a shorter time frame, lowering the default lookback values will make the divergences drawn more sensitive to short term price action.
How do traders use divergences in their trading?
A divergence is considered a leading indicator in technical analysis , meaning it has the ability to indicate a potential price move in the short term future.
Hidden bullish and hidden bearish divergences, which indicate a potential continuation of the current trend are sometimes considered a good place for traders to begin, since trend continuation occurs more frequently than reversals, or trend changes.
When trading regular bullish divergences and regular bearish divergences, which are indications of a trend reversal, the probability of it doing so may increase when these occur at a strong support or resistance level . A common mistake new traders make is to get into a regular divergence trade too early, assuming it will immediately reverse, but these can continue to form for some time before the trend eventually changes, by using forms of support or resistance as an added confluence, such as when price reaches a moving average, the success rate when trading these patterns may increase.
Typically, traders will manually draw lines across the swing highs and swing lows of both the price chart and the oscillator to see whether they appear to present a divergence, this indicator will draw them for you, quickly and clearly, and can notify you when they occur.
Disclaimer: This script includes code from the stock MFI by Tradingview as well as the Divergence for Many Indicators v4 by LonesomeTheBlue.
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
Koncorde PlusKONCORDE IS ONLY INTENDED TO BE APPLIED TO ASSETS WHERE VOLUME DATA IS PROVIDED.
This indicator is made up of 6 indicators: 4 trend (RSI, MFI, BB, Stochastic) and 2 volume. The 2's for volume are the PVI (positive volume index) and the NVI (negative volume index). These two indicators are the interesting ones as they are programmed to proportionally attribute the volume traded between the strong hands (sharks) and the weak hands (minnows).
As for what time period to use, the bigger the better, since after all what we are doing is data analysis and therefore the more data, the better.
When strong hands (blue histogram) are below zero, they are said to be selling while when they are above zero, they are said to be buying. The same goes for weak hands (green histogram).
Meaning of each zone:
Blue histogram: strong hand (sharks). If it is positive it indicates accumulation and if it is negative distribution.
Green histogram: weak hand (minnows). If it is positive it indicates buy and if it is negative it indicates sale.
Brown histogram: Indicates the trend and depends on previous values of weak hands and trend indicators (RSI, MFI, BB, Stochastic).
Red line: It is an average that smoothes the trend indicated by the brown histogram (default is the EMA).
Crossing Pattern
The pattern gives us a bullish entry signal when the trend (brown histogram) crosses above the average (red line) and is positioned bearish when the trend crosses below the average.
Zero Pattern
When the price trend (brown histogram) tends to zero, it means that there will be a change in its trend. This pattern is for trading in a bullish position.
Spring Pattern
When a cross between the average (red line) and the trend (brown histogram) has already occurred, and in addition the weak hands are above the price trend, that "spring on the mountain" is formed that gives us to understand that the upward trend will be more than evident.
Mirror Pattern
This pattern occurs when there is panic in the market and weak hands are selling (below zero). If at that moment the strong hands are buyers, the price tends to level off to begin the rise later.
This pattern is compatible with the Crossover Pattern, having more guarantees of success. If just after finishing the mirror pattern, the Crossover Pattern plus the Spring Pattern appears, then we have a good chance of winning.
Bear Hug Pattern
This pattern is for bearish positions only. It is the opposite figure to the mirror pattern. That is, we have strong hands clearly selling and weak hands clearly buying and above the price trend (brown histogram). It is the figure where you can see that the strong hands are distributing the assets to the weak hands.
Harpoon Pattern
If when the mirror pattern occurs, the red line crosses the blue histogram, a very strong bullish entry signal is produced.
Add an exit signal which occurs when we are in a spring pattern but the big hands start selling, mostly coinciding with the start of the bear hug pattern.
General rules for operating the Mirror Pattern:
a) Wait for the green histogram to start recovery, rise to positive values; if possible, until it crosses from bottom to top the brown line (brown histogram) and/or red average .
b) The blue histogram should be consistently positive. If it turns and goes towards negative values it can indicate a failed pattern at that same point.
c) Locate the low of the lower candle within the pattern and place the Stop Loss just below it for reference.
d) If we are not sure (we almost never will be) that there will be a turn or if it could finally be a bearish continuation we can use the SL to go short .
Additional:
A panel with performance statistics of the analyzed asset was added.
Added an indicator that shows the cumulative delta volume in the form of triangles at the top of the chart.
Added of user @DonovanWall
PS: Unofficial version, I was guided by the description of the BLAI5 author's website www.blai5.net
DISCLAIMER: For educational and entertainment purposes only. Nothing in this content should be interpreted as financial advice or a recommendation to buy or sell any sort of security or investment including all types of cryptos. DYOR, TYOB.
Revolver Oscillator Strategy 1.2 (RSI+UO+MFI)ROS (Revolver Oscillator Strategy)
Version 1.2
Description
This script combines three popular oscillators (RSI, Ultimate Oscillator and MFI) to accurately determine the price momentum of an asset.
Context
- RSI (Relative Strength Index) is a momentum oscillator that measures the speed and change of price movements over a period of time (14).
- Ultimate Oscillator uses three different periods (7, 14, and 28) to represent short, medium, and long-term market trends.
- Money Flow Index (MFI) is a momentum indicator that measures the flow of money into and out over a period of time. It is related to the Relative Strength Index (RSI) but incorporates volume, whereas the RSI only considers price
How does it work?
When a RED bar appears, it means that the three oscillators have exceeded the set thresholds, and it is a SELL signal.
When a GREEN bar appears, it means that the three oscillators are below the set thresholds, and it is a BUY signal.
I recommend leaving the default settings.
Rsi/W%R/Stoch/Mfi: HTF overlay mini-plotsOverlay mini-plots for various indicators. Shows current timeframe; and option to plot 2x higher timeframes (i.e. 15min and 60min on the 5min chart above).
The idea is to de-clutter chart when you just want real-time snippets for an indicator.
Useful for gauging overbought/oversold, across timeframes, at a glance.
~~Indicators~~
~RSI: Relative strength index
~W%R: Williams percent range
~Stochastic
~MFI: Money flow index
~~Inputs~~
~indicator length (NB default is set to 12, NOT the standard 14)
~choose 2x HTFs, show/hide HTF plots
~choose number of bars to show (current timeframe only; HTF plots show only 6 bars)
~horizontal position: offset (bars); shift plots right or left. Can be negative
~vertical position: top/middle/bottom
~other formatting options (color, line thickness, show/hide labels, 70/30 lines, 80/20 lines)
~~tips~~
~should be relatively easy to add further indicators, so long as they are 0-100 based; by editing lines 9 and 11
~change the vertical compression of the plots by playing around with the numbers (+100, -400, etc) in lines 24 and 25
MFI StrategyThis indicator is based on MFI25 and EMA55 and optimized for 1 day graph and slow swing trading to show large moves and tops and bottoms.
You can change the MFI and EMA settings according to your style of trading.
The change from green to red and visa versa are the buying and selling moments.
The yellow line indicates that a change is possibly comming or not really sollid, so with yellow it's your own feeling that is leading.
Always combine this graph with others. F.i. a RSI14 to look for divergenses.
Ps. I'm not a professional or very experienced trader, but this indicator works perfect for me.
Succes.
Defu_DivergenceThis is a composite indicator, a collection of multiple indicators
It includes the following:
1. the gray background has a huge trading volume ,
2. the market cost deviates, and the relationship between the closing price of the black line, the red line and the blue line and the short-term, medium-term and long-term average. Compare the difference after mutual subtraction.
3. blue orange column fund flow indicator MFI , color transparency indicates the value
4. the Bollinger belt signals with a short deviation rate, which is the Bollinger belt with a black line.
======================The above translation is from Google
这是一个复合指标,集合了多种指标
包括以下:
1.灰色背景成交量巨大,
2.市场成本乖离 ,黑色线、红色线、蓝色线收盘价与 短期 、中期、长期三条均线之间的关系。互减后比较差值。
3.蓝橙柱 资金流量指标MFI,颜色的透明度表示值的大小
4.布林带 以短期乖离率信号,就是黑色线的布林带。
[blackcat] L1 OBV-MFI ComboLevel 1
Background
As requested, this is a combo of OBV and MFI indicators
Function
On-balance volume (OBV) is a technical trading momentum indicator that uses volume flow to predict changes in stock price. Joseph Granville first developed the OBV metric in the 1963 book Granville's New Key to Stock Market Profits.
The Money Flow Index (MFI) is a technical oscillator that uses price and volume data for identifying overbought or oversold signals in an asset. It can also be used to spot divergences which warn of a trend change in price. The oscillator moves between 0 and 100.
The combo of them is still an oscillator.
Remarks
Feedbacks are appreciated.
RISK managment TOOL not a netive english speakr - soory for spelling problems.
this tool purpse is to help you dtermine postion sizing
it take a trend meeter of your chose and mesure it with the high and low of lookback number (defult is 100 )
you can chose your trend meeter from 'close','VOL', 'MA short' , 'MA long' , 'MACD', 'VOL MA', 'ATR', 'MFI', 'TSI'
with that you can see if you are "overbought" or "oversold " with the highest and lowest of a lookback period
and size acording to that .
the MA box - MAshort and MA long is the same box for the MACD ma for calcs and for the TSI
for long - if in lower band buy +++ if midelle buy +++ if high buy +
for short - if in highr band short +++ if midelle short ++ if low short ++
hope it will help you
for source - comment email and tip.
כלי ניהול הסיכונים הזה נועד להראות לכם את היחס של המתנד הנבחר ביחס לגבוהה והנמוך בבחירת טווח הזמן הנבחר ( דיפולט הוא 100 ימים אחורה ) ובכך לעזור לכם בהחלטת גודל הפוזציה
הכלי נועד לעזור בוויזאולציה של הטרנד לעומת האיתות שאתם מקבלים ביחס לגבוהה או הנמוך של 100 ימים אחורה
אם אתם מתכננים עסקת לונג העדיפות לקנות כאשר הסמן נמצא ברצועה התחתונה ובמקום זה תוכלו להגדיל את הפוזציה ל +++
כאשר הסמן נמצא ברצועה האמצעית אפשר לקנות ++
וכאשר הסמן נמצא למעלה עדיף לשקול את הפוזציה או לקנות +
ההפך לשורט.
לקבלת הקוד אפשר להשאיר מייל בתגובה + טיפ.
תודה ל @daviddtech tnx to
OPAL - Sense→ Hi everyone, very proud to publish my unique leading oscillator ! ←
Sense is a "leading indicator" : it shows what can happen in the future, meanwhile a lagging indicator like MAs shows past sentiment.
Sense diverging with Price ? Care at the reversal !
It can be a great tool to upgrade your timings, after a divergence for example, to snipe reversals or to find Trend entries.
This tool is used for sniping in our levels trading setup (in our trading community)
Sense is made of everything you know about common indicators :
RSI/STOCH/STOCHRSI/MFI/RVSI/PZO/VZO/MOMENTUM/VOLUMES/UO
>>> Basically shows situations where almost all the known indicators reach interesting points in Overbought and Oversold zones
Signals provided :
*Visible and Hidden Minor OB/OS Crosses (Small Arrows)
*Visible and Hidden Major OB/OS Crosses (Bigger Arrows)
*Visible and Hidden Major and Minor Confluence in OB/OS Zones (Rockets/Blood)
*Background Smart Coloring when price reaches OB/OS Zones :
- blue/purple = entering OB/OS Zones
- green/red = extrem multiple OB/OS situation
*Coloration of Middle Line based on std Price Deviation
*Smart Divergences spotting : applied level filter to get divergences that reached OB/OS Zones at least once.
Divergences are scanned twice for confirmation<
*Full alerting system on :
- Full signals = blood and rockets
- Half signals = bigger arrows
- Minor signals = small arrows
- Dual Divergences = on both oscillators (slow & fast)
1) What is the curve i see on Sense ? => It is my homemade oscillator, described above
2) What are thoses Zones around the curve ? => Overbought/Oversold Zones
3) What are those dots on the curve ? => When the oscillator crosses its Triggerline
4) What are those little arrows ? => Printing minor Overbought/Oversold situations
5) What are those bigger arrows ? => Printing major Overbought/Oversold situations
6) What are those Blood dots/ Rockets ? => Printing Confluence situations in Overbought/Oversold Zones
7) Why is background coloring ? => I applied smart coloration based on oscillators location (see above coloration meaning)
8) What are those lines between curve spikes ? => Situations when Price and oscillator are doing different moves, basically divergences, meaning a correction can happen sooner or later
Should be strong on almost every timeframe !
Always backtest, watch, then use or not in your trading strategy.
If you like my work, leave a like :)
Hoping you success !
Dash System with RSI/MFI/Stoch MTFHere I am providing you Improved single system to get all components to take better and smarter trading decisions and improve your trading with
a) Dashboard - to gauge market sentiment across all TF.
b) VWAP – to get idea about trend and fair value of market.
c) BB – to get idea about volatility and contraction/expansion in price.
1.Gauge Sentiment across timeframe for various indicators in single dashboard.
RSI - to get the idea about relative price strength across all TFs.
MFI- gives idea whether trend is supported by volume or not across all TFs.
STOCH – IT is a range bound momentum oscillator. It is designed to display the location of the close compared to the high/low range over a user defined number of periods. You can use STOCH for Identifying overbought and oversold levels and also for identifying bull and bear set ups or signals across all TFs.
with this dashboard , you will get complete sentiment of market on your screen whether you use lower to upper TF or upper to lower TF approach. you can see market behavior and sentiment with these all in one dashboard across all TFs.
2.Dashboard better be used with MA or vwap to get trend direction and just for that this system has
a) VWAP- a technical analysis tool used to measure the average price weighted by volume . It's similar to a moving average in that when price is above VWAP , prices are rising and when price is below VWAP , prices are falling. VWAP is primarily used by technical analysts to identify market trend.
b) Bollinger Band - This is an oscillator meaning that it operates between or within a set range of numbers or parameters. the standard parameters for Bollinger Bands are a 20 day period with standard deviations 2 steps away from price above and below the SMA line. Essentially Bollinger Bands are a way to measure and visualize volatility . As volatility increases, the wider the bands become. Likewise, as volatility decreases, the gap between bands narrows.
Volatility can generally be seen as a cycle. Typically periods of time with low volatility and steady or sideways prices (known as contraction) are followed by period of expansion. Expansion is a period of time characterized by high volatility and moving prices. Periods of expansion are then generally followed by periods of contraction. It is a cycle in which traders can be better prepared to navigate by using Bollinger Bands because of the indicators ability to monitor ever changing volatility .
Read more about it on Bollinger Bands (BB).
And as a bonus added ability for BB to use SMA or EMA line as basis as per your comfort.
2. Added feature to change location of dashboard on chart, now you can place it on top left, top right, bottom left, bottom right corner of chart as per your comfort.
3. ability to hide/show for all TFs.
Now you can on/off 5min, 15 min, 30 min, 60 min, 4 hour, daily ,weekly and monthly TF column if you do not use it. you can keep and work with TFs as per your comfort and liking.
4. Added feature to hide/show indicators, MFI , Stoch , VWAP and BB Bands
Now you can on/off indicator s MFI , Stoch , VWAP and BB bands if you don't need them on dashboard as per your need.
Hope IT helps to take better trading decisions and improve your trading experience.