OPEN-SOURCE SCRIPT

delta imbalance candle

857
This Pine Script is a high-frequency order flow tool designed to identify institutional "imbalance" by looking inside a single candle to see who was more aggressive: buyers or sellers.
Here is a concise summary of its functions:
* Intraday Data Splitting: It uses TradingView Premium's request.security_lower_tf to fetch 1-minute data for a specific ticker (like Bank Nifty Futures) regardless of what timeframe you are currently viewing.
* Delta Calculation: It analyzes every 1-minute bar within your current candle. If the 1-minute close is higher than its open, it counts as Buy Volume; otherwise, it counts as Sell Volume.
* Imbalance Identification: It compares total Buy Volume vs. Sell Volume. An "Imbalance" is triggered only if one side is at least 3 times (or your chosen imb_ratio) stronger than the other.
* Selective Chart Coloring: Unlike standard indicators, it only changes the color of the candle on your chart if a significant institutional imbalance is detected. If no imbalance exists, the candles remain their original color.
* Ticker Synchronization: It allows you to track the order flow of a "Source Ticker" (e.g., Futures) while trading on a different chart (e.g., Spot).

免責事項

これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。