cd_VWAP_mtg_CxCd_VWAP_mtg_Cx
Overview
The most important condition for being successful and profitable in the market is to consistently follow the same rules without compromise, while the price constantly moves in countless different ways.
Regardless of the concept or trading school, those who have rules win.
In this indicator, we will define and use three main sections to set and apply our rules.
The indicator uses the VWAP (Volume Weighted Average Price) — price weighted by volume.
Two VWAPs can be displayed either by manually entering date and time, or by selecting from the menu.
From the menu, you can select the following reference levels:
• HTF Open: Opening candle of the higher timeframe
• ATH / ATL: All-Time High / All-Time Low candles
• PMH / PML, PWH / PWL, PDH / PDL, PH4H / PH4L: Previous Month, Week, Day, or H4 Highs/Lows
• MH / ML, WH / WL, DH / DL, H4H / H4L: Current Month, Week, Day, or H4 Highs/Lows
Additionally, it includes:
• Mitigation / Order Block zones (local buyer-seller balance) across two timeframes.
• Buy/Sell Side Liquidity levels (BSL / SSL) from the aligned higher timeframe (target levels).
________________________________________
Components and Usage
1 – VWAP
Calculated using the classical method:
• High + Volume for the upper value
• Close + Volume for the middle value
• Low + Volume for the lower value
The VWAP is displayed as a colored band, where the coloring represents the bias.
Let’s call this band FVB (Fair Value Band) for ease of explanation.
The FVB represents the final line of defense, the buyer/seller boundary, and in technical terms, it can be viewed as premium/discount zones or support/resistance levels.
Within this critical area, the strong side continues its move, while the weaker side is forced to retreat.
But does the side that breaks beyond the band always keep going?
We all know that’s not always the case — in different pairs and timeframes, price often violates both the upper and lower edges multiple times.
To achieve more consistent analysis, we’ll define a new set of rules.
________________________________________
2 – Mitigation / Order Blocks
In trading literature, there are dozens of different definitions and uses of mitigation or order blocks.
Here, we will interpret the candlesticks to create our own definition, and we’ll use the zones defined by candles that fit this pattern.
For simplicity, let’s abbreviate mitigation as “mtg.”
For a candle to be selected as an mtg, it must clearly show strength from one side (buyers or sellers) — which can also be observed visually on the chart.
________________________________________
Bullish mtg criteria:
1. The first candle must be bullish (close > open) → buyers are strong.
2. The next candle makes a new high (buyers push higher) but fails to close above and pulls back to close inside the previous range → sellers react.
It also must not break the previous low → buyers defend.
3. In the following candle(s), as long as the first candle’s low is protected and the second candle’s high is broken, it indicates buyer strength → a bullish mtg is confirmed.
When price returns to this zone later (gets mitigated), the expectation is that the zone holds and price pushes upward again.
If the low is violated, the mtg becomes invalid.
In technical terms:
If the previous candle’s high is broken but no close occurs above it, the expectation is a reversal move that will retest its low.
Question:
What if the low is protected and in the next candle(s) a new high forms?
Answer: → Bullish mtg.
Bearish mtg (opposite)
3 – Buy/Sell Side Liquidity Levels
With the help of the aligned higher timeframe (swing points), we will define our market structure framework and set our liquidity targets accordingly.
Let’s put the pieces together.
If we continue explaining from a trade-focused perspective, our first priority should be our bias — our projection or expectation of the market’s potential movement.
We will determine this bias using the FVB.
Since we know the band often gets violated on both sides, we want the price action to convince us of its strength.
To do that, we’ll use the first candle that closes beyond the band.
The distance from that candle’s high to low will be our threshold range
Bullish level = high + (candle length × coefficient)
Bearish level = low - (candle length × coefficient)
When the price closes beyond this threshold, it demonstrates strength, and our bias will now align in that direction.
How long will this bias remain valid?
→ Until a closing candle appears on the opposite side of the band.
If a close occurs on the opposite side, then a new bias will only be confirmed once the new threshold level is broken.
During the period in between, we have no bias.
Let’s continue on the chart:
Now that our bias has been established, where and how do we look for trade opportunities?
There are two possible entry approaches:
• Aggressive entry: Enter immediately with the breakout.
• Conservative entry: Wait for a pullback and enter once a suitable structure forms.
(The choice depends on the user’s preference.)
At this stage, the user can apply their own entry model. Let’s give an example:
Let’s assume we’re looking for setups using HTF sweep + LTF CISD confirmation.
Once our bias turns bearish, we look for an HTF sweep forming on or near an FVB or mtg block, and then confirm the entry with a CISD signal.
In summary:
• FVB defines the bias, the entry zone, and the target zone.
• Mtg blocks represent entry zones.
• BSL / SSL levels suggest target zones.
Overlapping FVB and mtg blocks are expected to be more effective.
The indicator also provides an option for a second FVB.
A band attached to a lower timeframe can be used as confirmation.
• Main band: Bias + FVB
• Extra band: Entry trigger confirmed by a close beyond it.
Mtg blocks can provide trade entry opportunities, especially when the price is moving strongly in one direction (flow).
Consecutive or complementary mtg blocks indicate that the price is decisive in one direction, while sometimes also showing areas where we should wait before entering.
Mtg blocks that contain an FVG (Fair Value Gap) within their body are expected to be more effective.
Settings:
The default values are set to 1-3-5m, optimized for scalping trades.
VWAP settings:
Main VWAP (FVB):
• Can be set by selecting a start time, manually entering date and time, or choosing a predefined level.
Extra VWAP (FVB):
• Set from the menu. If not needed, select “none.”
• Visibility, color, and fill settings for VWAP are located here.
• Threshold levels visibility and color options are also in this section.
• The multiplier is used for calculating the threshold level.
Important:
• If the Extra VWAP is selected but not displayed, you need to increase the chart timeframe.
o Example: If the chart is on 3m and you select WH from the extra options, it will not display correctly.
• Upper limits for VWAP:
o 1m and 3m charts: daily High/Low
o 5m chart: weekly High/Low
________________________________________
Mtg Settings:
• Visibility and color settings for blocks are configured here.
• To display on a second timeframe, the box must be checked and the timeframe specified.
• Optional display modes: “only active blocks,” “only last violated mtg,” or “all.”
• For confirmation and removal criteria, choosing high/low or close determines the source used for mtg block formation and deletion conditions.
BSL/SSL Settings:
• Visibility, color, font size, and line style can be configured in this section.
When “Auto” is selected, the aligned timeframe is determined automatically by the indicator, while in manual mode, the user defines the timeframe.
Final Words:
Simply opening trades every time the price touches the VWAP or mtg blocks will not make you a profitable trader. Searching for setups with similar structures while maintaining proper risk management will yield better results in the long run.
I would be happy to hear your feedback and suggestions.
Happy trading!
Indicadores y estrategias
Cumulative Volume Delta Profile and Heatmap [BackQuant]Cumulative Volume Delta Profile and Heatmap
A multi-view CVD workstation that measures buying vs selling pressure, renders a price-aligned CVD profile with Point of Control, paints an optional heatmap of delta intensity, and detects classical CVD divergences using pivot logic. Built for reading who is in control, where participation clustered, and when effort is failing to produce result.
What is CVD
Cumulative Volume Delta accumulates the difference between aggressive buys and aggressive sells over time. When CVD rises, buyers are lifting the offer more than sellers are hitting the bid. When CVD falls, the opposite is true. Plotting CVD alongside price helps you judge whether price moves are supported by real participation or are running on fumes.
Core Features
Visual Analysis Components
CVD Columns - Plot of cumulative delta, colored by side, for quick read of participation bias.
CVD Profile - Price-aligned histogram of CVD accumulation using user-set bins. Shows where net initiative clustered.
Split Buy and Sell CVD - Optional two-sided profile that separates positive and negative CVD into distinct wings.
POC - Point of Control - The price level with the highest absolute CVD accumulation, labeled and line-marked.
Heatmap - Semi-transparent blocks behind price that encode CVD intensity across the last N bars.
Divergence Engine - Pivot-based detection of Bearish and Bullish CVD divergences with optional lines and labels.
Stats Panel - Top level metrics: Total CVD, Buy and Sell totals with percentages, Delta Ratio, and current POC price.
How it works
Delta source and sampling
You select an Anchor Timeframe that defines the higher time aggregation for reading the trend of CVD.
The script pulls lower timeframe volume delta and aggregates it to the anchor window. You can let it auto-select the lower timeframe or force a custom one.
CVD is then accumulated bar by bar to form a running total. This plot shows the direction and persistence of initiative.
Profile construction
The recent price range is split into Profile Granularity bins.
As price traverses a bin, the current delta contribution is added to that bin.
If Split Buy and Sell CVD is enabled, positive CVD goes to the right wing and negative CVD to the left wing.
Widths are scaled by each side’s maximum so you can compare distribution shape at a glance.
The Point of Control is the bin with the highest absolute CVD. This marks where initiative concentrated the most.
Heatmap
For each bin, the script computes intensity as absolute CVD relative to the maximum bin value.
Color is derived from the side in control in that bin and shaded by intensity.
Heatmap Length sets how far back the panels extend, highlighting recurring participation zones.
Divergence model
You define pivot sensitivity with Pivot Left and Right .
Bearish divergence triggers when price confirms a higher high while CVD fails to make a higher high within a configurable Delta Tolerance .
Bullish divergence triggers when price confirms a lower low while CVD fails to make a lower low.
On trigger, optional link lines and labels are drawn at the pivots for immediate context.
Key Settings
Delta Source
Anchor Timeframe - Higher TF for the CVD narrative.
Custom Lower TF and Lower Timeframe - Force the sampling TF if desired.
Pivot Logic
Pivot Left and Right - Bars to each side for swing confirmation.
Delta Tolerance - Small allowance to avoid near-miss false positives.
CVD Profile
Show CVD Profile - Toggle profile rendering.
Split Buy and Sell CVD - Two-sided profile for clearer side attribution.
Show Heatmap - Project intensity panels behind price.
Show POC and POC Color - Mark the dominant CVD node.
Profile Granularity - Number of bins across the visible price range.
Profile Offset and Profile Width - Position and scale the profile.
Profile Position - Right, Left, or Current bar alignment.
Visuals
Bullish Div Color and Bearish Div Color - Colors for divergence artifacts.
Show Divergence Lines and Labels - Visualize pivots and annotations.
Plot CVD - Column plot of total CVD.
Show Statistics and Position - Toggle and place the summary table.
Reading the display
CVD columns
Rising CVD confirms buyers are in control. Falling CVD confirms sellers.
Flat or choppy CVD during wide price moves hints at passive or exhausted participation.
CVD profile wings
Thick right wing near a price zone implies heavy buy initiative accumulated there.
Thick left wing implies heavy sell initiative.
POC marks the strongest initiative node. Expect reactions on first touch and rotations around this level when the tape is balanced.
Heatmap
Brighter blocks indicate stronger historical net initiative at that price.
Stacked bright bands form CVD high volume nodes. These often behave like magnets or shelves for future trade.
Divergences
Bearish - Price prints a higher high while CVD fails to do so. Effort is not producing result. Potential fade or pause.
Bullish - Price prints a lower low while CVD fails to do so. Capitulation lacks initiative. Potential bounce or reversal.
Stats panel
Total CVD - Net initiative over the window.
Buy and Sell volume with percentages - Side composition.
Delta Ratio - Buy over Sell. Values above 1 favor buyers, below 1 favor sellers.
POC Price - Current control node for plan and risk.
Workflows
Trend following
Choose an Anchor Timeframe that matches your holding period.
Trade in the direction of CVD slope while price holds above a bullish POC or below a bearish POC.
Use pullbacks to CVD nodes on your profile as entry locations.
Trend weakens when price makes new highs but CVD stalls, or new lows while CVD recovers.
Mean reversion
Look for divergences at or near prior CVD nodes, especially the POC.
Fade tests into thick wings when the side that dominated there now fails to push CVD further.
Target rotations back toward the POC or the opposite wing edge.
Liquidity and execution map
Treat strong wings and heatmap bands as probable passive interest zones.
Expect pauses, partial fills, or flips at these shelves.
Stops make sense beyond the far edge of the active wing supporting your idea.
Alerts included
CVD Bearish Divergence and CVD Bullish Divergence.
Price Cross Above POC and Price Cross Below POC.
Extreme Buy Imbalance and Extreme Sell Imbalance from Delta Ratio.
CVD Turn Bullish and CVD Turn Bearish when net CVD crosses zero.
Price Near POC proximity alert.
Best practices
Use a higher Anchor Timeframe to stabilize the CVD story and a sensible Profile Granularity so wings are readable without clutter.
Keep Split mode on when you want to separate initiative attribution. Turn it off when you prefer a single net profile.
Tune Pivot Left and Right by instrument to avoid overfitting. Larger values find swing divergences. Smaller values find micro fades.
If volume is thin or synthetic for the symbol, CVD will be less reliable. The script will warn if volume is zero.
Trading applications
Context - Confirm or question breakouts with CVD slope.
Location - Build entries at CVD nodes and POC.
Timing - Use divergence and POC crosses for triggers.
Risk - Place stops beyond the opposite wing or outside the POC shelf.
Important notes and limits
This is a price and volume based study. It does not access off-book or venue-level order flow.
CVD profiles are built from the data available on your chart and the chosen lower timeframe sampling.
Like all volume tools, readings can distort during roll periods, holidays, or feed anomalies. Validate on your instrument.
Technical notes
Delta is aggregated from a lower timeframe into an Anchor Timeframe narrative.
Profile bins update in real time. Splitting by side scales each wing independently so both are readable in the same panel.
Divergences are confirmed using standard pivot definitions with user-set tolerances.
All profile drawing uses fixed X offsets so panels and POC do not swim when you scroll.
Quick start
Anchor Timeframe = Daily for intraday context.
Split Buy and Sell CVD = On.
Profile Granularity = 100 to 200, Profile Position = Right, Width to taste.
Pivot Left and Right around 8 to 12 to start, then adapt.
Turn on Heatmap for a fast map of interest bands.
Bottom line
CVD tells you who is doing the lifting. The profile shows where they did it. Divergences tell you when effort stops paying. Put them together and you get a clear read on control, location, and timing for both trend and mean reversion.
EMA × MOST CrossThe EMA × MOST Cross indicator combines the Exponential Moving Average (EMA) with the Moving Stop (MOST) system to identify early trend reversals and confirm trend continuation phases.
MOST acts as a dynamic trailing stop that adapts to price volatility, while EMA provides directional bias and short-term momentum confirmation.
A BUY signal is generated when EMA crosses above the MOST line, indicating a possible bullish reversal or trend continuation.
A SELL signal is triggered when EMA crosses below the MOST line, suggesting bearish continuation or reversal conditions.
The indicator colors bars according to the EMA–MOST relationship to visually represent trend strength:
🟩 Green tones → bullish bias (EMA and price above MOST)
🟥 Red tones → bearish bias (EMA and price below MOST)
🟦 Aqua → neutral phase or transition zone
How to use:
Works best on trending markets and mid-term timeframes (e.g., 1h, 4h, 1D).
Combine it with volume or structure-based confirmations for higher accuracy.
Use the built-in parameters to fine-tune sensitivity:
MOST MA length: adjusts the responsiveness of the MOST line.
MOST percent: defines the offset distance of the stop bands.
EMA length: defines the crossover sensitivity.
Updated settings:
Default MOST Length: 5
Default MOST Percent: 1.5%
Concept:
This script refines the traditional MOST logic by pairing it with an EMA cross mechanism, aiming to filter false reversals and improve entry timing. It’s designed for traders who prefer clear, visual cross-based trend confirmation while maintaining adjustable flexibility for different instruments.
Session Gap Fill [LuxAlgo]The Session Gap Fill tool detects and highlights filled and unfilled price gaps between regular sessions. It features a dashboard with key statistics about the detected gaps.
The tool is highly customizable, allowing users to filter by different types of gaps and customize how they are displayed on the chart.
🔶 USAGE
By default, the tool detects all price gaps between sessions. A price gap is defined as a difference between the opening price of one session and the closing price of the previous session. In this case, the tool uses the opening price of the first bar of the session against the closing price of the previous bar.
A bullish gap is detected when the session open price is higher than the last close, and a bearish gap is detected when the session open price is lower than the last close.
Gaps represent a change in market sentiment, a difference in what market participants think between the close of one trading session and the open of the next.
What is useful to traders is not the gap itself, but how the market reacts to it.
Unfilled gaps occur when prices do not return to the previous session's closing price.
Filled gaps occur when prices come back to the previous session's close price.
By analyzing how markets react to gaps, traders can understand market sentiment, whether different prices are accepted or rejected, and take advantage of this information to position themselves in favor of bullish or bearish market sentiment.
Next, we will cover the Gap Type Filter and Statistics Dashboard.
🔹 Gap Type Filter
Traders can choose from three options: display all gaps, display only overlapping gaps, or display only non-overlapping gaps. All gaps are displayed by default.
An overlapping gap is defined when the first bar of the session has any price in common with the previous bar. No overlapping gap is defined when the two bars do not share any price levels.
As we will see in the next section, there are clear differences in market behavior around these types of gaps.
🔹 Statistics Dashboard
The Statistics Dashboard displays key metrics that help traders understand market behavior around each type of gap.
Gaps: The percentage of bullish and bearish gaps.
Filled: The percentage of filled bullish and bearish gaps.
Reversed: The percentage of filled gaps that move in favor of the gap
Bars Avg.: The average number of bars for a gap to be filled.
Now, let's analyze the chart on the left of the image to understand those stats. These are the stats for all gaps, both overlapping and non-overlapping.
Of the total, bullish gaps represent 55%, and bearish ones represent 44%. The gap bias is pretty balanced in this market.
The second statistic, Filled, shows that 63% of gaps are filled, both bullish and bearish. Therefore, there is a higher probability that a gap will be filled than not.
The third statistic is reversed. This is the percentage of filled gaps where prices move in favor of the gap. This applies to filled bullish gaps when the close of the session is above the open, and to filled bearish gaps when the close of the session is below the open. In other words, first there is a gap, then it fills, and finally it reverses. As we can see in the chart, this only happens 35% of the time for bullish gaps and 29% of the time for bearish gaps.
The last statistic is Bars Avg., which is the average number of bars for a gap to be filled. On average, it takes between one and two bars for both bullish and bearish gaps. On average, gaps fill quickly.
As we can see on the chart, selecting different types of gaps yields different statistics and market behavior. For example, overlapping gaps have a greater than 90% chance of being filled, whereas non-overlapping gaps have a less than 40% chance.
🔶 SETTINGS
Gap Type: Select the type of gap to display.
🔹 Dashboard
Dashboard: Enable or disable the dashboard.
Position: Select the location of the dashboard.
Size: Select the dashboard size.
🔹 Style
Filled Bullish Gap: Enable or disable this gap and choose the color.
Filled Bearish Gap: Enable or disable this gap and choose the color.
Unfilled Gap: Enable or disable this gap and choose the color.
Max Deviation Level: Enable or disable this level and choose the color.
Open Price Level: Enable or disable this level and choose the color.
Smart Money Toolkit - PD Engine Bias Map [KedArc Quant]📄 Description
Smart Money Toolkit is an advanced multi-layer Smart Money Concepts framework that automatically detects structure shifts, premium-discount zones, and institutional order flow.
It’s built around the PD Engine, which calculates the midpoint of the most recent market swing and dynamically determines BUY or SELL bias based on where current price trades relative to that equilibrium. This toolkit visualizes structure, order blocks, and bias context in one clean map — giving traders an institutional-grade lens without signal clutter.
💡 Why It’s Unique
* Not a mashup of open-source scripts.
Every module — CHoCH/BOS logic, order-block zone detection, PD bias engine, and structure mapping — is written from scratch to ensure clean, consistent behavior in Pine Script v6.
* Bias engine with true equilibrium logic: The 50% PD (Premium-Discount) zone adapts in real time to the latest swing, giving a live institutional price map.
* Visual precision: Minimalist premium/discount shading, structured labeling (HH, HL, LH, LL, CHoCH), and context tables for clarity.
* Performance-optimized: Handles multiple visual layers (FVG, OB, CHoCH, BOS) efficiently without repainting.
🎯 Entry and Exit Logic (Discretionary Framework)
This toolkit is not a signal generator; it’s a contextual trading framework that guides your decisions.
BUY Bias (Discount Zone)
* Price trades below PD Mid → Market is in *discount*.
* Wait for a bullish CHoCH or rejection from demand OB/FVG before entering long.
* Target 1 = PD Mid; Target 2 = next opposing OB/FVG.
SELL Bias (Premium Zone)
* Price trades above PD Mid → Market is in *premium*.
* Wait for a bearish CHoCH or rejection from supply OB/FVG before shorting.
* Target 1 = PD Mid; Target 2 = next opposing OB/FVG.
This sequence enforces the institutional concept:
> Bias → Structure Shift → Confirmation → Execution
⚙️ Input Configuration
Setting Description
Swing Sensitivity Controls how far back to look for HH/LL pivots.
OB/FVG Detection Enable or disable visual order block or fair-value-gap zones.
PD Engine Toggles PD midpoint line, zone shading, and bias table.
Multi-TF Bias Sync Optionally reads higher-time-frame bias to confirm entries.
Color Themes Switch between Light / Dark / Institutional color sets.
All inputs are modular — you can show only the components you use (e.g., disable BOS/CHoCH labels or hide OB zones for a clean view).
🧮 Formula / Logic Summary
Concept Formula
PD Mid (Equilibrium) `(Recent Swing High + Recent Swing Low) / 2`
BUY Bias `close < PD Mid`
SELL Bias `close > PD Mid`
CHoCH / BOS Detected via pivot-based structure reversal: HH→LL or LL→HH
Order Block Last bullish/bearish candle before displacement.
Fair Value Gap (FVG) Gap between prior candle’s high/low and next candle’s range.
These formulas align with Smart Money Concepts taught in institutional trading frameworks.
🤝 How It Helps Traders
* Institutional Context: Instantly visualize premium vs. discount regions — see where smart money is likely accumulating or distributing.
* Bias Confidence: Removes guesswork — you know whether you should be a buyer or seller based on structure + PD bias.
* Cleaner Decision-Making: Combines all SMC elements (BOS, CHoCH, OB, FVG, PD) in one cohesive visual map.
* Timeframe Agnostic: Works seamlessly on any timeframe or instrument (Forex, Indices, Crypto, Equities).
📚 Glossary
PD Mid (Equilibrium) The midpoint between recent swing high and low — the market’s fair
value.
Premium Zone Price above PD Mid — sellers gain control.
Discount Zone Price below PD Mid — buyers gain control.
CHoCH (Change of Character) First structural signal of possible reversal.
BOS (Break of Structure) Continuation signal confirming trend direction.
OB (Order Block) Institutional candle marking accumulation/distribution.
FVG (Fair Value Gap) Imbalance zone where price moved too quickly — often
rebalanced.
❓ FAQ
Q: Is this a signal generator?
A: No — it’s a contextual framework for professional price-action trading.
Q: Does it repaint?
A: No. All structure points and bias logic are confirmed on bar close.
Q: Can it be used on any market or timeframe?
A: Yes. It’s structure-based, not instrument-specific.
Q: How often does bias change?
A: Only when a new swing high/low forms and PD recalculates — keeping the bias stable.
Q: Can I backtest it?
A: You can build an entry rule (e.g., CHoCH + OB + PD alignment) on top of it for strategy testing.
⚠️ Disclaimer
This script is provided for educational purposes only.
Past performance does not guarantee future results.
Trading involves risk, and users should exercise caution and use proper risk management when applying this strategy.
FVG Zones with Signals█ OVERVIEW
"FVG Zones with Signals" is a technical analysis tool that identifies Fair Value Gaps (FVG) on the chart and draws customizable zones in the form of boxes. It is ideal for traders using price action and market structure strategies, helping to identify potential imbalance zones and trading opportunities based on breakout and exit signals. With flexible size filter settings, box styles, and signal options, the indicator ensures clarity and precision on the chart.
█ CONCEPTS
The indicator is designed to identify potential entry points for trades based on FVG breakouts or retests. For chart clarity, a size filter for FVGs is included, based on a multiplier of the average candle size over a specified period.
Why are FVGs important? FVG zones represent areas of market imbalance, often attracting price back to "fill" the gap. Larger gaps (with a higher size multiplier) have a greater chance of being retested, as they indicate deeper imbalances—leaving more unexecuted orders in those zones, which attracts liquidity. Market makers and institutions often return to these levels to "refresh" liquidity before further moves. However, not every large FVG is retested quickly—in strong trends, smaller imbalances may be ignored, and the location (e.g., near swing highs/lows) is critical for retest probability.
█ FEATURES
- FVG Detection: Identifies bullish and bearish FVGs based on size filters (Candle Size Period and FVG Size Multiplier), with automatic initialization of historical gaps up to 500 candles back.
- Customizable Boxes: Draws FVG boxes with adjustable border colors, background gradients, border styles (solid, dashed, dotted), border widths, and transparency for both the background and the 50% FVG midline.
- Breakout and Exit Signals: Generates "Break" signals (green upward triangle for breakouts above bearish FVG, red downward triangle for breakouts below bullish FVG) and "Exit" signals (circles for exiting the zone), with options to select signal types (Break, Exit, or Both). A break signal causes the box to disappear, leaving a triangle as a trace of the breakout, which may serve as a signal to open a position. Exit signals (circles) may also indicate entry opportunities but require additional confirmation, such as alignment with the main trend.
- Midline: Automatically draws a dashed line at the 50% FVG level with adjustable transparency, aiding in assessing price reactions within the zone.
- Box Limitation: Automatically removes old or inactive FVGs after 500 candles to avoid chart clutter.
- Alerts: Built-in alerts for all signal types, including price and FVG type descriptions.
█ HOW TO USE
Add to Chart: Apply the indicator to your TradingView chart via the Pine Editor or Indicators menu.
Configure Settings:
- FVG Settings: Adjust Candle Size Period (default 20) and FVG Size Multiplier (default 1) to filter out small gaps—higher values generate fewer but more significant FVGs.
- Box Settings: Configure colors and styles for bullish (green) and bearish (red) boxes, including background transparency (default 80) and midline transparency.
- Signal Settings: Select signal types (Break, Exit, or Both) in Signal Type. Breakout signals appear after a candle closes outside the zone, while exit signals appear when exiting an FVG without a full breakout.
- Styling: Customize signal colors (green for buy/up, red for sell/down) and shape sizes.
Interpreting Signals:
- Break Up Signal: A green triangle below the bar indicates a breakout above a bearish FVG, suggesting potential continuation of an uptrend.
- Break Down Signal: A red triangle above the bar indicates a breakout below a bullish FVG, suggesting potential continuation of a downtrend.
- Exit Up/Down Signal: A green/red circle indicates an exit from an FVG without a full breakout, which may signal the end of a correction or preparation for a reversal.
- FVG Zones: If the price returns to an FVG and fills the gap, it may indicate equilibrium; an unfilled gap often leads to a retest.
- Use signals in conjunction with other technical analysis tools for confirmation, such as RSI (to identify overbought/oversold conditions) or MACD (to confirm momentum). Analyze FVGs from higher timeframes—these zones act as stronger imbalance levels and carry greater structural significance.
Exit signals (retests without breakouts) tend to be most effective when traded in line with the current trend.
█ APPLICATIONS
- Price Action Trading: Use FVG zones as dynamic support and resistance levels. In an uptrend, look for buying opportunities in bullish FVGs, where price often tests the gap before continuing. Combining with RSI, MACD, or Fibonacci levels enhances the significance of zones.
- Breakout Strategies: Trade based on breakout signals from FVGs. A buy signal after breaking a bearish FVG may indicate a strong upward impulse, especially when supported by a rising MACD or RSI exiting oversold conditions.
Larger FVG gaps (higher multiplier) have a greater chance of retest, as they indicate deeper imbalances.
█ NOTES
- Test the indicator across different timeframes and markets (stocks, forex, crypto) to optimize size filters for your trading style.
- The indicator initializes historical FVGs up to 500 candles back, which may slow loading on longer charts.
- For best results, use on high-liquidity markets where FVGs are more frequently retested.
- In consolidation zones, the indicator may generate more false signals, so additional confirmation is recommended.
MTF Market Bias+ (Smart Multi-Timeframe Trend Dashboard)The MTF Market Bias+ indicator provides a clear, data-driven view of market direction across multiple timeframes — from scalper to swing trader level.
It automatically calculates the bullish / bearish / neutral bias for each selected timeframe using various configurable methods such as EMA slope, price vs EMA, or EMA50 vs EMA200.
This tool gives you an instant overview of market alignment and helps you identify when lower and higher timeframes are in sync — the most powerful condition for high-probability trades.
🔍 Core Features
✅ Multi-Timeframe Bias Dashboard: Visual table showing bullish/bearish sentiment across your chosen timeframes (from 3m to 1W).
⚙️ Customizable Methods: Choose between
EMA Slope (default) → detects trend direction by EMA momentum
Price vs EMA → shows short-term strength or weakness
EMA50 vs EMA200 → classic golden cross vs death cross structure
🎨 Configurable Colors, Size & Layout: Adjust background, text, and label sizes for any chart style.
📊 Summary Row: Displays the majority trend (bullish, bearish, or neutral) with real-time score.
🧩 Adaptive Background Mode (optional): Automatically colors your chart background according to overall bias.
💡 Method Info Panel: Clearly shows which method and parameters are active (e.g. “EMA Slope | EMA=50”).
📈 How to Use
Add the indicator to your chart.
Select the timeframes you want to monitor (e.g. 3m, 5m, 15m, 1h, 4h, D, W).
Watch for alignment between lower and higher timeframes:
When all turn green → strong bullish alignment → consider longs.
When all turn red → strong bearish alignment → consider shorts.
Mixed colors indicate consolidation or correction phases.
Combine it with your favorite Fair Value Gap, CHOCH/BOS, or Liquidity Sweep strategy to significantly improve trade timing and confidence.
🧩 Author’s Note
This indicator is designed for traders who want fast, visual confirmation of multi-timeframe structure without cluttering their charts.
It’s simple, lightweight, and highly adaptable — whether you’re scalping on 3-minute charts or swing trading daily candles.
Commodity Pulse Matrix (CPM) [WavesUnchained]Commodity Pulse Matrix (CPM) is a professional multi-timeframe analysis suite built for commodity trading. It compresses dozens of signals into one color-coded matrix to show directional bias and quality across three user-set timeframes, plus optional chart TF. Non-repainting design: HTF values use confirmed bars; rendering is optimized.
Categories:
Flow = MFI, OBV, volume trend, smart-money bias. Momentum = RSI (dynamic zones), MACD histo, CCI, WaveCycle Momentum (adaptive, ATR-normalized). Trend = EMA stack (20/50/100/200), ADX+DI, VWAP positioning. Volatility = ATR%, Williams Vix Fix spikes, squeeze (Bollinger inside Keltner). Structure = price vs key EMAs, pivot S/R alignment. Divergence = regular/hidden on RSI via RDZ, optional MACD, cluster strength; zone-gated and bar-confirmed.
Oscillators:
WCM detects momentum swings with dead-zone filtering and dynamic OB/OS. RDZ finds divergences only in RSI 70/30 zones with optional volume/MFI gate. WVF highlights volatility-shock exhaustion (bottom/top mode) and can feed the exhaustion filter.
Exhaustion module:
Strict 5-point check (RSI extreme, ATR range expansion, volume spike, wick ratio, compressed body) with Watch → Confirmed logic and optional reversal-zone boxes from pivots. Squeeze detector flags contraction and first expansion.
Matrix and visuals:
Compact or detailed grid; 4-layer heat gradient; ▲/▼/• symbols; action badges (Setup/Neutral); optional VWAP cross markers (session, anchored high/low, clusters). Overlay options: EMA gradient fill, AVWAP (session/week/month), S/R lines, divergence diamonds (teal/amber), exhaustion triangles, squeeze dots. Performance friendly (updates on last bar).
Scoring:
Each category scores −3…+3, weighted by importance (default: Flow 1.2, Momentum 1.0, Trend 1.0, Volatility 0.6, Structure 1.0, Divergence 1.4). Confluence bands: ≥ +8 strong bull, ≥ +4 moderate bull, ≤ −4 moderate bear, ≤ −8 strong bear; otherwise neutral. Heat score (0–1) blends magnitude, TF alignment, divergence strength, and volume confirmation.
Configuration:
Presets Intraday/Swing/Carry or full Custom. Adjustable weights, thresholds, oscillator params (WCM, RDZ, WVF), HTF-confirmed mode, matrix layout, alert conditions. Works on commodities, FX, indices; 1m to Monthly.
How to use:
Wait for TF alignment and high confluence; use reversal zones and divergence/exhaustion for timing. Trend follow: all TFs green, pullback to EMA20, stop below EMA50. Divergence: diamond appears, matrix flips, enter with confirmation. Squeeze: contraction then expansion in matrix direction.
Notes:
Pine v6. Non-repainting by design. Optimized security calls and UI throttling. Alert-ready. Backtest before live trading; manage risk; news context matters.
Disclaimer:
Educational only. Not financial advice. Past performance is not indicative of future results.
Session Breakout Detector (SBD)Overview:
The Session Breakout Detector (SBD) is a TradingView indicator designed to identify and visualize breakouts from major trading sessions. It tracks a selected session (Tokyo, London, or New York) and detects price movements beyond the session's high or low, assisting traders in spotting potential breakout opportunities.
Key Features:
- Session Selection: Choose between Tokyo, London, or New York sessions.
- Breakout Detection Modes:
- Confirmed Bar: Detects breakouts when a candle closes beyond the session's range.
- Intrabar: Detects breakouts as soon as the price exceeds the session's high or low within a
candle.
- Visual Indicators:
- Displays session high, low, and range with a colored box for clear visualization.
- Marks breakouts with green (bullish) or red (bearish) triangles.
- Optional 50-Period SMA: Adds a 50-period Simple Moving Average to the chart for trend
analysis.
- Alerts: Configurable alerts for bullish and bearish breakouts.
Usage Instructions:
1. Select Session: Choose the desired trading session (Tokyo, London, or New York) from the
input settings.
2. Choose Breakout Detection Mode: Select between 'By confirmed bar' or 'By intrabars' based
on your trading preference.
3. Enable SMA (Optional): Toggle the 'Use SMA?' option to display the 50-period Simple Moving
Average.
4. Set Alerts: Configure alerts for breakout signals as per your trading strategy.
⚠️Note: This indicator is intended for informational purposes only and should not be construed as financial advice. Users are encouraged to conduct their own research and consider their individual risk tolerance before making trading decisions.
Oscillator CandlesticksI've always wondered why we don't use candlesticks for oscillators...then I stopped wondering and made an oscillator with candlesticks.
The following oscillators are available as a proof of concept:
* Consumer Channel Index (CCI)
* Rate of Change (ROC)
* Relative Strength Index (RSI)
* Trend Strength Index (TSI)
You can add a moving average to the ohlc4 value of the oscillator and choose the type of the moving average and whether it should be influenced by volume.
Sharpshooter 30Sharpshooter 30
Always wait. TVC:GOLD
If you just follow the rules, you will always win.
After a 7/200 EMA death cross, the script arms and plots one BUY on the first confirmed bar where the Fast EMA is $30 below the 200 EMA. 5-minute chart recommended.
Note: MA lengths and the USD distance are user-configurable—tune them to your market/session.
Sharpshooter 30 — 常に待つこと。
7/200 EMAのデッドクロス後に待機し、Fast EMAが200EMAより$30下になった確定足で1回だけBUYを点灯。推奨:5分足。
MA期間や乖離額(USD)は各自でカスタムしてください。
Daily MA + Guppy EMA Clouds + Bar HighlightsThis script is a modular strength dashboard combining:
- Multi-timeframe MAs
- Guppy clouds
- CPR pivots
- Momentum gauges
- Breakout flags
It’s ideal for traders who want layered confirmation across trend, volatility, and support/resistance zones.
MULTI-CONDITION RSI SIGNAL GENERATOR═══════════════════════════════════════════════
MULTI-CONDITION RSI SIGNAL GENERATOR
═══════════════════════════════════════════════
OVERVIEW:
This indicator generates trading signals based on Relative Strength Index (RSI) movements with multiple confirmation layers designed to filter false signals and identify high-probability reversal opportunities.
═══════════════════════════════════════════════
WHAT MAKES THIS ORIGINAL:
═══════════════════════════════════════════════
Unlike basic RSI indicators that simply plot overbought/oversold crossovers, this system combines FOUR distinct confirmation mechanisms:
1. PERSISTENCE FILTERING - Requires RSI to remain in extreme zones for a minimum duration
2. LOOKBACK VALIDATION - Verifies recent extreme zone visits before signaling
3. DIVERGENCE DETECTION - Identifies price/RSI divergence for stronger signals
4. MOMENTUM CONFIRMATION - Provides trend-continuation entries via midline crosses
This multi-layered approach significantly reduces whipsaw trades that plague simple RSI crossover systems.
═══════════════════════════════════════════════
HOW IT WORKS (TECHNICAL METHODOLOGY):
═══════════════════════════════════════════════
STEP 1: RSI CALCULATION
- Standard RSI calculation using user-defined period (default: 14)
- Monitors two extreme zones: Overbought (default: 70) and Oversold (default: 30)
STEP 2: PERSISTENCE FILTERING
The script counts how many bars RSI has spent in extreme zones within the lookback period:
- For overbought signals: Counts bars where RSI > 70
- For oversold signals: Counts bars where RSI < 30
- Signal only triggers if count >= Minimum Duration (default: 4 bars)
This filters out brief spikes that immediately reverse, focusing on sustained extreme conditions that are more likely to lead to genuine reversals.
STEP 3: LOOKBACK VALIDATION
- Checks if RSI reached extreme zones within the Lookback Bars period (default: 20)
- Uses ta.highest() and ta.lowest() functions to verify recent extremes
- Ensures we're trading reversals from meaningful extremes, not random crossovers
STEP 4: BASIC SIGNAL GENERATION
- BUY SIGNAL: RSI crosses above the oversold level (30) after meeting persistence and lookback conditions
- SELL SIGNAL: RSI crosses below the overbought level (70) after meeting persistence and lookback conditions
STEP 5: DIVERGENCE DETECTION
The script identifies two types of divergence over the Divergence Lookback period (default: 5 bars):
A) BULLISH DIVERGENCE (indicates potential upward reversal):
- Price makes a lower low (current low < previous low)
- RSI makes a higher low (current RSI low > previous RSI low)
- Suggests weakening downward momentum
B) BEARISH DIVERGENCE (indicates potential downward reversal):
- Price makes a higher high (current high > previous high)
- RSI makes a lower high (current RSI high < previous RSI high)
- Suggests weakening upward momentum
STEP 6: STRONG SIGNAL CONFIRMATION
- STRONG BUY: Basic buy signal + bullish divergence present
- STRONG SELL: Basic sell signal + bearish divergence present
- These represent the highest-probability setups
STEP 7: MOMENTUM SIGNALS (OPTIONAL)
- MOMENTUM BUY: RSI crosses above 50 after being oversold (trend continuation)
- MOMENTUM SELL: RSI crosses below 50 after being overbought (trend continuation)
- Smaller signals for traders who want trend-following entries
═══════════════════════════════════════════════
SIGNAL TYPES AND VISUAL INDICATORS:
═══════════════════════════════════════════════
📈 GREEN TRIANGLE (below bar) - Standard Buy Signal
RSI crossed above oversold level with confirmation filters
📉 RED TRIANGLE (above bar) - Standard Sell Signal
RSI crossed below overbought level with confirmation filters
🔵 BLUE TRIANGLE (below bar) - Strong Buy Signal
Buy signal + bullish divergence (HIGHEST PRIORITY)
🟣 PURPLE TRIANGLE (above bar) - Strong Sell Signal
Sell signal + bearish divergence (HIGHEST PRIORITY)
🟢 GREEN CIRCLE (small) - Momentum Buy
RSI crosses above 50 after oversold conditions
🔴 RED CIRCLE (small) - Momentum Sell
RSI crosses below 50 after overbought conditions
BACKGROUND SHADING:
- Light red background: RSI currently overbought
- Light green background: RSI currently oversold
═══════════════════════════════════════════════
PARAMETER SETTINGS:
═══════════════════════════════════════════════
1. OVERBOUGHT LEVEL (default: 70, range: 50-90)
- Higher values = fewer but stronger overbought signals
- Lower values = more sensitive to overbought conditions
- Recommended: 70 for standard markets, 80 for crypto/volatile assets
2. OVERSOLD LEVEL (default: 30, range: 10-50)
- Lower values = fewer but stronger oversold signals
- Higher values = more sensitive to oversold conditions
- Recommended: 30 for standard markets, 20 for crypto/volatile assets
3. RSI PERIOD (default: 14, range: 2-50)
- Standard RSI calculation period
- Lower = more sensitive/faster signals
- Higher = smoother/slower signals
- Recommended: 14 (industry standard)
4. MINIMUM DURATION (default: 4, range: 1-20)
- Required bars in extreme zone before signal
- Higher values = fewer signals but better quality
- Lower values = more signals but more false positives
- Recommended: 3-5 for day trading, 5-10 for swing trading
5. LOOKBACK BARS (default: 20, range: 5-100)
- How far back to check for extreme zone visits
- Should match your typical trading timeframe
- Recommended: 20 for intraday, 50 for daily charts
6. DIVERGENCE LOOKBACK (default: 5, range: 2-20)
- Period for comparing price/RSI highs and lows
- Lower values = more frequent divergence signals
- Higher values = more significant divergences
- Recommended: 5-10 depending on timeframe
═══════════════════════════════════════════════
HOW TO USE THIS INDICATOR:
═══════════════════════════════════════════════
RECOMMENDED TRADING APPROACH:
1. PRIMARY ENTRIES: Focus on Strong Buy/Sell signals (blue/purple triangles)
- These have the highest win rate due to divergence confirmation
- Wait for price action confirmation (support/resistance, candlestick patterns)
2. SECONDARY ENTRIES: Regular Buy/Sell signals (green/red triangles)
- Use these when Strong signals are infrequent
- Require additional confirmation from other indicators or chart patterns
3. TREND CONTINUATION: Momentum signals (small circles)
- Best used when overall trend is clear
- Not recommended for reversal trading
4. FILTER TRADES: Use background shading as context
- Be cautious entering longs when background is red (overbought)
- Be cautious entering shorts when background is green (oversold)
RISK MANAGEMENT GUIDELINES:
- Never risk more than 2-5% of capital per trade
- Use stop losses below recent swing lows (buys) or above swing highs (sells)
- Target at least 1.5:1 reward-to-risk ratio
- Consider position sizing based on signal strength
TIMEFRAME RECOMMENDATIONS:
- 15min - 1hour: Day trading with adjusted parameters (lower minimum duration)
- 4hour - Daily: Swing trading with default parameters
- Weekly: Position trading with increased lookback periods
COMPLEMENTARY TOOLS:
This indicator works best when combined with:
- Support and resistance levels
- Trend indicators (moving averages, trend lines)
- Volume analysis
- Price action patterns (engulfing candles, pin bars)
═══════════════════════════════════════════════
LIMITATIONS AND CONSIDERATIONS:
═══════════════════════════════════════════════
- This is NOT a standalone trading system - requires additional analysis
- RSI-based strategies perform best in ranging/choppy markets
- May generate fewer signals in strong trending markets
- Divergence signals can be early - wait for price confirmation
- Not recommended for highly illiquid assets
- Backtest on your specific market before live trading
- No indicator is 100% accurate - always use proper risk management
═══════════════════════════════════════════════
TECHNICAL NOTES:
═══════════════════════════════════════════════
- Code is original and does not reuse external libraries
- Uses Pine Script v5 native functions only
- Alert conditions included for all signal types
- No repainting - signals appear and remain fixed
- Efficient calculation methods minimize processing load
═══════════════════════════════════════════════
ALERT SETUP:
═══════════════════════════════════════════════
Four alert conditions are available:
1. "Buy Alert" - Triggers on standard buy signals
2. "Sell Alert" - Triggers on standard sell signals
3. "Strong Buy Alert" - Triggers on divergence-confirmed buy signals
4. "Strong Sell Alert" - Triggers on divergence-confirmed sell signals
To set up alerts: Right-click chart → Add Alert → Select desired condition
═══════════════════════════════════════════════
This indicator is provided for educational and informational purposes. Always practice proper risk management and never trade with money you cannot afford to lose.
Machine Learning Price Predictor: Ridge AR [Bitwardex]🔹Machine Learning Price Predictor: Ridge AR is a research-oriented indicator demonstrating the use of Regularized AutoRegression (Ridge AR) for short-term price forecasting.
The model combines autoregressive structure with Ridge regularization , providing stability under noisy or volatile market conditions.
The latest version introduces Bull and Bear signals , visually representing the current momentum phase and model direction directly on the chart.
Unlike traditional linear regression, Ridge AR minimizes overfitting, stabilizes coefficient dynamics, and enhances predictive consistency in correlated datasets.
The script plots:
Fit Line — in-sample fitted data;
Forecast Line — out-of-sample projection;
Trend Segments — color-coded bullish/bearish sections;
Bull/Bear Labels 🐂🐻 — dynamic visual signals showing directional bias.
Designed for researchers, students, and developers, this tool helps explore regularized time-series forecasting in Pine Script™.
🧩 Ridge AR Settings
Training Window — number of bars used for model training;
Forecast Horizon — forecast length (bars ahead);
AR Order — number of lags used as features;
Ridge Strength (λ) — regularization coefficient;
Damping Factor — exponential trend decay rate;
Trend Length — period for trend/volatility estimation;
Momentum Weight — strength of the recent move;
Mean Reversion — pullback intensity toward the mean.
🧮 Data Processing
Prefilter:
None — raw close price;
EMA — exponential smoothing;
SuperSmoother — Ehlers filter for noise reduction.
EMA Length, SuperSmoother Length — smoothing parameters.
🖥️ Display Settings
Update Mode:
Lock — static model;
Update Once Reached — rebuild after forecast horizon;
Continuous — update every bar.
Forecast Color — projection line color;
Bullish/Bearish Colors — colors for trend segments.
🐂🐻 Bull/Bear Signal System
The Bull/Bear Signal System adds directional visual cues to highlight local momentum shifts and model-based trend confirmation.
Bull (🐂) — appears when upward momentum is confirmed (momentum > 0) .
Displayed below the bar, colored with Bullish Color.
Bear (🐻) — appears when downward momentum is dominant (momentum < 0) .
Displayed above the bar, colored with Bearish Color.
Signals are generated during model recalculations or when the directional bias changes in Continuous mode.
These visual markers are analytical aids , not trading triggers.
🧠 Core Algorithmic Components
Regularized AutoRegression (Ridge AR):
Solves: (X′X+λI)−1X′y
to derive stable regression coefficients.
Matrix and Pseudoinverse Operations — implemented natively in Pine Script™.
Prefiltering (EMA / Ehlers SuperSmoother) — stabilizes noisy data.
Forecast Dynamics — integrates damping, momentum, and mean reversion.
Trend Visualization — color-coded bullish/bearish line segments.
Bull/Bear Signal Engine — visualizes real-time impulse direction.
📊 Applications
Academic and educational purposes;
Demonstration of Ridge Regression and AR models;
Analysis of bull/bear market phase transitions;
Visualization of time-series dependencies.
⚠️ Disclaimer
This script is provided for educational and research purposes only.
It does not provide trading or investment advice.
The author assumes no liability for financial losses resulting from its use.
Use responsibly and at your own risk.
TradeScope: MA Reversion • RVOL • Trendlines • GAPs • TableTradeScope is an all-in-one technical analysis suite that brings together price action, momentum, volume dynamics, and trend structure into one cohesive and fully customizable indicator.
An advanced, modular trading suite that combines moving averages, reversion signals, RSI/CCI momentum, relative volume, gap detection, trendline analysis, and dynamic tables — all within one powerful dashboard.
Perfect for swing traders, intraday traders, and analysts who want to read price strength, volume context, and market structure in real time.
⚙️ Core Components & Inputs
🧮 Moving Average Settings
Moving Average Type & Length:
Choose between SMA or EMA and set your preferred period for smoother or more reactive trend tracking.
Multi-MA Plotting:
Up to 8 customizable moving averages (each with independent type, color, and length).
Includes a “window filter” to show only the last X bars, reducing chart clutter.
MA Reversion Engine:
Detects when price has extended too far from its moving average.
Reversion Lookback: Number of bars analyzed to determine historical extremes.
Reversion Threshold: Sensitivity multiplier—lower = more frequent signals, higher = stricter triggers.
🔄 Trend Settings
Short-Term & Long-Term Trend Lookbacks:
Uses linear regression to detect the slope and direction of the short- and long-term trend.
Results are displayed in the live table with color-coded bias:
🟩 Bullish | 🟥 Bearish
📈 Momentum Indicators
RSI (Relative Strength Index):
Adjustable period; displays the current RSI value, overbought (>70) / oversold (<30) zones, and trending direction.
CCI (Commodity Channel Index):
Customizable length with color-coded bias:
🟩 Oversold (< -100), 🟥 Overbought (> 100).
Tooltip shows whether the CCI is trending up or down.
📊 Volume Analysis
Relative Volume (RVOL):
Estimates end-of-day projected volume using intraday progress and compares it against the 20-day average.
Displays whether today’s volume is expected to exceed yesterday’s, and highlights color by strength.
Volume Trend (Short & Long Lookbacks):
Visual cues for whether current volume is above or below short-term and long-term averages.
Estimated Full-Day Volume & Multiplier:
Converts raw volume into “X” multiples (e.g., 2.3X average) for quick interpretation.
🕳️ Gap Detection
Automatically identifies and plots bullish and bearish price gaps within a defined lookback period.
Gap Lookback: Defines how far back to search for gaps.
Gap Line Width / Visibility: Controls the thickness and display of gap lines on chart.
Displays the closest open gap in the live table, including its distance from current price (%).
🔍 ATR & Volatility
14-day ATR (% of price):
Automatically converts the Average True Range into a percent, providing quick volatility context:
🟩 Low (<3%) | 🟨 Moderate (3–5%) | 🟥 High (>5%)
💬 Candlestick Pattern Recognition
Auto-detects popular reversal and continuation patterns such as:
Bullish/Bearish Engulfing
Hammer / Hanging Man
Shooting Star / Inverted Hammer
Doji / Harami / Kicking / Marubozu / Morning Star
Each pattern is shown with contextual color coding in the table.
🧱 Pivot Points & Support/Resistance
Optional Pivot High / Pivot Low Labels
Adjustable left/right bar lengths for pivot detection
Theme-aware text and label color options
Automatically drawn diagonal trendlines for both support and resistance
Adjustable line style, color, and thickness
Detects and tracks touches for reliability
Includes breakout alerts (with optional volume confirmation)
🚨 Alerts
MA Cross Alerts:
Triggers when price crosses the fast or slow moving average within a tolerance band (default ±0.3%).
Diagonal Breakout Alerts:
Detects and alerts when price breaks diagonal trendlines.
Volume-Confirmed Alerts:
Filters breakouts where volume exceeds 1.5× the 20-bar average.
🧾 Live Market Table
A fully dynamic table displayed on-chart, customizable via input toggles:
Choose which rows to show (e.g., RSI, ATR, RVOL, Gaps, CCI, Trend, MA info, Diff, Low→Close%).
Choose table position (top-right, bottom-left, etc.) and text size.
Theme selection: Light or Dark
Conditional background colors for instant visual interpretation:
🟩 Bullish or Oversold
🟥 Bearish or Overbought
🟨 Neutral / Moderate
🎯 Practical Uses
✅ Identify confluence setups combining MA reversion, volume expansion, and RSI/CCI extremes.
✅ Track trend bias and gap proximity directly in your dashboard.
✅ Monitor relative volume behavior for intraday strength confirmation.
✅ Automate MA cross or breakout alerts to stay ahead of key price action.
🧠 Ideal For
Swing traders seeking confluence-based setups
Intraday traders monitoring multi-factor bias
Analysts looking for compact market health dashboards
💡 Summary
TradeScope is designed as a single-pane-of-glass market view — combining momentum, trend, volume, structure, and reversion into one clear visual system.
Fully customizable. Fully dynamic.
Use it to see what others miss — clarity, confluence, and confidence in every trade.
FVG/ iFVG point size Shows the size in points of combined fvg and inverted fvgs. Good for determining momentum and strength in reversals
settings:
lookback - how many candles to look for fvgs and ifvg
change length of the fvg box
change settings to decided the minimum size of gap to label
colours of boxes and labels
Volume Reversal Candle✅ This script is clean and fully functional — it highlights volume-based reversal zones using both color and labels directly on the main chart.
This indicator detect potential reversal points where price forms a local high/low together with a volume spike.
Reversal Zone:
Bullish = candle closes green, is at local lowest low.
Bearish = candle closes red, is at local highest high.
🔔 Alerts
You can set TradingView alerts using:
📈 Bullish Volume Reversal
📉 Bearish Volume Reversal
They’ll trigger when such reversals occur on bar close.
💡 Visuals on Chart
Candle color: Green (bullish) / Red (bearish) when reversal detected.
Text labels: “Bullish Volume” or “Bearish Volume.”
Marker arrows: ▲ for bulls below bar, ▼ for bears above bar.
Everything appears on the main chart, not in a separate pane.
Reversal Probability Meter PRO [optimized for Xau/Usd m5]🎯 Reversal Probability Meter PRO
A powerful multi-factor reversal probability detector that calculates the likelihood of bullish or bearish reversals using RSI, EMA bias, ATR spikes, candle patterns, volume spikes, and higher timeframe (HTF) trend alignment.
🧩 MAIN FEATURES
1. Reversal Probability (Bullish & Bearish)
Displays two key metrics:
Bull % — probability of bullish reversal
Bear % — probability of bearish reversal
These are computed using RSI, EMAs, ATR, demand/supply zones, candle confirmations, and volume spikes.
📊 Interpretation:
Bull % > 70% → Buying pressure building up
Bull % > 85% → Strong bullish reversal confirmed
Bear % > 70% → Selling pressure building up
Bear % > 85% → Strong bearish reversal confirmed
2. Alert Probability Threshold
Adjustable via alertThreshold (default = 85%).
Alerts trigger only when probability ≥ threshold, and confirmed by zone + volume spike + candle pattern.
🔔 Alerts Available:
✅ Bullish Smart Reversal
🔻 Bearish Smart Reversal
To activate: Right-click chart → “Add alert” → choose the alert condition from the indicator.
3. Demand / Supply Zone Detection
The script determines the price position within the last zoneLook (default 30) bars:
🟢 DEMAND → Lower 35% of range (potential bounce zone)
🔴 SUPPLY → Upper 35% of range (potential rejection zone)
⚪ MID → Neutral area
📘 Purpose: Validates reversals based on context:
Bullish only valid in Demand zones
Bearish only valid in Supply zones
4. Higher Timeframe (HTF) Trend Alignment
Reads EMA bias from a higher timeframe (default = 15m) for trend confirmation.
Reversals against HTF trend are automatically weighted down prevents false countertrend signals.
📈 Example:
M5 chart under M15 downtrend → Bullish probability is reduced.
5. Candle Confirmation Patterns
Two key price action confirmations:
Bullish: Engulfing or Pin Bar
Bearish: Engulfing or Pin Bar
A valid reversal requires both a candle confirmation and a volume spike.
6. Volume & ATR Spike Filters
Volume Spike: volume > SMA(20) × 1.3
ATR Spike: ATR > SMA(ATR, 50) × volMult
🎯 Ensures that only strong market moves with real energy are considered valid reversals.
7. Reversal Momentum Histogram
A color-gradient oscillator showing the momentum difference:
Green = bullish dominance
Red = bearish dominance
Flat near 0 = neutral
Controlled by showOscillator toggle.
8. Smart Info Panel
A compact dashboard displayed on the top-right with 4 rows:
Row Info Description
1 Bull % Bullish reversal probability
2 Bear % Bearish reversal probability
3 Zone Market context (DEMAND / SUPPLY / MID)
4 Signal Strength Current signal intensity (probability %)
Dynamic Colors:
90% → Bright (strong signal)
75–90% → Yellow/Orange (medium)
<75% → Gray (weak)
9. Sensitivity Mode
Fine-tunes indicator reactivity:
🟥 Aggressive: Detects reversals early (more signals, less accurate)
🟨 Normal: Balanced, default mode
🟩 Conservative: Filters only strongest reversals (fewer but more reliable)
10. Custom Color Options
Customize bullish and bearish colors via bullBaseColor and bearBaseColor inputs for your preferred chart theme.
⚙️ HOW TO USE
Add to Chart
→ Paste the script into Pine Editor → “Add to chart”.
Select Timeframe
→ Best for M5–M30 (scalping/intraday).
→ H1–H4 for swing trading.
Monitor the Info Panel:
Bull % ≥ 85% + Zone = Demand → Strong bullish reversal signal
Bear % ≥ 85% + Zone = Supply → Strong bearish reversal signal
Watch the Histogram:
Rising green bars = bullish momentum gaining
Deep red bars = bearish momentum gaining
Enable Alerts:
Right-click chart → “Add alert”
Choose Bullish Smart Reversal or Bearish Smart Reversal
🧠 TRADING TIPS
Use Conservative mode for noisy lower timeframes (M5–M15).
Use Aggressive mode for higher timeframes (H1–H4).
Combine with manual support/resistance or zone boxes for precision entries. Personally i use Order Block.
Best reversal setups occur when all align:
Bull % > 85%
Zone = DEMAND
Volume spike present
Candle = Bullish engulfing
HTF trend supportive
Dynamic Percentage High LowThis script gives a clear percentage wise view of visible high and low on all time frames in your view. It's dynamic.
Quanloki + ICT Smart Entry (v7.3 Pivot Entry Only + BB)If you need a signal group or team, please contact @quanloki or tele to get support and refund for the VIP group.
ICT Essentials [LDT]ICT Essentials
Overview
ICT Essentials is an all-in-one trading utility built to create a natural and efficient workflow for ICT-based traders.
Every component has been designed to integrate seamlessly and update dynamically across timeframes.
The indicator focuses on clarity, performance and customization, allowing traders to tailor every part of their trading experience.
Equal Highs & Lows
This feature automatically detects and marks Equal Highs (EQH) and Equal Lows (EQL) with full control over visuals and behavior.
Users can customize line colors, widths, and styles, label size, color, background transparency and text offset.
The logic uses an optimized scanning and caching system that maintains smooth performance even on higher timeframes.
It provides a precise and adaptive way to identify structural liquidity points whilst keeping the chart clean and readable.
Killzones & Session Pivots
Plots the main trading sessions such as Asia, London and New York (AM, Lunch, PM) with full flexibility and styling options.
Each session can be enabled or disabled individually, with its own color, transparency and label preferences.
Session highs and lows are automatically tracked and plotted as pivots with extension modes like Until Mitigated or Past Mitigation.
This system gives traders the ability to organize market sessions exactly how they prefer whilst keeping the chart consistent and efficient.
Daily Pivots and Tier System
Alongside session pivots, the script tracks daily highs and lows to provide a broader structural view of price. These pivots are stored and displayed on the chart with their appearance updating automatically when price interacts with them.
The system includes a unique tier-based visibility filter that maintains a clean chart by preventing duplicate or overlapping pivots. Recent daily pivots are cached and compared to session pivots and when two levels fall within a defined proximity, the redundant one is automatically hidden. This creates a clear hierarchy of daily and session levels, keeping the most relevant structure visible whilst removing noise.
All aspects of the daily pivot system are fully customizable, including the number of tracked pivots, color, style settings and how mitigated levels are handled. The caching and filtering logic ensures smooth performance and a visually organized workspace even as the data updates in real time.
Key Times
Allows up to five custom key time markers such as the Midnight Open, 6:00 AM or 10:00 AM.
Each marker can be fully customized with its own text, color, line style and thickness.
This makes it simple to visualize key reaction points that align with each traders timing model.
Higher Timeframe Candles
Displays higher timeframe candles such as 1H, 4H or Daily directly on the active chart to provide context without switching views.
Users can customize body, wick and border colors, along with adding optional trace lines for the open, close, high and low and can also show the countdown timers for remaining candle time.
Adjustable spacing, positioning and label visibility makes the display blend naturally with any trading setup.
This module helps traders connect multiple timeframes visually in a clean and intuitive way.
Watermark
Adds a customizable watermark with title, subtitle and symbol or timeframe information.
Every element can be adjusted for color, size, transparency, alignment and position.
The result is a polished, professional chart layout that adapts to the user's personal style.
Optimization and Design
ICT Essentials is built for performance, using cached arrays and lightweight calculations to maintain responsiveness on all timeframes.
Each feature can be toggled individually to suit the traders focus or system performance.
The script delivers a fluid, customizable and highly optimized trading experience designed to feel natural and effortless in day-to-day use.
Credits
This script takes reference and inspiration from several open-source indicators:
Equal Highs and Lows by jzstur
ICT HTF Candles (fadi) by fadizeidan
ICT Killzones + Pivots EP by tradeforopp
AG FX - Watermark by AGFXTRADING
All components have been refactored, optimized and unified into a single framework for a smoother and more efficient workflow.
21day Structure + 1xATR Extension LineThis is a 21-day structure script that is used by Alex Desjardins (Prime Trading) along with a 1xATR line to make sure entries aren't bought extended from this structure.