OPEN-SOURCE SCRIPT
Futures Confluence Delta (FCD) - Histogram

The Futures Confluence Delta (FCD) Histogram is a powerful trend-following indicator tailored for scalping futures on 1-minute charts. Displayed in a bottom panel like RSI or volume, it visualizes cumulative volume delta to identify bullish or bearish market momentum. The histogram turns green for positive delta (buying pressure, suggesting a long trend) and red for negative delta (selling pressure, indicating a short trend), providing quick insight into market direction.
This indicator is ideal for futures traders seeking confluence with other tools, such as VWMA or order block strategies. It uses a simple yet effective delta calculation (buy volume for up candles, sell volume for down candles, smoothed with EMA) to highlight trend strength, making it perfect for fast-paced scalping environments.
Key Features:
Cumulative Delta Histogram: Tracks buying vs. selling pressure, smoothed with an EMA for clarity.
Color-Coded Trend Signals: Green for bullish (long) trends, red for bearish (short) trends.
Customizable Settings: Adjust the delta lookback period and enable/disable daily reset for flexibility.
Optimized for 1-minute charts on futures.
Alert Support: Set alerts for trend changes to stay ahead of market shifts.
How to Use:
Add the indicator to your 1-minute chart. Observe the histogram in the bottom panel:
Green bars (positive delta) suggest a bullish trend, favoring long entries.
Red bars (negative delta) indicate a bearish trend, favoring short entries.
Combine with other indicators (e.g., VWMA, order blocks, or FVGs) for confluence.
Set alerts for trend changes via the FCD Long Trend or FCD Short Trend conditions.
Adjust settings (delta lookback, daily reset) to match your trading style.
Settings:
Delta Lookback Period (default: 14): Controls the EMA smoothing of the delta. Lower values increase sensitivity; higher values smooth trends.
Reset Delta Daily (default: true): Resets cumulative delta at the start of each trading day for futures session alignment.
Long Color (default: green): Color for bullish delta.
Short Color (default: red): Color for bearish delta.
Notes:
Ensure sufficient historical data (500+ bars) for accurate delta calculations.
Test on NQ for higher volatility, as it may show stronger delta signals compared to GC or ES.
Check the Pine Logs pane (“More” > “Pine Logs”) for any NA data issues if the histogram doesn’t display.
Share your feedback or suggestions in the comments!
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.