PROTECTED SOURCE SCRIPT
已更新

ORDER FLOW Professional & Delta Line

3 030
The ORDER FLOW Professional & Delta Line indicator provides a powerful visualization of buy and sell volume imbalances within each candle — offering traders a deeper view into market order flow dynamics.

Inspired by footprint charts, this tool estimates Up Volume, Down Volume, and their difference (Delta) to highlight whether buyers or sellers are in control. It’s designed for traders who want a clear and professional way to track volume-based momentum directly on their charts.

🔹 Key Features:

Accurate estimation of buy (Up) and sell (Down) volume per bar

Delta Line displaying the net order flow difference

Customizable delta color for personalized visualization

Optional numeric labels showing Up, Down, and Δ values

Footprint-style column display in a clean lower panel

Background color shading to reflect positive/negative delta

💡 Ideal For:
Professional traders and volume analysts seeking to confirm price action through order flow insights, detect absorption or exhaustion, and enhance decision-making with visual delta tracking.
發行說明
Core Functionality

upVol / downVol → Calculates estimated buy and sell volume per bar based on candle body.

delta → Buy volume minus sell volume; positive = bullish, negative = bearish.

deltaPerc → Normalized delta as a percentage of the highest volume in the last 100 bars.

Plot columns → Up (green) and Down (red) volume shown as columns in a subpanel.

Delta line → Plots deltaPerc with customizable color (deltaColor).

Background coloring → Positive delta = green, negative delta = red (translucent overlay).

Numeric labels → Optional display of Up, Down, and Delta values per bar (showNumbers=true).

🔹 New Feature: 30-Bar Average Delta (Bull/Bear %)

avgDeltaPerc → 30-bar simple moving average of deltaPerc.

Bull/Bear display → Shows "Bull %X" if avgDeltaPerc > 0, "Bear %X" if < 0.

Fixed top-right table → Always visible, independent of price movement; color-coded (green for bullish, red for bearish).

🔹 Parameters / Inputs

deltaColor → Line color for delta curve (user-selectable).

showNumbers → Toggle numeric labels on/off.

avgLength → Length for averaging deltaPerc (default 30 bars).

🔹 Interpretation

Bull %X → Buy pressure over the last 30 bars normalized to the highest volume in last 100 bars.

Bear %X → Sell pressure over the last 30 bars normalized similarly.

免責聲明

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.