Funding Rate + Z-Score SkynetVisualize funding‐rate dynamics across major BTC markets and gauge their extremeness in context.
What it shows,
Smoothed Funding Rate (columns):
• Calculates the difference between the average TWAP of perpetual futures across your selected exchanges.
• Smooths that series with a simple moving average (customizable via “MA Length”).
• Plotted as a histogram (scaled for visibility), colored green when positive (bullish funding) and red when negative (bearish funding).
Z-Score of Funding Rate (lines):
• Computes how many standard deviations the current smoothed funding is from its moving average over the last “Z-Score Length” bars.
• The yellow line is the real-time Z-Score; white lines at ± 1 σ and ± 2 σ provide quick visual thresholds.
• A gray horizontal line at zero marks the long‐term average.
Why it matters
Funding rate reflects how traders in perpetual futures pay or receive funding to keep contract prices tethered to spot. Extreme values (high positive or negative funding) often precede short‐term reversals as one side of the market becomes over‐leveraged.
Z-Score helps you see when funding has stretched beyond its normal range—e.g., Z > 2 could signal overheated long positions, while Z < –2 points to extreme bearish funding.
How to use it
Select your data source: choose the price used to compute the funding rate (default is ohlc4).
Toggle exchanges on/off: include Binance, Bybit, Kraken, OKX, BitMEX, Coinbase for perp averages.
Adjust smoothing: set “MA Length” to smooth more or less (set to 1 to disable smoothing entirely).
Fine-tune Z-Score sensitivity: change “Z-Score Length” to shorten or lengthen the lookback window for volatility normalization.
By combining the smoothed, annualized funding rate with its statistically normalized Z-Score, this tool helps you both monitor ongoing funding trends and spot when those trends have gone unusually far. Use it as part of your broader toolkit for timing entries, exits, or simply staying aware of market leverage conditions.
Sentiment
Multi-TF BOS/CHoCH Detectori am abhijit i am devloping this structure maping indicator with alert .
on dated may 12-5-2025. disclaimer-it is only for educational purpose and not giving surety of success use it by your own risk
OFC - Liquidations ATS editionOFC – Liquidations (ATS-edition)
This indicator detects aggressive position closures and liquidation-style activity using a dynamic, flow-based approach grounded in Volume-to-Open-Interest (VOI) analysis. It identifies sudden surges in executed volume relative to open interest and filters them through adaptive, statistically-driven thresholds.
Built for traders who want to anticipate or confirm market flushes, stop hunts, or trap reversals, the tool supports detection of both long/short closures and optionally position openings — all based on actual order flow dynamics rather than speculative price patterns.
Key Features:
VOI Spike Detection: Identifies rare bursts of volume relative to open interest using percentile and volatility scaling.
Directional Filtering: Uses volume delta to determine whether long or short positions are being flushed.
Adaptive Thresholds: Built-in ATR and standard deviation normalization make the logic self-tuning across assets and timeframes.
Signal Confidence Tiers: Three levels of signal strength help distinguish mild pressure from extreme liquidations.
Opening Detection (Optional): Spot potential position buildups in real time.
Debug Table (Optional): View live stats including VOI, thresholds, and signal proximity.
Ideal Use Cases
Confirmation of liquidation flushes and reversals
Trap identification (long/short bait setups)
Tactical execution timing for breakout retests or exhaustion fades
Scalp filtering in combination with price action or market structure
This tool prioritizes signal quality over quantity, offering a clear edge for traders who rely on actionable flow insights.
No predictions — just real-time evidence of pressure in the tape.
AVWAP (Click & Label)An Anchored Volume Weighted Average Price indicator with increased functionality. Namely:
1. An option to choose the Input Source for your anchor.
2. "Point and Click" feature to anchor to your desired bar.
3. Fully customizable Label for the AVWAP line.
Used code from several creators to make this work.
Credit for the AVWAP logic and the input source option goes to: jamiespips' Anchored VWAP.
Credit for the "Point and Click" feature goes to: claypuzzle's Anchored VWAP Click.
For any other feature requests or improvements, just message me.
Enjoy, Traders!
ADX and DI - Trader FelipeADX and DI - Trader Felipe
This indicator combines the Average Directional Index (ADX) and the Directional Indicators (DI+ and DI-) to help traders assess market trends and their strength. It is designed to provide a clear view of whether the market is in a trending phase (either bullish or bearish) and helps identify potential entry and exit points.
What is ADX and DI?
DI+ (Green Line):
DI+ measures the strength of upward (bullish) price movements. When DI+ is above DI-, it signals that the market is experiencing upward momentum.
DI- (Red Line):
DI- measures the strength of downward (bearish) price movements. When DI- is above DI+, it suggests that the market is in a bearish phase, with downward momentum.
ADX (Blue Line):
ADX quantifies the strength of the trend, irrespective of whether it is bullish or bearish. The higher the ADX, the stronger the trend:
ADX > 20: Indicates a trending market (either up or down).
ADX < 20: Indicates a weak or sideways market with no clear trend.
Threshold Line (Gray Line):
This horizontal line, typically set at 20, represents the threshold for identifying whether the market is trending or not. If ADX is above 20, the market is considered to be in a trend. If ADX is below 20, it suggests that the market is not trending and is likely in a consolidation phase.
Summary of How to Use the Indicator:
Trend Confirmation: Use ADX > 20 to confirm a trending market. If ADX is below 20, avoid trading.
Long Entry: Enter a long position when DI+ > DI- and ADX > 20.
Short Entry: Enter a short position when DI- > DI+ and ADX > 20.
Avoid Sideways Markets: Do not trade when ADX is below 20. Look for other strategies for consolidation phases.
Exit Strategy: Exit the trade if ADX starts to decline or if the DI lines cross in the opposite direction.
Combine with Other Indicators: Use additional indicators like RSI, moving averages, or support/resistance to filter and confirm signals.
US Growth Momentum Index (UGMI)US Growth Momentum Index (UGMI) is a macroeconomic indicator designed to reflect the current economic health of the United States. The index combines four key economic factors—Industrial Production (INDPRO), Retail Sales (RSAFS), Unemployment Rate (UNRATE), and the 10Y-2Y Yield Curve Spread—and aggregates them into a single line representing overall growth momentum.
The UGMI is based on Z-Score calculations for each of these components, helping to identify whether the U.S. economy is in an expansionary growth phase or a contractionary recession phase.
How to Read the UGMI:
Core Growth Line (Blue): This is the main line representing the aggregated growth momentum. It is calculated using the Z-scores of the key economic indicators.
0 Line: The 0 line represents the neutral zone. If the UGMI is above the 0 line, it suggests that the economy is expanding. Below the 0 line indicates contraction or a potential recession.
Zones Above 1: When the UGMI is above 1, it represents a strong expansionary phase or boom, possibly signaling the top of a bull market or local peak.
Zones Below -1: When the UGMI falls below -1, it indicates a severe recession or significant contraction in the economy.
Color Coding:
Green: When the UGMI is above the 1 line, the background turns green, indicating a strong growth phase.
Red: When the UGMI is below -1, the background turns red, representing a recession or significant economic downturn.
This indicator helps traders and investors to understand whether the economy is growing or contracting, and is especially useful for identifying potential market tops or turning points.
Market Sentiment Index US Top 40 [Pt]▮Overview
Market Sentiment Index US Top 40 [Pt} shows how the largest US stocks behave together. You pick one simple measure—High Low breakouts, Above Below moving average, or RSI overbought/oversold—and see how many of your chosen top 10/20/30/40 NYSE or NASDAQ names are bullish, neutral, or bearish.
This tool gives you a quick view of broad-market strength or weakness so you can time trades, confirm trends, and spot hidden shifts in market sentiment.
▮Key Features
► Three Simple Modes
High Low Index: counts stocks making new highs or lows over your lookback period
Above Below MA: flags stocks trading above or below their moving average
RSI Sentiment: marks overbought or oversold stocks and plots a small histogram
► Universe Selection
Top 10, 20, 30, or 40 symbols from NYSE or NASDAQ
Option to weight by market cap or treat all symbols equally
► Timeframe Choice
Use your chart’s timeframe or any intraday, daily, weekly, or monthly resolution
► Histogram Smoothing
Two optional moving averages on the sentiment bars
Markers show when the faster average crosses above or below the slower one
► Ticker Table
Optional on-chart table showing each ticker’s state in color
Grid or single-row layout with adjustable text size and color settings
▮Inputs
► Mode and Lookback
Pick High Low, Above Below MA, or RSI Sentiment
Set lookback length (for example 10 bars)
If using Above Below MA, choose the moving average type (EMA, SMA, etc.)
► Universe Setup
Market: NYSE or NASDAQ
Number of symbols: 10, 20, 30, or 40
Weights: on or off
Timeframe: blank to match chart or pick any other
► Moving Averages on Histogram
Enable fast and slow averages
Set their lengths and types
Choose colors for averages and markers
► Table Options
Show or hide the symbol table
Select text size: tiny, small, or normal
Choose layout: grid or one-row
Pick colors for bullish, neutral, and bearish cells
Show or hide exchange prefixes
▮How to Read It
► Sentiment Bars
Green means bullish
Red means bearish
Near zero means neutral
► Zero Line
Separates bullish from bearish readings
► High Low Line (High Low mode only)
Smooth ratio of highs versus lows over your lookback
► MA Crosses
Fast MA above slow MA hints rising breadth
Fast MA below slow MA hints falling breadth
► Ticker Table
Each cell colored green, gray, or red for bull, neutral, or bear
▮Use Cases
► Confirm Market Trends
Early warning when price makes highs but breadth is weak
Catch rallies when breadth turns strong while price is flat
► Spot Sector Rotation
Switch between NYSE and NASDAQ to see which group leads
Watch tech versus industrial breadth to track money flow
► Filter Trade Signals
Enter longs only when breadth is bullish
Consider shorts when breadth turns negative
► Combine with Other Indicators
Use RSI Sentiment with trend tools to spot overextended moves
Add volume indicators in High Low mode for breakout confirmation
► Timeframe Analysis
Daily for big-picture bias
Intraday (15-min) for precise entries and exits
Internal Market Structure + Order BlocksInternal Market Structure + Order Blocks
This indicator combines internal market structure shifts with order block detection to help traders identify key zones of institutional interest and potential trend reversals. It highlights bullish and bearish engulfing conditions that mark the formation of valid order blocks, and it plots internal structure shifts—early signals that may precede a larger move.
Key Features:
-Bullish & Bearish Order Blocks: Highlighted with shaded boxes (green for bullish, red for bearish) following engulfing price action.
-Internal Structure Shifts: Small black triangles show early signs of a potential reversal, offering a unique perspective beyond standard structure analysis.
-Engulfing Breakouts: Marks when price breaks previous opposing structure, confirming new directional intent.
-Alerts Included: Get notified on key structure breaks and internal shifts to stay ahead of potential setups.
This tool is designed to support price action trading by visually mapping key structural changes and zones of interest directly on your chart. It is not intended to function as a standalone trading strategy , but rather as a supplementary tool to inform your own analysis and discretion.
Note: The arrows, polylines, and colored trendlines shown in the chart example are not generated by the indicator. They have been added manually for illustration purposes to demonstrate how the indicator can be used to trace market structure. Likewise, the order blocks in the example are manually drawn and may differ slightly from the indicator's automatic calculations, serving only to enhance visual clarity.
[blackcat] L2 Market Risk MeterOVERVIEW
The L2 Market Risk Meter is designed to evaluate market conditions using various technical indicators including Moving Averages (MA), Moving Average Convergence Divergence (MACD), and Bollinger Bands 📈🔍. By analyzing these elements, the script helps traders identify potential buying opportunities and assess the overall market sentiment more effectively. This comprehensive approach aids in making informed trading decisions by providing clear visual representations of critical market factors 🚀💸.
Key components include the calculation of short-term and long-term moving averages, MACD lines, and Bollinger Bands, which are then used to plot histograms and labels directly on the chart. These visual cues assist traders in quickly interpreting complex market data, thereby enhancing their ability to navigate volatile markets and capitalize on emerging trends ✅✨.
FEATURES
Advanced Technical Analysis:
Utilizes Short and Long Moving Averages (MAs) to capture different trend durations.
Implements MACD for detecting changes in the strength, direction, momentum, and duration of a trend.
Incorporates Bollinger Bands to measure volatility and provide dynamic support/resistance levels.
Comprehensive Visualization:
Generates colored histograms representing positive and negative MACD values.
Displays labels indicating "Safe," "Risk," and "Buy" signals at crucial points on the chart.
Flexible Settings:
Allows customization of the short_ma_period and long_ma_period to tailor the analysis to individual trading styles or asset types.
Provides configurable colors and styles for histograms and labels to suit personal preferences.
Real-Time Feedback:
Updates dynamically as new price data becomes available, ensuring timely insights.
Facilitates rapid identification of shifts in market conditions through clear graphical outputs.
HOW TO USE
Adding the Indicator:
Begin by adding the L2 Market Risk Meter to your chart on TradingView. You can do this via the "Pine Editor" located at the bottom of the screen. Simply copy-paste the script into the editor and click "Add to Chart."
Configuring Parameters:
Adjust the short_ma_period and long_ma_period inputs based on your preferred timeframes and strategies. For example, shorter periods will react faster but may be noisier, while longer periods offer smoother trends but slower reactions.
Interpreting Histograms:
Monitor the plotted histograms closely:
Positive Values: Represent bullish momentum where the closing prices are higher than the moving average.
Negative Values: Suggest bearish pressure when the closing prices fall below the moving average.
Understanding Labels:
Pay attention to generated labels for actionable insights:
"Safe" Zone: Appears when the price crosses from below to above the lower Bollinger Band, suggesting reduced risk.
"Risk" Zone: Indicates heightened caution if the price breaches upward from below the upper Bollinger Band.
"Buy" Signal: Triggered under stringent bullish conditions combining all predefined criteria, signaling an opportune moment to enter long positions.
Integrating with Other Tools:
Use the L2 Market Risk Meter alongside other technical studies and fundamental analyses to corroborate findings and strengthen your trading strategy.
Regular Review:
Periodically revisit and tweak your parameters and interpretations in light of changing market environments and performance evaluations.
LIMITATIONS
Dependency on Historical Data: Since the indicator relies extensively on historical price movements, its predictions about future trends should be viewed cautiously.
Not Standalone Solution: Like any other tool, it does not guarantee profitability and must be part of a holistic trading plan that includes multiple confirmation methods.
Parameter Sensitivity: Optimal performance depends greatly on selecting appropriate MA period lengths; improper choices could lead to misleading signals.
Volatility Assumptions: The effectiveness of Bollinger Bands varies across different market conditions, especially during low volatility phases where bands might fail to expand significantly.
NOTES
Understanding individual components such as MAs, MACDs, and Bollinger Bands is essential before fully depending on this script's output.
Always backtest any new strategy incorporating this meter thoroughly against diverse market scenarios to gauge reliability.
Consider employing supplementary filters like volume spikes or candlestick patterns to validate signals further.
Be mindful of sudden news events or economic releases impacting asset prices independently of underlying trends highlighted here.
THANKS
A big thank you goes out to fellow members of the TradingView community who have contributed invaluable feedback and suggestions throughout the development process of this indicator 🙏. Your input has been instrumental in refining and improving the functionality and usability of the L2 Market Risk Meter. Continue sharing your experiences so we can collectively enhance our trading capabilities!
Relative Directional Volume Indicator# Relative Directional Volume Indicator (RelDirVol)
## Overview
The Relative Directional Volume Indicator (RelDirVol) is a powerful volume analysis tool that measures current trading volume relative to historical volume while differentiating between bullish and bearish volume flows. This indicator helps traders identify unusual volume activity and determine whether it's coming from buyers or sellers, providing deeper insights into market participation and potential trend strength.
## Features
- **Relative Volume Calculation**: Compares current volume to historical averages
- **Directional Volume Analysis**: Separates and visualizes bullish vs bearish volume
- **Multiple Moving Average Options**: Customize smoothing with various MA types (SMA, EMA, WMA, HMA, VWMA)
- **Split Moving Averages**: View distinct moving averages for bullish and bearish volume flows
- **Reference Lines**: Visual guides for normal volume (1.0x) and key deviation levels (0.5x, 2.0x, 3.0x)
- **Customizable Colors**: Adjust visual appearance for improved chart readability
## How It Works
The indicator calculates the relative volume by dividing the current bar's volume by the average volume over a specified lookback period. It then categorizes this volume as either bullish (when price closes above the open) or bearish (when price closes below or equal to the open).
1. **Relative Volume**: Current volume ÷ Average volume from previous N bars
2. **Directional Classification**: Assigns volume to bullish or bearish categories based on price action
3. **Moving Averages**: Applies user-selected moving average to smooth the data
The result is displayed as color-coded histogram bars showing the relative volume magnitude, with optional moving average lines for both overall and direction-specific volume trends.
## Interpretation
### Volume Magnitude
- **Above 1.0**: Higher than average volume (more participation than normal)
- **Below 1.0**: Lower than average volume (less participation than normal)
- **2.0+**: Volume twice the normal level (significant participation)
- **3.0+**: Volume three times normal (exceptional participation, often at key events)
### Directional Analysis
- **Strong Green Bars**: Heavy bullish participation driving prices up
- **Strong Red Bars**: Heavy bearish participation driving prices down
- **Bullish MA > Bearish MA**: Overall buying pressure dominating
- **Bearish MA > Bullish MA**: Overall selling pressure dominating
### Key Signals
- **Volume Spikes with Price Breakouts**: Confirms strength of the move
- **Divergence Between MAs**: Early warning of potential shift in market control
- **Sustained Above-Average Volume**: Strong trend continuation likely
- **Volume Decline After Spike**: Potential exhaustion of trend
## Settings
- **Relative Volume Lookback**: Comparison period for average volume (default: 20)
- **Moving Average Type**: Method used for smoothing (default: SMA)
- **Moving Average Length**: Smoothing period (default: 5)
- **Show Moving Average**: Toggle overall volume MA visibility
- **Show Baseline**: Toggle 1.0 reference line visibility
- **Show Bullish/Bearish MAs**: Toggle direction-specific MA visibility
## Best Practices
This indicator performs best when combined with price action analysis and other indicators. Look for:
1. Volume confirmation of breakouts and trend changes
2. Divergence between price movement and volume direction
3. Shifts in the relationship between bullish and bearish MAs
4. Unusual volume patterns during consolidation phases
Particularly effective for swing trading, day trading, and identifying institutional participation in market moves across multiple timeframes.
10 AM NY Box - By KaVeH📦 10 AM New York Box till 4 PM — \
--By KaVeH--
This indicator automatically draws a price range box that captures the high and low between 10:00 AM and 11:00 AM New York Time (Eastern Time) on "5-minute charts".
### 🔍 What It Does
The "10 AM NY Box" is a simple but powerful visualization tool for day traders and ICT-based strategies. It highlights a key hourly session right after the "New York open" — often a time of increased volatility, liquidity grabs, and the formation of critical intraday highs or lows.
### 📊 Features
Time Window: Customizable start and end hours (defaults: 10 AM to 11 AM NY time).
Box Color: Customizable with transparency.
Chart Restriction: The indicator "only works on 5-minute charts" to ensure accuracy and prevent misalignment.
### ⚙️ Inputs
- 'Start Hour (NY Time)' – Default: 10
- 'End Hour (NY Time)' – Default: 11
- 'Box Color' – Default: Red with transparency
### 📈 How It Works
- During the specified time window, the script tracks the "highest high and lowest low".
- Once the time window ends, it draws a "box" from the starting to the ending time, extending a little beyond to keep it visible.
- Each day's box is created independently, and only once per day.
### 🧠 Use Cases
- Spotting potential liquidity zones
- Identifying breakout or fakeout traps
- Aligning with ICT concepts like "FVG", "BAG", or "Judas Swing"
### ⚠️ Notes & Limitations
- "Only functions on 5-minute timeframes" — this is intentional to maintain session accuracy.
- Does not repaint.
- Time is aligned to **New York (Eastern Time)** regardless of your chart’s timezone.
- One box per day.
Real-Time Price Line by Candle ColorThis indicator draws a horizontal line at the current price that updates in real time on each candle. The line:
Extends infinitely left and right
Changes color based on the current candle:
🟢 Green if the candle is bullish (close ≥ open)
🔴 Red if the candle is bearish (close < open)
Automatically clears and redraws each bar to reflect the latest price and direction
Use this as a simple but effective visual aid to track the live price and its directional bias.
Trade Crafted - Banknifty Trend DeciderTrade Crafted - Banknifty Trend Decider
Description:
This indicator offers a quick and insightful snapshot of real-time market sentiment across major Indian banking stocks along with Reliance and Adani. It’s designed as a clean, table-based heatmap that visually tracks intraday percentage movements and trends of key financial instruments.
🔹 What it Shows:
Live % Change: Calculates the percentage difference between the current price and day’s open.
Visual Trend Arrows: See at a glance whether each stock is trending ↑ (positive) or ↓ (negative).
Banking Sector Average: Tracks the average movement of top Indian banks.
Reliance-Adani Grouping: Shows a separate combined average for Reliance and Adani Enterprises.
Total Market Sentiment: Displays overall average and gives a trend remark as “Positive Trend,” “Negative Trend,” or “Sideways” based on total average direction.
🧾 Included Stocks:
HDFC Bank
ICICI Bank
SBI
Axis Bank
Kotak Mahindra Bank (recently added)
Bank of Baroda
Reliance Industries
Adani Enterprises
📌 Use Case:
Perfect for intraday traders and investors who want a compact view of sectoral momentum. This table doesn’t generate buy/sell signals, but acts as a visual guide to current market strength and weakness.
📘 Note:
This tool is meant to support decision-making and should be used with other technical and risk management strategies.
Overnight Bias: Net Long/Short with PercentOvernight bias can assist with NY session gap fades or gap and go trading once the NY session is open.
Some general gap rules are:
1. Gap Direction Aligned with Overnight Bias
Rule: If the NY session gaps up and the overnight bias is Net Long (e.g., >60% of bars above the overnight open), favor longs.
Confirmation: Look for price to hold above overnight open or VWAP.
Invalidation: If price re-enters the overnight range, reassess.
2. Gap Opposing Overnight Bias (Contrarian Setup)
Rule: If the NY opens opposite the overnight bias, expect potential gap fill or reversal.
Trade Bias: Look for retracement back toward the overnight open or VWAP.
Example: Overnight was Net Long, but NY gaps down → wait for reclaim of VWAP to go long, else fade strength.
3. Gap Into Prior Day Value Area (VAH to VAL)
Rule: If the NY session gaps into the prior day value area:
It implies mean reversion behavior.
Expect price to rotate toward the POC (point of control).
Trade Bias: Fade toward POC if overnight bias is balanced or opposite the gap direction.
4. Gap Outside Prior Day Value Area
Rule: A gap above VAH or below VAL suggests potential breakout or new trend day.
Trade Bias: If overnight bias aligns (e.g., gap above VAH + Net Long overnight), consider trend continuation.
Invalidation: If price breaks back inside the prior day value area, watch for failed breakout → fade trade possible.
5. Gap Above Prior Day High / Below Prior Day Low
Rule: This is a true breakout gap.
Above Prior High + Net Long Bias: Look for continuation.
Below Prior Low + Net Short Bias: Look for sell pressure continuation.
Trade Bias: Use pullbacks to the prior high/low or overnight open for continuation setups.
6. Gap Within Prior Day Range
Rule: If the NY open is within the prior day’s high and low, expect chop or balanced conditions.
Trade Bias: Use overnight VWAP and prior POC as decision zones. Be cautious unless a breakout occurs.
7. Failed Gap and Re-entry into Prior Day Range
Rule: If price gaps above prior high but re-enters the prior range, it's a failed breakout.
Trade Bias: Look for a fade back to VAH or POC.
Confirmation: Watch for breakdown below overnight VWAP or failure to hold overnight open.
8. Gap + Overnight VWAP Divergence
Rule: If price gaps opposite the direction of VWAP (e.g., VWAP rising, gap down), wait for confirmation.
Trade Bias: Be cautious with early trades. Bias may flip if VWAP is reclaimed.
9. Gap + Overnight Open Test
Rule: If price opens with a gap and then retests the overnight open, that level becomes a decision zone.
Trade Bias:
Hold above = trend continuation.
Rejection = gap fill or reversal.
10. Unfilled Gap = Trend Bias
Rule: If the gap remains unfilled for the first 30–60 minutes, it increases the odds of a trend day.
Trade Bias: Trade pullbacks in the direction of the gap and overnight bias.
Should anyone have suggestion to add please do so.
Volume Change % Display1- Current bar's volume change %
2- Previous bar's volume change %
* Each line uses its own color based on volume rising or falling.
* Keeps the layout compact and readable.
Multitimeframe Order Block Finder (Zeiierman)█ Overview
The Multitimeframe Order Block Finder (Zeiierman) is a powerful tool designed to identify potential institutional zones of interest — Order Blocks — across any timeframe, regardless of what chart you're viewing.
Order Blocks are critical supply and demand zones formed by the last opposing candle before an impulsive move. These areas often act as magnets for price and serve as smart-money footprints — ideal for anticipating reversals, retests, or breakouts.
This indicator not only detects such zones in real-time, but also visualizes their mitigation, bull/bear volume pressure, and a smoothed directional trendline based on Order Block behavior.
█ How It Works
The script fetches OHLCV data from your chosen timeframe using request.security() and processes it using strict pattern logic and volume-derived strength conditions. It detects Order Blocks only when the structure aligns with dominant pressure and visually extends valid zones forward for as long as they remain unmitigated.
⚪ Bull/Bear Volume Power Visualization
Each OB includes proportional bars representing estimated buy/sell effort:
Buy Power: % of volume attributed to buyers
Sell Power: % of volume attributed to sellers
This adds a visual, intuitive layer of intent — showing who controlled the price before the OB formed.
⚪ Order Block Trendline (Butterworth Filtered)
A smoothed trendline is derived from the average OB value over time using a two-pole Butterworth low-pass filter. This helps you understand the broader directional pressure:
Trendline up → favor bullish OBs
Trendline down → favor bearish OBs
█ How to Use
⚪ Trade From Order Blocks Like Institutions
Use this tool to find institutional footprints and reaction zones:
Enter at unmitigated OBs
⚪ Volume Power
Volume Pressure Bars inside each OB help you:
Confirm strong buyer/seller dominance
Detect possible traps or exhaustion
Understand how each zone formed
⚪ Find Trend & Pullbacks
The trendline not only helps traders detect the current trend direction, but the built-in trend coloring also highlights potential pullback areas within these trends.
█ Settings
Timeframe – Selects which timeframe to scan for Order Blocks.
Lookback Period – Defines how many bars back are used to detect bullish or bearish momentum shifts.
Sensitivity – When enabled, the indicator uses smoothed price (RMA) with rising/falling logic instead of raw candle closes. This allows more flexible detection of trend shifts and results in more Order Blocks being identified.
Minimum Percent Move – Filters out weak moves. Higher = only strong price shifts.
Mitigated on Mid – OB is removed when price touches its midpoint.
Show OB Table – Displays a panel listing all active (unmitigated) Order Blocks.
Extend Boxes – Controls how far OB boxes stretch into the future.
Show OB Trend – Toggles the trendline derived from Order Block strength.
Passband Ripple (dB) – Controls trendline reactivity. Higher = more sensitive.
Cutoff Frequency – Controls smoothness of trendline (0–0.5). Lower = smoother.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
BTC Spot/Perp Price DeltaThe indicator gathers price from 3 btc spot pairs (largest by volume) and 3 btc perp pairs (also largest by volume).
The average Spot and Perp prices are then derived.
The indicator plots the price difference between the Spot average and the Perps average (Spot minus Perps).
Green plot above the zero line means Spot price is higher than the Perp price at a candle close - Contango.
Red plot below the zero line means Spot Price is lower than the Perp price at a candle close - Backwardation.
The orange line is the EMA. Default value is 100 periods. Changeable by User.
Use cases:
1. Perp market is way larger than the Spot market, measured by traded Volume. We may say that the Perps market is more "stable", because it is more liquid. When Spot price deviates a lot from the Perps price, in both positive and negative directions, we may expect a mean reversion.
High Green or Red indicator values = expect price reversion.
2. Helps to observe absorption. If the indicator values are high (in both directions), but the price is barely moving, we can come to a conclusion that the opposite side Limit orders are being deployed to absorb Spot market orders.
Typically, this also indicates mean reversion.
3. You are welcome to use the indicator and perhaps find your own use cases.
Any suggestions on how to improve this indicator are welcome.
Money Flow based probabilityMoney Flow based probability
This indicator provides a comprehensive correlation and momentum analysis between your main asset and up to three selected correlated assets. It combines correlation, trend, momentum, and overbought/oversold signals into a single, easy-to-read table directly on your chart.
Correlated Asset Selection :
You can select up to three correlated assets (e.g., indices, currencies, bonds) to compare with your main chart symbol. Each asset can be toggled on or off.
Correlation Calculation :
The indicator uses the native Pine Script ta.correlation function to measure the statistical relationship between the closing prices of your asset and each selected pair over a user-defined period.
Technical Analysis Integration :
For each asset (including the main one), the indicator calculates:
Trend direction using EMA (Exponential Moving Average) – optional
Momentum using MACD – optional
Overbought/oversold status using RSI – optional
Probability Scoring :
A weighted scoring system combines correlation, trend, MACD, RSI, and trend exhaustion signals to produce buy and sell probabilities for the main asset.
Visual Table Output :
A customizable table is displayed on the chart, showing:
Asset name
Correlation (as a percentage, -100% to +100%)
Trend (Bullish/Bearish)
MACD status (Bullish/Bearish)
RSI value and status
Buy/Sell probability (with fixed-width formatting for stability)
User Customization :
You can adjust:
Table size, color, and position
Correlation period
EMA, MACD, and RSI parameters
Which assets to display
This indicator is ideal for traders who want to quickly assess the influence of major correlated markets and technical signals on their trading instrument, all in a single glance.
---
Example: Correlation Calculation
corrCurrentAsset1 = ta.correlation(close, asset1Data, correlationPeriod)
Example: Table Output (Buy/Sell %)
buyStr = f_formatPercent(buyProbability) + "%"
sellStr = f_formatPercent(sellProbability) + "%"
cellStr = buyStr + " / " + sellStr
The Echo System🔊 The Echo System – Trend + Momentum Trading Strategy
Overview:
The Echo System is a trend-following and momentum-based trading tool designed to identify high-probability buy and sell signals through a combination of market trend analysis, price movement strength, and candlestick validation.
Key Features:
📈 Trend Detection:
Uses a 30 EMA vs. 200 EMA crossover to confirm bullish or bearish trends.
Visual trend strength meter powered by percentile ranking of EMA distance.
🔄 Momentum Check:
Detects significant price moves over the past 6 bars, enhanced by ATR-based scaling to filter weak signals.
🕯️ Candle Confirmation:
Validates recent price action using the previous and current candle body direction.
✅ Smart Conditions Table:
A live dashboard showing all trade condition checks (Trend, Recent Price Move, Candlestick confirmations) in real-time with visual feedback.
📊 Backtesting & Stats:
Auto-calculates average win, average loss, risk-reward ratio (RRR), and win rate across historical signals.
Clean performance dashboard with color-coded metrics for easy reading.
🔔 Alerts:
Set alerts for trade signals or significant price movements to stay updated without monitoring the chart 24/7.
Visuals:
Trend markers and price movement flags plotted directly on the chart.
Dual tables:
📈 Conditions table (top-right): breaks down trade criteria status.
📊 Performance table (bottom-right): shows real-time stats on win/loss and RRR.🔊 The Echo System – Trend + Momentum Trading Strategy
Overview:
The Echo System is a trend-following and momentum-based trading tool designed to identify high-probability buy and sell signals through a combination of market trend analysis, price movement strength, and candlestick validation.
Key Features:
📈 Trend Detection:
Uses a 30 EMA vs. 200 EMA crossover to confirm bullish or bearish trends.
Visual trend strength meter powered by percentile ranking of EMA distance.
🔄 Momentum Check:
Detects significant price moves over the past 6 bars, enhanced by ATR-based scaling to filter weak signals.
🕯️ Candle Confirmation:
Validates recent price action using the previous and current candle body direction.
✅ Smart Conditions Table:
A live dashboard showing all trade condition checks (Trend, Recent Price Move, Candlestick confirmations) in real-time with visual feedback.
📊 Backtesting & Stats:
Auto-calculates average win, average loss, risk-reward ratio (RRR), and win rate across historical signals.
Clean performance dashboard with color-coded metrics for easy reading.
🔔 Alerts:
Set alerts for trade signals or significant price movements to stay updated without monitoring the chart 24/7.
Visuals:
Trend markers and price movement flags plotted directly on the chart.
Dual tables:
📈 Conditions table (top-right): breaks down trade criteria status.
📊 Performance table (bottom-right): shows real-time stats on win/loss and RRR.
[Tradevietstock] Fair Value Channel – Premium/Discount ZonesThe Ultimate Tool for Value Traders
Fair Value Channel – Premium/Discount Zones (Polynomial Regression)
Hello again, it’s Tradevietstock ,
This time, we’re introducing a powerful long-term tool for value investors and swing traders — a visual framework that answers one key question:
i. Overview
1. 🧠 Logic Behind the Script
This script creates a Fair Value Channel using polynomial regression to model the upper and lower bounds of a stock's expected price range. The core idea is to estimate "fair value" zones that indicate whether the current price is at a premium (overvalued) or discount (undervalued) relative to its historical range.
The script uses fixed coefficients for third-degree (cubic) polynomial equations to define a top channel and bottom channel, then scales and shifts these curves to match the actual price data. Intermediate levels (25%, 50%, 75%) are calculated using geometric interpolation, offering a graded assessment of price positioning within the channel.
2. The Trading Theory
This indicator is based on the idea that markets move in repeatable cycles of overvaluation and undervaluation. Rather than relying on instinct to judge whether an asset is “cheap” or “expensive,” it uses mathematical modeling — specifically, a fixed third-degree polynomial regression — to identify structured price patterns over time. This regression captures the natural wave-like behavior of prices and defines a fair value channel, with upper and lower bounds representing premium and discount zones.
The lower zone signals undervalued conditions, ideal for accumulating positions, while the upper zone reflects overvalued areas, where it may be time to reduce exposure. These zones are scaled to align with the asset’s real price range, making them practical and adaptive.
Ultimately, the indicator brings logic and discipline to value investing. It helps traders recognize favorable buying opportunities within a cycle — and hold until the next major uptrend, instead of reacting emotionally. The strategy: buy low, hold smart, sell high — driven by data, not guesswork.
ii. How to use
1. Key terms
Lookback_period : Sets the historical period used to calculate the highest and lowest prices. Determines whether the analysis is short-term, mid-term, or long-term.
Timeframe_input : Specifies the timeframe used for polynomial regression calculations. Higher timeframes smooth out noise.
Extrapolation_bars : Defines how many bars into the future the fair value channel should be projected (forecasted). Helps visualize future zones.
Show_forecast : Enables or disables the display of forecasted (future) evaluation zones based on extrapolated regression curves.
🎯 Evaluation Zones Based on Fair Value Range
Each of these zones represents a valuation level relative to a stock's or asset's estimated fair value. These zones help investors make informed decisions based on market psychology and price positioning:
🟩 Zone 1 – Deep Discount (0–20%)
Color: Green
Description:
This is the strongest undervaluation zone, where the market or asset is significantly underpriced. It typically reflects extreme fear and pessimism among investors.
A great opportunity for long-term investors to accumulate high-potential assets at bargain prices.
For example, Tesla (TSLA) stock dropped into the Deep Discount Zone in 2019, offering an exceptional entry point. By 2020, the stock had surged approximately 430%, illustrating how powerful the recovery can be from this zone.
The Deep Discount Zone often appears only during recessionary periods or times of extreme market fear, making it one of the best opportunities to accumulate high-quality stocks.
However, due to the elevated risks and uncertainty in such conditions, it’s crucial to prioritize risk management and approach this zone with a mid- to long-term investment mindset, rather than seeking short-term gains.
🟩 Zone 2 – Undervalued (20–40%)
Color: Lime
Description:
Still considered a strong buying opportunity, this zone offers assets at meaningful discounts. While not as deeply undervalued as Zone 1, it remains attractive for value-seeking investors.
For example, Netflix (NFLX) stock experienced a sharp decline of nearly 80% in 2011, pushing it into the Undervalued Zone. This presented a prime buying opportunity for long-term investors.
After a period of consolidation, NFLX surged over 500% by 2013, demonstrating how deeply discounted zones can signal powerful reversal and growth potential when backed by strong fundamentals.
🟨 Zone 3 – Fair Value (40–60%)
Color: Yellow
Description:
This zone represents the true fair value range. Many high-growth or in-demand assets may only dip this low due to market optimism. Buying in this zone can still be wise—especially for fundamentally strong stocks or tokens—depending on broader conditions and expectations.
For example, Apple stock has historically never fallen below the Fair Value Zone, largely due to the company’s strong core values, resilient business model, and consistent performance. Whether a stock dips further into undervalued zones often depends on its intrinsic fundamentals and long-term growth potential.
Likewise, NVDA stock has only dipped into the Fair Value Zone, but not deeper, due to the company’s strong fundamentals and high growth potential.
🟧 Zone 4 – Overvalued (60–80%)
Color: Orange
Description:
In this range, prices are becoming expensive. This is generally a time to pause further buying and begin looking for potential exit or profit-taking opportunities.
Despite potential continued upside, staying disciplined here is key, as price increases may be driven more by speculation than fundamentals.
🟥 Zone 5 – Extended Premium (80–100%)
Color: Red
Description:
This is the extreme overvaluation zone, often driven by market euphoria, FOMO (Fear of Missing Out), and greed.
Avoid buying in this range. Instead, focus on exiting positions and securing profits. Risk of a reversal is high.
2. How to Use?
This indicator is not designed for short-term trading. Instead, it supports a value investing mindset, applicable across various financial instruments—including stocks, indices, tokens, and CFDs.
Investing based on fair value means focusing on the intrinsic worth of an asset and holding through market cycles—from fear to euphoria.
The goal is to accumulate positions during Deep Discount Zones (often during extreme fear or recession) and hold them patiently until the market reaches the FOMO and Extreme Greed stages.
At that point, those who bought during deep discounts become the true winners, having captured both value and long-term upside.
Trading Tutorial
The strategy is simple: Buy cheap, sell high.
Note:
Discount zones are based on the historical price behavior of each asset.
A strong stock may never drop into the lowest zones, while some tokens/indices/stocks might reach the Deep Discount Zone and still dip further before recovering.
Always analyze the asset’s history—does it usually bounce from the Fair Value Zone, or does it often fall deeper before reversing?
Your strategy should adapt to the specific behavior of the stock, token, or index you're trading.
This indicator works with stocks, crypto, indices, and CFDs.
You can adjust any input settings to match your own strategy and risk tolerance, as long as you understand what you're doing.
Breadth Thrust PRO by Martin E. ZweigThe Breadth Thrust Indicator was developed by Martin E. Zweig (1942-2013), a renowned American stock investor, investment adviser, and financial analyst who gained prominence for predicting the market crash of 1987 (Zweig, 1986; Colby, 2003). Zweig defined a "breadth thrust" as a 10-day period where the ratio of advancing stocks to total issues traded rises from below 40% to above 61.5%, indicating a powerful shift in market momentum potentially signaling the beginning of a new bull market (Zweig, 1994).
Methodology
The Breadth Thrust Indicator measures market momentum by analyzing the relationship between advancing and declining issues on the New York Stock Exchange. The classical formula calculates a ratio derived from:
Breadth Thrust = Advancing Issues / (Advancing Issues + Declining Issues)
This ratio is typically smoothed using a moving average, most commonly a 10-day period as originally specified by Zweig (1986).
The PRO version enhances this methodology by incorporating:
Volume weighting to account for trading intensity
Multiple smoothing methods (SMA, EMA, WMA, VWMA, RMA, HMA)
Logarithmic transformations for better scale representation
Adjustable threshold parameters
As Elder (2002, p.178) notes, "The strength of the Breadth Thrust lies in its ability to quantify market participation across a broad spectrum of securities, rather than focusing solely on price movements of major indices."
Signal Interpretation
The original Breadth Thrust interpretation established by Zweig identifies two critical thresholds:
Low Threshold (0.40): Indicates a potentially oversold market condition
High Threshold (0.615): When reached after being below the low threshold, generates a Breadth Thrust signal
Zweig (1994, p.123) emphasizes: "When the indicator moves from below 0.40 to above 0.615 within a 10-day period, it signals an explosive upside breadth situation that historically has led to significant intermediate to long-term market advances."
Kirkpatrick and Dahlquist (2016) validate this observation, noting that genuine Breadth Thrust signals have preceded market rallies averaging 24.6% in the subsequent 11-month period based on historical data from 1940-2010.
Zweig's Application
Martin Zweig utilized the Breadth Thrust Indicator as a cornerstone of his broader market analysis framework. According to his methodology, the Breadth Thrust was most effective when:
Integrated with monetary conditions analysis
Confirmed by trend-following indicators
Applied during periods of market bottoming after significant downturns
In his seminal work "Winning on Wall Street" (1994), Zweig explains that the Breadth Thrust "separates genuine market bottoms from bear market rallies by measuring the ferocity of buying pressure." He frequently cited the classic Breadth Thrust signals of October 1966, August 1982, and March 2009 as textbook examples that preceded major bull markets (Zweig, 1994; Appel, 2005).
The PRO Enhancement
The PRO version of Zweig's Breadth Thrust introduces several methodological improvements:
Volume-Weighted Analysis: Incorporates trading volume to account for significance of price movements, as suggested by Fosback (1995) who demonstrated improved signal accuracy when volume is considered.
Adaptive Smoothing: Multiple smoothing methodologies allow for sensitivity adjustment based on market conditions.
Visual Enhancements: Dynamic color signaling and historical signal tracking facilitate pattern recognition.
Contrarian Option: Allows for inversion of signals to identify potential counter-trend opportunities, following Lo and MacKinlay's (1990) research on contrarian strategies.
Empirical Evidence
Research by Bulkowski (2013) found that classic Breadth Thrust signals have preceded market advances in 83% of occurrences since 1950, with an average gain of 22.4% in the 12 months following the signal. More recent analysis by Bhardwaj and Brooks (2018) confirms the indicator's continued effectiveness, particularly during periods of market dislocation.
Statistical analysis of NYSE data from 1970-2020 reveals that Breadth Thrust signals have demonstrated a statistically significant predictive capability with p-values < 0.05 for subsequent 6-month returns compared to random market entries (Lo & MacKinlay, 2002; Bhardwaj & Brooks, 2018).
Practical Implementation
To effectively implement the Breadth Thrust PRO indicator:
Monitor for Oversold Conditions: Watch for the indicator to fall below the 0.40 threshold, indicating potential bottoming.
Identify Rapid Improvement: The critical signal occurs when the indicator rises from below 0.40 to above 0.615 within a 10-day period.
Confirm with Volume: In the PRO implementation, ensure volume patterns support the breadth movement.
Adjust Parameters Based on Market Regime: Higher volatility environments may require adjusted thresholds as suggested by Faber (2013).
As Murphy (2004, p.285) advises: "The Breadth Thrust works best when viewed as part of a comprehensive technical analysis framework rather than in isolation."
References
Appel, G. (2005) Technical Analysis: Power Tools for Active Investors. Financial Times Prentice Hall, pp. 187-192.
Bhardwaj, G. and Brooks, R. (2018) 'Revisiting Market Breadth Indicators: Empirical Evidence from Global Equity Markets', Journal of Financial Research, 41(2), pp. 203-219.
Bulkowski, T.N. (2013) Trading Classic Chart Patterns. Wiley Trading, pp. 315-328.
Colby, R.W. (2003) The Encyclopedia of Technical Market Indicators, 2nd Edition. McGraw-Hill, pp. 123-126.
Elder, A. (2002) Come Into My Trading Room: A Complete Guide to Trading. John Wiley & Sons, pp. 175-183.
Faber, M.T. (2013) 'A Quantitative Approach to Tactical Asset Allocation', Journal of Wealth Management, 16(1), pp. 69-79.
Fosback, N. (1995) Stock Market Logic: A Sophisticated Approach to Profits on Wall Street. Dearborn Financial Publishing, pp. 112-118.
Kirkpatrick, C.D. and Dahlquist, J.R. (2016) Technical Analysis: The Complete Resource for Financial Market Technicians, 3rd Edition. FT Press, pp. 432-438.
Lo, A.W. and MacKinlay, A.C. (1990) 'When Are Contrarian Profits Due to Stock Market Overreaction?', The Review of Financial Studies, 3(2), pp. 175-205.
Lo, A.W. and MacKinlay, A.C. (2002) A Non-Random Walk Down Wall Street. Princeton University Press, pp. 207-214.
Murphy, J.J. (2004) Intermarket Analysis: Profiting from Global Market Relationships. Wiley Trading, pp. 283-292.
Zweig, M.E. (1986) Martin Zweig's Winning on Wall Street. Warner Books, pp. 87-96.
Zweig, M.E. (1994) Winning on Wall Street, Revised Edition. Warner Books, pp. 121-129.
Market Manipulation Index (MMI)The Composite Manipulation Index (CMI) is a structural integrity tool that quantifies how chaotic or orderly current market conditions are, with the aim of detecting potentially manipulated or unstable environments. It blends two distinct mathematical models that assess price behavior in terms of both structural rhythm and predictability.
1. Sine-Fit Deviation Model:
This component assumes that ideal, low-manipulation price behavior resembles a smooth oscillation, such as a sine wave. It generates a synthetic sine wave using a user-defined period and compares it to actual price movement over an adaptive window. The error between the real price and this synthetic wave—normalized by price variance—forms the Sine-Based Manipulation Index. A high error indicates deviation from natural rhythm, suggesting structural disorder.
2. Predictability-Based Model:
The second component estimates how well current price can be predicted using recent price lags. A two-variable rolling linear regression is computed between the current price and two lagged inputs (close and close ). If the predicted price diverges from the actual price, this error—also normalized by price variance—reflects unpredictability. High prediction error implies a more manipulated or erratic environment.
3. Adaptive Mechanism:
Both components are calculated using an adaptive smoothing window based on the Average True Range (ATR). This allows the indicator to respond proportionally to market volatility. During high volatility, the analysis window expands to avoid over-sensitivity; during calm periods, it contracts for better responsiveness.
4. Composite Output:
The two normalized metrics are averaged to form the final CMI value, which is then optionally smoothed further. The output is scaled between 0 and 1:
0 indicates a highly structured, orderly market.
1 indicates complete structural breakdown or randomness.
Suggested Interpretation:
CMI < 0.3: Market is clean and structured. Trend-following or breakout strategies may perform better.
CMI > 0.7: Market is structurally unstable. Choppy price action, fakeouts, or manipulative behavior may dominate.
CMI 0.3–0.7: Transitional zone. Caution or reduced risk may be warranted.
This indicator is designed to serve as a contextual filter, helping traders assess whether current market conditions are conducive to structured strategies, or if discretion and defense are more appropriate.
Heikin Ashi Colored Regular OHLC CandlesHeikin Ashi Colored Regular OHLC Candles
In the world of trading, Heikin Ashi candles are a popular tool for smoothing out price action and identifying trends more clearly. However, Heikin Ashi candles do not reflect the actual open, high, low, and close prices of a market. They are calculated values that change the chart’s structure. This can make it harder to see precise price levels or use standard price-based tools effectively.
To get the best of both worlds, we can apply the color logic of Heikin Ashi candles to regular OHLC candles. This means we keep the true market data, but show the trend visually in the same smooth way Heikin Ashi candles do.
Why use this approach
Heikin Ashi color logic filters out noise and helps provide a clearer view of the current trend direction. Since we are still plotting real OHLC candles, we do not lose important price information such as actual highs, lows, or closing prices. This method offers a hybrid view that combines the accuracy of real price levels with the visual benefits of Heikin Ashi trend coloring. It also helps maintain visual consistency for traders who are used to Heikin Ashi signals but want to see real price action.
Advantages for scalping
Scalping requires fast decisions. Even small price noise can lead to hesitation or bad entries. Coloring regular candles based on Heikin Ashi direction helps reduce that noise and makes short-term trends easier to read. It allows for faster confirmation of momentum without switching away from real prices. Since the candles are not modified, scalpers can still place tight stop-losses and targets based on actual price structure. This approach also avoids clutter, keeping the chart clean and focused.
How it works
We calculate the Heikin Ashi values in the background. If the Heikin Ashi close is higher than the Heikin Ashi open, the trend is considered bullish and the candle is colored green. If the close is lower than the open, it is bearish and the candle is red. If they are equal, the candle is gray or neutral. We then use these colors to paint the real OHLC candles, which are unchanged in shape or position.
BTC Markup/Markdown Zones by Koenigsegg📈 BTC Markup/Markdown Zones
A handcrafted indicator designed to mark Bitcoin's most critical High Time Frame (HTF) structure shifts. This tool overlays true institutional-level Markup and Markdown Zones, selected manually after deep market review. Whether you're testing strategies or actively trading, this tool gives you the bigger picture at all times.
🔍 Key Features:
✅ HTF Markup & Markdown Zones
Every zone is manually selected — no indicators, no repainting. Just raw market history and real structure.
✅ Two Display Modes
• Background Zones — soft overlays with low opacity for visual context — with the option to increase opacity manually if desired.
• Start Candle Highlight — sharply highlighted candle marking the final pivot before a macro reversal.
✅ Custom Color Controls (Style Tab)
All visual styling lives in the Style tab, with clearly labeled fields:
• Markup Zone
• Markdown Zone
• Start Candle Highlight Markup
• Start Candle Highlight Markdown
✅ Minimal Input Section
Just one toggle: display mode. Everything else is kept clean and intuitive.
🧠 Purpose:
This script is made for any timeframe:
• Zoom into lower timeframes to know whether you're trading inside a Markup or Markdown
• Use it during strategy testing for true structural awareness
📅 Handpicked Macro Turning Points:
Each zone originates from a manually confirmed candle — the last meaningful candle before a shift in control between bulls and bears:
• FRI 19 AUG 2011 12PM – MARK DOWN
• THU 20 OCT 2011 12AM – MARK UP
• WED 10 APR 2013 12PM – MARK DOWN
• FRI 12 APR 2013 12PM – MARK UP
• SAT 30 NOV 2013 12AM – MARK DOWN
• WED 14 JAN 2015 12PM – MARK UP
• SUN 17 DEC 2017 12PM – MARK DOWN
• SAT 15 DEC 2018 12PM – MARK UP
• WED 14 APR 2021 4AM – MARK DOWN
• TUE 22 JUN 2021 12PM – MARK UP
• WED 10 NOV 2021 12PM – MARK DOWN
• MON 21 NOV 2022 8PM – MARK UP
• THU 14 MAR 2024 4AM – MARK DOWN
• MON 5 AUG 2024 12PM – MARK UP
• MON 20 JAN 2025 4AM – MARK DOWN
💡 Zones are manually updated by me after each new confirmed Markup or Markdown.
🧬 Fractal Structure for MTF Systems
Price is fractal — meaning the same principles of structure repeat across all timeframes. In Version 2, this tool evolves by introducing manually selected sub-zones inside each High Time Frame (HTF) Markup or Markdown. These sub-zones reflect Medium Timeframe (MTF) structure shifts, offering precision for traders who operate on both intraday and swing levels.
This makes the indicator ideal for low timeframe (LTF) Markup/Markdown awareness — whether you're managing 15m entries or building multi-timeframe confluence systems.
No auto-zones. No guesswork. Just clean, intentional structure division within the broader trend, handpicked for maximum clarity and edge.
💡 Pro Tip:
When price is inside a Markup Zone, shorting becomes riskier — you're trading against a macro bullish structure.
When inside a Markdown Zone, longing becomes riskier — you're fighting against confirmed bearish momentum.
Use this tool to stay aligned with the broader move, especially when zoomed into smaller timeframes or managing entries/exits during intraday setups.
📈 Markup Phase – Bullish Sentiment
Definition: A period where price makes higher highs and higher lows — the uptrend is in full force.
Why sentiment is bullish:
- Institutions and smart money are already positioned long.
- Public/institutional demand drives prices up.
- Momentum is supported by positive news, breakouts, and FOMO.
- Higher highs confirm buyers are in control.
📉 Markdown Phase – Bearish Sentiment
Definition: A period where price makes lower lows and lower highs — clear downtrend.
Why sentiment is bearish:
- Distribution has already occurred, and supply outweighs demand.
- Smart money is short or sidelined, waiting for deeper prices.
- Panic selling or trend-following traders add downside momentum.
- Lower lows confirm sellers are in control.
❌ Trading Against the Trend — Consequences:
-Reduced Probability of Success
-You’re fighting the dominant flow. Most participants are pushing in the opposite direction.
-Drawdowns & Stop-Outs
-Countertrend trades often get wicked or flushed before any meaningful move, especially without structure-based entries.
-Low Risk-Reward Ratio
-Trends offer sustained moves. Countertrend trades may have small take-profit zones or chop.
-Mental Drain & Doubt
-Fighting momentum causes anxiety, second-guessing, and emotional reactions.
-Missed Opportunities
-Focusing on fighting the trend makes you blind to the high-probability setups with the trend.
-Increased Transaction Costs
-More stop-outs and re-entries mean more fees, more friction.
-FOMO from Watching the Trend Run
-Entering countertrend means you might watch the trend explode without you.
-Confirmation Bias & Stubbornness
-Countertrend traders often look for reasons to justify staying in the wrong direction — leading to bigger losses.
🧠 Summary
In markup = bulls dominate → you swim with the current.
In markdown = bears dominate → going long is like pushing a rock uphill.
Trading with the trend is not just safer, it's smarter. The edge lives in momentum — not ego.
⚠️ Disclaimer
This indicator is for educational and analytical use only. It is not financial advice and should not be relied on for decision-making without personal analysis.
This is not a predictive tool. No indicator can forecast upcoming price movements.
What you see here is based purely on past market behavior — specifically, historical tops and bottoms that marked the start of confirmed reversals.
This script does not know where the next reversal begins, nor can it determine where a new Markup or Markdown starts or ends. It is designed to provide context, not prediction.
Always trade with responsibility and perform your own due diligence.