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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。