OPEN-SOURCE SCRIPT
已更新 MTF State of Delivery by @traderprimez

Overview
This indicator provides a comprehensive, multi-timeframe view of institutional orderflow, a core concept from Inner Circle Trader (ICT) methodologies.
It is designed to objectively identify the market's "State of Delivery"—whether price is currently in a bullish or bearish orderflow—on both your current chart (Lower Timeframe) and a relevant Higher Timeframe.
By visualizing these key directional shifts, the indicator helps traders align with the dominant market bias, identify high-probability setups, and avoid trading against the underlying institutional intent.
Core Concept: The Orderflow Switch
The entire logic is built upon a specific two-candle price action pattern called a "Switch," which signals a potential turning point in the market.
Bullish Switch: A bullish candle followed immediately by a bearish candle. This duo creates a short-term resistance level. Orderflow is confirmed Bullish when a later bullish candle closes above this level.
Bearish Switch: A bearish candle followed immediately by a bullish candle. This duo creates a short-term support level. Orderflow is confirmed Bearish when a later bearish candle closes below this level.
Features & How to Read the Chart
This indicator plots several visual elements to provide a complete picture of the market's state:
Status Table: Located at the top of the chart, this table provides an at-a-glance summary of the current State of Delivery for both the Higher Timeframe (HTF) and Lower Timeframe (LTF). The status cells dynamically change color to reflect the current bias (Blue for Bullish, Red for Bearish).
Confirmed Orderflow Lines:
Thick Solid Lines: These represent the confirmed orderflow on the Higher Timeframe. A thick blue line indicates the HTF is in a bullish state, while a thick red line indicates a bearish state.
Thin Solid Lines: These represent the confirmed orderflow on your current chart (LTF). A thin blue line confirms a local bullish shift, and a thin red line confirms a local bearish shift.
Pending Switch Levels (Dotted Lines):
These forward-extending dotted lines mark the most recent switch levels that have not yet been broken. They represent the "lines in the sand"—the exact price levels that need to be breached to confirm the next shift in orderflow on both the LTF and HTF.
Multi-Timeframe Analysis
The indicator's power comes from its ability to sync LTF price action with the HTF narrative. It automatically determines the relevant HTF based on your current chart, using the following logical pairings:
1m or 3m chart 15 Minute
5m chart 1 Hour
15m chart 4 Hour
1h chart 1 Day
4h chart 1 Week
1d chart 1 Month
Note: The HTF feature will be inactive on unmapped timeframes.
How to Use in Your Trading
This tool is designed to be a confluence factor in your trading system, not a standalone signal generator.
High-Probability Setups: The strongest signals occur when the LTF confirms an orderflow shift that is in the same direction as the established HTF bias. For example, look for long entries after a thin blue LTF line appears while the dominant HTF line is also blue.
Confirmation: Use the break of a pending (dotted) line as a final confirmation for an entry you have already identified through your own analysis (e.g., at a Fair Value Gap or Order Block).
Risk Management: An opposing orderflow shift can serve as an early warning to manage a trade or take profits. For instance, if you are long and a bearish (red) LTF orderflow is confirmed, it may signal that the short-term momentum is shifting against you.
Settings
The indicator is fully customizable, allowing you to:
Toggle the visibility of the Status Table, HTF/LTF confirmed lines, and HTF/LTF pending lines.
Customize the colors and line widths for all elements to match your chart theme.
Disclaimer: This tool is for educational and analytical purposes only. It is not financial advice. All trading involves substantial risk, and past performance is not indicative of future results. Please perform your own due diligence and risk management.
This indicator provides a comprehensive, multi-timeframe view of institutional orderflow, a core concept from Inner Circle Trader (ICT) methodologies.
It is designed to objectively identify the market's "State of Delivery"—whether price is currently in a bullish or bearish orderflow—on both your current chart (Lower Timeframe) and a relevant Higher Timeframe.
By visualizing these key directional shifts, the indicator helps traders align with the dominant market bias, identify high-probability setups, and avoid trading against the underlying institutional intent.
Core Concept: The Orderflow Switch
The entire logic is built upon a specific two-candle price action pattern called a "Switch," which signals a potential turning point in the market.
Bullish Switch: A bullish candle followed immediately by a bearish candle. This duo creates a short-term resistance level. Orderflow is confirmed Bullish when a later bullish candle closes above this level.
Bearish Switch: A bearish candle followed immediately by a bullish candle. This duo creates a short-term support level. Orderflow is confirmed Bearish when a later bearish candle closes below this level.
Features & How to Read the Chart
This indicator plots several visual elements to provide a complete picture of the market's state:
Status Table: Located at the top of the chart, this table provides an at-a-glance summary of the current State of Delivery for both the Higher Timeframe (HTF) and Lower Timeframe (LTF). The status cells dynamically change color to reflect the current bias (Blue for Bullish, Red for Bearish).
Confirmed Orderflow Lines:
Thick Solid Lines: These represent the confirmed orderflow on the Higher Timeframe. A thick blue line indicates the HTF is in a bullish state, while a thick red line indicates a bearish state.
Thin Solid Lines: These represent the confirmed orderflow on your current chart (LTF). A thin blue line confirms a local bullish shift, and a thin red line confirms a local bearish shift.
Pending Switch Levels (Dotted Lines):
These forward-extending dotted lines mark the most recent switch levels that have not yet been broken. They represent the "lines in the sand"—the exact price levels that need to be breached to confirm the next shift in orderflow on both the LTF and HTF.
Multi-Timeframe Analysis
The indicator's power comes from its ability to sync LTF price action with the HTF narrative. It automatically determines the relevant HTF based on your current chart, using the following logical pairings:
1m or 3m chart 15 Minute
5m chart 1 Hour
15m chart 4 Hour
1h chart 1 Day
4h chart 1 Week
1d chart 1 Month
Note: The HTF feature will be inactive on unmapped timeframes.
How to Use in Your Trading
This tool is designed to be a confluence factor in your trading system, not a standalone signal generator.
High-Probability Setups: The strongest signals occur when the LTF confirms an orderflow shift that is in the same direction as the established HTF bias. For example, look for long entries after a thin blue LTF line appears while the dominant HTF line is also blue.
Confirmation: Use the break of a pending (dotted) line as a final confirmation for an entry you have already identified through your own analysis (e.g., at a Fair Value Gap or Order Block).
Risk Management: An opposing orderflow shift can serve as an early warning to manage a trade or take profits. For instance, if you are long and a bearish (red) LTF orderflow is confirmed, it may signal that the short-term momentum is shifting against you.
Settings
The indicator is fully customizable, allowing you to:
Toggle the visibility of the Status Table, HTF/LTF confirmed lines, and HTF/LTF pending lines.
Customize the colors and line widths for all elements to match your chart theme.
Disclaimer: This tool is for educational and analytical purposes only. It is not financial advice. All trading involves substantial risk, and past performance is not indicative of future results. Please perform your own due diligence and risk management.
發行說明
- minor refinements開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
ICT x QT 🔬 we trade Algo with Algos 👁️
Check my tools for free: tr.ee/WkarSo
Check my tools for free: tr.ee/WkarSo
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
ICT x QT 🔬 we trade Algo with Algos 👁️
Check my tools for free: tr.ee/WkarSo
Check my tools for free: tr.ee/WkarSo
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。