Directional Volume IndexDirectional Volume Index (DVI) (buying/selling pressure)
This index is adapted from the Directional Movement Index (DMI), but based on volume instead of price movements. The idea is to detect building directional volume indicating a growing amount of orders that will eventually cause the price to follow. (DVI is not displayed by default)
The rough algorithm for the Positive Directional Volume Index (green bar):
calculate the delta to the previous green bar's volume
if the delta is positive (growing buying pressure) add it to an SMA, else add 0 (also for red bars)
divide these average deltas by the average volume
the result is the Positive Directional Volume Index (DVI+) (vice versa for DVI-)
Differential Directional Volume Index (DDVI) (relative pressure)
Creating the difference of both Directional Volume Indexes (DVI+ - DVI-) creates the Differential Directional Volume Index (DDVI) with rising values indicating a growing buying pressure, falling values a growing selling pressure. (DDVI is displayed by default, smoothed by a custom moving average)
Average Directional Volume Index (ADVX) (pressure strength)
Putting the relative pressure (DDVI) in relation to the total pressure (DVI+ + DVI-) we can determine the strength and duration of the currently building volume change / trend. For the DMI/ADX usually 20 is an indicator for a strong trend, values above 50 suggesting exhaustion and approaching reversals. (ADVX is not displayed by default, smoothed by a custom moving average)
Divergences of the Differential Directional Volume Index (DDVI) (imbalances)
By detecting divergences we can detect situations where e.g. bullish volume starts to build while price is in a downtrend, suggesting that there is growing buying pressure indicating an imminent bullish pullback/order block or reversal. (strong and hidden divergences are displayed by default)
Divergences Overview:
strong bull: higher lows on volume, lower lows on price
medium bull: higher lows on volume, equal lows on price
weak bull: equal lows on volume, lower lows on price
hidden bull: lower lows on volume, higher lows on price
strong bear: lower highs on volume, higher highs on price
medium bear: lower highs on volume, equal highs on price
weak bear: equal highs on volume, higher highs on price
hidden bear: higher highs on volume, lower highs on price
DDVI Bands (dynamic overbought/oversold levels)
Using Bollinger Bands with DDVI as source we receive an averaged relative pressure with stdev band offsets. This can be used as dynamic overbought/oversold levels indicating reversals on sharp crossovers.
Alerts
As of now there are no alerts built in, but all internal data is exposed via plot and plotshape functions, so it can be used for custom crossover conditions in the alert dialog. This is still a personal research project, so if you find good setups, please let me know.
Wyszukaj w skryptach "bear"
Custom RSI & MACD Momentum Entry SignalsIndicator Explanation: Custom RSI & MACD Momentum Entry Signals
Introduction
The "Custom RSI & MACD Momentum Entry Signals" indicator combines the Relative Strength Index (RSI) and the Moving Average Convergence Divergence (MACD) to generate precise long and short entry signals. This indicator offers a powerful combination of overbought/oversold zones, momentum analysis, and RSI-EMA crossovers to assist traders in making better decisions.
How the Indicator Works
1. RSI Calculation and EMA
The RSI is calculated based on the closing price with an adjustable period (default: 14).
An Exponential Moving Average (EMA) of the RSI (default: 9) is plotted to identify RSI trend changes.
When the RSI crosses its EMA upwards, it signals a bullish impulse. Conversely, a downward cross indicates a bearish impulse.
2. MACD Calculation and Momentum Shifts
The MACD line is derived from the difference between a fast EMA (default: 12) and a slow EMA (default: 26).
The Signal line is the EMA of the MACD line (default: 9).
The MACD histogram represents the difference between the MACD line and the Signal line.
Momentum shifts are detected as follows:
Weakening Bearish: Histogram is negative but increasing (less bearish pressure).
Strengthening Bullish: Histogram is positive and rising.
Weakening Bullish: Histogram is positive but decreasing.
Strengthening Bearish: Histogram is negative and falling.
Signal Generation
Long Signals
A Long signal is triggered when all of the following conditions are met:
The RSI was previously below 30 (oversold condition).
MACD momentum shifts from "strengthening bearish" to "weakening bearish" or turns bullish.
The RSI crosses its EMA upwards.
A green upward arrow is displayed below the bar, and the background is lightly shaded green for additional visualization.
Short Signals
A Short signal is triggered when all of the following conditions are met:
The RSI was previously above 70 (overbought condition).
MACD momentum shifts from "strengthening bullish" to "weakening bullish" or turns bearish.
The RSI crosses its EMA downwards.
A red downward arrow is displayed above the bar, and the background is lightly shaded red for additional visualization.
Visual Elements
RSI and EMA:
The RSI is shown in purple.
The RSI EMA is shown in blue.
Horizontal lines at 30 (oversold) and 70 (overbought) provide additional context.
MACD:
The MACD line is displayed in blue.
The Signal line is displayed in orange.
The zero line is added for easier interpretation.
Signals:
Green arrows: Long signals.
Red arrows: Short signals.
Background color: Light green for long conditions, light red for short conditions.
Use Cases
This indicator is ideal for:
Trend Followers: Combining RSI and MACD allows traders to identify entry points during impulsive trend shifts.
Swing Traders: Long and short signals can be used at reversal points to capture short-term price movements.
Momentum Traders: By considering MACD momentum, the indicator provides additional confidence in signal generation.
Customizable Settings
The indicator provides flexible input options:
RSI Period (default: 14)
RSI EMA Period (default: 9)
MACD Parameters: Fast, slow, and signal EMAs can be adjusted.
Conclusion
The Custom RSI & MACD Momentum Entry Signals indicator is a powerful tool for traders looking to combine RSI and MACD to identify high-probability entry signals. With clear visualization and precise signal generation, traders can make decisions more efficiently and capitalize on market movements.
Black RSI (Multi Symbol RSI)📌 GENERAL OVERVIEW
Black RSI (Multi Symbol RSI) is an indicator with multiple-RSI (multi-symbol support), It is a powerful indicator designed for analyzing the relative strength of multiple financial instruments within a single chart. This indicator essentially combines multiple instances of the Relative Strength Index (RSI) for different symbols, allowing traders to compare and contrast market conditions for a broader, simultaneous analysis of various assets. By tracking RSI across multiple assets, traders can identify broader market trends, and sector rotations, or pinpoint relative strengths and weaknesses among different instruments. Please check the below sections for details.
Black RSI (Multi Symbol RSI) Indicator Features Summary:
+ Multiple RSI with multi-symbol ◢
This indicator plots Primary+3 multiple RSI for multiple symbols at once. For instance, it could simultaneously show the RSI of indices (e.g., SPX, NASDAQ) or stocks within a sector, providing insights into how these assets are moving relative to one another.
+ Custom Divergence Module ◢
It allows the user to select the divergence source among the multiple RSI (Primary, 1st, 2nd or 3rd RSI) and displays regular/hidden bullish/bearish divergence for selected RSI only.
+ Custom RSI Moving Average/BBs ◢
It allows the user to select the RSI moving average/BBs source among the multiple RSI (Primary, 1st, 2nd or 3rd RSI) and displays moving average/BBs for selected RSI only.
+ Alert Triggers ◢
The indicator can incorporate alert functions that notify the user when an RSI threshold (e.g., overbought or oversold levels) is crossed for any of the selected symbols.
📌HOW TO USE IT
Confirm Trends Across Symbols: Use the indicator to confirm trends across multiple assets. For example, if most symbols within a sector or index are showing RSI levels above 50, it may indicate a bullish trend in that sector. Conversely, if most RSIs are below 50, it may signal bearish sentiment.
Spot Divergences: Look for RSI divergences across symbols, which can hint at potential reversals. For instance, if most symbols show declining RSI levels while a few have increasing RSI, it could indicate relative strength in those few, making them candidates for closer watch.
Identify Overbought/Oversold Conditions: By observing the RSI levels of multiple symbols, you can identify when certain assets are overbought (typically RSI > 70) or oversold (typically RSI < 30). When multiple assets show similar RSI levels, this can indicate broader market sentiment or sector momentum.
Sector Rotation Analysis: In longer-term trading or portfolio rebalancing, a Multi-RSI Multi-Symbol indicator can help detect sector rotation patterns by showing which sectors are gaining strength (higher RSI) and which are weakening, facilitating informed sectoral shifts.
Use in Conjunction with Other Indicators: The Multi-RSI can serve as a supporting indicator alongside trend indicators like Moving Averages or Bollinger Bands, helping to confirm entry and exit points. For example, if a symbol’s RSI shows an overbought condition and it aligns with a resistance level from a Moving Average, this could strengthen a sell signal.
Customization: Customize the settings to match your trading style. For instance, day traders might prefer a shorter RSI period and timeframes, while swing traders may benefit from longer timeframes and smoother RSI.
⚙️Black RSI (Multi Symbol RSI) SETTINGS
Black RSI (Multi) Dashboard ◢
+ 1st RSI: Enable/Disable 1st RSI
+ 2nd RSI: Enable/Disable 2nd RSI
+ 3rd RSI: Enable/Disable 3rd RSI
RSI Primary Tools ◢
+ RSI Moving Average/Bollinger Bands: Enable/Disable RSI Moving Average/Bollinger Bands
+ Smooth RSI: Enable/Disable Smooth RSI (for Primary RSI)
+ RSI Divergence: Enable/Disable Divergence for user-selected RSI
RSI Secondary Tools ◢
+ RSI OB/OS Color Bars: Enable/Disable RSI OB/OS Color Bars for user-selected RSI
+ RSI OB/OS Highlights: Enable/Disable OB/OS Highlights for user-selected RSI
+ Background: Enable/Disable RSI Background
+ Primary RSI Settings ▾
- Override Primary RSI Symbol: Allows the user to select the symbol for Primary RSI
- Primary RSI Length: User input primary RSI length value
- Primary RSI Source: User primary RSI source selection
- RSI Line Thickness: User input line thickness value for primary RSI
- Primary RSI Colors:
- OB/OS Highlights: Enable/Disable OB/OS Primary RSI Highlights
- RSI Overbought Threshold: The user can set the RSI overbought threshold value. This Overbought Threshold value will also be applied to All RSI (Primary, 1st, 2nd, 3rd) and "RSI Divergence overbought condition" and "RSI OB/OS Highlights"
- RSI Oversold Threshold: The user can set the RSI oversold threshold value. The lower band (oversold line) of RSI. This Oversold Threshold value will also be applied to All RSI (Primary, 1st, 2nd, 3rd) and "RSI Divergence oversold condition" and "RSI OB/OS Highlights"
+ 1st RSI Settings ▾
- Override 1st RSI Symbol: Allows the user to select the symbol for 1st RSI
- 1st RSI Length: User input 1st RSI length value
- 1st RSI Source: User 1st RSI source selection
- RSI Line Thickness: User input line thickness value for 1st RSI
- 1st RSI Colors:
- OB/OS Highlights: Enable/Disable OB/OS 1st RSI Highlights
+ 2nd RSI Settings ▾
- Override 2nd RSI Symbol: Allows the user to select the symbol for 2nd RSI
- 2nd RSI Length: User input 2nd RSI length value
- 2nd RSI Source: User 2nd RSI source selection
- RSI Line Thickness: User input line thickness value for 2nd RSI
- 2nd RSI Colors:
- OB/OS Highlights: Enable/Disable OB/OS 2nd RSI Highlights
+ 3rd RSI Settings ▾
- Override 3rd RSI Symbol: Allows the user to select the symbol for 3rd RSI
- 3rd RSI Length: User input 3rd RSI length value
- 3rd RSI Source: User 3rd RSI source selection
- RSI Line Thickness: User input line thickness value for 3rd RSI
- 3rd RSI Colors:
- OB/OS Highlights: Enable/Disable OB/OS 3rd RSI Highlights
+ RSI Bands & Threshold Settings ▾
- RSI Middle Band: Allows the user to plot optional RSI band on the RSI Oscillator
- RSI Bullish Band: Allows the user to plot optional RSI band on the RSI Oscillator
- RSI Bearish Band: Allows the user to plot optional RSI band on the RSI Oscillator
+ Primary RSI Smooth Settings ▾
- Type: The user selected Smooth MA type for Primary RSI. With RSI Smooth enabled, it will also affect Primary RSI Divergences detection (all divergences will be plotted according to the "Smoothed RSI line")
- Length: User input Smooth MA length value for Primary RSI
+ RSI Moving Average Settings ▾
- MA/BB RSI Source: Allows the user to MA/BB source selection
- MA/BB Enable/Disable: Allows the user to select Moving average only, BBs only or Both to display on the RSI Oscillator
- RSI Moving Average Colors: Allows the user to select Bullish/Bearish colours of RSI Moving Average
- RSI Moving Average Type: Allows the user to select RSI MA Type
- RSI Moving Average Length: User input RSI MA length value
- RSI Moving Average Thickness: User input RSI MA thickness
- Bollinger Bands Colors: Allows the user to select BBs colours
- BB StdDev: user input Bollinger Bands standard deviation value
+ RSI Divergence Settings ▾
- Divergence RSI source: User selection of divergence source .
- Divergence source: User selection of divergence source . "oscillator" (divergence detection with high/low or close of RSI), "price" (divergence detection with high/low or close of price)
- Bull price source: User selection of Bull price source. Bull price source: "Low" (low of price divergence detection), "Close" (close of price divergence detection) (linked to "price" in "Divergence source")
- Bear price source: User selection of Bear price source. Bear price source: "High" (high of price divergence detection), "Close" (close of price divergence detection) (linked to "price" in "Divergence source")
- Low/High left bars: How many candles to compare on the left side of a candle when deciding whether it is a pivot. The lower the number is, the earlier pivots (and therefore divergences) will be signalled, but the quality of those detections could be lower.
- Low/High right bars: How many candles to compare on the right side of a candle when deciding whether it is a pivot. The lower the number is, the earlier pivots (and therefore divergences) will be signalled, but the quality of those detections could be lower.
- Maximum lookback bars: The maximum length of a divergence (number of bars). If a detected divergence is longer than this, it will be discarded.
- Price threshold: User selection of Price threshold, higher values more lines
- RSI threshold: User selection of RSI threshold, higher values more lines
- Show Lows: Displays lows of RSI
- Show Highs: Displays highs of RSI
- Show Divergence as:
- Line Style:
- Line thickness: User input divergence line thickness value
- Label Transparency: it could reduce label mess on the oscillator line, input "100" for label text only without label background
- Labels Text Color: User label text colour selection
Auto Text Color > Auto colour change of label text according to Dark/Light chart theme
- Bull Divergences: Enable/Disable of Bull divergences
> Color: User selection of Bull divergence color
> Potential Bull: It will plot potential regular bull divergence with a dotted line.
- Bear Divergences: Enable/Disable of Bear divergences
> Color: User selection of Bear divergence color
> Potential Bear: It will plot potential regular bear divergence with a dotted line.
- Hidden Bull Div: Enable/Disable of Hidden Bull divergences
> Color: User selection of Hidden Bull divergence colour
> Potential H.Bull: It will plot potential hidden bull divergence with a dotted line.
- Hidden Bear Div: Enable/Disable of Hidden Bear divergences
> Color: User selection of Hidden Bear divergence colour
> Hidden Bear divergence: It will plot potential hidden bear divergence with a dotted line.
> Regular Bull oversold only: It will show Regular Bullish RSI divergences in the oversold zone only, RSI oversold threshold can be configured in the "Primary RSI Settings" section.
> Regular Bear overbought only: It will show Regular Bearish RSI divergences in the overbought zone only, RSI overbought threshold can be configured in the "Primary RSI Settings" section.
+ RSI OB/OS Colored Bars Settings▾
- OB/OS Bar RSI Source: User selection of OB/OS Bars RSI source .
- Overbought Bar Color: User RSI OB Bars colour selection
- Oversold Bar Color: User RSI OS Bars colour selection
+ Overbought/Oversold Highlights ▾
- OB/OS Highlights RSI Source: User selection of OB/OS Highlights RSI source .
- Overbought Highlights : Enable/Disable Overbought Highlights
- Oversold Highlights : Enable/Disable Oversold Highlights
- Transparency: Gradient transparency of highlighted area
+ RSI Line & Label Settings ▾
- Show Symbol label: Enable/Disable each RSI symbol label.
- RSI line offset: Shifts the RSI to the left or the right on the given number of bars, Default is 0
+ Background Setting ▾
- Custom Background Color: User selection of Background color
Feedback & Bug Report
If you find any bugs in this indicator or have any suggestions, please let me know. Please give feedback & appreciate it if you like to see more future updates and indicators. Thank you
Breakouts with Tests & Retests [LuxAlgo]The Breakouts Tests & Retests indicator highlights tests and retests of levels constructed from detected swing points. A swing area of interest switches colors when a breakout occurs.
Users can control the sensitivity of the swing point detection and the width of the swing areas.
🔶 USAGE
When a Swing point is detected, an area of interest is drawn, colored green for a bullish swing and red when bearish.
A test is confirmed when the opening price is situated in the area of interest, and the closing price is above or below the area, depending on whether it is a bullish or bearish swing. Tests are highlighted with a solid-colored triangle.
A breakout is confirmed when the price closes in the opposite position, below or above the area, in which case the area will switch colors.
If the opening price is located within the area and the closing price closes outside the area, in the same direction as the breakout, this is considered a retest . Retests are highlighted with a hollow-colored triangle.
Note that tests/retests do not act on wicks. The main factor is that the opening price is in the area of interest, while the closing price is outside.
🔹 Area Of Interest Width
The user can adjust the width of the swing areas. Changing the " Width " is a fast and easy way to find different areas of interest.
A higher "Multiple" setting would return a wider area, allowing price to develop within it for a longer period of time and potentially provide later test signals.
When a swing area is broken, a higher "Width" setting can make it more complicated for the price to break it again, allowing a swing area to remain valid for a longer period of time thus potentially providing more retest signals.
🔶 DETAILS
Generally, only one bullish/bearish pattern can be active at a time. This means that no more than 1 bullish or bearish area will be active.
The " Display " settings, however, can help control how areas of different types are displayed.
Bullish AND Bearish: Both, bullish and bearish patterns can be drawn at the same time
Bullish OR Bearish: Only 1 bullish or 1 bearish pattern is drawn at a time
Bullish: Only bullish patterns
Bearish: Only bearish patterns
🔹 Test/Retest Labels
The user can adjust the settings so only the latest test/retest label is shown or set a minimum number of bars until the next test/retest can be drawn.
🔹 Maximum Bars
Users can set a limit of bars for when there is no test/retest in that period; the area of interest won't be updated anymore and will be available and ready for the next Swing.
An option for pulling the area back to the last retest is included.
🔶 SETTINGS
Display: Determines which swing areas are displayed by the indicator. See the "DETAILS" section for more information
Multiple: Adjusts the width of the areas of interest
Maximum Bars: Limit of bars for when there is no test/retest
Display Test/Retest Labels: Show all labels or just the last test/retest label associated with a swing area
Minimum Bars: Minimum bars required for a subsequent test/retest label are allowed to be displayed
Set Back To Last Retest: When after "Maximum Bars" no test/retest is found, place the right side of the area at the last test/retest
🔹 Swings
Left: x amount of wicks on the left of a potential Swing need to be higher/lower for a Swing to be confirmed.
Right: The number of wicks on the right of a potential swing needs to be higher/lower for a Swing to be confirmed.
🔹 Style
Bullish: color for test period (before a breakout) / retest period (after a breakout)
Bearish: color for test period (before a breakout) / retest period (after a breakout)
Label Size
MTF Market Structure - SMC IndicatorsThe Multi Timeframe Market Structure helps understand and identify bullish or bearish Market Structure by highlighting “KEY” Highs and Lows. It also identifies changes in market direction by identifying a “Shift in Market Structure” (See Point 2 below) or “Break in Market Structure” (See Point 3 Below).
What are Key Highs and Lows?
Not every high or low is a “Key” high or low. “Key” highs and lows are specific highs and lows that form the structure of the market and have significance in understanding the current trend in the market (see point 1 below).
The indicator identifies these “Key” highs and lows on multiple time frames, allowing the trader to keep a perspective of the Market Structure with multiple timeframes simultaneously (see point 5 below).
The key highs and lows identified by the indicator are as follows:
Key Lows : Identify significant Swing Lows, Short-term lows “STL”, Intermediate-Term Lows “ITL”, and Long-Term Lows “LTL”.
Key Highs : Identify significant Swing Highs, Short-term highs “STH”, Intermediate-Term Highs “ITH”, and Long-Term Highs “LTH”.
Significant Swing High : This is a price swing with one lower candle to the right and one lower candle to the left of it.
Significant Swing Low : This is a price swing with one higher candle to the right and one higher candle to the left of it.
Short-Term High “STH” is a price swing with one lower Significant Swing High to the right and one lower Significant Swing High to the left of it.
Short-Term Low “STL” is a price swing with one higher Significant Swing Low to the right and one higher Significant Swing Low to the left of it.
Intermediate-Term High “ITH” is a price swing with one lower STH to the right and one lower STH to the left of it.
Intermediate-Term Low “ITL” is a price swing with one higher STL to the right and one higher STL to the left of it.
Long-Term High “LTH” is a price swing with one lower ITH to the right and one lower ITH to the left of it.
Long-Term Low “ITL” is a price swing with one higher ITL to the right and one higher ITL to the left of it.
By identifying key highs and lows using the Market Structure Indicator, it can be used in multiple ways by using those reference points as follows:
1. Identifying Market Trends by Connecting Key Highs and Lows.
Bullish trend identification is when the indicator is making higher ITLs and ITHs.
Bearish Trend identification when the indicator is making lower ITLs and ITHs.
PS: it’s essential to understand the underlying market trend on multiple timeframes to use the next features correctly. Always use the Shifts and Breaks in Market Structures in line with the 1H or higher timeframes Market Trend for higher probability trade opportunities. This is because, generally, higher timeframes have more importance than lower timeframes.
2. Shift In Market Structure - SMS for Entries
A Shift in Market Structure “SMS” identifies potential reversal in short-term market trend relative to the timeframe where the SMS is identified.
This occurs after a run of any Significant Swing High or Low and then reversing, creating a Fair Value Gap “FVG”.
There can be Bullish and Bearish Market Structure Shifts.
When a Bullish Shift in Market Structure occurs, the indicator identifies an opportunity for the price to change from Bearish to Bullish, as seen in the image below.
When a Bearish Shift in Market Structure occurs, the indicator identifies an opportunity for the price to change from Bullish to Bearish.
3. Break In Market Structure - BMS for Entries
A Break in Market Structure “BMS” has a similar function to the Shift in Market Structure “SMS”; however, when it occurs, it identifies a potential longer-term trend reversal (compared to the SMS) relative to the timeframe where the BMS is identified.
Unlike “SMS”, the BMS occurs after a run only after a run on Key Highs or Lows.
Similar to the SMS, there can be Bullish and Bearish Breaks in Market Structure.
When a Bullish Break in Market Structure occurs, the indicator identifies an opportunity for a longer-term trend change from Bearish to Bullish, as seen in the image below.
The FVG must occur in the lower 50% of the impulse price leg (at Discount).
When a Bearish Break in Market Structure occurs, the indicator identifies an opportunity for a longer-term trend change from Bullish to Bearish.
The FVG must occur in the upper 50% of the impulse price leg (at Premium).
4. Inversion Break and Shift in Market Structure for Early Entries
Inversion “BMS” and “SMS” are similar to the normal SMS and BMS, but they occur:
Bullish: When the FVG of the Bearish BMS/SMS forms in the lower 50% of the impulse price leg (at Discount).
We use the FVG that forms from the Bearish SMS/BMS as an inversion FVG for potential entry after market trend change from Bearish to Bullish.
Bearish: When the FVG of the Bullish BMS/SMS forms in the upper 50% of the impulse price leg (at Premium).
We use the FVG that forms from the Bullish SMS/BMS as an inversion FVG for potential entry after market trend change from Bullish to Bearish.
5. Multi Time Frame analysis
The indicator allows multiple timeframe perspectives to be considered when using it.
The key Highs and Lows have significance not only on the current timeframe they are identified but also on lower or higher timeframes simultaneously.
This is because a ITL/ITH on the 1H means
It’s a LTL/LTH on one or more timeframes lower (15Min, 5M, and 1Min).
And at the same time, it’s a STL/STH on one timeframe higher (4H)
Also, it’s a Significant Low/High (marked with a dot) on two timeframes higher (Daily).
The same logic applies to all other Key Highs and Lows.
Another example is a Significant Low/High (swing marked with a dot below or above it) on the current timeframe (1D) means it’s a STL/STH on one timeframe lower (4H) and an ITL/ITH on two timeframes lower (1H) and a LTH/LTH on three timeframes lower or more (15M, 5M, 1Min, 30 Seconds, etc…).
This Multi-time frame analysis is a great way to help traders understand Market Structure and Market trend on multiple timeframes simultaneously, and it also assists in Top-down analysis.
PS: Note that this multi-timeframe analysis approach and logic can be applied to any timeframe and for any type of trading (swing trading, day trading, scalping, or short-term trading) because the price is fractal.
For example, if a trader is a swing trader, then it’s best to identify trader opportunities on the 1H or higher; however, lower timeframes Market Structure can still be used to help the traders refine their entries and target key highs and lows in the opposite direction.
If a trader is a day trader or a scalper, the trader could use Market Structure on 15M or lower to identify trader opportunities and target key highs and lows in the opposite direction.
6. Setting Targets
The indicator can also be used to identify potential targets after the SMS or BMS occurs. Targets can be chosen above Key Highs or Lows depending on the trade objective and timeframe where the trade idea is identified.
Bonus Features
Highlight Market Structure Trend
This feature is an excellent backtesting visual tool to look at changes in market trends highlighted in colours. These changes are based on the Shift or Break in of Market Structure depending on the selection option.
When "Shift/Break" in Market Structure" is selected, a Bullish trend is highlighted in blue when a Bullish Shift/Break in Market Structure Occurs and in Red when a Bearish Shift/Break in Market Structure Occurs.
Notifications
Sends notifications when there is a Shift or Break in Market Structure on the current timeframe of choice.
RSI 11 IndicatorThis script explains how RSI can be used to catch market moves in trend, reversal or sideways market.
What is RSI indicator:-
RSI is a momentum oscillator which measures the speed and change of price movements. RSI moves up and down (oscillates) between ZERO and 100. Generally RSI above 70 is considered overbought and below 30 is considered oversold. Some traders may use a setting of 20 and 80 for oversold and overbought conditions respectively. However this may reduce the number of signals. You can also use RSI to identify divergences, strength, reversals, general trend etc.
Calculation:-
There are three basic components in the RSI - Avg Gain, Avg Loss & RS.
Avg Gain = Average of Upward Price Change
Avg Loss = Average of Downward Price Change
RS = (Avg Gain)/(Avg Loss)
RSI = 100 – (100 / (1 +RS ))
First Calculation:-
RSI calculation is based on default 14 periods.
Average gain and Average loss are simple 14 period averages.
Average Loss equals the sum of the losses divided by 14 for the first calculation.
Average Gain equals the sum of the Gains divided by 14 for the first calculation.
First Average Gain = Sum of Gains over the past 14 periods / 14.
First Average Loss = Sum of Losses over the past 14 periods / 14.
The formula uses a positive value for the average loss.
RS values are smoothed after the first calculation.
Second Calculation:-
Subsequent calculations multiply the prior value by 13, add the most recent value, and divide the total by 14.
Average Gain = / 14.
Average Loss = / 14.
if
Average Loss = 0, RSI = 100 (means there were no losses to measure).
Average Gain = 0, RSI = 0 (means there were no gains to measure).
Logic of this indicator:-
RSI is an oscillator that fluctuates between zero and 100 which makes it easy to use for many traders.
Its easy to identify extremes because RSI is range-bound.
But remember that RSI works best in range bound market and is less trustworthy in trending markets.
A new trader need to be cautious because during strong trends in the market/security, RSI may remain in overbought or oversold for extended periods.
Chart Timeframe:-
RSI indicator works well on all timeframes.
Timeframe depends on which strategy or settings are you using.
Generally a lower timeframe like 1 min, 3 min, 5 min, 15 min, 30 min, 1 Hr etc is used for intraday trades or short duration trades
and higher timeframes like 1 day, 1 week, 1 month are used for positional or long term trades.
Please Read the Idea "Mastering RSI with 11 Strategies" to understand this indicator better.
Indicator 1
Basis Strategy of Overbought and Oversold
Usually an asset with RSI reading of 70 or above indicates a bullish and an overbought situation.
overbought can be seen as trading at a higher price than it should.
traders may expect a price correction or trend reversal and sell the security.
but RSI indicator can stay in the overbought for a long time when the stock is in uptrend - This may trap an immature trader.
an Immature trader will enter a sell position when RSI become overbought (70), whereas a mature trader will enter sell position when RSI line crosses below the overbought line (70).
An asset with RSI reading of 30 or below indicates a bearish and an oversold condition.
oversold can be seen as trading at a lower price than it should.
traders may expect a price correction or trend reversal and buy the security.
but RSI indicator can stay in the oversold for a long time when the stock is in downtrend - This may trap an immature trader.
an Immature trader will enter a buy position when RSI become oversold (30), whereas a mature trader will enter buy position when RSI line crosses above the oversold line (30).
Center dotted Mid line is RSI 50.
Chart RSI is shown in yellow colour.
Red shaded area above the red horizontal line shows the stock or security has entered overbought condition. "R" signal in red shows a likely downside reversal, means it may be a likely Selling opportunity.
Green shaded area below the green horizontal line shows the stock or security has entered oversold condition. "R" signal in green shows a likely upside reversal, means it may be a likely Buying opportunity.
Note:-
so its better to wait for reversal signal.
traders may use 20 instead of 30 as oversold level and 80 instead of 70 as overbought level.
new traders may learn to use the indicator as per the prevailing trend to get better results.
false signals may be avoided by using bullish signals in bullish trend and bearish signals in bearish trend.
Indicator 2
RSI Strength Crossing 50
RSI crossing centreline 50 in the below chart showing strength and buy/sell signal.
Centre line is at RSI 50.
if RSI is above 50 its considered bullish trend. (increasing strength)
if RSI is below 50 its considered bearish trend. (decreasing strength)
RSI crossing centre line (50) upside may be a buy signal.
RSI crossing centre line (50) downside may be a sell signal.
"B" signal in green colour shows that RSI is crossing above Mid 50 horizontal line, which may be a likely Buy signal.
"S" signal in red colour shows that RSI is crossing below Mid 50 horizontal line, which may be a likely Sell signal.
Indicator 3
RSI 40 and RSI 60 Support and Resistance
RSI 40 acting as support in the below chart
In an uptrend RSI tends to remain in the 40 to 90 range with 40 as support (buying opportunity at support).
RSI 60 acting as resistance in the below chart
In a downtrend RSI tends to remain in 10 to 60 range with 60 as resistance (selling opportunity at resistance).
"40" signal in green colour shows that RSI is crossing above 40 horizontal line, which may be a likely Support in making and a Buy signal.
"60" signal in red colour shows that RSI is crossing below 60 horizontal line, which may be a likely Resistance in making and a Sell signal.
Note:-
These ranges may change depending on RSI settings and change in the market trend.
Indicator 4
RSI Divergence
Below chart shows a simple example of Bullish Divergence and Bearish Divergence.
An RSI divergence occurs when price moves in the opposite direction of the RSI.
A bullish divergence is when price is falling but RSI is rising. which means RSI making higher lows and price making lower lows (buy signal).
A bearish divergence is when price is rising but RSI is falling. which means RSI making lower high and price making higher highs (sell signal).
Divergences are more strong when appear in an overbought or oversold condition.
There may be many false signals during a strong uptrend or strong downtrend.
In a strong uptrend, RSI may show many false bearish divergences before finally reversing down.
same way in a strong downtrend, RSI may show many false bullish divergences before finally reversing up.
"Bull Div" signal along with divergence line in green colour shows Bullish Divergence, which may be a likely Buy signal.
"Bear Div" signal along with divergence line in red colour shows Bearish Divergence, which may be a likely Sell signal.
Indicator 5
Double Top & Double Bottom
Double Bottom = RSI goes below oversold (30). RSI comes back above 30. RSI falls back again towards 30 and again rise making a Double bottom. its a signal of buying and likely upside reversal.
Double Top = RSI goes above overbought (70). RSI comes back below 70. RSI rises back again towards 70 and again fall making a Double top. its a signal of selling and likely downside reversal.
Double Bottom is shown with Green Dashed line joining two low's of RSI indicating a likely Buy Signal.
Double Top is shown with Red Dashed line joining two High's of RSI indicating a likely Sell Signal.
Indicator 6
Trendline Support and Resistance
Below chart shows RSI Trendline Resistance and Support
RSI resistance trendline = Connect three or more points on the RSI line as it falls to draw a RSI downtrend line (RSI resistance trendline).
Everytime it takes resistance from a RSI downtrend line its a selling opportunity.
RSI support trendline = Connect three or more points on the RSI line as it rises to draw a RSI uptrend line (RSI support trendline).
Everytime it takes support on a RSI uptrend line its a buying opportunity.
RSI Resistance trendline shown in Red colour indicating a likely fall again after rejection from this Red trendline till the time RSI breaks above it to change the trend from Bearsih to Bullish.
RSI support trendline shown in Green colour indicating a likely Rise again after support from this Green trendline till the time RSI breaks below it to change the trend from Bullish to Bearish.
Indicator 7
Trendline Breakout and Breakdown
Below chart shows RSI Trendline Breakout and Breakdown
RSI resistance trendline Breakout = Connect three or more points on the RSI line as it falls to draw a RSI downtrend line (RSI resistance trendline).
Whenever it breakout above RSI resistance trendline its a buying opportunity.
RSI support trendline Breakdown = Connect three or more points on the RSI line as it rises to draw a RSI uptrend line (RSI support trendline).
Whenever it breakdown below RSI support trendline its a selling opportunity.
Note:-
Correlate both the RSI and the closing price to ensure proper breakout or breakdown.
Challenge is to correctly identify if a breakout or breakdown is sustainable or its a false signal.
Indicator 8
RSI Crossover same timeframe
RSI with two different RSI length crossing each other on same timeframe.
when lower RSI length crossing above higher RSI length its a buy signal.
when lower RSI length crossing below higher RSI length its a sell signal.
for example RSI with length 7 & length 14 on 15 Minutes timeframe.
Green Cross shows that Fast RSI is crossing above Slow RSI on the same timeframe with different RSI length Settings, which means it may be a likely Buy Signal.
Red Cross shows that Fast RSI is crossing below Slow RSI on the same timeframe with different RSI length Settings, which means it may be a likely Sell Signal.
Indicator 9
RSI Crossover Multi timeframe
RSI with same RSI length but on two different timeframes crossing each.
when lower timeframe RSI crossing above higher timeframe RSI its a buy signal.
when lower timeframe RSI crossing below higher timeframe RSI its a sell signal.
for example RSI with length 14 on 5 Minutes and 1 Hr timeframes.
Green Cross shows that Lower Timeframe RSI is crossing above Higher Timeframe RSI with same RSI length Settings, which means it may be a likely Buy Signal.
Red Cross shows that Lower Timeframe RSI is crossing below Higher Timeframe RSI with same RSI length Settings, which means it may be a likely Sell Signal.
Indicator 10
RSI EMA/WMA/SMA Crossover
when RSI crossing above EMA/WMA/SMA its a buy signal.
when RSI crossing below EMA/WMA/SMA its a sell signal.
Green Circle shows that RSI is crossing above EMA/WMA/SMA etc, which means it may be a likely Buy Signal.
Red Circle shows that RSI is crossing below EMA/WMA/SMA etc, which means it may be a likely Sell Signal.
Indicator 11
RSI with Bollinger bands
Bollinger bands and RSI complimenting each other and giving a Buy and Sell signal in below chart
if a security price reaches upper band of a Bollinger Band channel and also the RSI is above 70 (overbought), a trader can look for selling opportunities (reversal) (sell).
but in case price reaches upper band of a Bollinger Band channel but RSI is not above 70 (overbought), there may be chance that security remains in an uptrend, so a trader may wait before entering a sell position.
if a security price reaches lower band of a Bollinger Band channel and also the RSI is below 30 (oversold), a trader can look for buying opportunities (reversal) (buy).
but in case price reaches lower band of a Bollinger Band channel but RSI is not below 30 (oversold), there may be chance that security remains in an downtrend, so a trader may wait before entering a buy position.
so bollinger band with RSI can give a double confirmation on a reversal.
Buy Signal = If the RSI is below Green Horizontal line (Oversold zone) and also below Lower Bollinger Band it indicates that an upside reversal may come, which means that it may be a likely Buy Signal.
Sell Signal = If the RSI is above Red Horizontal line (Overbought zone) and also above Upper Bollinger Band it indicates that an Downside reversal may come, which means that it may be a likely Sell Signal.
Special Thanks to //© HoanGhetti for RSI Trendlines.
Limitations of the RSI:-
RSI works best in range bound market and is less trustworthy in trending markets.
So new traders may get trapped in an uptrend or a downtrend if they forget to see the overall long term trend of that security.
Traders should set stop loss and take profit levels as per risk reward ratio.
Note:
Don't confuse RSI and relative strength. RSI is changes in the price momentum of a security.
whereas relative strength compares the price performance of two or more securities.
Like other technical indicators, RSI also is not a holy grail. It can only assist you in building a good strategy. You can only succeed with proper position sizing, risk management and following correct trading Psychology (No overtrade, No greed, No revenge trade etc).
THIS INDICATOR OF RSI IS FOR EDUCATIONAL PURPOSE AND PAPER TRADING ONLY. YOU MAY PAPER TRADE TO GAIN CONFIDENCE AND BUILD FURTHER ON THESE. PLEASE CONSULT YOUR FINANCIAL ADVISOR BEFORE INVESTING. WE ARE NOT SEBI REGISTERED.
Hope you all like it
happy learning.
Multi Timeframe Trend StrengthThis code is an advancement of my previous percentile-based trend strength. It follows the same concept, except this code display the trend and trend strength in multiple timeframe (1 min, 5 min, 15 min, 1hr and 4hr).
This gives an indication of the trend is evolving and allows to see how short-term trend matches with the long-term trend.
How it works:
The script assesses trend strength through percentile values derived from high and low prices across various time periods. It categorizes the current trend as either Bullish, Bearish, or N/A (No Trend) with the following steps:
Percentile Calculations: The code calculates the 75th percentile of high prices (e.g., percentile_13H) and the 25th percentile of low prices (e.g., percentile_13L) for specified Fibonacci-based periods (13, 21, 34, 55, 89, and 144). These percentiles serve as thresholds for identifying strong trends.
Calculate Highest High and Lowest Low: It computes the highest high (75th percentile high price of the longest period) and lowest low (25th percentile low price of the longest period), referred to as highest_high and lowest_low. These values establish critical price levels.
Trend Strength Conditions: For each percentile and period, the code checks if the percentile exceeds the highest high (trendBull) or falls below the lowest low (trendBear). These conditions gauge the strength of bullish and bearish trends.
Count Bull and Count Bear: Variables countBull and countBear tally the number of bullish and bearish conditions met, helping assess trend strength.
Weak Bull and Weak Bear Count: The code calculates weak bullish and bearish conditions, occurring when percentiles fall within the range defined by highest_high and lowest_low but don't meet strong trend criteria.
Bull Strength and Bear Strength: bullStrength and bearStrength are calculated based on counts of bullish, bearish, weak bullish, and weak bearish conditions, representing overall trend strength.
Strong Bull and Bear Conditions: These conditions arise when the 75th percentile of high prices (bull conditions) or the 25th percentile of low prices (bear conditions) surpass or dip below the highest high or lowest low, respectively, for the specified period. Strong conditions indicate robust trends with significant price movements.
Weak Bull and Bear Conditions: Weak conditions occur when percentiles fall within the range between highest_high and lowest_low, suggesting some bullish or bearish tendencies without reaching extreme levels. These imply less decisive trends.
Current Trend Identification: The current trend is determined by comparing bullStrength and bearStrength. A greater bullStrength indicates a Bull trend, greater bearStrength implies a Bear trend, and equal values denote No Trend (N/A).
Percentile Based Trend StrengthThe "Percentile Based Trend Strength" (PBTS) calculates trend strength based on percentile values of high and low prices for various length periods and then identifies the current trend as either Bullish, Bearish, or N/A (No Trend). Here's a step-by-step explanation of the code:
Percentile Calculations:
For each specified length period (13, 21, 34, 55, 89, and 144 - Fibonacci numbers), the code calculates the 75th percentile of high prices (e.g., percentile_13H) and the 25th percentile of low prices (e.g., percentile_13L). These percentiles represent levels that prices need to exceed or fall below to indicate a strong trend.
Calculate Highest High and Lowest Low:
The highest high (75th percentile high price of longest length) and lowest low (25th percentile low price of longest length) for the longest length period (144) are calculated as highest_high and lowest_low. These values represent threshold price levels .
Trend Strength Conditions:
The code calculates various conditions to determine trend strength. For each percentile value and each length period, it checks if the percentile value is greater than the highest high (trendBull) or less than the lowest low (trendBear). These conditions are used to assess the strength of the bullish and bearish trends.
Count Bull and Count Bear:
The countBull and countBear variables count the number of bullish and bearish conditions met, respectively. These counts help evaluate trend strength.
Weak Bull and Weak Bear Count:
The code calculates the number of weak bullish and bearish conditions. Weak conditions occur when a percentile value falls within the range defined by the highest high and lowest low but doesn't meet the strong trend criteria.
Bull Strength and Bear Strength:
bullStrength and bearStrength are calculated based on the counts of bullish, bearish, weak bullish, and weak bearish conditions. These values represent the overall strength of the bullish and bearish trends.
Strong Bull and Bear Conditions:
These conditions occur when the 75th percentile of high prices (for bull conditions) or the 25th percentile of low prices (for bear conditions) exceeds or falls below the highest high or lowest low, respectively, for the specified length period.
Strong bull conditions indicate a strong upward trend, while strong bear conditions indicate a strong downward trend.
Strong conditions are indicative of more significant price movements and are considered as primary signals of trend strength.
Weak Bull and Bear Conditions:
Weak bull and bear conditions are more nuanced. They occur when the 75th percentile of high prices (for weak bull conditions) or the 25th percentile of low prices (for weak bear conditions) falls within the range defined by the highest high and lowest low for the specified length period.
In other words, prices are not strong enough to reach the extreme levels represented by the highest high or lowest low, but they still exhibit some bullish or bearish tendencies within that range.
Weak conditions suggest a less robust trend. They may indicate that while there is some bias toward a bullish or bearish trend, it is not as strong or decisive as in the case of strong conditions.
Current Trend Identification:
The current trend is determined by comparing bullStrength and bearStrength. If bullStrength is greater, it's considered a Bull trend; if bearStrength is greater, it's a Bear trend. If they are equal, the trend is identified as N/A (No Trend).
Displaying Trend Information:
The code creates a table to display the current trend, reversal probability (strength), count of bullish and bearish conditions, weak bullish and weak bearish counts, and colors the text accordingly.
Plotting Percentiles:
Finally, the code plots the percentile lines for visualization, with 20% transparency. It also plots the highest high and lowest low lines (75th and 25th percentile of the longest length 144) using their original colors.
In summary, this indicator calculates trend strength based on percentile levels of high and low prices for different length periods. It then counts the number of bullish and bearish conditions, factors in weak conditions, and compares the strengths to identify the current trend as Bullish, Bearish, or No Trend. It provides a table with trend information and visualizes percentile lines on the chart.
DOW 30 - Market BreadthDOW 30 indicator is intended for short-term intraday analysis and should not be used solely alone. Best to use this indicator in a combination with technical and fundamental analysis.
This indicator is calculated from all stocks in the DJI as of 8/9/2022;
- Evaluating VWAP,
- 9 EMA,
- 20 EMA.
Vwap Calculations;
Stock above Vwap = 1 (Vwap Bull),
Stock below Vwap = 1 (Vwap Bear),
As there are 30 stocks in the DJI, there is a max value of 30 Vwap Bulls/ Vwap Bears.
Ema Calculation;
Stock above 9 EMA = 0.5 (EMA Bulls),
Stock below 9 EMA = 0.5 (EMA Bears),
Stock above 20 EMA = 0.5 (EMA Bulls),
Stock below 20 EMA = 0.5 (EMA Bears),
For the EMA Bulls to reach 30 all stocks must be trading above both the 9 EMA and 20 EMA to reach a Max Value of 30.
The reasoning for this calculation is to suggest the current strength and speed of the current turn in the market.
Horizontal Lines:
There are three horizontal lines, MAX, MIN & Neutral;
MAX & MIN
Resides at the 30 & 0 levels suggesting the market is currently at an extreme. Representing all stocks are moving in the same direction together.
When the MAX or MIN are represented in the VWAP Line this represents directional conviction in the underlining DJI.
Neutral
Neutral resides at the 15 level and represents that the market is either about to make a decision or is choppy.
EXAMPLE
Below are some examples of how the DOW 30 indicator is able to represent the current market conditions.
Understand Current Market Conditions, either being Bullish, Neutral, or Bearish.
See live Market Mechanics, and understand the current market direction on a short-term timeframe.
DOW 30 indicator is intended for short-term intraday analysis and should not be used solely alone. Best to use this indicator in a combination with technical and fundamental analysis.
If there are any additional requests to the indicator feel free to leave a comment or privet message.
Best of luck trading.
Cyclic Smoothed RSI with Motive-Corrective Wave Indicator
This indicator uses the cyclic smoothed Relative Strength Index (cRSI) instead of the traditional Relative Strength Index (RSI). See below for more info on the benefits to the cRSI.
My key contributions
1) A Weighted Moving Average (WMA) to track the general trend of the cRSI signal. This is very helpful in determining when the equity switches from bullish to bearish, which can be used to determine buy/sell points. This is then is used to color the region between the upper and lower cRSI bands (green above, red below).
2) An attempt to detect the motive (impulse) and corrective and waves. Corrective waves are indicated A, B, C, D, E, F, G. F and G waves are not technically Elliot Waves, but the way I detect waves it is really hard to always get it right. Once and a while you could actually see G and F a second time. Motive waves are identified as s (strong) and w (weak). Strong waves have a peak above the cRSI upper band and weak waves have a peak below the upper band.
3) My own divergence indicator for bull, hidden bull, bear, and hidden bear. I was not able to replicate the TradingView style of drawing a line from peak to peak, but for this indicator I think in the end it makes the chart cleaner.
There is a latency issue with an indicator that is based on moving averages. That means they tend to trigger right after key events. Perfect timing is not possible strictly with these indicators, but they do work very well "on average." However, my implementation has minimal latency as peaks (tops/bottoms) only require one bar to detect.
As a bit of an Easter Egg, this code can be tweaked and run as a strategy to get buy/sell signals. I use this code for both my indicator and for trading strategy. Just copy and past it into a new strategy script and just change it from study to a strategy, something like this:
strategy("cRSI + Waves Strategy with VWMA overlay", overlay=overlay)
The buy/sell code is at the end and just needs to be uncommented. I make no promises or guarantees about how good it is as a strategy, but it gives you some code and ideas to work with.
Tuning
1) Volume Weighted Moving Average (VWMA): This is a “hidden strategy” feature implemented that will display the high-low bands of the VWMA on the price chart if run the code using “overlay = true”.
- If the equity does not have volume, then the VWMA will not show up. Uncheck this box and it will use the regular WMA (no volume).
- defines how far back the WMA averages price.
2) cRSI (Black line in the indicator)
- Increase to length that amount of time a band (upper/lower) stays high/low after a peak. Reduce the value to shorten the time. Just increment it up/down to see the effect.
- defines how far back the SMA averages the cRSI. This affects the purple line in the indicator.
- defines how many bars back the peak detector looks to determine if a peak has occurred. For example, a top is detected like this: current-bar down relative to the 1-bar-back, 1-bar-back up relative to 2-bars-back (look back = 1), c) 2-bars-back up relative to 3-bars-back (lookback = 2), and d) 3-bars-back up relative to 4-bars-back (lookback = 3). I hope that makes sense. There are only 2 options for this setting: 2 or 3 bars. 2 bars will be able to detect small peaks but create more “false” peaks that may not be meaningful. 3 bars will be more robust but can miss short duration peaks.
3) Waves
- The check boxes are self explanatory for which labels they turn on and off on the plot.
4) Divergence Indicators
- The check boxes are self explanatory for which labels they turn on and off on the plot.
Hints
- The most common parameter to change is the . Different stocks will have different levels of strength in their peaks. A setting of 2 may generate too many corrective waves.
- Different times scales will give you different wave counts. This is to be expected. A counter impulse wave inside a corrective wave may actually go above the cRSI WMA on a smaller time frame. You may need to increase it one or two levels to see large waves.
- Just because you see divergence (bear or hidden bear) does not mean a price is going to go down. Often price continues to rise through bears, so take note and that is normal. Bulls are usually pretty good indicators especially if you see them on C,E,G waves.
----------------------------------------------------------------------------------------------------------------------------
cyclic smoothed RSI (cRSI) indicator
----------------------------------------------------------------------------------------------------------------------------
The “core” code for the cyclic smoothed RSI (cRSI) indicator was written by Lars von Theinen and is subject to the terms of the Mozilla Public License 2.0 at mozilla.org Copyright (C) 2017 CC BY, whentotrade / Lars von Thienen. For more details on the cRSI Indicator:
The cyclic smoothed RSI indicator is an enhancement of the classic RSI, adding
1) additional smoothing according to the market vibration,
2) adaptive upper and lower bands according to the cyclic memory and
3) using the current dominant cycle length as input for the indicator.
It is much more responsive to market moves than the basic RSI. The indicator uses the dominant cycle as input to optimize signal, smoothing, and cyclic memory. To get more in-depth information on the cyclic-smoothed RSI indicator, please read Decoding The Hidden Market Rhythm - Part 1: Dynamic Cycles (2017), Chapter 4: "Fine-tuning technical indicators." You need to derive the dominant cycle as input parameter for the cycle length as described in chapter 4.
Hope this helps and good luck.
9 Seasons Rainbow Indicator PRO [GO8686]Trading on 5 minutes frame can be as reasonable as on 4H frame, use 9 Seasons Rainbow Indicator PRO for both.
5分钟维度的交易可以与4小时维度一样合理,请使用9季彩虹指标 PRO 。
Market is full of life, with seasons.
9 Seasons Rainbow Indicator displays 9 seasons of any trading instrument in multiple time frames, helping traders and investors understand the flow of price.
The combination of seasons in different time dimensions may give perfect trading signals, for instance: overbought in both small time frame and big time frame has high success probability of shorting trade.
Please install the indicator: Demo, PRO or STANDARD Version. Apply the indicator to your favorites trading instruments: indices, stocks, futures , forex or crypto currencies. Find your patterns that make money.
---------- 9 Seasons ----------
Bull(Green), evolves into BullRest, OverBought, Bear, or Neutral
Bull Rest(Light Green): a pullback or retracement, evolves into Bull or Bear
OverBought(Yellow): may have defined a top or resistance, can happen in range, evolves into CrazyBought or Bear
CrazyBought(Lime): going up in a high volatility , evolves into Bear, OverBought, or BullRest
Neutral(White): a wandering season without direction, evolves into Bull or Bear
Bear(Red), evolves into BearRest, OverSold, Bull or Neutral
Bear Rest(Light Red): a bounce, evolves into Bear or Bull
OverSold(Blue): may have defined a bottom or support, can happen in range, evolves into CrazySold or Bull
CrazySold(Fuchsia): going down in a high volatility , evolves into Bull, OverSold, or BearRest
---------- Some important evolutions of seasons ----------
OverBought -> CrazyBought: can happen with a breakout
CrazyBought -> OverBought or Bear: could mean fading of a breakout
CrazyBought -> BullRest: can happen after rising over a new level
OverSold -> CrazySold: can happen with a breakdown
CrazySold -> OverSold or Bear: could mean fading of a breakdown
CrazySold -> BearRest: can happen after dropping to a new level
---------- Rainbow Ribbons for multiple time frames ----------
Each ribbon of the rainbow represents a time frame,
The difference between two frames is 1.4142 fold (square root of 2), if level 1 is 15 M, level 2 is 15 * (square root of 2) M. level 3 is 15*2 M, level 4 is 30 * (square root of 2) M, level 5 is 30 * 2 m etc.
The uppermost ribbon represents the smallest time frame - current time period of the chart.
The lower ribbons represent bigger time frames, which work as context.
Examples for time frame rainbow:
For DEMO in 30M: 30M - 42M - 60M(1H) - 85M - 120M(2H) - 170M - 240M(4H) - 339M
For STANDARD in 15M: 15M - 21M - 30M - 42M - 60M(1H) - 85M - 120M(2H) - 170M
For PRO in 15M: 15M - 21M - 30M - 42M - 60M(1H) - 85M - 120M(2H) - 170M - 240M(4H) - 339M - 480M(8H) - 679M
---------- Versions Description ----------
The features may change later, please refer to latest update.
PRO:
PRO version of 9 Seasons Rainbow Indicator is invite-only, with the following advanced features:
12 Ribbon Rainbow lets you discover trading opportunities hidden in the 1.4142 fold time dimension while monitoring market conditions spanning 45 times.
Advanced alert sets allows you set alerts for Overbought, Crazybought, OverSold, CrazySold on low, medium, and high time frames.
Option to input different trading instrument to compare with the current ticker.
Full time periods access allows you to watch the market on broadest time dimensions.
More new features in updates.
STANDARD:
This is STANDARD version of 9 Seasons Rainbow Indicator, invite-only, with the following advanced features:
8 Ribbon Rainbow lets you discover trading opportunities hidden in the 1.4142 fold time dimension while monitoring market conditions spanning 11 times.
Advanced alert sets allows you set alerts for Overbought, Crazybought, OverSold, CrazySold on upper and lower time frames.
Broad time periods access allows you to watch the market on popular time dimensions from 15M - 1D,2D,3D,4D,5D,6D,1W.
More new features in updates.
DEMO:
A DEMO of Standard version for trial purpose, having most the functions except alert preset conditions.
It is applicable to a list of trading instruments and specific time periods(30m-1D), which may change later. please refer to latest updates.
---List of tickers applicable for Demo version.
Currency Index:AXY, BXY , CXY , DXY , EXY , JXY , SXY , ZXY ,
Stock Index:SPX,TSX, DAX , NI225 ,KOSPI,399001, SHCOMP , HSI , XJO , TAIEX , SX5E ,
Crypto:BTCUSD
Commodity:BCOUSD, GOLD
---------- Access to Indicators ----------
Please use DEMO version to taste the indicator.
Please contact the author for access to PRO or Standard versions.
---------- About Loading Time ----------
It may take up to 2 minutes for your browser to load a new setting, depending on the your computer and network speed.
---------- List of the author's Indicators ----------
tradingview.com/u/go8686/#published-scripts
---------- Disclaim ----------
By using or requesting access to this indicator, you acknowledge that you have read and accepted that this indicator is for study purposes only and it does NOT guarantee you will make money.
I am not financial adviser and I am NOT responsible for any profits or losses you may incur by using this indicator!
Users should make their own decisions, carefully assess risks and be responsible for investment and trading activities.
The latest updates override the previous description. Please check the updates.
9季彩虹指标 PRO
市场充满生机。
9季彩虹指标在多个时间维度上显示任何交易品种的9个季节交替,帮助交易者和投资者了解价格流动。
不同时间维度的季节组合可以给出完美的交易信号,例如:在小时间框架和大时间框架上同时出现超买具有很高的卖空交易成功概率。
请安装指标:DEMO,STANDARD 或者 PRO 版本. 应用指标到您的交易品种:证券,期货,外汇或者加密货币。找到属于您的盈利模式。
---------- 季节的定义 ----------
牛(绿色),可以演变到牛市回调,超买,熊 或者 中性
牛市回调(淡绿色):可以演变到牛或者熊
超买(黄色),可能刚刚定义了一个头部或者阻力区,可以发生在盘整期,可以演变到狂买或者熊
狂买(亮绿色):高波动性上涨,可以演变到熊,超买或者牛市回调
中性(白色): 没有方向的徘徊期,可以演变到牛或者熊
熊(红色),可以演变到熊市反弹,超卖,牛 或者 中性
熊市反弹(淡红色),可以演变到熊或者牛
超卖(蓝色),可能刚刚定义了一个底部或者支撑,可以发生在盘整期,可以演变到狂卖或者牛
狂卖(紫红色),高波动性下跌,可以演变到牛,超卖 或者熊市反弹
一些重要的季节交替
超买 -> 狂买:可能发生在向上突破时
狂买 -> 熊 或者 超买:可能发生在突破失败时
狂买 -> 牛市回调: 可能发生在上平台后
超卖 -> 狂卖:可能发生在向下突破时
狂卖 -> 牛 或者 超卖:可能发生在突破失败时
狂卖 -> 熊市回调: 可能发生在下平台后
---------- 色带彩虹所代表的时间维度 ----------
每条色带代表一个时间维度。
色带间隔1.4142倍(2的开方),如果第一维度是15分钟,第二维度是15*1.4142=21分钟,第三维度是15*2=30分钟,以此类推。
最上面的色带代表最小的时间维度,也就是目前图表的时间维度
最下面的色带代表最大的时间维度。
例子:
演示版: 30m-42m-60m(1H)-85m-120m(2H)-170m-240m(4H)-339m
标准版: 15m-21m-30m-42m-60m(1H)-85m-120m(2H)-170m
专业版: 15m-21m-30m-42m-60m(1H)-85m-120m(2H)-170m-240m(4H)-339m-480m(8H)-679m
---------- 不同版本功能描述 ----------
这些特征及功能可能会发生变化,以更新为准。
---专业版PRO高级特征
12色带彩虹让您发现隐藏在1.4142时间维度的交易机会,同时监控时间跨度达四十五倍的市场状态
高级警报功能:允许您在低,中,高时间帧上设置超买,狂买,超卖,狂卖的警报。
可以输入不同的交易品种用于指标,便于与当前交易品种进行比较。
全时间维度(分钟到日线级别)给您全视角观察市场
更新中的更多新功能。
---标准版STANDARD特征
8色带彩虹让您发现隐藏在1.4142时间维度的交易机会,同时监控时间跨度达十一倍的市场状态
高级警报功能:允许您在低,高时间层级上设置超买,狂买,超卖,狂卖的警报。
宽时间维度(15分钟到日线级别)让您从更宽阔的视角观察市场
更新中的更多新功能。
--演示版DEMO
演示版用于标准版的演示和试用,适用于特定的资产列表和时间维度(30M-1D),后续可能调整.
适用的品种列表
AXY , BXY , CXY , DXY , EXY , JXY , SXY , ZXY ,
SPX ,TSX, DAX , NI225 ,KOSPI,399001, SHCOMP , HSI , XJO , TAIEX , SX5E ,
BTCUSD , BCOUSD , GOLD
---------- 获得使用权 ----------
请使用演示版以初步了解指标的运行机理。
联系指标开发者以取得标准版和专业版的使用权
---------- 开发者的指标列表 ----------
tradingview.com/u/go8686/#published-scripts
---------- 加载时间 ----------
可能需要2分钟,取决于网络和电脑配置。
---------- 免责声明 ----------
在要求获得本指标使用权之前以及在使用本指标之前,用户认可已经完全了解和接受:本指标仅供研究目的, 它不提供任何赢利的可能性。
本指标的开发者并非专业投资顾问,因此不对用户的任何赢亏负责。
用户应独立判断,审慎评估并自负投资和交易风险!
最近的更新会覆盖之前的说明。 请参阅更新来查看指标的新特征和功能。
9 Seasons Rainbow Indicator STANDARD [GO8686]Market is full of life, with seasons.
9 Seasons Rainbow Indicator displays 9 seasons of any trading instrument in multiple time frames, helping traders and investors understand the flow of price.
The combination of seasons in different time dimensions may give perfect trading signals, for instance: overbought in both small time frame and big time frame has high success probability of shorting trade.
Please install the indicator: Demo, PRO or STANDARD Version. Apply the indicator to your favorites trading instruments: indices, stocks, futures , forex or crypto currencies. Find your patterns that make money.
---------- 9 Seasons ----------
Bull(Green), evolves into BullRest, OverBought, Bear, or Neutral
Bull Rest(Light Green): a pullback or retracement, evolves into Bull or Bear
OverBought(Yellow): may have defined a top or resistance, can happen in range, evolves into CrazyBought or Bear
CrazyBought(Lime): going up in a high volatility , evolves into Bear, OverBought, or BullRest
Neutral(White): a wandering season without direction, evolves into Bull or Bear
Bear(Red), evolves into BearRest, OverSold, Bull or Neutral
Bear Rest(Light Red): a bounce, evolves into Bear or Bull
OverSold(Blue): may have defined a bottom or support, can happen in range, evolves into CrazySold or Bull
CrazySold(Fuchsia): going down in a high volatility , evolves into Bull, OverSold, or BearRest
---------- Some important evolutions of seasons ----------
OverBought -> CrazyBought: can happen with a breakout
CrazyBought -> OverBought or Bear: could mean fading of a breakout
CrazyBought -> BullRest: can happen after rising over a new level
OverSold -> CrazySold: can happen with a breakdown
CrazySold -> OverSold or Bear: could mean fading of a breakdown
CrazySold -> BearRest: can happen after dropping to a new level
---------- Rainbow Ribbons for multiple time frames ----------
Each ribbon of the rainbow represents a time frame,
The difference between two frames is 1.4142 fold (square root of 2), if level 1 is 15 M, level 2 is 15 * (square root of 2) M. level 3 is 15*2 M, level 4 is 30 * (square root of 2) M, level 5 is 30 * 2 m etc.
The uppermost ribbon represents the smallest time frame - current time period of the chart.
The lower ribbons represent bigger time frames, which work as context.
Examples for time frame rainbow:
For DEMO in 30M: 30M - 42M - 60M(1H) - 85M - 120M(2H) - 170M - 240M(4H) - 339M
For STANDARD in 15M: 15M - 21M - 30M - 42M - 60M(1H) - 85M - 120M(2H) - 170M
For PRO in 15M: 15M - 21M - 30M - 42M - 60M(1H) - 85M - 120M(2H) - 170M - 240M(4H) - 339M - 480M(8H) - 679M
---------- Versions Description ----------
The features may change later, please refer to latest update.
STANDARD:
This is STANDARD version of 9 Seasons Rainbow Indicator, invite-only, with the following advanced features:
8 Ribbon Rainbow lets you discover trading opportunities hidden in the 1.4142 fold time dimension while monitoring market conditions spanning 11 times.
Advanced alert sets allows you set alerts for Overbought, Crazybought, OverSold, CrazySold on upper and lower time frames.
Broad time periods access allows you to watch the market on popular time dimensions from 15M - 1D,2D,3D,4D,5D,6D,1W.
More new features in updates.
PRO:
PRO version of 9 Seasons Rainbow Indicator is invite-only, with the following advanced features:
12 Ribbon Rainbow lets you discover trading opportunities hidden in the 1.4142 fold time dimension while monitoring market conditions spanning 45 times.
Advanced alert sets allows you set alerts for Overbought, Crazybought, OverSold, CrazySold on low, medium, and high time frames.
Option to input different trading instrument to compare with the current ticker.
Full time periods access allows you to watch the market on broadest time dimensions.
More new features in updates.
DEMO:
A DEMO of Standard version for trial purpose, having most the functions except alert preset conditions.
It is applicable to a list of trading instruments and specific time periods(30m-1D), which may change later. please refer to latest updates.
---List of tickers applicable for Demo version.
Currency Index:AXY, BXY , CXY , DXY , EXY , JXY , SXY , ZXY ,
Stock Index:SPX,TSX, DAX , NI225 ,KOSPI,399001, SHCOMP , HSI , XJO , TAIEX , SX5E ,
Crypto:BTCUSD
Commodity:BCOUSD, GOLD
---------- Access to Indicators ----------
Please contact the author for access to PRO or Standard versions.
---------- About Loading Time ----------
It may take up to 2 minutes for your browser to load a new setting, depending on the your computer and network speed.
---------- List of the author's Indicators ----------
tradingview.com/u/go8686/#published-scripts
---------- Disclaim ----------
By using or requesting access to this indicator, you acknowledge that you have read and accepted that this indicator is for study purposes only and it does NOT guarantee you will make money.
I am not financial adviser and I am NOT responsible for any profits or losses you may incur by using this indicator!
Users should make their own decisions, carefully assess risks and be responsible for investment and trading activities.
The latest updates override the previous description. Please check the updates.
9季彩虹指标 标准版 STANDARD
市场充满生机。
9季彩虹指标在多个时间维度上显示任何交易品种的9个季节交替,帮助交易者和投资者了解价格流动。
不同时间维度的季节组合可以给出完美的交易信号,例如:在小时间框架和大时间框架上同时出现超买具有很高的卖空交易成功概率。
请安装指标:DEMO,STANDARD 或者 PRO 版本. 应用指标到您的交易品种:证券,期货,外汇或者加密货币。找到属于您的盈利模式。
---------- 季节的定义 ----------
牛(绿色),可以演变到牛市回调,超买,熊 或者 中性
牛市回调(淡绿色):可以演变到牛或者熊
超买(黄色),可能刚刚定义了一个头部或者阻力区,可以发生在盘整期,可以演变到狂买或者熊
狂买(亮绿色):高波动性上涨,可以演变到熊,超买或者牛市回调
中性(白色): 没有方向的徘徊期,可以演变到牛或者熊
熊(红色),可以演变到熊市反弹,超卖,牛 或者 中性
熊市反弹(淡红色),可以演变到熊或者牛
超卖(蓝色),可能刚刚定义了一个底部或者支撑,可以发生在盘整期,可以演变到狂卖或者牛
狂卖(紫红色),高波动性下跌,可以演变到牛,超卖 或者熊市反弹
一些重要的季节交替
超买 -> 狂买:可能发生在向上突破时
狂买 -> 熊 或者 超买:可能发生在突破失败时
狂买 -> 牛市回调: 可能发生在上平台后
超卖 -> 狂卖:可能发生在向下突破时
狂卖 -> 牛 或者 超卖:可能发生在突破失败时
狂卖 -> 熊市回调: 可能发生在下平台后
---------- 色带彩虹所代表的时间维度 ----------
每条色带代表一个时间维度。
色带间隔1.4142倍(2的开方),如果第一维度是15分钟,第二维度是15*1.4142=21分钟,第三维度是15*2=30分钟,以此类推。
最上面的色带代表最小的时间维度,也就是目前图表的时间维度
最下面的色带代表最大的时间维度。
例子:
演示版: 30m-42m-60m(1H)-85m-120m(2H)-170m-240m(4H)-339m
标准版: 15m-21m-30m-42m-60m(1H)-85m-120m(2H)-170m
专业版: 15m-21m-30m-42m-60m(1H)-85m-120m(2H)-170m-240m(4H)-339m-480m(8H)-679m
---------- 不同版本功能描述 ----------
这些特征及功能可能会发生变化,以更新为准。
---标准版STANDARD特征
8色带彩虹让您发现隐藏在1.4142时间维度的交易机会,同时监控时间跨度达十一倍的市场状态
高级警报功能:允许您在低,高时间层级上设置超买,狂买,超卖,狂卖的警报。
宽时间维度(15分钟到日线级别)让您从更宽阔的视角观察市场
更新中的更多新功能。
---专业版PRO高级特征
12色带彩虹让您发现隐藏在1.4142时间维度的交易机会,同时监控时间跨度达四十五倍的市场状态
高级警报功能:允许您在低,中,高时间帧上设置超买,狂买,超卖,狂卖的警报。
可以输入不同的交易品种用于指标,便于与当前交易品种进行比较。
全时间维度(分钟到日线级别)给您全视角观察市场
更新中的更多新功能。
--演示版DEMO
演示版用于标准版的演示和试用,适用于特定的资产列表和时间维度(30M-1D),后续可能调整.
适用的品种列表
AXY , BXY , CXY , DXY , EXY , JXY , SXY , ZXY ,
SPX ,TSX, DAX , NI225 ,KOSPI,399001, SHCOMP , HSI , XJO , TAIEX , SX5E ,
BTCUSD , BCOUSD , GOLD
---------- 获得使用权 ----------
联系指标开发者以取得标准版和专业版的使用权
---------- 开发者的指标列表 ----------
tradingview.com/u/go8686/#published-scripts
---------- 加载时间 ----------
可能需要2分钟,取决于网络和电脑配置。
---------- 免责声明 ----------
在要求获得本指标使用权之前以及在使用本指标之前,用户认可已经完全了解和接受:本指标仅供研究目的, 它不提供任何赢利的可能性。
本指标的开发者并非专业投资顾问,因此不对用户的任何赢亏负责。
用户应独立判断,审慎评估并自负投资和交易风险!
最近的更新会覆盖之前的说明。 请参阅更新来查看指标的新特征和功能。
Order Flow Analysis [Master Alert]This script is a custom modification of the original "Order Flow Analysis" indicator by kingthies.
I have taken the original code and engineered a "Master Alert" system into it. Here is the breakdown of what this specific script does:
1. The Core Purpose: "One Ring to Rule Them All"
In the original script, if you wanted to catch every move, you would have to set up separate alerts for Divergences, Absorptions, Crosses, etc. This modified script combines all 8 possible signals into a single "Master Trigger."
2. What triggers the Alert?
The alert will fire if ANY of the following 4 events happen on a candle:
Divergence (The Arrows):
Green Arrow: Price makes lower low, Pressure makes higher low (Bullish).
Red Arrow: Price makes higher high, Pressure makes lower high (Bearish).
Absorption (The Transparent Bars):
Bull Absorption: Huge volume + Price won't drop (Hidden Buying).
Bear Absorption: Huge volume + Price won't rise (Hidden Selling).
Zero Line Crosses (The Sentiment Flip):
Bull Cross: Pressure score flips from Negative to Positive.
Bear Cross: Pressure score flips from Positive to Negative.
Strong Zones (Turbo Mode):
Strong Bull: Pressure score breaks above +50.
Strong Bear: Pressure score breaks below -50.
3. How to Use It
Add the script to your chart.
Create an Alert.
Select "Order Flow Master" as the Condition.
Select "MASTER ALERT (All Signals)".
Now, you will get a notification for every single significant event this indicator detects, without needing multiple alert slots.
Kinetic EMA & Volume with State EngineKinetic EMA & Volume with State Engine (EMVOL)
1. Introduction & Concept
The EMVOL indicator converts a dense family of EMA signals and volume flows into a compact “state engine”. Instead of looking at individual EMA lines or simple crossovers, the script treats each EMA as part of a kinetic vector field and classifies the market into interpretable states:
- Trend direction and strength (from a grid of prime‑period EMAs).
- Volume regime (expansion, contraction, climax, dry‑up).
- Order‑flow bias via delta (buy versus sell volume).
- A combined scenario label that summarises how these three layers interact.
The goal is educational: to help traders see that moving averages and volume become more meaningful when observed as a structure, not as isolated lines. EMVOL is therefore designed as a real‑time teaching tool, not as an automatic signal generator.
2. Volume Settings
Group: “Volume Settings”
A. Calculation Method
- Geometry (Source File) – Default mode.
Buy and sell volume are estimated from each candle’s geometry: the close is compared to the high/low range and the bar’s total volume is split proportionally between buyers and sellers. This approximation works on any TradingView plan and does not require lower‑timeframe data.
- Intrabar (Precise) – Reconstructs buy/sell volume using a lower timeframe via requestUpAndDownVolume(). The script asks TradingView for historical intrabar data (e.g., 15‑second bars) and builds buy/sell volume and delta from that stream. This mode can produce a more accurate view of order flow, but coverage is limited by your account’s history limits and the symbol’s available lower‑timeframe data.
B. Intrabar Resolution (If Precise)
- Intrabar Resolution (If Precise) – Selected only when the calculation method is “Intrabar (Precise)”. It defines which lower timeframe (for example 15S, 30S, 1m) is used to compute up/down volume. Smaller intrabar timeframes may give smoother and more granular deltas, but require more historical depth from the platform.
When “Intrabar (Precise)” is active, the dashboard’s extended section shows the resolution and the number of bars for which precise volume has been successfully retrieved, in the format:
- Mode: Intrabar (15S) – where N is the count of bars with valid high‑resolution volume data.
In Geometry mode this counter simply reflects the processed bars in the current session.
3. Kinetic Vector Settings
Group: “Kinetic Vector”
A. Vector Window
- Vector Window – Controls the temporal smoothing applied to the aggregated vectors (trend, volume, delta, etc.). Internally, each bar’s vector value is averaged with a simple moving window of this length.
- Shorter windows make the state engine more reactive and sensitive to local swings.
- Longer windows make the states more stable and better suited to higher‑timeframe structure.
B. Max Prime Period
- Max Prime Period – Sets the largest prime number used in the EMA grid. The engine builds a family of EMAs on prime lengths (2, 3, 5, 7, …) up to this limit and converts their slopes into angles.
- A higher limit increases the number of long‑horizon EMAs in the grid and makes the vectors sensitive to broader structure.
- A lower limit focuses the analysis on short- and medium‑term behaviour.
C. Price Source
- Price Source – The price series from which the kinetic EMA grid is built (e.g., Close, HLC3, OHLC4). Changing the source modifies the context that the state engine is reading but does not change the core logic.
4. State Engine Settings
Group: “State Engine Settings”
These inputs define how the continuous vectors are translated into discrete states.
A. Trend Thresholds
- Strong Trend Threshold – Value above which the trend vector is treated as “extreme bullish” and below which it is “extreme bearish”.
- Weak Trend Threshold – Inner boundary between neutral and directional conditions.
Roughly:
- |trend| < weak → Neutral trend state.
- weak < |trend| ≤ strong → Bullish/Bearish.
- |trend| > strong → Extreme Bullish/Extreme Bearish.
B. Volume Thresholds
- Volume Climax Threshold – Upper bound at which volume is considered “climax” (unusually expanded participation).
- Volume Expansion Threshold – Boundary for normal expansion versus contraction.
Conceptually:
- Volume above “expansion” indicates increasing activity.
- Volume near or above “climax” marks extreme participation.
- Negative values below the symmetric thresholds map to contraction and extreme dry‑up (liquidity vacuum) states.
C. Delta Thresholds
- Strong Delta Threshold – Cut‑off for extreme buying or selling dominance in delta.
- Weak Delta Threshold – Threshold for mild buy/sell bias versus neutral order flow.
Combined with the sign of the delta vector, these thresholds classify order flow as:
- Extreme Buy, Buy‑Dominant, Neutral, Sell‑Dominant, Extreme Sell.
D. State Hysteresis Bars
- State Hysteresis Bars – Minimum number of bars for which a new state must persist before the engine commits to the change. This prevents the dashboard from flickering during fast spikes and emphasises persistent market behaviour.
- Smaller values switch states quickly; larger values demand more confirmation.
5. Visual Interface
Group: “Visual Interface”
A. Ribbon Base Color
- Ribbon Base Color – Base hue for the multi‑layer EMA ribbon drawn around price. The script plots a dense grid of hidden EMAs and fills the gaps between them to form a semi‑transparent band. Narrow, overlapping bands hint at compression; wider separation hints at dispersion across EMA horizons.
B. Show Dashboard
- Show Dashboard – Toggles the on‑chart table which summarises the current state engine output. Disable this if you only want to keep the EMA ribbon and volume‑based structure on the price chart.
C. Color Theme
- Color Theme – Switch between a dark and light style for the dashboard background and text colours so that the table matches your chart theme.
D. Table Position
- Table Position – Places the dashboard at any corner or edge of the chart (Top / Middle / Bottom × Left / Centre / Right).
E. Table Size
- Table Size – Changes the dashboard’s text size (Tiny, Small, Normal, Large). Use a larger size on high‑resolution screens or when streaming.
F. Show Extended Info
- Show Extended Info – Adds diagnostic rows under the main state summary:
- Mode / Primes / Vector – Shows the current calculation mode (Geometry / Intrabar), the selected intrabar resolution and coverage in bars ( ), how many prime periods are active, and the vector window.
- Values – Displays the current aggregated vectors:
- P: price vector
- V: volume vector
- B: buy‑volume vector
- S: sell‑volume vector
- D: delta vector
Values are bounded between ‑1 and +1.
- Volume Stats – Prints the last bar’s raw buy volume, sell volume and delta as formatted numbers.
- Footer – A final row with the symbol and current time: #SYMBOL | HH:MM.
These extended rows are meant for inspecting how the engine is behaving under the hood while you scroll the chart and compare different assets or timeframes.
6. Language Settings
Group: “Language Settings”
- Select Language – Switches the entire dashboard between English and Turkish.
The underlying calculations and scenario logic are identical; only the labels, titles and comments in the table are translated.
7. Dashboard Structure & Reading Guide
The table summarises the current situation in a few rows:
1. System Header – Shows the script name and the active calculation method (“Geometry” or “Intrabar”).
2. Scenario Title – High‑level description of the current combined scenario (e.g., “Trending Buy Confirmed”, “Sideways Balanced”, “Bull Trap”, “Blow‑Off Top”). The background colour is derived from the scenario family (trending, compression, exhaustion, anomaly, etc.).
3. Bias / Trend Line – States the dominant trend bias derived from the trend vector (Extreme Bullish, Bullish, Neutral, Bearish, Extreme Bearish).
4. Signal / Consideration Line – A short sentence giving qualitative guidance about the current state (for example: continuation risk, exhaustion risk, trap‑like behaviour, or compression). This is deliberately phrased as a consideration, not as a direct trading signal.
5. Trend / Volume / Delta Rows – Three separate rows explain, in plain language, how the trend, volume regime and delta are classified at this bar.
6. Extended Info (optional) – Mode / primes / vector settings, current vector values, and last‑bar volume statistics, as described above.
Together, these rows are meant to be read as a narrative of what price, volume and order‑flow are doing, not as mechanical instructions.
8. State Taxonomy
The state engine organizes market behaviour in three stages.
8.1 Trend States (from the Price Vector)
- Extreme Bullish Trend – The prime‑grid price vector is strongly upward; most EMAs are aligned to the upside.
- Bullish Trend – Upward bias is present, but less extreme.
- Neutral Trend – EMAs are mixed or flat; price is effectively sideways relative to the grid.
- Bearish Trend – Downward bias, with the EMA grid sloping down.
- Extreme Bearish Trend – Strong downside alignment across the grid.
8.2 Volume Regime States (from the Volume Vector)
- Volume Climax (Buy‑Side) – Strong positive volume vector; participation is unusually high in the current direction.
- Volume Expansion – Activity above normal but below the climax threshold.
- Neutral Volume – No major expansion or contraction versus recent history.
- Volume Contraction – Activity is drying up compared with the past.
- Extreme Dry‑Up / Liquidity Vacuum – Very low participation; the market is thin and prone to slippage.
8.3 Delta Behaviour States (from the Delta Vector)
- Extreme Buy Delta – Buying pressure dominates strongly.
- Buy‑Dominant Delta – Buy volume exceeds sell volume, but not at an extreme.
- Neutral Delta – Buy and sell flows are roughly balanced.
- Sell‑Dominant Delta – Selling pressure dominates.
- Extreme Sell Delta – Aggressive, one‑sided selling.
8.4 Combined Scenario State s
EMVOL uses the three base states above to generate a single scenario label. These scenarios are designed to be read as context, not as entry or exit signals.
Trending Scenarios
1. Trending Buy Confirmed
- Bullish or extreme bullish trend, supported by expanding or climax volume and buy‑side delta.
- Educational idea: a healthy uptrend where both participation and order flow agree with the direction.
2. Trending Buy – Weak Volume
- Bullish trend, but volume is neutral, contracting or in dry‑up while delta is still buy‑side.
- Educational idea: price is advancing, yet participation is thinning; trend continuation becomes more fragile.
3. Trending Sell Confirmed
- Bearish or extreme bearish trend, with expanding or climax volume and sell‑side delta.
- Educational idea: strong downtrend with both volume and order‑flow confirmation.
4. Trending Sell – Weak Volume
- Bearish trend, but volume is neutral, contracting or very low while delta remains sell‑side.
- Educational idea: downside continues but with limited participation; vulnerable to short‑covering.
Sideways / Range Scenarios
5. Sideways Balanced
- Neutral trend, neutral delta, neutral volume.
- Classic range environment; low directional edge, suitable for observation and context rather than trend trading.
6. Sideways with Buy Pressure
- Neutral trend, but buy‑side delta is dominant or extreme.
- Range with latent accumulation: price may still appear sideways, but buyers are quietly more active.
7. Sideways with Sell Pressure
- Neutral trend with dominant or extreme sell‑side delta.
- Distribution‑like environment where price chops while sellers are gradually more aggressive.
Exhaustion & Volume Extremes
8. Exhaustion – Buy Risk
- Extreme bullish trend, volume climax and strong buy‑side delta.
- Educational idea: very strong up‑move where both participation and delta are already stretched; risk of exhaustion or blow‑off.
9. Exhaustion – Sell Risk
- Extreme bearish trend, volume dry‑up and strong sell‑side delta.
- Suggests one‑sided selling into increasingly thin liquidity.
10. Volume Climax (Buy)
- Neutral trend, neutral delta, but volume at climax levels.
- Often associated with a “big event” bar where participation spikes without a clear directional commitment.
11. Volume Climax (Sell / Dry‑Up)
- Neutral trend and neutral delta, while the volume vector indicates an extreme dry‑up.
- Highlights a stand‑still episode: very limited interest from both sides, increasing the sensitivity to future impulses.
Divergences
12. Divergence – Bullish Context
- Bullish or extreme bullish trend, but delta has faded back to neutral.
- Price trend continues while order‑flow conviction softens; can precede pauses or complex corrections.
13. Divergence – Bearish Context
- Bearish or extreme bearish trend with a neutral delta.
- Downtrend persists, but selling pressure no longer dominates as clearly.
Consolidation & Compression
14. Consolidation
- Default state when no specific pattern dominates and the market is broadly balanced.
- Educational use: treat this as a “no strong edge” label; focus on structure rather than direction.
15. Breakout Imminent
- Neutral trend with contracting volume.
- Compression phase where energy is building up; often precedes transitions into trending or shock scenarios.
Traps & Hidden Divergences
16. Bull Trap
- Bullish trend, with neutral or contracting volume and sell‑side delta.
- Price appears strong, but order‑flow shifts against it; often seen near fake breakouts or failing rallies.
17. Bear Trap
- Bearish trend, neutral or contracting volume, but buy‑side delta.
- Downtrend “looks” intact, while buyers become more aggressive underneath the surface.
18. Hidden Bullish Divergence
- Bullish trend, contracting volume, but strong buy‑side delta.
- Educational idea: price dips or slows while aggressive buyers step in, often inside an ongoing uptrend.
19. Hidden Bearish Divergence
- Bearish trend, volume expansion and strong sell‑side delta.
- Reinforced downside pressure even if price is temporarily retracing.
Reversal & Transition Patterns
20. Reversal to Bearish
- Neutral trend, volume climax and strong sell‑side delta.
- Suggests that heavy selling appears at the top of a move, turning a previously neutral or rising context into potential downside.
21. Reversal to Bullish
- Neutral trend, extreme volume dry‑up and strong buy‑side delta.
- Often associated with selling exhaustion where buyers start to take control.
22. Indecision Spike
- Neutral trend with extreme volume (climax or dry‑up) but neutral delta.
- Crowd participation changes sharply while order‑flow remains undecided; treat as an informational spike rather than a direction.
Extended Compression & Acceleration
23. Coiling Phase
- Neutral trend, contracting volume, and delta that is neutral or only mildly one‑sided.
- Extended compression where price, volume and delta all contract into a tightly coiled range, often preceding a strong move.
24. Bullish Acceleration
- Bullish trend with volume expansion and strong buy‑side delta.
- Uptrend not only continues but gains kinetic strength; educationally, this illustrates how trend, volume and delta align in the strongest phases of a move.
25. Bearish Acceleration
- Bearish trend with volume expansion and strong sell‑side delta.
- Mirror image of Bullish Acceleration on the downside.
Trend Exhaustion & Climax Reversal
26. Bull Exhaustion
- Bullish or extreme bullish trend, with contraction or dry‑up in volume and buy‑side or neutral delta.
- The move has already travelled far; participation fades while price is still elevated.
27. Bear Exhaustion
- Bearish or extreme bearish trend, with volume climax or contraction and sell‑side or neutral delta.
- Down‑move may be approaching a point where additional selling pressure has diminishing impact.
28. Blow‑Off Top
- Extreme bullish trend, volume climax and extreme buy delta all at once.
- Classic blow‑off behaviour: price, volume and order‑flow are simultaneously stretched in the same direction.
29. Selling Climax Reversal
- Extreme bearish trend with extreme volume dry‑up and extreme sell‑side delta.
- Marks a very aggressive capitulation phase that can precede major rebounds.
Advanced VSA / Anomaly Scenarios
30. Absorption
- Typically neutral trend with expanding or climax volume and extreme delta (either buy or sell).
- Educational focus: large participants are aggressively absorbing liquidity from the opposite side, while price remains relatively contained.
31. Distribution
- Scenario where volume remains elevated while directional conviction weakens and the trend slows.
- Represents potential “selling into strength” or “buying into weakness”, depending on the active side.
32. Liquidity Vacuum
- Combination of thin liquidity (extreme dry‑up) with a directional trend or strong delta.
- Highlights environments where even small orders can move price disproportionately.
33. Anomaly / Shock Event
- Triggered when the vector z‑scores detect rare combinations of price, volume and delta behaviour that deviate from their own historical distribution.
- Intended as a warning label for unusual events rather than a specific tradeable pattern.
9. Educational Usage Notes
- EMVOL does not produce mechanical “buy” or “sell” commands. Instead, it classes each bar into an interpretable state so that traders can study how trends, volume and order‑flow interact over time.
- A common exercise is to overlay your usual EMA crossovers, support/resistance or price patterns and observe which EMVOL scenarios appear around entries, exits, traps and climaxes.
- Because the vectors are normalized (bounded between ‑1 and +1) and then discretized, the same conceptual states can be compared across different symbols and timeframes.
10. Disclaimer & Educational Purpose
This indicator is provided strictly as an educational and analytical tool. Its purpose is to help visualise how price, volume and order‑flow interact; it is not designed to function as a stand‑alone trading system.
Please note:
1. No Automated Strategy – The script does not implement a complete trading strategy. Scenario labels and dashboard messages are descriptive and should not be followed as unconditional entry or exit signals.
2. No Financial Advice – All information produced by this indicator is general market analysis. It must not be interpreted as investment, financial or trading advice, or as a recommendation to buy or sell any instrument.
3. Risk Warning – Trading and investing involve substantial risk, including the risk of loss. Always perform your own analysis, use appropriate position sizing and risk management, and consult a qualified professional if needed. You are solely responsible for any decisions made using this tool.
4. Data Precision & Platform Limits – The “Intrabar (Precise)” mode depends on the availability of high‑resolution historical data at the chosen intrabar timeframe. If your TradingView plan or the symbol’s history does not provide sufficient depth, this mode may only partially cover the visible chart. In such cases, consider switching to “Geometry (Source File)” for a fully populated view.
ICT Fair Value Gap Detector [Eˣ]⚡ Fair Value Gap Detector
Overview
The Fair Value Gap Detector automatically identifies price imbalances on your charts - the inefficiencies left behind when price moves too quickly. This indicator reveals where price is likely to return for "rebalancing", based on ICT (Inner Circle Trader) concepts of market efficiency.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 What This Indicator Does
Detects Fair Value Gaps:
• 🟢 Bullish FVG - Gap left below during aggressive upward move
• 🔴 Bearish FVG - Gap left above during aggressive downward move
• Automatically identifies 3-candle price inefficiencies
• Works on all timeframes and instruments
Smart Fill Tracking:
• Full Fill - Price completely fills the gap
• 50% Fill - Price fills half the gap (critical level)
• Partial Fill - Price touches gap edge
• Real-time fill percentage tracking
• Auto-removes filled gaps (optional)
Professional Features:
• Active Gap Highlighting - Shows nearest unfilled gap
• Distance Calculator - Displays how far price is from gaps
• Market Bias - Analysis based on gap balance
• Size Filtering - Minimum gap size to avoid noise
• Visual Clarity - Clean boxes with color-coding
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📚 Understanding Fair Value Gaps
What Are Fair Value Gaps?
Fair Value Gaps (FVGs), also known as imbalances or inefficiencies, are zones where price moved so quickly that normal trading didn't occur. They represent:
• Price Imbalance - One-sided aggressive buying or selling
• Unfair Pricing - Some participants didn't get to trade at these levels
• Market Inefficiency - Supply/demand equilibrium was disrupted
• Rebalancing Zones - Price often returns to "fill" these gaps
The ICT Concept:
Markets constantly seek equilibrium (fair value). When price moves too fast:
1. It leaves gaps where normal trading didn't happen
2. These gaps represent unfair/inefficient pricing
3. Market has a tendency to return and "rebalance"
4. Smart money knows this and trades the fills
Why FVGs Work:
• Unfilled Orders - Traders who missed the move have pending orders in the gap
• Algorithmic Trading - Algos programmed to exploit inefficiencies
• Market Psychology - Traders notice gaps and place orders there
• Institutional Behavior - Smart money uses gaps for entries/exits
FVG vs Regular Gaps:
• Regular Gaps - Occur at market open, between daily closes
• Fair Value Gaps - Occur intraday, between 3 consecutive candles
• FVGs happen more frequently and on all timeframes
• FVGs are more tradeable for intraday/swing traders
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🟢 Bullish Fair Value Gaps Explained
How They Form:
Bullish FVG requires 3 candles:
1. Candle 1 - Any candle (sets the high reference)
2. Candle 2 - Strong bullish candle (aggressive buying)
3. Candle 3 - Continuation candle
The Gap: Candle 3's LOW is above Candle 1's HIGH = Gap left unfilled
Visual Example:
```
Candle 3: Low at $105 ──────────┐
│ ← GAP (Bullish FVG)
Candle 2: Strong bullish │
│
Candle 1: High at $100 ──────────┘
```
What It Means:
• Price jumped from $100 to $105+ so fast, no trading occurred in between
• This $100-$105 zone is "unfair" - buyers/sellers didn't get to trade there
• Market may return to this zone to "rebalance"
• When price returns, it often acts as support
Trading Bullish FVGs:
Strategy:
• Wait for price to retrace down into the bullish FVG (green box)
• Look for rejection/bounce from the gap zone
• Enter long when price respects the FVG as support
• Stop loss: Below the FVG
• Target: Previous high or opposite FVG
Best Entry Points:
• 50% Fill: Price enters middle of gap (highest probability)
• Full Fill: Price touches bottom of gap (aggressive entry)
• Tap & Reject: Price quickly enters and exits gap (strong signal)
Example Trade:
• Bullish FVG forms: $50,000 - $50,500 (500 point gap)
• Price rallies to $52,000 then retraces
• Price drops to $50,250 (50% of gap filled)
• Bullish reversal candle appears
• Enter long at $50,500, stop at $49,800
• Target: $52,000+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔴 Bearish Fair Value Gaps Explained
How They Form:
Bearish FVG requires 3 candles:
1. Candle 1 - Any candle (sets the low reference)
2. Candle 2 - Strong bearish candle (aggressive selling)
3. Candle 3 - Continuation candle
The Gap: Candle 3's HIGH is below Candle 1's LOW = Gap left unfilled
Visual Example:
```
Candle 1: Low at $100 ───────────┐
│ ← GAP (Bearish FVG)
Candle 2: Strong bearish │
│
Candle 3: High at $95 ───────────┘
```
What It Means:
• Price dropped from $100 to $95 so fast, no trading occurred in between
• This $95-$100 zone is "unfair" - buyers/sellers didn't get to trade there
• Market may return to this zone to "rebalance"
• When price returns, it often acts as resistance
Trading Bearish FVGs:
Strategy:
• Wait for price to retrace up into the bearish FVG (red box)
• Look for rejection/reversal from the gap zone
• Enter short when price respects the FVG as resistance
• Stop loss: Above the FVG
• Target: Previous low or opposite FVG
Best Entry Points:
• 50% Fill: Price enters middle of gap (highest probability)
• Full Fill: Price touches top of gap (aggressive entry)
• Tap & Reject: Price quickly enters and exits gap (strong signal)
Example Trade:
• Bearish FVG forms: $48,000 - $48,500 (500 point gap)
• Price drops to $46,000 then retraces
• Price rallies to $48,250 (50% of gap filled)
• Bearish reversal candle appears
• Enter short at $48,000, stop at $48,700
• Target: $46,000-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 How To Use This Indicator
Strategy 1: FVG Rebalancing (Classic)
Best For: Swing trading, reversal trading
Timeframes: 15min, 1H, 4H
Win Rate: 65-75%
Entry Rules:
1. Identify unfilled FVG (bright color, not gray)
2. Wait for price to return to the gap
3. Best entry: 50% fill of the gap
4. Look for reversal confirmation:
• Bullish FVG: Pin bar, engulfing, hammer
• Bearish FVG: Shooting star, bearish engulfing
5. Enter when price bounces/rejects from FVG
6. Stop: Beyond opposite side of FVG
7. Target: 2-3R or previous high/low
Why It Works: 70%+ of FVGs get filled, and 60%+ show reaction
Strategy 2: FVG + Order Block Confluence
Best For: High-probability setups
Timeframes: 1H, 4H
Win Rate: 75-85%
Entry Rules:
1. Find FVG that overlaps with Order Block
2. This creates a "super zone" of confluence
3. Wait for price to return to this zone
4. Enter on first touch of confluence zone
5. Stop: Beyond the confluence zone
6. Target: 3-4R
Why It Works: Double institutional concepts = highest probability
Strategy 3: Multi-Timeframe FVG
Best For: Position trading, major moves
Timeframes: Combine Daily + 4H or 4H + 1H
Win Rate: 70-80%
Entry Rules:
1. Identify large FVG on higher timeframe (Daily/4H)
2. Wait for price to enter this HTF FVG
3. Switch to lower timeframe (4H/1H)
4. Look for LTF FVG within HTF FVG in same direction
5. Trade the LTF FVG fill
6. Stop: Below LTF FVG
7. Target: Exit HTF FVG or beyond
Why It Works: Timeframe alignment = institutional consensus
Strategy 4: FVG Rejection Trade
Best For: Quick scalps, day trading
Timeframes: 5min, 15min
Win Rate: 60-70%
Entry Rules:
1. Price enters FVG zone
2. Immediate rejection (strong reversal candle)
3. Enter on close of rejection candle
4. Tight stop beyond FVG
5. Quick target: 1-2R
Why It Works: Strong rejection = institutional defense of level
Strategy 5: FVG-to-FVG Trading
Best For: Momentum trading
Timeframes: 15min, 1H
Win Rate: 55-65%
Entry Rules:
1. Identify bullish FVG below and bearish FVG above
2. Enter long at bullish FVG, target bearish FVG
3. Or enter short at bearish FVG, target bullish FVG
4. Price often moves from one imbalance to another
5. Stop: Beyond trading FVG
6. Target: Opposite FVG
Why It Works: Price rebalances from one inefficiency to another
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ Settings Explained
Display Settings
Show Bullish/Bearish FVG
• Toggle each type on/off independently
• Customize colors for each FVG type
• Default: Green (bullish), Red (bearish)
• Tip: Use colors that contrast with your chart
Max FVG to Display (Default: 20)
• Limits how many gaps are shown at once
• Lower (10-15): Cleaner chart, recent gaps only
• Higher (30-50): More historical context
• Recommended: 15-25 for most trading
Show FVG Labels (Default: ON)
• Displays "FVG+" and "FVG-" text on gaps
• Shows 🎯 on active (nearest) gap
• Shows fill percentage (e.g., "FVG+ 35%")
• Turn OFF for minimal appearance
• Recommended: Keep ON for clarity
Extend Gaps (bars) (Default: 50)
• How far to extend gap boxes to the right
• Lower (20-30): Shorter boxes
• Higher (100+): Longer boxes, easier to see
• Gaps auto-extend until filled or limit reached
• Recommended: 40-60 bars
Filters
Min Gap Size % (Default: 0.05)
• Minimum gap size as percentage of price
• Filters out tiny, insignificant gaps
• Crypto: 0.05-0.15% (high volatility)
• Forex: 0.03-0.10% (moderate volatility)
• Stocks: 0.05-0.20% (varies by stock)
• Indices: 0.05-0.15%
• Adjust based on instrument's average move
Show Filled Gaps (Default: OFF)
• When ON: Shows gray boxes for filled gaps
• When OFF: Gaps disappear after mitigation
• Use ON: For learning and backtesting
• Use OFF: For clean, active trading view
Advanced Settings
Auto-Detect Mitigation (Default: ON)
• Automatically tracks when gaps are filled
• Updates fill percentage in real-time
• Marks gaps as "mitigated" when filled
• Recommended: Keep ON
Mitigation Type (Default: Full)
• Full: Gap considered filled when price closes through entire gap
• 50%: Gap considered filled at 50% (critical level)
• Partial: Gap considered filled on first touch
• For learning: Use "Full"
• For aggressive trading: Use "50%"
• For conservative trading: Use "Partial"
Highlight Nearest Gap (Default: ON)
• Highlights the closest unfilled gap to current price
• Active gap shown with 🎯 emoji and brighter color
• Helps focus on most relevant opportunity
• Recommended: Keep ON
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📱 Info Panel Guide
Bullish FVG Count
• Number of active (unfilled) bullish fair value gaps
• Higher number = More potential support zones below
• Multiple bullish FVGs = Strong rebalancing demand
Bearish FVG Count
• Number of active (unfilled) bearish fair value gaps
• Higher number = More potential resistance zones above
• Multiple bearish FVGs = Strong rebalancing supply
Bias Indicator
• ⬆ Bullish: More bullish FVGs than bearish
• ⬇ Bearish: More bearish FVGs than bullish
• ↔ Neutral: Equal FVGs on both sides
• Market tends to fill nearby gaps first
Target Indicator
• Shows nearest unfilled gap and distance
• Example: "Bull FVG -1.25%" = Bullish gap is 1.25% below price
• Example: "Bear FVG +0.85%" = Bearish gap is 0.85% above price
• Watch for price to reach these targets
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📱 Alert Setup
This indicator includes 4 alert types:
1. Price Entering Bullish FVG
• Fires when price drops into a bullish gap
• Action: Watch for bounce/reversal
• High-probability long setup developing
2. Price Entering Bearish FVG
• Fires when price rallies into a bearish gap
• Action: Watch for rejection/reversal
• High-probability short setup developing
3. New Bullish FVG Detected
• Fires when a new bullish gap forms
• Action: Mark zone for future fill
• New rebalancing target below identified
4. New Bearish FVG Detected
• Fires when a new bearish gap forms
• Action: Mark zone for future fill
• New rebalancing target above identified
To Set Up Alerts:
1. Click "Alert" button (clock icon)
2. Select "Fair Value Gap Detector"
3. Choose your alert condition
4. Configure notification method
5. Click "Create"
Pro Tip: Set "Price Entering" alerts to catch fills in real-time
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💎 Pro Tips & Best Practices
✅ DO:
• Wait for 50% fill - Middle of gap has highest win rate (65-70%)
• Use confirmation - Don't trade just because price touched gap
• Combine with structure - FVG + support/resistance = high probability
• Trade first fill - Unfilled gaps have better success rate than refilled
• Respect full fills - Once fully filled, gap is less reliable
• Use multiple timeframes - HTF FVGs are stronger than LTF
• Check session timing - FVGs work best during London/NY sessions
• Follow the bias - More bullish FVGs = favor longs
⚠️ DON'T:
• Don't blindly fade gaps - Wait for price action confirmation
• Don't ignore momentum - Strong trends can blow through FVGs
• Don't trade every gap - Quality over quantity
• Don't assume all gaps fill - About 70-80% fill, 20-30% don't
• Don't use tight stops - Allow room for wick into gap
• Don't overtrade - Wait for confluence and confirmation
• Don't fight trends - Best FVG trades are with higher TF trend
• Don't ignore fill percentage - 50% is often the sweet spot
🎯 Best Timeframes:
• Scalpers: 1min, 5min (many gaps, quick fills)
• Day Traders: 5min, 15min, 1H (balanced)
• Swing Traders: 1H, 4H, Daily (larger, more reliable gaps)
• Position Traders: 4H, Daily, Weekly (major imbalances)
🔥 Best Instruments:
• Excellent: BTC, ETH, ES, NQ, Forex majors (clean price action)
• Good: Gold, Oil, Major indices, Large-cap stocks
• Moderate: Altcoins, small-cap stocks (more noise)
• Best Markets: Trending markets with clear swings
⏰ Best Times for FVG Trading:
• London Session: High volume = reliable gap fills
• NY Session: Strong moves create quality gaps
• London-NY Overlap: Best time for gap creation and fills
• Asian Session: Lower probability, wait for London
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎓 Advanced FVG Concepts
FVG Mitigation Levels
Understanding fill percentages:
• 0-25% Fill: Gap barely touched, often continues without fill
• 25-50% Fill: Partial rebalancing, may reverse here
• 50% Fill: CRITICAL LEVEL - Highest probability reversal zone
• 50-75% Fill: Deep rebalancing, strong reversal likely
• 75-100% Fill: Full rebalancing, gap's purpose fulfilled
Why 50% Matters: Market seeks equilibrium, and 50% represents perfect balance
FVG Inversions
When price breaks through a gap completely:
• Bullish FVG that's broken becomes bearish (support → resistance)
• Bearish FVG that's broken becomes bullish (resistance → support)
• Inverted gaps are weaker than fresh gaps
• Trading: Can fade the inverted gap but with caution
FVG Confluence Zones
Multiple FVGs at similar level:
• Creates "super gap" or confluence zone
• Much higher probability of reaction
• Wider zone for entries (more room for stops)
• Often aligns with other institutional concepts
FVG + Order Block Combo
When FVG overlaps with Order Block:
• Double institutional concept
• Extremely high probability setup (75-85% win rate)
• Price drawn to fill gap AND test order block
• Use tight stops, generous targets (3-5R possible)
Nested FVGs (Multi-Timeframe)
Small FVG inside larger FVG:
• Daily FVG contains 4H FVG contains 1H FVG
• Trade the smallest FVG in direction of larger ones
• Highest probability when all aligned
• Progressive targets: Fill small → medium → large gaps
FVG Exhaustion
When price creates multiple FVGs in same direction:
• Indicates strong momentum/impulsive move
• Each gap represents acceleration
• Last gap often signals exhaustion
• Watch for reversal after filling final gap
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Common FVG Patterns
Pattern 1: The Perfect Rebalance
• FVG forms during strong move
• Price continues 100+ pips
• Clean return to 50% of gap
• Immediate reversal
• Textbook setup, 70%+ win rate
Pattern 2: The Double Fill
• Price partially fills gap (25%)
• Weak reaction, continues
• Returns again for deeper fill (75%)
• Strong reversal on second fill
• Second fill often better entry
Pattern 3: The Blow-Through
• Price approaches gap
• Completely ignores it, no reaction
• Keeps going in same direction
• Sign of very strong momentum
Pattern 4: The Magnet Effect
• Price slowly grinds toward gap
• Accelerates as it gets close
• Quickly fills and reverses
• Common in ranging markets
Pattern 5: The False Fill
• Price wicks into gap briefly
• Immediately reverses without filling
• "Stop hunt" or liquidity grab
• Gap remains unfilled
• Often precedes strong move
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 What Makes This Different?
Unlike basic gap indicators, Fair Value Gap Detector:
• ICT Methodology - Based on proven institutional concepts
• Real-Time Fill Tracking - Shows percentage filled as it happens
• 3 Mitigation Types - Full, 50%, Partial for different strategies
• Active Gap Highlighting - Shows most relevant opportunity
• Smart Filtering - Minimum size to avoid noise
• Visual Clarity - Clean, professional appearance
• Auto-Management - Removes filled gaps automatically
• Distance Tracking - Know exactly where price needs to go
Based On Professional Concepts:
• ICT Fair Value Gap theory
• Market efficiency principles
• Price rebalancing dynamics
• Institutional order flow analysis
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 FVG Statistics & Probabilities
Based on ICT concepts and trader observations:
Gap Fill Rates:
• 70-80% of FVGs get filled eventually
• 60-70% show some reaction when filled
• 50% fill level has ~65% reversal rate
• Full fills have ~55% reversal rate
Timeframe Reliability:
• Daily FVGs: ~75-85% fill rate, strongest reactions
• 4H FVGs: ~70-80% fill rate, strong reactions
• 1H FVGs: ~65-75% fill rate, good reactions
• 15min FVGs: ~60-70% fill rate, moderate reactions
• 5min FVGs: ~55-65% fill rate, weaker reactions
Best Practices:
• First touch of gap = 65-70% win rate
• 50% fill = 65% win rate
• FVG + Order Block = 75-85% win rate
• Multi-timeframe aligned FVG = 70-80% win rate
• FVG in trending market = 60-70% win rate
Common Failures:
• Strong momentum blows through gaps (20-30% of time)
• Gaps in low-volume periods less reliable
• Very small gaps (<0.05%) often ignored
• Counter-trend gaps have lower success rate
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🙏 If You Find This Helpful
• ⭐ Leave your feedback
• 💬 Share your experience in the comments
• 🔔 Follow for updates and new tools
Questions about Fair Value Gaps? Feel free to ask in the comments.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Version History
• v1.0 - Initial release with 3-candle FVG detection and real-time fill tracking
Minho Index | SETUP (Safe Filter 90%)//@version=5
indicator("Minho Index | SETUP (Safe Filter 90%)", shorttitle="Minho Index | SETUP+", overlay=false)
//--------------------------------------------------------
// ⚙️ INPUTS
//--------------------------------------------------------
bullColor = input.color(color.new(color.lime, 0), "Bull Color (Minho Green)")
bearColor = input.color(color.new(color.red, 0), "Bear Color (Red)")
neutralColor = input.color(color.new(color.white, 0), "Neutral Color (White)")
lineWidth = input.int(2, "Line Width")
period = input.int(14, "RSI Period")
centerLine = input.float(50.0, "Central Line (Fixed at 50)")
//--------------------------------------------------------
// 🧠 BASE RSI + INTERNAL SMOOTHING
//--------------------------------------------------------
rsiBase = ta.rsi(close, period)
rsiSmooth = ta.sma(rsiBase, 3) // light smoothing
//--------------------------------------------------------
// 🔍 TREND DETECTION AND NEUTRAL ZONE
//--------------------------------------------------------
trendUp = (rsiSmooth > rsiSmooth ) and (rsiSmooth > rsiSmooth )
trendDown = (rsiSmooth < rsiSmooth ) and (rsiSmooth < rsiSmooth )
slopeUp = (rsiSmooth > rsiSmooth )
slopeDown = (rsiSmooth < rsiSmooth )
lineColor = neutralColor
if trendUp
lineColor := bullColor
else if trendDown
lineColor := bearColor
else if slopeUp or slopeDown
lineColor := neutralColor
//--------------------------------------------------------
// 📈 MAIN INDEX LINE
//--------------------------------------------------------
plot(rsiSmooth, title="Dynamic RSI Line (Safe Filter)", color=lineColor, linewidth=lineWidth)
//--------------------------------------------------------
// ⚪ FIXED CENTRAL LINE
//--------------------------------------------------------
plot(centerLine, title="Central Line (Highlight)", color=neutralColor, linewidth=1)
//--------------------------------------------------------
// 📊 NORMALIZED MOVING AVERAGES (SMA20 and EMA20)
//--------------------------------------------------------
SMA20 = ta.sma(close, 20)
EMA20 = ta.ema(close, 20)
// Normalization 0–100
minPrice = ta.lowest(low, 100)
maxPrice = ta.highest(high, 100)
rangeCalc = maxPrice - minPrice
rangeCalc := rangeCalc == 0 ? 1 : rangeCalc
normSMA = ((SMA20 - minPrice) / rangeCalc) * 100
normEMA = ((EMA20 - minPrice) / rangeCalc) * 100
//--------------------------------------------------------
// 🩶 MOVING AVERAGES PLOTS (GHOST-GREY STYLE)
//--------------------------------------------------------
ghostColor = color.new(color.rgb(200,200,200), 65)
plot(normSMA, title="SMA 20 (Ghost Grey)", color=ghostColor, linewidth=2)
plot(normEMA, title="EMA 20 (Ghost Grey)", color=ghostColor, linewidth=2)
//--------------------------------------------------------
// 🌈 FILL BETWEEN MOVING AVERAGES
//--------------------------------------------------------
bullCond = normSMA < normEMA
bearCond = normSMA > normEMA
fill(
plot(normSMA, display=display.none),
plot(normEMA, display=display.none),
color = bearCond ? color.new(color.red, 55) :
bullCond ? color.new(color.lime, 55) : na
)
//--------------------------------------------------------
// ✅ END OF INDICATOR
//--------------------------------------------------------
Dual SMT - Standard & Hidden [Pogiest]General
Smart Money Technique (SMT) involves identifying divergences in a correlated asset triad to predict new phases of price, a shift in market sentiment, and also potential trend reversals. An SMT divergence occurs when one or two assets makes a new high or low, but the other asset or assets does not, signaling a potential shift in market direction. A Hidden SMT Divergence occurs when one or two assets’ closing price closes higher or lower than the other one or two assets’ closing price. However, with potential gaps in price, an opening price can also be the extreme when comparing assets for divergences. Hidden SMT divergence compares the candle bodies while a Standard SMT divergence compares the highs and lows. Both types of SMTs are considered to be cracks in correlation and can be used to identify potential new phases of price whether it be a reversal, retracement, consolidation, and continuation.
Note: Credit of concepts/ideas goes to ICT and TraderDaye.
What Makes This Indicator Unique
The indicator has the ability to display Standard SMTs, Hidden SMTs, or both simultaneously in real-time, tick by tick in the time period selected in a correlated asset triad. Toggle modes for each type of SMT will run independently (runs when enabled) and therefore, optimizes performance. Option to select three different tickers in settings instead of limiting analysis to pairs makes this indicator more versatile. In addition, the indicator has “Invert” toggle options to track both Standard and Hidden SMTs for assets with negative correlations.
Instead of confirming SMT by selecting the number of pivots to look back for detection and confirmation, lines will be plotted on the chart on the first tick it detects a divergence. This can help traders anticipate SMTs in advance and give early warnings instead of waiting for a pivot confirmation. Active lines are displayed on the chart when the indicator identifies a divergence from the current time range to the previous time range in a correlated asset triad. These lines will move dynamically tick by tick on the chart and are anchored to the exact high/lows (Standard SMT) or bodies extremes (Hidden SMT). For inverted symbols, the lines will plot at the inverted anchor points. If new extremes are being made, the lines will move dynamically with the current forming candle for visual precision. During the current time period, the indicator continues to scan for new highs/lows as well as scanning the body high/lows while making line adjustments automatically. Lines will get deleted once the SMT becomes invalid.
The indicator is also designed for consecutive time ranges or cycles. Users are able to select the timeframe to monitor divergences which the indicator has multiple options to choose from including the most used timeframes (i.e. Monthly, Weekly, Daily, 6HR, 4HR, 90M, 1HR, 30M, 15M, etc). For example, if the 90m timeframe is selected, then the indicator will scan for divergences at the extremes in the current 90m cycle and compare the extremes to the previous 90m cycle. The indicator is designed to work when viewing lower timeframes while selecting higher timeframe cycles in settings.
There are four separate alert systems included in this indicator consisting of Standard bull/bear and Hidden bull/bear. Indicator is mode-aware and only triggers when alerts are enabled.
Dynamic Capabilities
Active (Real-Time):
For Standard SMT (High/Low), the indicator scans for divergences using the absolute highs and lows of each candle:
• Bull SMT: Compares the lowest points (wicks included).
• Bear SMT: Compares the highest points (wicks included).
In addition to SMT lines being plotted immediately after detection and lines moving dynamically at new high/low extremes, the indicator will remove the SMT automatically at the first tick it detects the divergence becoming invalid (i.e. all assets made a higher high or lower low in two consecutive time periods). Standard SMT labels are displayed as "SMT - TF" and are anchored to the center of the SMT line.
For Hidden SMT (Bodies), the indicator scans for divergences using only the candle body extremes (open/close, ignoring wicks):
• Bull SMT: Compares the lowest body prices (min of open/close) - divergence based on where bodies close, not wicks.
• Bear SMT: Compares the highest body prices (max of open/close) - divergence based on where bodies close, not wicks.
In addition to SMT lines being plotted immediately after detection and lines moving dynamically following the body high/low extremes, the indicator will remove the SMT automatically once the divergence becomes invalid (i.e. all assets made a higher high or lower low with the body extremes in two consecutive time periods). Hidden SMT labels are displayed as "SMT - TF" and are anchored to the center of the SMT line.
Historical (Fixed Plotting):
Once an SMT divergence (Standard or Hidden) was active and the current time range completes, the SMT line will be plotted and fixed on the chart as a historical line as the new time range starts. When the new time range starts, the cycle resets and the indicator scans for a new active SMT line in the current time range compared to the previous time range. Historical lines are stored for Standard SMT (up to 5) and Hidden SMT (up to 5) for the most recent lines.
Inverse SMT lines (Negative Correlation):
Assets with a negative correlation can be selected in settings with the Invert toggle option selected in settings. SMT divergences for both Standard and Hidden SMTs will be plotted on the chart at their respective anchor points from the previous time cycle to the current time cycle. Lines will behave normally as how it functions when the invert toggle is deselected. However, the lines are inverted on the chart with bullish SMT lines at the highs or bearish SMT lines at the lows.
Usage
Traders can use both types of SMT divergences to anticipate potential reversals in points of interest such as higher timeframe swing points, supply/demand zones, higher timeframe imbalances, key levels, etc. This indicator can also be beneficial in identifying cracks in correlation via Hidden SMT when there are no divergences off the highs and lows. SMT divergences (standard and hidden) can be used as a confirmation tool with other confluences to identify trend direction with respect to points of interest, higher timeframe order-flow, lower timeframe order-flow, etc. In addition, having both a Standard SMT and Hidden SMT divergence display could potentially signal a reversal. It is up to the trader to gauge the price action at the time.
Settings
1. Choose up to three different assets to monitor.
Note: If only two are selected, the indicator will only display the two selected and compare the two assets for divergences.
2. Choose up to one timeframe to monitor.
3. Enable/disable Invert mode.
4. For Standard and Hidden SMT: Enable/disable SMT-Active lines, option to change line style, line width, bull SMT line color, bear SMT line color, and bull/bear label text color.
5. For Standard and Hidden SMT: Enable/disable Historical SMT lines, adjust max historical SMT signals to be displayed (up to 5), option to change line style, line width, bull SMT line color, bear SMT line color, and bull/bear label text color.
6. For Standard and Hidden SMT: Show/hide SMT Labels and adjustable label offset.
7. Shared Label Settings: Adjust label size.
8. Enable/disable SMT Active alerts for Standard and Hidden SMT.
Risk Disclaimer
This indicator is for educational and informational purposes only and does not constitute financial advice. All trading and investment decisions remain solely the responsibility of the user.
Trading involves a high degree of risk, and past performance is not indicative of future results.
Always conduct your own research and consult with a qualified financial professional before making any trading decisions.
By using this indicator, users acknowledge they understand these risks and accept full responsibility for their trading decisions and outcomes.
(QUANTLABS) Fractal God Mode: 25-Timeframe Scanner The indicator aggregates data into three distinct metric columns:
1. STRUCT (Market Structure) This analyzes price action relative to Fractal Pivots (Highs and Lows) to determine market direction.
HH (Breakout): Price has closed above the previous Pivot High. (Bullish Structure)
LL (Breakdown): Price has closed below the previous Pivot Low. (Bearish Structure)
TRAPPED: Price is trading between the last Pivot High and Low. This indicates a ranging market where trend trades should be avoided.
2. VELOCITY (Thrust) This measures the specific strength of the current candle on that timeframe.
The Math: It calculates the ratio of the body (Close - Open) relative to the total candle range (High - Low).
The Signal: High positive numbers (Green) indicate buyers are closing near highs. High negative numbers (Red) indicate sellers are dominating the range.
3. QUALITY (Efficiency Ratio) This acts as a "Noise Filter." It determines if the trend is moving in a straight line or whipping back and forth.
The Math: It divides the Net Price Movement (Distance from 5 bars ago) by the Total Path Traveled (Sum of the ranges of the last 5 bars).
PRISTINE (Values > 0.6): The market is moving efficiently in one direction.
CHOPPY (Values < 0.4): The market is volatile and non-directional (High Noise).
1. The Matrix (Dashboard) Located in the bottom right, this table gives you an instant read on Short-Term (3m-9m), Medium-Term (10m-45m), and Long-Term (1H-Daily) trends.
2. Coherence Flow At the bottom of the table, the script sums up the structural score of all 25 timeframes.
COHERENT BULL: When the Short, Medium, and Long terms align green.
COHERENT BEAR: When the Short, Medium, and Long terms align red.
3. God Mode (Global S/R) The indicator can plot Support and Resistance levels from higher timeframes onto your current chart. For example, while trading the 5m chart, you can see the 4H and Daily pivot levels plotted automatically as dotted lines, ensuring you never trade blindly into a higher-timeframe wall.
Trend Following: Wait for the "Coherent Bull/Bear" signal at the bottom of the dashboard. This confirms that momentum is aligned from the 3m chart up to the Daily.
Scalping: Focus on the Quality column. Only take trades when the Quality is "CLEAN" or "PRISTINE." Avoid entries when the dashboard warns of "High Noise" (Choppy).
Risk Management: If the dashboard shows "TRAPPED" on the Long Term (1H+), reduce position size or wait for a breakout.
Pivot Lookback: Adjusts the sensitivity of the Fractal Structure (Default: 5).
Show Fractal DNA Matrix: Toggles the dashboard table.
Show ALL Timeframe S/R: Enables "God Mode" to see supports/resistances from all 25 timeframes (Heavy visual processing, use carefully).
DeltaBurst Locator ## DeltaBurst Locator
DeltaBurst Locator is a sponsorship detector that divides OBV impulse by price thrust, normalizes the ratio, and cross-checks it against a higher timeframe confirmation stream. The oscillator turns the abstract "is this move real?" question into a precise number, exposing accumulation, distribution, and exhaustion across futures and stocks.
HOW IT WORKS
OBV Impulse vs. Price Change – Smoothed deltas of On-Balance Volume and price are ratioed, then normalized using a hyperbolic tangent function to prevent single prints from dominating.
Signal vs. Confirmation – A short EMA produces the execution signal while a higher-timeframe request.security() feed validates whether broader flows agree.
Spectrum Classification – Expansion/compression metrics grade whether current aggression is intense or fading, while ±0.65 bands define exhaust/vacuum zones.
Slope Divergences – Linear regression slopes on both price and the ratio expose bullish/bearish sponsorship mismatches before candles reverse.
HOW TO USE IT
Breakout Validation : Only chase breakouts when both local and higher-timeframe ratios are on the same side of zero; mixed signals suggest liquidity is fading.
Absorption Trades : When the histogram spikes beyond ±0.65 but the EMA lags, expect absorption; combine with price structure for pinpoint reversals.
News/Event Monitoring : During earnings or macro releases, watch for ratio collapses with price still rising—this flags forced moves driven by hedging rather than real demand.
VISUAL FEATURES
Color logic: Positive sponsorship fills teal, negative fills crimson against the zero line, making intent obvious at a glance.
Optional markers: Burst triangles and divergence dots can be enabled when you need explicit annotations or left off for a minimalist panel.
Compression heatmap: Background shading communicates whether the market is coiling (high compression) or erupting (low compression).
Dashboard: Displays the live ratio, higher-timeframe ratio, and agreement state to speed up scanning across tickers.
PARAMETERS
Fast Pulse Length (default: 5): Controls the smoothing window for price change detection.
Slow Equilibrium Length (default: 34): Window for expansion/compression calculation.
OBV Smooth (default: 8): Smoothing period for OBV impulse calculation.
Ratio Ceiling (default: 3.0): Controls how aggressively values saturate; raise for high-volatility tickers.
Signal EMA (default: 4): EMA period for the signal line.
Confirmation Timeframe (default: 240): Pick a higher anchor (e.g., 4H) to validate intraday moves.
Divergence Window (default: 21): Window for slope-based divergence detection.
Show Burst Markers (default: disabled): Toggle burst triangles on demand.
Show Divergence Markers (default: disabled): Toggle divergence dots on demand.
Show Delta Dashboard (default: enabled): Hide when screen space is limited; leave on for desk broadcasts.
ALERTS
The indicator includes four alert conditions:
DeltaBurst Bull: Spotted a bullish liquidity burst
DeltaBurst Bear: Spotted a bearish liquidity burst
DeltaBurst Bull Div: Detected bullish sponsorship divergence
DeltaBurst Bear Div: Detected bearish sponsorship divergence
Hope you enjoy!
MTC – Multi-Timeframe Trend Confirmator V2MTC – Multi-Timeframe Trend Confirmator V2
A comprehensive trend analysis indicator that systematically combines six technical indicators across three customizable timeframes, using a weighted scoring system to identify high-probability trend conditions.
ORIGINALITY AND CONCEPT
This indicator is original in its approach to multi-timeframe trend confirmation. Rather than relying on a single indicator or timeframe, it creates a composite score by evaluating six different technical conditions simultaneously across three timeframes. The scoring system weighs certain indicators more heavily based on their reliability in trend identification. The visual gauge provides an at-a-glance view of trend alignment across timeframes, making it easier to identify when multiple timeframes agree - a condition that typically produces stronger, more reliable trends.
HOW IT WORKS - DETAILED SCORING METHODOLOGY
The indicator evaluates six technical conditions on each timeframe. Each condition contributes to a composite score:
EMA 200 (Weight: 1 point)
Bullish: Price closes above EMA 200 (+1)
Bearish: Price closes below EMA 200 (-1)
Rationale: Long-term trend direction
SMA 50/200 Crossover (Weight: 1 point)
Bullish: SMA 50 above SMA 200 (+1)
Bearish: SMA 50 below SMA 200 (-1)
Rationale: Golden/Death cross confirmation
RSI 14 (Weight: 1 point)
Bullish: RSI above 55 (+1)
Bearish: RSI below 45 (-1)
Neutral: RSI between 45-55 (0)
Rationale: Momentum filter with buffer zone to avoid chop
MACD (12,26,9) (Weight: 1 point)
Bullish: MACD line above signal line (+1)
Bearish: MACD line below signal line (-1)
Rationale: Trend momentum confirmation
ADX 14 (Weight: 2 points - DOUBLE WEIGHTED)
Requires ADX above 25 to activate
Bullish: DI+ above DI- and ADX > 25 (+2)
Bearish: DI- above DI+ and ADX > 25 (-2)
Neutral: ADX below 25 (0)
Rationale: Trend strength filter - only counts when a strong trend exists. Double weighted because ADX is specifically designed to measure trend strength, making it more reliable than oscillators.
Supertrend (Factor: 3.0, ATR Period: 10) (Weight: 2 points - DOUBLE WEIGHTED)
Bullish: Direction indicator = -1 (+2)
Bearish: Direction indicator = +1 (-2)
Rationale: Dynamic support/resistance that adapts to volatility. Double weighted because Supertrend provides clear, objective trend signals with built-in stop-loss levels.
COMPOSITE SCORE CALCULATION:
Total possible score range: -10 to +10 points
Score interpretation:
Score > 2: UPTREND (majority of indicators bullish, especially weighted ones)
Score < -2: DOWNTREND (majority of indicators bearish, especially weighted ones)
Score between -2 and +2: NEUTRAL/RANGING (mixed signals or weak trend)
The threshold of +/- 2 was chosen because it requires more than just basic agreement - it typically means at least 3-4 indicators align, or that the heavily-weighted indicators (ADX, Supertrend) confirm the direction.
MULTI-TIMEFRAME LOGIC:
The indicator calculates the composite score independently for three timeframes:
Higher Timeframe (default: 4H) - Major trend direction
Mid Timeframe (default: 1H) - Intermediate trend
Lower Timeframe (default: 15min) - Entry timing
Main Trend Confirmation Rule:
The indicator only signals a confirmed trend when BOTH the higher timeframe AND mid timeframe scores agree (both > 2 for uptrend, or both < -2 for downtrend). This dual-timeframe confirmation significantly reduces false signals during choppy or ranging markets.
HOW TO USE IT
Setup:
Add indicator to chart
Customize timeframes based on your trading style:
Scalpers: 15min, 5min, 1min
Day traders: 4H, 1H, 15min (default)
Swing traders: Daily, 4H, 1H
Toggle individual indicators on/off based on your preference
Adjust Supertrend parameters if needed for your instrument's volatility
Reading the Gauge (Top Right Corner):
Each row shows one timeframe
Left column: Timeframe label
Middle column: Visual strength bars (10 bars = maximum score)
Green bars = Bullish score
Red bars = Bearish score
Yellow bars = Neutral/ranging
More filled bars = stronger trend
Right column: Numerical score
Trading Signals:
Entry Signals:
Long Entry: Wait for upward triangle arrow (appears when higher + mid TF both bullish)
Confirm gauge shows green bars on higher and mid timeframes
Lower timeframe should ideally turn green for entry timing
Chart background tints light green
Short Entry: Wait for downward triangle arrow (appears when higher + mid TF both bearish)
Confirm gauge shows red bars on higher and mid timeframes
Lower timeframe should ideally turn red for entry timing
Chart background tints light red
Position Management:
Stay in position while higher and mid timeframes remain aligned
Consider reducing position size when mid timeframe score weakens
Exit when higher timeframe trend reverses (daily label changes)
Avoiding False Signals:
Ignore signals when gauge shows mixed colors across timeframes
Avoid trading when scores are close to threshold (+/- 2 to +/- 4 range)
Best trades occur when all three timeframes align (all green or all red in gauge)
Use the numerical scores: higher absolute values (7-10) indicate stronger, more reliable trends
Practical Examples:
Example 1 - Strong Uptrend Entry:
Higher TF: +8 (strong green bars)
Mid TF: +6 (strong green bars)
Lower TF: +4 (moderate green bars)
Action: Look for long entries on lower timeframe pullbacks
Background is tinted green, upward arrow appears
Example 2 - Ranging Market (Avoid):
Higher TF: +3 (weak green)
Mid TF: -1 (weak red)
Lower TF: +2 (neutral yellow)
Action: Stay out, wait for alignment
Example 3 - Trend Reversal Warning:
Higher TF: +7 (still green)
Mid TF: -3 (turned red)
Lower TF: -5 (strong red)
Action: Consider exiting longs, prepare for potential higher TF reversal
Customization Options:
Timeframes: Adjust all three to match your trading horizon
Indicator Toggles: Disable indicators that don't suit your instrument:
Disable RSI for highly volatile crypto markets
Disable SMA crossover for range-bound instruments
Keep ADX and Supertrend enabled for trending markets
Visual Preferences:
Arrow size: 5 options from Tiny to Huge
Gauge size: Small/Medium/Large for different screen sizes
Toggle arrows on/off if you only want the gauge
Alert Setup:
Right-click chart, "Add Alert"
Condition: MTC v6 - UPTREND or DOWNTREND
Get notified when multi-timeframe confirmation occurs
Best Practices:
Use with Price Action: The indicator works best when combined with support/resistance levels, chart patterns, and volume analysis
Risk Management: Even with multi-timeframe confirmation, always use stop losses
Market Context: Works best in trending markets; less reliable in strong consolidation
Backtesting: Test the default settings on your specific instrument and timeframe before live trading
Patience: Wait for full multi-timeframe alignment rather than taking premature signals
Technical Notes:
All calculations use Pine Script's security function to fetch data from multiple timeframes
Prevents repainting by using confirmed bar data
Gauge updates in real-time on the last bar
Daily labels mark at the open of each new daily candle
Works on all instruments and timeframes
This indicator is ideal for traders who want objective, systematic trend identification without the complexity of analyzing multiple indicators manually across different timeframes.
-NATANTIA
CVD [able0.1]# CVD Overlay iOS Style - Complete User Guide
## 📖 Table of Contents
1. (#what-is-cvd)
2. (#installation-guide)
3. (#understanding-the-display)
4. (#reading-the-info-table)
5. (#settings--customization)
6. (#trading-strategies)
7. (#common-mistakes-to-avoid)
---
## 🎯 What is CVD?
**CVD (Cumulative Volume Delta)** tracks the **difference between buying and selling pressure** over time.
### Simple Explanation:
- **Positive CVD** (Orange) = More buying than selling = Bulls winning
- **Negative CVD** (Gray) = More selling than buying = Bears winning
- **Rising CVD** = Increasing buying pressure = Potential uptrend
- **Falling CVD** = Increasing selling pressure = Potential downtrend
### Why It Matters:
CVD helps you see **who's really in control** of the market - not just price movement, but actual buying/selling volume.
---
## 🚀 Installation Guide
### Step 1: Open Pine Editor
1. Go to TradingView
2. Click the **"Pine Editor"** tab at the bottom of the screen
3. Click **"New"** or open an existing script
### Step 2: Copy & Paste the Code
1. Select all existing code (Ctrl+A / Cmd+A)
2. Delete it
3. Copy the entire CVD iOS Style code
4. Paste it into Pine Editor
### Step 3: Add to Chart
1. Click **"Save"** button (or Ctrl+S / Cmd+S)
2. Click **"Add to Chart"** button
3. The indicator will appear on your chart!
### Step 4: Initial Setup
- The indicator appears as an **overlay** on your price chart
- You'll see an **orange/gray line** following price
- An **info table** appears in the top-right corner
---
## 📊 Understanding the Display
### Main Chart Elements:
#### 1. **CVD Line** (Orange/Gray)
- **Orange Line** = Positive CVD (buying pressure)
- **Gray Line** = Negative CVD (selling pressure)
- This line moves with your price chart but shows volume delta
#### 2. **CVD Zone** (Shaded Area)
- Light shaded box around the CVD line
- Shows the "range" of CVD movement
- Helps visualize CVD boundaries
#### 3. **Center Line** (Dotted)
- Gray dotted line in the middle of the zone
- Represents the "neutral" point
- CVD crossing this = shift in market control
#### 4. **Reference Asset Line** (Light Gray)
- Shows Bitcoin (BTC) price movement for comparison
- Helps you see if your asset moves with or against BTC
- Can be changed to any asset you want
#### 5. **CVD Label**
- Shows current CVD value
- Positioned above/below zone to avoid overlap
- Updates in real-time
#### 6. **Reset Background** (Very Light Gray)
- Appears when CVD resets
- Indicates a new calculation period
---
## 📋 Reading the Info Table
The info table (top-right) shows **8 key metrics**:
### Row 1: **Header**
```
╔═ CVD able ═╗ | 15m | ████████ | able
```
- **CVD able** = Indicator name + creator
- **15m** = Current timeframe
- **████████** = Visual decoration
- **able** = Creator signature
### Row 2: **CVD Value**
```
CVD▲ | 7.39K | ████████ | █
█
█
```
- **CVD▲** = CVD with trend arrow
- ▲ = CVD increasing
- ▼ = CVD decreasing
- ► = CVD unchanged
- **7.39K** = Actual CVD number
- **Progress Bar** = Visual strength (darker = stronger)
- **Vertical Bars** = Height shows intensity
### Row 3: **Delta**
```
◆DELTA | -1.274K | ████░░░░ | ░
░
```
- **Delta** = Volume change THIS BAR ONLY
- **Negative** = More selling this bar
- **Positive** = More buying this bar
- Shows **immediate** pressure (not cumulative)
### Row 4: **UP Volume**
```
UP↑ | -1.263K | ████████ | █
█
█
```
- Total **buying volume** this bar
- Higher = Stronger buying pressure
- Green/Orange vertical bars = Bullish strength
### Row 5: **DOWN Volume**
```
DN↓ | 2.643K | ████████ | ░
░
░
```
- Total **selling volume** this bar
- Higher = Stronger selling pressure
- Gray vertical bars = Bearish strength
### Row 6-7: **Reference Asset** (if enabled)
```
══ REF ══ | ══════ | ████████ | █
█
PRICE▲ | 4130.300 | ████████ | █
█
```
- **REF** = Reference asset header
- **PRICE▲** = Reference price with trend
- Shows if BTC (or chosen asset) is rising/falling
- Compare with your chart to see correlation
### Row 8: **Market Status**
```
◄STATUS► | NEUT | ████░░░░ | ▒
▒
```
- **BULL** = CVD positive + Delta positive = Strong buying
- **BEAR** = CVD negative + Delta negative = Strong selling
- **NEUT** = Mixed signals = Wait for clarity
**Status Colors:**
- **Orange background** = Bullish (good for long)
- **Gray background** = Bearish (good for short)
- **White background** = Neutral (no clear signal)
---
## ⚙️ Settings & Customization
### Main Settings (⚙️)
#### **CVD Reset**
- **None** = CVD never resets (from beginning of data)
- **On Higher Timeframe** = Resets when HTF candle closes
- 15m chart → Resets hourly
- 1h chart → Resets daily
- Recommended for most traders
- **On Session Start** = Resets at market open
- **On Visible Chart** = Resets from leftmost visible bar
#### **Precision**
- **Low (Fast)** = Uses 1m data, faster but less accurate
- **Medium** = Uses 5m data, balanced (recommended)
- **High** = Uses 15m data, most accurate but slower
#### **Cumulative**
- ✅ On = CVD accumulates over time (recommended)
- ❌ Off = Shows only current bar delta
#### **Show Labels**
- ✅ On = Shows CVD value label on chart
- ❌ Off = Cleaner chart, no label
#### **Show Info Table**
- ✅ On = Shows info table (recommended for beginners)
- ❌ Off = Hide table for minimalist view
---
### 🎨 iOS Style Colors
You can customize **every color** to match your chart theme:
#### **Primary Colors**
- **Primary (Orange)** = Main bullish color (#FF9500)
- **Secondary (Gray)** = Main bearish color (#8E8E93)
- **Background** = Table background (#FFFFFF)
- **Text** = Text color (#1C1C1E)
#### **Bullish/Bearish**
- **Bullish (Orange)** = Positive CVD color
- **Bearish (Gray)** = Negative CVD color
- **Opacity** = Zone transparency (0-100%)
- **Show Zone** = Enable/disable shaded area
#### **Table Colors** (📋)
- **Header Background** = Top row background
- **Header Text** = Top row text color
- **Cell Background** = Data cells background
- **Cell Text** = Data cells text color
- **Border** = Table border color
- **Accent Background** = Special rows background
- **Alert Background** = Warning/status background
---
### 📊 Reference Asset Settings
#### **Enable**
- ✅ On = Shows reference asset line
- ❌ Off = Hide reference asset
#### **Symbol**
- Default: `BINANCE:BTCUSDT`
- Can change to any asset:
- `BINANCE:ETHUSDT` (Ethereum)
- `SPX` (S&P 500)
- `DXY` (US Dollar Index)
- Any ticker symbol
#### **Color & Width**
- Customize line appearance
- Width: 1-4 (thickness)
---
## 💡 Trading Strategies
### Strategy 1: CVD Divergence (Beginner-Friendly)
**What to Look For:**
- Price making **higher highs** but CVD making **lower highs** = Bearish divergence
- Price making **lower lows** but CVD making **higher lows** = Bullish divergence
**How to Trade:**
1. Wait for divergence to form
2. Look for confirmation (price reversal, candlestick pattern)
3. Enter trade in divergence direction
4. Stop loss beyond recent high/low
**Example:**
```
Price: /\ /\ /\ (higher highs)
CVD: /\ / \/ (lower highs) = Bearish signal
```
### Strategy 2: CVD Trend Following (Intermediate)
**What to Look For:**
- **Strongly rising CVD** + **rising price** = Strong uptrend
- **Strongly falling CVD** + **falling price** = Strong downtrend
**How to Trade:**
1. Wait for CVD and price moving in same direction
2. Enter on pullbacks to support/resistance
3. Stay in trade while CVD trend continues
4. Exit when CVD trend breaks
**Signals:**
- CVD ▲▲▲ + Price ↑ = Go LONG
- CVD ▼▼▼ + Price ↓ = Go SHORT
### Strategy 3: CVD + Reference Asset (Advanced)
**What to Look For:**
- Your asset **rising** but BTC (reference) **falling** = Relative strength
- Your asset **falling** but BTC (reference) **rising** = Relative weakness
**How to Trade:**
1. Compare CVD movement with BTC
2. If your CVD rises faster than BTC = Buy signal
3. If your CVD falls faster than BTC = Sell signal
4. Use for **pair trading** or **asset selection**
### Strategy 4: Volume Delta Confirmation
**What to Look For:**
- **Large positive Delta** = Strong buying this bar
- **Large negative Delta** = Strong selling this bar
**How to Trade:**
1. Price breaks resistance + Large positive Delta = Confirmed breakout
2. Price breaks support + Large negative Delta = Confirmed breakdown
3. Use Delta to **confirm** price moves, not predict them
**Rules:**
- Delta > 2x average = Very strong pressure
- Delta near zero at key level = Weak move, likely false breakout
---
## 🎓 Reading Real Scenarios
### Scenario 1: Strong Buying Pressure
```
Table Shows:
CVD▲ | 12.5K | ████████ | ████ (CVD rising)
◆DELTA | +2.8K | ████████ | ▲ (Positive delta)
UP↑ | 3.1K | ████████ | ████ (High buy volume)
DN↓ | 0.3K | ██░░░░░░ | ░ (Low sell volume)
◄STATUS► | BULL | ████████ | ████ (Orange background)
```
**Interpretation:** Strong buying, good for LONG trades
### Scenario 2: Distribution (Hidden Selling)
```
Table Shows:
CVD► | 8.2K | ████░░░░ | ▒▒ (CVD flat)
◆DELTA | -1.5K | ████████ | ▼ (Negative delta)
UP↑ | 0.8K | ███░░░░░ | ░ (Low buy volume)
DN↓ | 2.3K | ████████ | ████ (High sell volume)
◄STATUS► | BEAR | ████████ | ░░░░ (Gray background)
```
**Interpretation:** Price may look stable, but selling increasing = Prepare for drop
### Scenario 3: Neutral/Choppy Market
```
Table Shows:
CVD► | 5.1K | ████░░░░ | ▒ (CVD sideways)
◆DELTA | +0.2K | ██░░░░░░ | ─ (Small delta)
UP↑ | 1.2K | ████░░░░ | ▒ (Medium buy)
DN↓ | 1.0K | ████░░░░ | ▒ (Medium sell)
◄STATUS► | NEUT | ████░░░░ | ▒▒ (White background)
```
**Interpretation:** No clear direction = Stay out or reduce position size
---
## ⚠️ Common Mistakes to Avoid
### Mistake 1: Trading on CVD Alone
- ❌ **Wrong:** "CVD is rising, I'll buy immediately"
- ✅ **Right:** "CVD is rising, let me check price structure, support/resistance, and wait for confirmation"
### Mistake 2: Ignoring Delta
- ❌ **Wrong:** Looking only at cumulative CVD
- ✅ **Right:** Watch both CVD (trend) and Delta (momentum)
- Delta shows **immediate** pressure changes
### Mistake 3: Wrong Timeframe
- ❌ **Wrong:** Using 1m chart with High Precision (too slow)
- ✅ **Right:** Match precision to timeframe:
- 1m-5m → Low Precision
- 15m-1h → Medium Precision
- 4h+ → High Precision
### Mistake 4: Not Using Reset
- ❌ **Wrong:** Using "None" reset for intraday trading
- ✅ **Right:** Use "On Higher Timeframe" to see fresh CVD each session
### Mistake 5: Overtrading Neutral Status
- ❌ **Wrong:** Forcing trades when STATUS = NEUT
- ✅ **Right:** Only trade clear BULL or BEAR status
### Mistake 6: Ignoring Reference Asset
- ❌ **Wrong:** Trading altcoin without checking BTC
- ✅ **Right:** Always check if BTC CVD agrees with your asset
---
## 🔥 Pro Tips
### Tip 1: Multi-Timeframe Analysis
- Check CVD on **3 timeframes**:
- Lower TF (15m) = Entry timing
- Current TF (1h) = Trade direction
- Higher TF (4h) = Overall trend
### Tip 2: Volume Confirmation
- Big price move + Small Delta = **Weak move** (likely reversal)
- Small price move + Big Delta = **Strong accumulation** (continuation)
### Tip 3: CVD Reset Zones
- Pay attention to **reset backgrounds** (light gray)
- Often marks **session starts** = High volatility periods
### Tip 4: Divergence + Status
- Bearish divergence + STATUS = BEAR = **Strongest short signal**
- Bullish divergence + STATUS = BULL = **Strongest long signal**
### Tip 5: Color Psychology
- **Orange** (Bullish) is **warm** = Buying energy
- **Gray** (Bearish) is **cool** = Selling pressure
- Train your eye to read colors instantly
### Tip 6: Table as Quick Scan
- Glance at table without reading numbers:
- **All orange** = Bullish
- **All gray** = Bearish
- **Mixed** = Wait
---
## 📱 Quick Reference Card
| Signal | CVD | Delta | Status | Action |
|--------|-----|-------|--------|--------|
| **Strong Buy** | ▲▲ High | ++ Positive | BULL | Long Entry |
| **Strong Sell** | ▼▼ Low | -- Negative | BEAR | Short Entry |
| **Divergence Buy** | ▲ Rising | Price ▼ | → BULL | Long Setup |
| **Divergence Sell** | ▼ Falling | Price ▲ | → BEAR | Short Setup |
| **Neutral** | → Flat | ~0 Near Zero | NEUT | Stay Out |
| **Accumulation** | → Flat | ++ Positive | NEUT→BULL | Watch for Breakout |
| **Distribution** | → Flat | -- Negative | NEUT→BEAR | Watch for Breakdown |
---
## 🆘 Troubleshooting
### Issue: "Indicator not showing"
- **Solution:** Make sure overlay=true in code, re-add to chart
### Issue: "Table overlaps with price"
- **Solution:** Change table position in code or use TradingView's "Move" feature
### Issue: "CVD line too far from price"
- **Solution:** This is normal! CVD is volume-based, not price-based. Focus on CVD direction, not position
### Issue: "Too many lines on chart"
- **Solution:** Disable "Show Zone" and "Show Labels" in settings for cleaner view
### Issue: "Calculations too slow"
- **Solution:** Change Precision to "Low (Fast)" or use higher timeframe
### Issue: "Reference asset not showing"
- **Solution:** Check if "Enable" is ON and symbol is valid (e.g., BINANCE:BTCUSDT)
---
## 🎬 Getting Started Checklist
- Install indicator on TradingView
- Set precision to "Medium"
- Set reset to "On Higher Timeframe"
- Enable info table
- Add reference asset (BTC)
- Practice reading the table on demo account
- Test on different timeframes (15m, 1h, 4h)
- Compare CVD with your current strategy
- Paper trade for 1 week before going live
- Keep a trading journal of CVD signals
---
## 📚 Summary
**CVD shows WHO is winning: Buyers or Sellers**
**Key Points:**
1. **Orange/Rising CVD** = Buying pressure = Bullish
2. **Gray/Falling CVD** = Selling pressure = Bearish
3. **Delta** = Immediate momentum THIS BAR
4. **Status** = Overall market condition
5. **Always confirm** with price action & other indicators
**Remember:**
- CVD is a **tool**, not a crystal ball
- Use with proper risk management
- Practice makes perfect
- Stay disciplined!
---
**Created by: able**
**Version:** iOS Style v1.0
**Contact:** For questions, refer to TradingView community
Happy Trading! 🚀📈
Inversion Fair Value Gap Model [PJ Trades]GENERAL OVERVIEW:
The Inversion Fair Value Gap Model indicator is a complete rule-based system designed to identify trade setups using the Inversion Fair Value Gap strategy taught by PJ Trades. It automates the strategy’s workflow by detecting liquidity sweeps, confirming V-shape recoveries, identifying valid Inversion Fair Value Gaps, validating higher-timeframe Fair Value Gap taps, and checking for a clear opposite Draw On Liquidity. These factors are evaluated together to produce a signal rating of A, A+, or A++, based on how many of these criteria the setup satisfies. When a long or short setup is confirmed, the indicator automatically plots an entry, stop-loss, break-even, and two take-profit levels.
A dashboard that updates in real-time displays the current directional bias, liquidity sweep activity, Inversion Fair Value Gap confirmation state, V Shape Recovery state, higher-timeframe Fair Value Gap context, opposite Draw on Liquidity, SMT divergence, and other key information relevant to the trading model. The indicator also includes optional trade statistics on the dashboard that tracks the recent win rates for A, A+, and A++ setups, as well as separate long and short win rates.
This indicator was developed by Flux Charts, in collaboration with PJ Trades.
What is the theory behind the indicator?:
The Inversion Fair Value Gap model is built on the idea that when the market pushes above a high or below a low, it often does so to sweep liquidity. If that move quickly fails and price reverses, it shows the sweep was a grab for orders and not a continuation. That quick rejection is the V Shape Recovery behavior. An Inversion Fair Value Gap forms when a Fair Value Gap that once supported the original move gets invalidated afterward. That invalidation confirms the shift in direction and becomes the new reference point for trades. The Inversion Fair Value Gap model uses this sequence because it highlights when the market has taken liquidity, rejected continuation, and started delivering in the opposite direction.
INVERSION FAIR VALUE GAP MODEL FEATURES:
The Inversion Fair Value Gap Model indicator includes 15 main features:
Sessions
Key Levels & Swing Levels
Liquidity Levels
Liquidity Sweeps
V Shape Recoveries
Higher-Timeframe Fair Value Gaps
Inversion Fair Value Gaps
Macros
Bias
Signals
New Day Opening Gap
New Week Opening Gap
SMT Divergences
Dashboard
Alerts
SESSIONS:
The Inversion Fair Value Gap Model indicator includes five trading sessions (times in EST):
Asia: 20:00 - 00:00
London: 02:00 - 05:00
NY AM: 09:30 - 12:15
NY Lunch: 12:15 - 13:30
NY PM: 13:30 - 16:00
Session highs and lows are automatically tracked and used within the indicator’s signal logic.
🔹Session Zones:
Each session has a zone that outlines its active time window. These zones can be toggled on or off independently. When active, they visually separate each part of the trading day. Users can adjust the color and opacity of each session box. Users can also enable session labels, which place a label above each session zone showing its corresponding session name.
🔹Session Time:
Users can toggle on ‘Time’ which will display each session’s time window next to its session title.
🔹Session Highs/Lows:
Every session can display its own high and low as horizontal lines. Users can customize the line style for session highs/lows, choosing between solid, dashed, or dotted. The color of the lines will match the same color used for the session box. Users can adjust the color of the labels as well, which is applied to all session high/low labels.
When price has moved above a session high, or below a session low, the label will not be displayed anymore.
🔹Extend Levels:
When enabled, each session’s high and low levels can be extended forward by a set number of bars.
Please Note: Disabling a session under the main Sessions section only hides its visuals (boxes, lines, or labels). It does not impact signal detection or logic.
KEY LEVELS:
The Inversion Fair Value Gap Model indicator includes 11 key market levels that outline important structural price areas across daily, weekly, and monthly timeframes. These levels include the Daily Open, Previous Day High/Low, Weekly Open, Previous Week High/Low, Monthly Open, Previous Month High/Low, Midnight Open, and 08:30 Open. The levels can be enabled or disabled and customized in color and line style. All of the levels except the Midnight Open and 08:30 Open are used for the indicator’s signal logic.
🔹Daily Open
The Daily Open marks where the current trading day began.
🔹Previous Day High/Low
The Previous Day High (PDH) marks the highest price reached during the previous regular trading session. It shows where buyers pushed price to its highest point before the market closed.
The Previous Day Low (PDL) marks the lowest price reached during the previous regular trading session. It shows where selling pressure reached its lowest point before buyers stepped in.
When price pushes above the PDH or below the PDL, the level is removed from the chart.
🔹Weekly Open
The Weekly Open marks the first price of the current trading week.
🔹Previous Week High/Low
The Previous Week High (PWH) marks the highest price reached during the previous trading week. It shows where buying pressure reached its peak before the weekly close.
The Previous Week Low (PWL) marks the lowest price reached during the previous trading week. It shows where sellers pushed price to its lowest point before buyers regained control.
When price pushes above the PWH or below the PWL, the level is removed from the chart.
🔹Monthly Open
The Monthly Open marks the opening price of the current month.
🔹Previous Month High/Low
The Previous Month High (PMH) marks the highest price reached during the previous calendar month. It represents the point at which buyers achieved the strongest push before the monthly close.
The Previous Month Low (PML) marks the lowest price reached during the previous calendar month. It shows where selling pressure was strongest before buyers stepped back in.
When price pushes above the PMH or below the PML, the level is removed from the chart.
🔹Midnight Open
The Midnight Open marks the first price of the trading day at 00:00 EST.
🔹08:30 Open
The 08:30 Open marks the opening price at 08:30 EST.
🔹Customization Options:
Users can fully customize the appearance of all key levels, including the following:
Labels
Label Size
Line Style
Line Colors
Labels:
Users can toggle on ‘Show Labels’ to display labels for each toggled-on level that price hasn’t pushed above/below. Users can also adjust the size of labels, choosing between auto, tiny, small, normal, large, or huge.
Line Style:
Users can select a line style, choosing between solid, dashed, or dotted, which is applied to all toggled-on key levels.
Line Color:
Users can choose different colors for each of the following key levels:
Daily Open, Previous Day High, Previous Day Low
Weekly Open, Previous Week High, Previous Week Low,
Monthly Open, Previous Month High, Previous Month Low
Midnight Open
08:30 Open
🔹Extend Levels:
When enabled, each key level is extended forward by a set number of bars.
Please Note: Disabling a level in the “Key Levels” section only hides its visuals and does not affect the indicator’s signals.
🔹Swing Levels
The indicator automatically plots Swing Highs and Swing Lows which are used in the indicator’s signal generation logic.
A swing high forms when a candle’s high is greater than the highs of the bars immediately before and after it.
A swing low forms when a candle’s low is lower than the lows of the bars immediately before and after it.
🔹Swing Level Colors
Users can customize the color of Active Levels and Swept Levels.
Active Levels are levels that price has not pushed above or below
Swept Levels are levels that price pushed above or below.
🔹Swing Levels – Show Nearest
This setting determines how many swing highs/lows are displayed on the chart. The indicator will display the nearest X highs to price and the nearest X lows to price.
For example, if ‘Show Nearest’ is set to 2, the nearest 2 swing highs and nearest 2 swing lows to price will be plotted on the chart.
LIQUIDITY LEVELS:
The Inversion Fair Value Gap Model indicator automatically identifies and plots liquidity at key structural points in the market. These include swing highs and swing lows, session highs and lows, and major higher timeframe reference points as explained in the SESSIONS and KEY LEVELS sections above. All of these areas are treated as potential pools of resting orders and are used throughout the indicator’s signal logic.
🔹What is Buyside Liquidity?:
Buyside Liquidity (BSL) represents price levels where many buy stop orders are sitting, usually from traders holding short positions. When price moves into these areas, those stop-loss orders get triggered and short sellers are forced to buy back their positions. These zones often form above key highs such as the previous day, week, or month. Understanding BSL is important because when price reaches these levels, the sudden wave of buy orders can create sharp reactions or reversals as liquidity is taken from the market.
🔹What is Sellside Liquidity?:
Sellside Liquidity (SSL) represents price levels where many sell stop orders are waiting, usually from traders holding long positions. When price drops into these areas, those stop-loss orders are triggered and long traders are forced to sell their positions. These zones often form below key lows such as the previous day, week, or month. Understanding SSL is important because when price reaches these levels, the surge of sell orders can cause sharp reactions or reversals as liquidity is taken from the market.
🔹 Which Liquidity Levels Are Used
The indicator tracks liquidity at the following areas:
Asia Session High/Low
London High/Low
NY AM High/Low
NY Lunch High/Low
NY PM High/Low
Previous Day High and Low
Previous Week High and Low
Previous Month High and Low
Daily Open
Weekly Open
Monthly Open
Swing Highs/Lows
🔹 How Liquidity Levels Are Used
All tracked levels across sessions, swing points, and higher timeframes serve as potential liquidity targets. When price trades above one of these highs, the indicator looks for short setups if other confluences align. When price trades below lows, the indicator looks for long setups if other confluences align.
LIQUIDITY SWEEPS:
The indicator automatically detects Buyside Liquidity and Sellside Liquidity sweeps using the liquidity levels mentioned in the previous section.
🔹What is a Liquidity Sweep?
Liquidity sweeps occur when price trades beyond a key high or low and activates resting buy-stop or sell-stop orders in that area. It’s how the market gathers the liquidity needed for larger participants to enter positions.
Traders often place stop-loss orders around obvious highs and lows, such as the previous day’s, week’s, or month’s levels. When price pushes through one of these areas, it triggers the stops placed there and generates a burst of volume. This can lead to quick movements in price as those orders are executed.
🔹Sellside Liquidity Sweep
These occur when price dips below a Sellside Liquidity (SSL) level, taking out the stop-loss orders placed by long traders below that low. When this happens, the indicator records the sweep and begins monitoring for potential long setups as the next step in the IFVG trading strategy. Long trades are only eligible after a SSL sweep.
🔹Buyside Liquidity Sweep
These occur when price dips above a Buyside Liquidity (BSL) level, taking out the stop-loss orders placed by short seller traders above that high. When this happens, the indicator records the sweep and begins monitoring for potential short setups as the next step in the trading strategy. Short trades are only eligible after a BSL sweep.
🔹How to Use Liquidity Sweeps
Liquidity sweeps are not direct trade signals. They are best used as context when forming a directional bias. A sweep shows that the market has removed liquidity from one side, which can hint at where the next move may develop.
For example:
When BSL is swept, it often signals that buy stops have been triggered and the market may be preparing to move lower. Traders may then begin looking for short opportunities.
When SSL is swept, it often signals that sell stops have been triggered and the market may be preparing to move higher. Traders may then begin looking for long opportunities.
V SHAPE RECOVERIES:
🔹 What Is a V Shape Recovery?
A V shape recovery is a sharp, immediate reversal that happens right after price sweeps BSL or SSL. It indicates that price quickly moved back in the opposite direction after trading through the level. This behavior signals a shift in momentum and is a required confirmation in the indicator for signal generation. The indicator will not look for long trades after a SSL sweep unless a V shape recovery occurs. It will not look for short trades after a BSL sweep unless a V shape recovery occurs. Without this behavior, the indicator assumes that price may still be delivering in the direction of the sweep, so no valid setups can form.
🔹 Why V Shape Recoveries Matter
V shape recoveries help confirm that the liquidity the sweep did not immediately continue in the same direction. They separate false breaks from true continuation. A sweep without recovery often means price may keep trending, so the indicator does not generate signals in those cases. A sweep with a V shape recovery confirms rejection and sets the foundation for valid Inversion Fair Value Gap formation. This makes the V shape recovery one of the most important sequence steps in the Inversion Fair Value Gap Model.
🔹 How the Indicator Detects V Shape Recoveries
V shape recoveries can be visually intuitive when looking at a chart, but they are difficult to define consistently programmatically. To ensure reliable and repeatable detection, the indicator uses a rules-based method that evaluates candle size, candle direction, and the strength of the move immediately following the liquidity sweep. This approach removes subjectivity and allows the indicator to confirm V shape behavior the same way every time.
The indicator does not plot any visual elements specifically for V shape recoveries. Instead, the presence of a V shape recovery is implied through the signals themselves. Every valid long or short signal that appears after a liquidity sweep requires a confirmed V shape recovery. This means that if a signal is generated following a sweep, a V shape recovery has occurred.
🔹 V Shape Recovery After a Sellside Sweep (SSL Sweep)
After price trades below a sellside liquidity level, long positions are liquidated. If buyers quickly step in and force price upward with strong momentum, this forms a V shape recovery. This signals that the sweep below the low was rejected and that buyers have reclaimed control. When this occurs, the indicator begins monitoring for long setups.
🔹 V Shape Recovery After a Buyside Sweep (BSL Sweep)
After price pushes above a buyside liquidity level, many short positions are stopped out. If sellers immediately step in and drive price back down with strong movement, this forms a V shape recovery. This behavior reflects a quick change in candle direction immediately following the sweep. When this occurs, the indicator begins monitoring for short setups.
🔹Failed V Shape Recoveries
These examples show failed V shape recoveries, where price did not reverse decisively after the BSL or SSL sweep. The lack of strong response from buyers or sellers indicates that momentum did not shift. Thus, the indicator will not detect valid long/short setups using these liquidity sweeps.
HIGHER-TIMEFRAME FAIR VALUE GAPS:
Higher-timeframe Fair Value Gaps (HTF FVGs) provide important context in the Inversion Fair Value Gap Model because they show where significant imbalance occurred on larger market structures. The indicator automatically detects HTF FVGs and uses them as part of the signal rating system.
🔹 What Is a Fair Value Gap?
A Fair Value Gap (FVG) is an area where the market’s perception of fair value suddenly changes. On your chart, it appears as a three-candle pattern: a large candle in the middle, with smaller candles on each side that don’t fully overlap it.
A bullish FVG forms when a bullish candle is between two smaller bullish/bearish candles, where the first and third candles’ wicks don’t overlap each other at all.
A bearish FVG forms when a bearish candle is between two smaller bullish/bearish candles, where the first and third candles’ wicks don’t overlap each other at all.
This creates an imbalance because price moved so quickly that one side of the auction did not trade.
Examples:
🔹 What Makes an FVG “Higher-Timeframe”?
In this indicator, HTF FVGs are Fair Value Gaps detected on timeframes higher than the chart’s current timeframe. For example, on a 5-minute chart, a 1-hour FVG would be considered a HTF FVG. The indicator automatically plots and checks whether price interacts with these HTF FVGs during a liquidity sweep and incorporates this into the signal rating (A, A+, A++).
🔹 How the Indicator Uses Higher-Timeframe FVGs
The indicator automatically scans up to three user-selected higher timeframes for valid bullish and bearish FVGs and tracks price’s behavior around them in the background. When any of these higher timeframes are enabled, their FVGs are used directly within the signal logic.
During a liquidity sweep, the indicator checks whether price taps into any enabled HTF FVG. A tap occurs when price trades inside the boundaries of a higher-timeframe FVG during or immediately after the sweep.
A bullish HTF FVG tap during a sellside sweep supports a long setup.
A bearish HTF FVG tap during a buyside sweep supports a short setup.
When an HTF FVG tap aligns with the direction of the setup, the signal’s rating is increased. This can increase a setup’s rating from A to A+ or from A+ to A++.
🔹 Higher-Timeframe FVG Customization
Users can select up to three higher timeframes for HTF FVG detection. When a higher timeframe is enabled, its FVGs are used in the model’s signal logic. Users can also choose whether to display these HTF FVGs visually on the chart, by enabling the ‘Plot HTF FVGs’ setting.
Each enabled HTF FVG can be customized with the following options:
Bullish and Bearish Colors: Users can set different fill colors for bullish and bearish HTF FVGs for each selected timeframe.
Midline: When enabled, a midline is drawn through the center of each HTF FVG. Users can customize the midline’s line style, choosing between solid, dashed, or dotted and also customize the midline’s color.
Labels: When enabled, each plotted HTF FVG displays a label that shows its originating timeframe (for example, 1H, 4H).
Plot HTF FVGs: When disabled, the HTF FVG zones are hidden from the chart while the logic remains active in the background for signals.
Show Nearest:
This setting controls how many HTF FVGs are displayed based on proximity to current price. Users can choose to show the nearest X bullish HTF FVGs and the nearest X bearish HTF FVGs. This filter is applied across all enabled higher timeframes and does not limit by timeframe individually.
🔹When are Higher Timeframe Fair Value Gaps mitigated?
A Higher Timeframe Fair Value Gap is considered mitigated when a candle from the chart’s timeframe closes above the gap for a bearish FVG or below the gap for a bullish FVG.
INVERSION FAIR VALUE GAPS:
Inversion Fair Value Gaps (IFVGs) are a core requirement of the Inversion Fair Value Gap Model. Every long and short signal generated by the indicator requires a valid IFVG, just like liquidity sweeps and V shape recoveries. Without a confirmed IFVG, the model will not produce a setup.
🔹 What Is an Inversion Fair Value Gap?
An Inversion Fair Value Gap is a Fair Value Gap that becomes invalidated by a candle close in the opposite direction. This “flip” confirms that the original imbalance failed and that the market has shifted.
A bullish IFVG forms when a bearish FVG is invalidated by a candle closing above it.
A bearish IFVG forms when a bullish FVG is invalidated by a candle closing below it.
In the indicator, IFVGs are not used as retracement areas. Signals are generated immediately when a valid IFVG forms, not after price returns to the gap. The IFVG itself is the confirmation event that finalizes a setup sequence after a liquidity sweep and V shape recovery.
🔹 How the Indicator Plots IFVGs
The indicator only plots IFVGs that are used in long or short setups. Not every possible IFVG is shown on the chart. Only the IFVG involved in a confirmed signal is displayed. Users can disable IFVG plots entirely if they prefer a minimal view. This hides the visual gaps but does not affect the signal logic.
🔹 Customization Options
Users can customize how IFVGs appear on the chart:
Color Settings: Choose separate fill colors for bullish IFVGs and bearish IFVGs.
Midline: Toggle an optional midline inside the IFVG and choose between a solid, dashed, or dotted line.
Midline Color: Adjust the color of the IFVG Midline.
MACROS:
Macros are short, predefined time windows, where price is more likely to seek liquidity or rebalance imbalances. These periods often create sharp movements or shifts in delivery, giving additional context to setups. In the Inversion Fair Value Gap Model, macros are used as a confluence factor. When a long or short signal forms during a macro time window, the setup’s rating can increase from A to A+ or from A+ to A++.
Macros are not required for a signal to form, but they increase the signal’s rating when the setup aligns with macro timing.
🔹 How the Indicator Uses Macros
The indicator allows users to enable up to five macros. Each macro has its own start and end time, which the user can customize. These time windows are used directly in the signal logic. If a valid IFVG setup forms while price is inside any of the enabled macro windows, the indicator increases the signal’s rating.
Users may visually disable macros on the chart without affecting signal logic. Disabling visuals hides the macro zones, labels, and lines, but the underlying macro logic continues to function in the background for signals.
The indicator’s default macros use the following time periods (in EST):
09:50 - 10:10
10:50 - 11:10
11:50 - 12:10
12:50 - 13:10
13:50 - 14:10
🔹 Macro Settings
Each macro displays a shaded zone representing the active time window. This zone can be toggled on or off. Users can customize:
The color of each macro zone
The opacity of each zone
Whether the zones display at all (‘Show Zones’)
These visuals help identify whether price is currently inside a macro window.
🔹 Macro Labels:
Users can enable macro labels, which place a text label showing the macro’s title and its time window. The label color is global (applies to all macros), and the label size can be adjusted. Individual macros cannot have unique label colors.
🔹 Macro Start/End Lines
For additional clarity, the indicator draws two vertical markers for each macro:
One at the start of the macro
One at the end of the macro
A horizontal macro line is then drawn between the highs of these two candles to highlight the full duration of the macro window. Users can customize:
The line styles (solid, dashed, dotted) of the Macro Line and Start/End Lines
BIAS:
Bias determines which direction the indicator is allowed to generate signals. A bullish bias means only long setups can be confirmed. A bearish bias means only short setups can be confirmed. The bias acts as the final directional filter after a liquidity sweep, V shape recovery, and IFVG have all been validated. Even if all model conditions are met, the indicator will only confirm the setup if the direction aligns with the active bias.
Users are able to manually set a bias or use an automatic bias filter, which is explained below.
🔹 Manual Bias
Users can manually choose the directional bias at any time and choose between Bullish, Bearish, or Both.
When set to Bullish, the indicator will only confirm long setups, regardless of market structure.
When set to Bearish, only short setups are allowed.
When set to Both, the indicator can confirm both long and short setups if all requirements are met.
🔹 Automatic Bias
Automatic bias is fully rules-based and determined by how the previous session interacted with major draw-on-liquidity (DOL) levels. These levels include 1-hour highs and lows, 4-hour highs and lows, previous session highs and lows (such as Asia or London), and the previous day’s high and low. The indicator evaluates whether the previous session consolidated, manipulated liquidity, or manipulated and reversed before closing. Based on this behavior, the indicator establishes a directional bias for the current session.
◇ Previous Session Consolidation:
If the previous session did not sweep any major liquidity levels and price remained inside its range, the session is classified as consolidation.
After the current session sweeps a key low, the bias becomes bullish.
After the current session sweeps a key high, the bias becomes bearish.
The bias is determined live based on which side the current session manipulates first.
◇ Previous Session Manipulation (No Reversal):
If the previous session swept a major high-timeframe level but did not reverse before the session closed, the model assigns a reversal-based bias at the start of the current session.
If the previous session swept a low, the current session bias is bullish.
If the previous session swept a high, the current session bias is bearish.
Here, bias is determined immediately because the previous session’s manipulation defines the directional framework for the current session.
◇ Previous Session Manipulation + Reversal:
If the previous session swept a DOL level and also reversed away from it within the same session, the model assigns a continuation-based bias at the start of the current session.
If the previous session swept a low and reversed upward, the bias for the current session is bullish.
If the previous session swept a high and reversed downward, the bias is bearish.
🔹 How the Indicator Uses Bias in Practice
After the indicator validates the liquidity sweep, V shape recovery, and IFVG, it checks the active bias before confirming a signal.
If bias is bullish, only long setups are allowed.
If bias is bearish, only short setups are allowed.
If bias is Both, setups of either direction may form.
The bias does not influence the detection of liquidity sweeps, V shape recoveries, or IFVGs. It only determines whether those validated components are allowed to produce a final signal. Automatic bias updates based on session behavior, while manual bias remains fixed until the user changes it.
SIGNALS:
Signals are the final output of the Inversion Fair Value Gap Model indicator. A signal is only generated when all model conditions are satisfied in a clear, rules-based sequence.
A signal consists of:
An Entry
A Stop-Loss (SL)
A Breakeven (BE) level
Two Take-Profit levels (TP1 and TP2)
These components are plotted immediately once the final requirement (the IFVG confirmation) is met and the directional filter (bias) allows the setup.
Signals can be rated A, A+, or A++, based on whether certain confluences were present during the setup’s formation.
🔹 What All Signals Have in Common
Each signal type (A, A+, A++) requires the same four mandatory conditions. If any of these four are missing, the indicator will not print a signal.
◇ Required Component #1 – Valid Directional Bias
The bias determines whether the indicator can confirm a long or short setup.
Bullish bias → only long setups allowed
Bearish bias → only short setups allowed
Both → long or short setups allowed
Automatic bias → bias determined by session-based liquidity logic explained above
◇ Required Component #2 – Liquidity Sweep
The indicator must detect one of the following:
Sellside Liquidity Sweep (SSL Sweep) for potential long setups
Buyside Liquidity Sweep (BSL Sweep) for potential short setups
◇ Required Component #3 – V Shape Recovery
After a liquidity sweep, the indicator evaluates whether price produced a valid V shape recovery.
◇ Required Component #4 – Inversion Fair Value Gap (IFVG)
An IFVG must form in the direction of the potential setup.
A bullish IFVG forms when a bearish FVG is invalidated by a candle closing above that gap
A bearish IFVG forms when a bullish FVG is invalidated by a candle closing below that gap
The IFVG must occur after the V Shape Recovery and Liquidity Sweep. The IFVG confirmation is the final structural requirement. Once it forms, the setup is considered structurally complete.
🔹 A Signals
An A-rated signal contains exactly the four required components:
Valid Bias
Liquidity Sweep
V Shape Recovery
IFVG
An A signals represent the foundational implementation of the IFVG Model.
🔹 A+ Signals
An A+ signal includes the full A-signal structure plus ONE of the following:
Higher-Timeframe FVG Tap
Multi-Liquidity Sweep
Inside a Macro Window
◇ Higher-Timeframe FVG Tap
During a liquidity sweep, the indicator checks whether price taps into any enabled HTF FVG. A tap occurs when price trades inside the boundaries of a higher-timeframe FVG during or immediately after the sweep.
A bullish HTF FVG tap during a sellside sweep supports a long setup.
A bearish HTF FVG tap during a buyside sweep supports a short setup.
◇ Multi-Liquidity Sweep
A Multi-Liquidity Sweep occurs when price sweeps two liquidity levels of the same type in the same directional push.
Sweeping two lows in one move: Multi-Sellside Liquidity Sweep (long setups).
Sweeping two highs in one move → Multi-Buyside Liquidity Sweep (short setups).
◇ Inside a Macro Window
The final IFVG confirmation must occur inside a macro time window defined by the user.
If exactly one of these additional confluences is present, the signal rating is A+.
🔹 A++ Signals (Two Additional Confluences)
An A++ signal contains the full A signal structure plus TWO of the three confluences listed above.
HTF FVG tap + Multi-Liquidity Sweep
HTF FVG tap + Inside a Macro Window
Multi-Liquidity Sweep + Inside a Macro Window
If two confluences are present, the rating becomes A++. If all three are present, the setup is still rated a A++ (there is no A+++).
🔹 Signal Plots
When a valid long/short setup is detected, a signal with its rating appears with the following:
Entry: At the close of the candle that inverted a FVG
Stop-Loss: At the nearest swing high for short setups or nearest swing low for long setups
Breakeven Level: At the nearest swing high for long setups or the nearest swing low for short setups
Take-Profit 1: At the second nearest swing high for long setups or the second nearest swing low for short setups.
Take-Profit 2: At the third nearest swing high for long setups or the third nearest swing low for short setups.
After a signal reaches either TP2 or SL, the levels for Entry, SL, BE, TP1, and TP2 are removed from the chart. If another signal appears before the prior signal reaches either TP2 or SL, the levels are also removed.
Users can hover over any signal label to view a short summary of the exact criteria that were met for that setup. This includes whether a HTF FVG tap occurred, whether a multi-liquidity sweep was detected, whether the setup formed inside a macro window, and which liquidity level was swept prior to the V shape recovery.
🔹 Long Setup – A Rating
A long A-rated setup forms when all four core requirements of the IFVG Model occur without any additional confluences. First, price must sweep a Sellside Liquidity level. Immediately after the sweep, price must form a valid V shape recovery. Once the recovery completes, a bullish IFVG must form by invalidating a bearish Fair Value Gap with a candle close above it.
For a confirmed long signal, the indicator marks:
Entry: At the candle close that invalidates the bearish FVG and creates the IFVG
Stop Loss: At the nearest swing low
Breakeven: Midpoint between entry and stop-loss
Take Profit 1: At the second nearest swing high
Take Profit 2: At the third nearest swing high
In this example, price sweeps a swing low, has a V Shape recovery, and forms a bullish IFVG:
🔹 Short Setup – A Rating
A short A-rated setup forms when all four core requirements of the IFVG Model occur without any additional confluences. Price must first sweep a Buyside Liquidity level. Immediately after the sweep, price must form a valid V shape recovery. Once the recovery completes, a bearish IFVG must form by invalidating a bullish Fair Value Gap with a candle close below it.
For a confirmed short signal, the indicator marks:
Entry: At the candle close that invalidates the bullish FVG and creates the IFVG
Stop Loss: At the nearest swing high
Breakeven: Midpoint between entry and stop-loss
Take Profit 1: At the second nearest swing low
Take Profit 2: At the third nearest swing low
In this example, price sweeps a swing high, has a V shape recovery, and forms a bearish IFVG:
🔹 Long Setup – A+ Rating
A long A+ setup forms when the four core requirements of the IFVG Model occur and exactly one additional confluence is present. Price must sweep a Sellside Liquidity level, form a valid V shape recovery, and create a bullish IFVG by invalidating a bearish FVG. One of the following must also occur: a bullish HTF FVG tap during the liquidity sweep, a multi-sellside liquidity sweep, or the IFVG confirmation forms inside a macro window.
For a confirmed long A+ signal, the indicator marks:
Entry: At the candle close that creates the bullish IFVG
Stop Loss: At the nearest swing low
Breakeven: Midpoint between entry and stop-loss
Take Profit 1: At the second nearest swing high
Take Profit 2: At the third nearest swing high
In this example, price sweeps the NY AM Session Low, taps a 30-minute HTF FVG during the sweep, has a V shape recovery, and forms a bullish IFVG:
🔹 Short Setup – A+ Rating
A short A+ setup forms when the four core requirements of the IFVG Model occur and exactly one additional confluence is present. Price must sweep a Buyside Liquidity level, form a valid V shape recovery, and create a bearish IFVG by invalidating a bullish FVG. One of the following must also occur: a bearish HTF FVG tap, a multi-buyside liquidity sweep, or the IFVG confirmation forms inside a macro window.
For a confirmed short A+ signal, the indicator marks:
Entry: At the candle close that creates the bearish IFVG
Stop Loss: At the nearest swing high
Breakeven: Midpoint between entry and stop-loss
Take Profit 1: At the second nearest swing low
Take Profit 2: At the third nearest swing low
In this example, price sweeps a swing high, has a V shape recovery, and forms a bearish IFVG inside of the 13:50-14:10 macro:
🔹 Long Setup – A++ Rating
A long A++ setup forms when the four core requirements of the IFVG Model occur and at least two additional confluences are present. Price must sweep a Sellside Liquidity level, form a valid V shape recovery, and create a bullish IFVG. The setup must also include any two or three of the following: a bullish HTF FVG tap, a multi-sellside liquidity sweep, or the IFVG confirmation forming inside a macro window.
For a confirmed long A++ signal, the indicator marks:
Entry: At the candle close that creates the bullish IFVG
Stop Loss: At the nearest swing low
Breakeven: Midpoint between entry and stop-loss
Take Profit 1: At the second nearest swing high
Take Profit 2: At the third nearest swing high
In this example, price sweeps two swing lows, has a V shape recovery, taps a bullish 30-minute HTF FVG during the liquidity sweep, and forms a bullish IFVG inside of the 10:50-11:10 macro:
🔹 Short Setup – A++ Rating
A short A++ setup forms when the four core requirements of the IFVG Model occur and at least two additional confluences are present. Price must sweep a Buyside Liquidity level, form a valid V shape recovery, and create a bearish IFVG. The setup must also include any two or three of the following: a bearish HTF FVG tap, a multi-buyside liquidity sweep, or the IFVG confirmation forming inside a macro window.
For a confirmed short A++ signal, the indicator marks:
Entry: At the candle close that creates the bearish IFVG
Stop Loss: At the nearest swing high
Breakeven: Midpoint between entry and stop-loss
Take Profit 1: At the second nearest swing low
Take Profit 2: At the third nearest swing low
In this example, price sweeps a swing high, has a V shape recovery, taps a bearish 30-minute HTF FVG during the liquidity sweep, and forms a bearish IFVG inside of the 09:50-10:10 macro:
🔹Signal Settings
◇ Liquidity Levels Used:
Users can select which type of liquidity levels the indicator uses for identifying liquidity sweeps:
Swing Points: Only uses Swing Highs/Lows
Session Highs/Lows: Only uses Session Highs/Lows
Both: Uses both Swing Highs/Lows and Session Highs/Lows
◇ Bias:
This setting determines which signal directions are allowed.
Manual Bias: Users can manually choose the directional bias, picking between Bullish, Bearish, or Both.
Automatic Bias: The indicator automatically determines a directional bias based on the criteria mentioned in the previous Bias section.
◇ IFVG Sensitivity:
This setting determines the minimum gap size required for an FVG to qualify as an Inversion FVG.
Higher values: only larger FVGs become IFVGs
Lower values: smaller gaps are allowed
◇ Use First Presented IFVG:
This setting determines whether the indicator limits signals to only the first IFVG created within the manipulation leg.
What Is the First Presented IFVG?
It is the earliest FVG formed inside the displacement that causes the liquidity sweep.
For a bearish manipulation leg (price moving downward into the sweep), the first presented IFVG is the first FVG created at the start of that downward move:
For a bullish manipulation leg (price moving upward into the sweep), the first presented IFVG is the first FVG created at the start of that upward move:
When this setting is enabled, the indicator will only confirm signals when the IFVG used is derived from this first presented FVG. IFVGs that form later in the manipulation leg are not used for signal generation.
◇ Only Take Trades:
This setting allows users to restrict signals to a defined time window.
If a complete setup occurs inside the time window, it is allowed and plotted
If it occurs outside the window, the signal will not appear
For example, if you only wanted to see long/short signals between 9:30 AM and 12:00 PM, you would enable this setting and set the time window from 09:30 - 12:00.
◇ Minimum R:R
This setting allows users to require a minimum risk-to-reward ratio before a signal is confirmed and plotted on the chart. The risk-to-reward ratio is calculated using the distance from the Entry to the Stop-Loss (risk) and the distance from the Entry to TP2 (reward). The indicator compares these distances and determines whether the setup meets or exceeds the minimum R:R value selected by the user.
If the calculated R:R is equal to or greater than the chosen threshold, the signal will be displayed.
If the calculated R:R is lower than the threshold, the signal will not appear on the chart.
🔹 Signal Rating Minimum
Users can restrict which signal ratings appear:
A: shows all signals
A+: shows only A+ and A++
A++: shows only A++ setups
🔹 Signal Styling and Customization
The indicator provides full control over how signal labels and levels appear on your chart. Users can customize long signals, short signals, all plotted lines, and the visibility of every individual element.
◇ Long Signal Styling
Users can customize:
Long Signal Label Color
Long Signal Text Color
Long Signal Label Size
◇ Short Signal Styling
Users can customize:
Short Signal Label Color
Short Signal Text Color
Short Signal Label Size
◇ Entry, Stop Loss, Breakeven, and Take Profit Lines
Each line type can be enabled or disabled individually:
Entry Line
Stop Loss Line
Breakeven Line
Take Profit 1 & 2 Lines
Users can also set custom colors for each line so every level is easy to track during live price movement.
◇ Show Price Labels
Price labels can be toggled on or off individually for each level. Users can choose whether to show or hide the price for:
Entry
Stop loss
Breakeven
Take Profit 1 & 2
NEW DAY OPENING GAP:
The New Day Opening Gap (NDOG) highlights the price difference between the previous day’s closing candle and the first candle of the new trading day. The indicator tracks this gap automatically each day and makes it available as optional context for users.
🔹 What Is the New Day Opening Gap?
A New Day Opening Gap forms when the trading day opens at a price different from the previous day’s final closing price.
If the new day opens above the prior day’s close → Bullish NDOG
If the new day opens below the prior day’s close → Bearish NDOG
This gap acts as a short-term draw on liquidity because the market may revisit the gap to rebalance price delivery. While the NDOG is not a required component for IFVG signals.
🔹 How the Indicator Uses the New Day Opening Gap
When enabled, the indicator plots the gap as a rectangular zone spanning from the previous day’s close to the new day’s open. The zone remains active until it is fully filled by price or until the next day’s opening gap forms. Once price trades through the entire gap, or once a new NDOG replaces it the following day, the zone becomes inactive and is removed from the chart. The indicator does not use the NDOG for signal generation. It is strictly a visual tool that helps traders identify areas where price may retrace or seek liquidity during the session.
🔹 Customization Options
Users have full control over how the New Day Opening Gap displays on the chart:
Show New Day Opening Gap: Toggle the NDOG zone on or off
Bullish NDOG Color: Customize the fill color for gaps formed above the prior close
Bearish NDOG Color: Customize the fill color for gaps formed below the prior close
NEW WEEK OPENING GAP:
The New Week Opening Gap (NWOG) highlights the price difference between the previous week’s final closing candle and the first candle of the new trading week. The indicator tracks this gap automatically each week and provides it as optional context for users.
🔹 What Is the New Week Opening Gap?
A New Week Opening Gap forms when the new trading week opens at a price different from the previous week’s closing price.
If the new week opens above the prior week’s close → Bullish NWOG
If the new week opens below the prior week’s close → Bearish NWOG
This gap often serves as a medium-term draw on liquidity because price may return to rebalance the weekly displacement. The NWOG is not a required component for IFVG signals.
🔹 How the Indicator Uses the New Week Opening Gap
When enabled, the indicator plots the gap as a rectangular zone spanning from the previous week’s close to the new week’s open. The zone remains active until it is fully filled by price or until the next week’s opening gap forms. Once price trades through the entire gap, or once a new NWOG replaces it the following week, the zone becomes inactive and is removed from the chart. The indicator does not use the NWOG for signal generation. It is purely a visual reference to help traders identify areas where price may rebalance or seek liquidity during the week.
🔹 Customization Options
Users have full control over how the New Week Opening Gap displays on the chart:
Show New Week Opening Gap: Toggle the NWOG zone on or off
Bullish NWOG Color: Set the fill color for gaps formed above the prior weekly close
Bearish NWOG Color: Set the fill color for gaps formed below the prior weekly close
SMT DIVERGENCES:
The indicator automatically marks SMT Divergences that occur between the current selected chart ticker and a second user-selected ticker.
A SMT Divergence forms when the prices of the currently selected chart ticker and the user-selected ticker don’t follow each other. For example, if the current chart’s ticker symbol is SEED_ALEXDRAYM_SHORTINTEREST2:NQ and the user-selected ticker is $ES. If SEED_ALEXDRAYM_SHORTINTEREST2:NQ does not sweep the low of the NY AM Session, but NYSE:ES sweeps that same exact session’s low during the same candle, then a SMT Divergence is detected.
In the images below, SEED_ALEXDRAYM_SHORTINTEREST2:NQ and NYSE:ES form a low at 12:20 AM on November 12th. At 12:35 AM, the 12:20 AM low is taken out on $NQ. However, on NYSE:ES , price failed to take out this exact low at 12:35 AM. Thus, an SMT Divergence is detected, and a line is drawn between the two lows on $NQ.
NYSE:ES Chart:
SEED_ALEXDRAYM_SHORTINTEREST2:NQ Chart:
🔹 SMT Divergence Settings
The indicator includes settings that allow users to control how SMT Divergences are detected and displayed.
◇ Length
Length controls how sensitive the pivot detection is when finding highs and lows for SMT.
Lower Length: confirms swings with fewer bars, so more swings qualify.
Higher Length: requires more bars to confirm a swing, so fewer swings qualify.
◇ Divergence Length
The Divergence Length setting defines how many bars apart the two swing points may be for them to count as part of the same SMT Divergence.
Higher Values: The two instruments can form their swing highs or lows farther apart in time. As long as both swings occur within this wider bar window, the indicator compares them for divergence.
Lower Values: The two swing points must occur very close to each other.
◇ Show Last
This setting limits how many recent SMT Divergences are displayed on the chart. For example, setting Show Last to 1 will only show the most recent SMT Divergence, while higher values allow more historical SMT Divergences to remain visible on the chart.
◇ Divergence Ticker
Users can change the ticker used for detections. Since SMT Divergences occur by comparing two tickers, the inputted ticker within the settings will always be compared to the current selected ticker on your chart.
DASHBOARD:
The dashboard provides a live summary of all major components of the Inversion Fair Value Gap Model. It updates every candle and displays the current state of each requirement used in the setup logic.
🔹 Real-Time Model Components
The state of each component is displayed with the following:
✔️ = condition is satisfied
❌ = condition is not satisfied
🐂 / 🐻 = current directional bias (bullish or bearish)
The dashboard actively tracks the following:
◇ Bias (🐂 Bullish, 🐻 Bearish, or Both)
Shows the current bias with a bull or bear emoji. If using automatic bias, the dashboard updates as soon as the session logic determines a direction.
◇ Liquidity Sweep
Displays ✔️ once a valid BSL Sweep (for shorts) or SSL Sweep (for longs) is detected.
Shows ❌ when no sweep is present.
◇ V Shape Recovery
Displays ✔️ when a confirmed V shape recovery forms after the sweep.
Shows ❌ until a valid V shape appears.
◇ Inversion Fair Value Gap (IFVG)
Shows ✔️ once a bullish or bearish IFVG forms in the correct direction.
Shows ❌ when no IFVG has yet confirmed.
◇ Higher-Timeframe FVG Interaction
Displays ✔️ when price is currently inside any enabled HTF FVG or taps a HTF FVG during a liquidity sweep.
Displays ❌ when price is not inside a HTF imbalance.
◇ Clear Opposite Draw on Liquidity (DOL)
Shows ✔️ when a clear opposite-side draw is present in the model logic.
Shows ❌ if no clear opposite draw is detected.
◇ SMT Divergence
Shows ✔️ for 20 candles immediately after an SMT Divergence forms.
After 20 candles, it returns to ❌ unless a new SMT Divergence is detected.
🔹 Signal Information Display
When a valid long or short signal appears, the dashboard expands to show the full details of the setup, including:
Signal Rating
Entry Price
Stop-Loss Price
Breakeven Price
Take Profit 1 Price
Take Profit 2 Price
🔹 Trade Statistics Module
Users can enable a built-in statistics panel to view historical performance of signals across all ratings. The trade stats include:
A Signal Win Rate
A+ Signal Win Rate
A++ Signal Win Rate
Long Signal Win Rate
Short Signal Win Rate
Total Number of Trades Used in the Calculations
A trade is counted as a win if price reaches breakeven before stop-loss. A trade is counted as a loss if price hits stop-loss before breakeven.
🔹 Dashboard Customization
The dashboard includes several options to control its appearance and position:
Show Dashboard: Toggle the entire dashboard on or off
Dashboard Size: Choose the size of the dashboard
Dashboard Position: Choose the location of the dashboard on the chart
Trade Stats Text Color: Customize the color of the 2nd column outputs under the Trade Stats section in the dashboard
◇ Component Toggles
Users can enable or disable the display of any model component based on preference. Each of these items can be shown or hidden independently:
Setup Rating
Entry
Stop-Loss
Breakeven
Take Profit 1
Take Profit 2
Bias
Liquidity Sweep
Higher-Timeframe FVG Interaction
V Shape Recovery
Inversion FVG
Clear Opposite Draw on Liquidity
Trade Stats
These toggles only affect visual display. Disabling any of them does not affect the underlying indicator’s logic.
ALERTS:
The Inversion Fair Value Gap Model includes full alert functionality using AnyAlert(), allowing users to receive notifications in real time for all major model components and signal events.
Users can enable or disable each alert type in the “Alerts” section of the settings. After selecting which alerts they want active, they can create a single TradingView alert using the AnyAlert() condition. This will automatically trigger alerts for all enabled events as soon as they occur on the chart.
Available Alerts:
Long Signal
Short Signal
Breakeven Hit (BE)
Take Profit 1 Hit (TP1)
Take Profit 2 Hit (TP2)
Stop-Loss Hit (SL)
Liquidity Sweep Detected
SMT Divergence Detected
How to Receive Alerts:
Open the TradingView alert creation window.
Select the IFVG Model indicator as the alert condition.
Choose AnyAlert() from the condition dropdown.
Create the alert.
IMPORTANT NOTES:
TradingView has limitations when running features on multiple timeframes such as the HTF FVGs, which can result in the following restriction:
Computation Error:
The computation of using MTF features is very intensive on TradingView. This can sometimes cause calculation timeouts. When this occurs, simply force the recalculation by modifying one indicator’s settings or by removing the indicator and adding it to your chart again.
UNIQUENESS:
This indicator is unique because it organizes every part of the Inversion Fair Value Gap Model into one structured, rules based system. It detects liquidity sweeps, confirms V shape recoveries, identifies valid IFVGs, checks higher timeframe FVG taps, reads macro timing, and applies a session based directional bias. All of these components are evaluated in a fixed sequence so users always know exactly why a signal appears. Every part of the logic is customizable, including which liquidity types are used, which IFVGs qualify for signals, which time windows allow trades, the minimum risk to reward for a setup, and all visual elements on the chart. The tool also includes optional SMT Divergence detection, daily and weekly opening gaps, a live dashboard that shows the state of each model requirement, and optional signal performance statistics.
XAUUSD Multi-Timeframe Bias Scanner🎯 Purpose & Overview
This is a sophisticated trading indicator that analyzes XAUUSD (Gold) across 5 different timeframes simultaneously to determine market bias and trend direction.
⚙️ Core Components
2. Bias Calculation Engine
The heart of the indicator uses 5 technical factors to score each timeframe:
Technical Factors (Weighted):
Moving Average Alignment (30 points)
Bullish: EMA(9) > EMA(21) > EMA(50)
Bearish: EMA(9) < EMA(21) < EMA(50)
Price vs MA Position (20 points)
Score increases when price above MAs
Score decreases when price below MAs
RSI Momentum (20 points)
Bullish: RSI > 60 or > 50
Bearish: RSI < 40 or < 50
MACD Signals (15 points)
Bullish: MACD line > Signal line AND > 0
Bearish: MACD line < Signal line AND < 0
Volume Confirmation (15 points)
Volume spikes with price movement add confirmation
📊 Timeframe Analysis
Five Timeframes Monitored:
5-minute - Short-term noise (10% weight)
15-minute - Intraday direction (15% weight)
1-hour - Key intraday bias (25% weight)
4-hour - Primary directional bias (30% weight)
1-day - Overall trend context (20% weight)
Bias Scoring System:
0-100 Scale (50 = Neutral)
STRONG BULLISH: ≥70 (Green)
BULLISH: 55-69 (Lime)
NEUTRAL: 46-54 (Gray)
BEARISH: 31-45 (Orange)
STRONG BEARISH: ≤30 (Red)
🎨 Visual Features
1. Comprehensive Table Display
pinescript
var table biasTable = table.new(position.top_right, 3, 7, ...)
Shows a color-coded table with:
Timeframe name
Numerical bias score (0-100)
Strength description with color coding
2. Chart Visual Indicators
Background coloring based on overall bias
Label markers for strong bullish/bearish conditions
Real-time label showing all timeframe scores
3. Alert System
Triggers when overall bias crosses 70 (bullish) or 30 (bearish)
Configurable with sound options
🔄 How It Processes Data
Data Flow:
Requests security data for each timeframe using request.security()
Calculates technical indicators for each TF separately
Scores each TF based on 5 technical factors
Computes weighted overall bias
Updates visual displays and checks alert conditions
💡 Trading Applications
Bullish Scenarios:
Multiple timeframes show bullish alignment
Higher timeframe bias supports lower timeframe direction
Overall score > 70 indicates strong bullish conviction
Bearish Scenarios:
Multiple timeframes show bearish alignment
Higher timeframe bias confirms lower timeframe moves
Overall score < 30 indicates strong bearish conviction
Conflict Detection:
When timeframes show conflicting biases
Caution required - market may be consolidating
Wait for alignment before taking trades
🎚️ Customization Options
Users can modify:
Timeframe weights
Technical indicator parameters
Alert thresholds
Visual display preferences
Scoring sensitivity
📈 XAUUSD Specific Optimizations
The indicator considers Gold's unique characteristics:
High volatility periods
ATR-based volatility adjustments
Volume confirmation for breakouts
Multiple timeframe confirmation for trend reliability
This creates a powerful tool for identifying high-probability trade setups in XAUUSD by ensuring traders have a complete multi-timeframe perspective before entering positions.






















