PROTECTED SOURCE SCRIPT
Fractal Model (Lite) [MMT]

Fractal Model (Lite) [MMT]
The Fractal Model (Lite) [MMT] is a versatile Pine Script® indicator designed to enhance your trading by overlaying higher timeframe (HTF) candlestick data and key market structure elements on your current chart. This tool helps traders visualize critical price levels, market imbalances, liquidity sweeps, and structural displacements, making it easier to identify potential trading opportunities. With customizable visuals, alerts, and Fibonacci projections, it’s suitable for traders of all levels looking to analyze price action across multiple timeframes.
What This Indicator Does
The Fractal Model (Lite) [MMT] aggregates price data from a user-selected higher timeframe (e.g., 1-hour candles on a 5-minute chart) and displays it as candlesticks with customizable colors and sizes. It identifies and visualizes key market phenomena, including:
Fair Value Gaps (FVG) and Volume Imbalances: Highlight price gaps that may act as magnets for future price action.
Liquidity Sweeps: Detect when price takes out previous highs or lows and reverses, signaling potential liquidity grabs.
Midpoints: Mark the midpoint of HTF candles as potential support/resistance levels.
G-Spots: Based on TTrades's T-Spot concept. It helps identifying key price zones (50% of an HTF candle’s range) for potential reversals or continuations.
Change In State of Delivery (CISD): Track significant price levels after pullbacks, indicating shifts in market structure.
Fibonacci Projection: Project customizable Fibonacci levels after CISD based on candle bodies or wicks.
Information Table: Display key data like timeframe, symbol, bias, and remaining time for the HTF candle.
Trace Lines and Labels: Connect open, close, high, and low prices to their chart positions for clarity.
The indicator also supports alerts for sweeps, G-Spots, and CISD events, helping you stay informed of critical market movements.
How to Use This Indicator
Add to Chart:
Add the indicator to your TradingView chart via the Pine Script editor or indicator library.
Ensure your chart is set to a timeframe lower than the desired HTF (e.g., 5-minute chart for a 1-hour HTF).
Configure Settings:
Timeframe Settings:
Enable Auto Select Timeframe to dynamically choose an HTF based on your chart (e.g., 5m → 1h, 1h → 1D).
Alternatively, set a Manual Timeframe (e.g., 60 minutes) for specific analysis.
Adjust Max Candles to control how many HTF candles are displayed (default: 4).
Market Bias:
Choose Neutral to display all signals, or Bullish/Bearish to filter sweeps, G-Spots, and CISD based on market direction.
Styling:
Customize bullish/bearish candle colors (body, border, wick), width, and spacing for better visibility.
Imbalances:
Enable Fair Value Gaps and Volume Imbalances to highlight price gaps with customizable colors.
Sweeps:
Turn on Show Sweeps to detect liquidity grabs, with options for line style, width, and alerts.
Midpoints:
Enable Show Midpoint to mark the midpoint of HTF candles, useful for equilibrium levels.
G-Spots:
Activate Show G-Spot to highlight key price zones, with separate colors for bullish/bearish and optional alerts.
Use Keep Invalidated G-Spot to retain invalidated zones for reference.
CISD:
Enable Show CISD to track structural displacements, with customizable colors, text, and alerts.
Set Line Width and Style for visibility, and limit completed lines if desired.
Fibonacci Retracement:
Enable Show Fib Retracement and customize levels (e.g., 1, 0, -1, -2) and calculation method (Body or Wick).
Adjust line style, width, and label visibility.
Trace Lines:
Turn on Trace Lines to connect open, close, high, and low prices to their chart positions, with customizable styles and labels.
Labels:
Enable HTF Label, Price Label, or Remaining Time to display timeframe, price, or countdown information.
Choose Label Position (Top/Bottom) and customize colors and sizes.
Separators:
Enable Show Separator to draw vertical lines between HTF candles, with adjustable style and width.
Info Table:
Enable Show Info to display a table with timeframe, symbol, bias, remaining time, or date.
Customize table position, colors, and text size.
Interpret the Output:
HTF Candles: Appear as boxes (bodies) with lines (wicks) on the right side of the chart, representing the selected HTF’s price action.
Imbalances: Shown as semi-transparent boxes indicating FVGs or Volume Imbalances, potential price targets.
Sweeps: Horizontal lines marking where price took out a previous high/low and reversed, often signaling liquidity hunting.
Midpoints: Horizontal lines at the midpoint of HTF candles, useful for identifying balance points.
G-Spots: Boxes highlighting the 50% level of an HTF candle’s range, often acting as key reaction zones.
CISD Levels: Lines and labels marking confirmed structural displacements, indicating significant market shifts.
Fibonacci Levels: Horizontal lines showing retracement/projection levels based on HTF candles, with optional labels.
Trace Lines: Connect key price levels (open, close, high, low) to their chart positions, aiding in tracking price movement.
Info Table: Displays at the specified chart position (e.g., Top-Right) with relevant market data.
Set Alerts:
Enable alerts for Sweeps, Bullish/Bearish G-Spots, or Bullish/Bearish CISD to receive notifications when these events occur.
Configure alerts via TradingView’s alert system, referencing the indicator’s alert conditions.
Example Setup
Chart: 5-minute timeframe.
HTF: Set to 1-hour (manual) or auto-select.
Bias: Neutral to see all signals.
Styling: Set bullish candles to green (#00FF00) and bearish to red (#FF0000) for clarity.
Features: Enable FVGs, sweeps, G-Spots, and CISD with alerts.
Fibonacci: Use levels 0, 0.5, 1, 1.618 based on wicks.
Table: Display in Top-Right with symbol, bias, and remaining time.
Tips for Optimal Use
Match Timeframes: Ensure the HTF is significantly higher than your chart timeframe for clear visualization (e.g., 1h on a 5m chart).
Filter with Bias: Use Bullish/Bearish bias to reduce noise if you have a directional view.
Combine with Other Tools: Pair with support/resistance, trendlines, or volume indicators for confluence.
Monitor Alerts: Set up alerts for real-time notifications, especially in fast-moving markets.
Adjust Visuals: Customize colors and sizes to avoid clutter and match your chart theme.
Limit Candles: Reduce Max Candles if performance lags on lower timeframes.
Notes
Real-Time Data: Features like remaining time require real-time data for accuracy.
Time Zone: Set to America/New_York by default; adjust if needed for your market.
Compatibility: Works on any TradingView chart with a valid HTF (higher than the current timeframe).
Why Use This Indicator?
The Fractal Model (Lite) [MMT] provides a clear, customizable way to analyze HTF price action without switching charts. Its focus on market structure, imbalances, and liquidity events makes it ideal for scalpers, swing traders, and those seeking to understand institutional price behavior. Whether you’re trading reversals, breakouts, or ranges, this indicator offers actionable insights with minimal setup.
The Fractal Model (Lite) [MMT] is a versatile Pine Script® indicator designed to enhance your trading by overlaying higher timeframe (HTF) candlestick data and key market structure elements on your current chart. This tool helps traders visualize critical price levels, market imbalances, liquidity sweeps, and structural displacements, making it easier to identify potential trading opportunities. With customizable visuals, alerts, and Fibonacci projections, it’s suitable for traders of all levels looking to analyze price action across multiple timeframes.
What This Indicator Does
The Fractal Model (Lite) [MMT] aggregates price data from a user-selected higher timeframe (e.g., 1-hour candles on a 5-minute chart) and displays it as candlesticks with customizable colors and sizes. It identifies and visualizes key market phenomena, including:
Fair Value Gaps (FVG) and Volume Imbalances: Highlight price gaps that may act as magnets for future price action.
Liquidity Sweeps: Detect when price takes out previous highs or lows and reverses, signaling potential liquidity grabs.
Midpoints: Mark the midpoint of HTF candles as potential support/resistance levels.
G-Spots: Based on TTrades's T-Spot concept. It helps identifying key price zones (50% of an HTF candle’s range) for potential reversals or continuations.
Change In State of Delivery (CISD): Track significant price levels after pullbacks, indicating shifts in market structure.
Fibonacci Projection: Project customizable Fibonacci levels after CISD based on candle bodies or wicks.
Information Table: Display key data like timeframe, symbol, bias, and remaining time for the HTF candle.
Trace Lines and Labels: Connect open, close, high, and low prices to their chart positions for clarity.
The indicator also supports alerts for sweeps, G-Spots, and CISD events, helping you stay informed of critical market movements.
How to Use This Indicator
Add to Chart:
Add the indicator to your TradingView chart via the Pine Script editor or indicator library.
Ensure your chart is set to a timeframe lower than the desired HTF (e.g., 5-minute chart for a 1-hour HTF).
Configure Settings:
Timeframe Settings:
Enable Auto Select Timeframe to dynamically choose an HTF based on your chart (e.g., 5m → 1h, 1h → 1D).
Alternatively, set a Manual Timeframe (e.g., 60 minutes) for specific analysis.
Adjust Max Candles to control how many HTF candles are displayed (default: 4).
Market Bias:
Choose Neutral to display all signals, or Bullish/Bearish to filter sweeps, G-Spots, and CISD based on market direction.
Styling:
Customize bullish/bearish candle colors (body, border, wick), width, and spacing for better visibility.
Imbalances:
Enable Fair Value Gaps and Volume Imbalances to highlight price gaps with customizable colors.
Sweeps:
Turn on Show Sweeps to detect liquidity grabs, with options for line style, width, and alerts.
Midpoints:
Enable Show Midpoint to mark the midpoint of HTF candles, useful for equilibrium levels.
G-Spots:
Activate Show G-Spot to highlight key price zones, with separate colors for bullish/bearish and optional alerts.
Use Keep Invalidated G-Spot to retain invalidated zones for reference.
CISD:
Enable Show CISD to track structural displacements, with customizable colors, text, and alerts.
Set Line Width and Style for visibility, and limit completed lines if desired.
Fibonacci Retracement:
Enable Show Fib Retracement and customize levels (e.g., 1, 0, -1, -2) and calculation method (Body or Wick).
Adjust line style, width, and label visibility.
Trace Lines:
Turn on Trace Lines to connect open, close, high, and low prices to their chart positions, with customizable styles and labels.
Labels:
Enable HTF Label, Price Label, or Remaining Time to display timeframe, price, or countdown information.
Choose Label Position (Top/Bottom) and customize colors and sizes.
Separators:
Enable Show Separator to draw vertical lines between HTF candles, with adjustable style and width.
Info Table:
Enable Show Info to display a table with timeframe, symbol, bias, remaining time, or date.
Customize table position, colors, and text size.
Interpret the Output:
HTF Candles: Appear as boxes (bodies) with lines (wicks) on the right side of the chart, representing the selected HTF’s price action.
Imbalances: Shown as semi-transparent boxes indicating FVGs or Volume Imbalances, potential price targets.
Sweeps: Horizontal lines marking where price took out a previous high/low and reversed, often signaling liquidity hunting.
Midpoints: Horizontal lines at the midpoint of HTF candles, useful for identifying balance points.
G-Spots: Boxes highlighting the 50% level of an HTF candle’s range, often acting as key reaction zones.
CISD Levels: Lines and labels marking confirmed structural displacements, indicating significant market shifts.
Fibonacci Levels: Horizontal lines showing retracement/projection levels based on HTF candles, with optional labels.
Trace Lines: Connect key price levels (open, close, high, low) to their chart positions, aiding in tracking price movement.
Info Table: Displays at the specified chart position (e.g., Top-Right) with relevant market data.
Set Alerts:
Enable alerts for Sweeps, Bullish/Bearish G-Spots, or Bullish/Bearish CISD to receive notifications when these events occur.
Configure alerts via TradingView’s alert system, referencing the indicator’s alert conditions.
Example Setup
Chart: 5-minute timeframe.
HTF: Set to 1-hour (manual) or auto-select.
Bias: Neutral to see all signals.
Styling: Set bullish candles to green (#00FF00) and bearish to red (#FF0000) for clarity.
Features: Enable FVGs, sweeps, G-Spots, and CISD with alerts.
Fibonacci: Use levels 0, 0.5, 1, 1.618 based on wicks.
Table: Display in Top-Right with symbol, bias, and remaining time.
Tips for Optimal Use
Match Timeframes: Ensure the HTF is significantly higher than your chart timeframe for clear visualization (e.g., 1h on a 5m chart).
Filter with Bias: Use Bullish/Bearish bias to reduce noise if you have a directional view.
Combine with Other Tools: Pair with support/resistance, trendlines, or volume indicators for confluence.
Monitor Alerts: Set up alerts for real-time notifications, especially in fast-moving markets.
Adjust Visuals: Customize colors and sizes to avoid clutter and match your chart theme.
Limit Candles: Reduce Max Candles if performance lags on lower timeframes.
Notes
Real-Time Data: Features like remaining time require real-time data for accuracy.
Time Zone: Set to America/New_York by default; adjust if needed for your market.
Compatibility: Works on any TradingView chart with a valid HTF (higher than the current timeframe).
Why Use This Indicator?
The Fractal Model (Lite) [MMT] provides a clear, customizable way to analyze HTF price action without switching charts. Its focus on market structure, imbalances, and liquidity events makes it ideal for scalpers, swing traders, and those seeking to understand institutional price behavior. Whether you’re trading reversals, breakouts, or ranges, this indicator offers actionable insights with minimal setup.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.