OPEN-SOURCE SCRIPT
Ninja Trader - Order Flow Smart Footprint

📘 User Manual: Order Flow Smart Footprint
The Order Flow Smart Footprint acts as an "X-ray" for your charts. It breaks down standard price candles into their volume components, identifying aggressive buyers/sellers and highlighting institutional-level activity (Smart Money).
1. Visual Elements & Their Meaning
🔴/🟢 Volume Clusters (Circles)
What it is: Circles plotted on the candle at the price level where the highest volume imbalance occurred.
Green Circle: Aggressive buyers have taken control. This is a strong Bullish signal.
Red Circle: Aggressive sellers are dominating. This is a strong Bearish signal.
How to use: Finding a cluster at a Support/Resistance level confirms that institutions have started entering positions.
📊 Point of Control (POC) Lines
What it is: Horizontal dashed lines inside every candle.
Significance: This represents the specific price level where the most trading activity occurred during that candle.
How to use: The POC acts as a "price magnet." If the price stays above the POC in subsequent candles, the trend is strong. If the price crosses the POC to the opposite side, a trend reversal is likely.
🔢 Bar Delta Labels (+500 / -300)
What it is: Numerical values displayed above or below the candles.
Significance: The net difference between market buy volume and market sell volume.
Positive Delta (+): More aggressive buying pressure.
Negative Delta (-): More aggressive selling pressure.
How to use: Use this to spot "Absorptions." For example, if a candle is green but the Delta is negative, it suggests sellers are secretly absorbing the buyers' orders, signaling a potential drop.
🎨 Background Heatmap (Color Shading)
What it is: Soft background coloring behind specific bars.
Significance: Indicates zones of "Panic Buying" or "Panic Selling" where the Order Flow imbalance is extreme.
2. Settings (Inputs)
Imbalance Ratio: Controls the sensitivity of the indicator. A higher number (e.g., 3.0) will only show the most significant Smart Money traces. A lower number (e.g., 1.5) will provide more frequent signals.
Show POC Lines: Toggle to enable or disable the high-volume concentration lines.
Show Bar Delta: Toggle the numerical display of the buy/sell volume difference.
3. Trading Strategies
A. Trend Continuation
Condition: Market is in a clear uptrend.
Signal: A green candle appears with a Green Cluster (Circle) and positive Delta.
Action: Enter Long, as this confirms aggressive institutional participation in the direction of the trend.
B. Reversal & Absorption
Condition: Price reaches a major resistance level.
Signal: A Red Cluster appears at the very top of a green candle, or a negative Delta is seen on a bullish candle.
Action: Prepare for a Short entry, as this indicates "Supply" is entering the market and buyers are being exhausted.
4. Important Notes
Timeframes: This indicator is most effective on "Intraday" timeframes (1m, 5m, 15m) where Order Flow activity is most granular.
Confirmation: Never use this indicator in isolation. Always combine it with Market Structure (HH/HL) or identified Support and Resistance zones.
This tool gives you the edge to see "under the hood" of the market, allowing you to follow the footprints of institutional traders rather than just reacting to price movement.
Happy Trading!
The Order Flow Smart Footprint acts as an "X-ray" for your charts. It breaks down standard price candles into their volume components, identifying aggressive buyers/sellers and highlighting institutional-level activity (Smart Money).
1. Visual Elements & Their Meaning
🔴/🟢 Volume Clusters (Circles)
What it is: Circles plotted on the candle at the price level where the highest volume imbalance occurred.
Green Circle: Aggressive buyers have taken control. This is a strong Bullish signal.
Red Circle: Aggressive sellers are dominating. This is a strong Bearish signal.
How to use: Finding a cluster at a Support/Resistance level confirms that institutions have started entering positions.
📊 Point of Control (POC) Lines
What it is: Horizontal dashed lines inside every candle.
Significance: This represents the specific price level where the most trading activity occurred during that candle.
How to use: The POC acts as a "price magnet." If the price stays above the POC in subsequent candles, the trend is strong. If the price crosses the POC to the opposite side, a trend reversal is likely.
🔢 Bar Delta Labels (+500 / -300)
What it is: Numerical values displayed above or below the candles.
Significance: The net difference between market buy volume and market sell volume.
Positive Delta (+): More aggressive buying pressure.
Negative Delta (-): More aggressive selling pressure.
How to use: Use this to spot "Absorptions." For example, if a candle is green but the Delta is negative, it suggests sellers are secretly absorbing the buyers' orders, signaling a potential drop.
🎨 Background Heatmap (Color Shading)
What it is: Soft background coloring behind specific bars.
Significance: Indicates zones of "Panic Buying" or "Panic Selling" where the Order Flow imbalance is extreme.
2. Settings (Inputs)
Imbalance Ratio: Controls the sensitivity of the indicator. A higher number (e.g., 3.0) will only show the most significant Smart Money traces. A lower number (e.g., 1.5) will provide more frequent signals.
Show POC Lines: Toggle to enable or disable the high-volume concentration lines.
Show Bar Delta: Toggle the numerical display of the buy/sell volume difference.
3. Trading Strategies
A. Trend Continuation
Condition: Market is in a clear uptrend.
Signal: A green candle appears with a Green Cluster (Circle) and positive Delta.
Action: Enter Long, as this confirms aggressive institutional participation in the direction of the trend.
B. Reversal & Absorption
Condition: Price reaches a major resistance level.
Signal: A Red Cluster appears at the very top of a green candle, or a negative Delta is seen on a bullish candle.
Action: Prepare for a Short entry, as this indicates "Supply" is entering the market and buyers are being exhausted.
4. Important Notes
Timeframes: This indicator is most effective on "Intraday" timeframes (1m, 5m, 15m) where Order Flow activity is most granular.
Confirmation: Never use this indicator in isolation. Always combine it with Market Structure (HH/HL) or identified Support and Resistance zones.
This tool gives you the edge to see "under the hood" of the market, allowing you to follow the footprints of institutional traders rather than just reacting to price movement.
Happy Trading!
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.