OPEN-SOURCE SCRIPT
MTF Pivot Lines (1H / Daily / Weekly)

This indicator displays pivot-based support and resistance lines from three higher timeframes — 1-Hour, Daily, and Weekly — directly on your chart, regardless of the timeframe you are currently viewing.
─── FEATURES ───
【 Multi-Timeframe Pivot Lines 】
Draws the most recent pivot high (resistance) and pivot low (support) from the 1H, Daily, and Weekly timeframes as persistent horizontal lines that extend across the entire chart.
【 Wick-Body Zone Fill 】
Optionally fills the range between the wick tip and the candle body at each pivot point, creating a visual zone that highlights the area where price is most likely to react.
【 Full Timeframe Control 】
Each timeframe (1H / Daily / Weekly) can be toggled on or off independently. Unlike typical MTF indicators, this script allows you to display the current timeframe's pivot lines as well — useful when you want all three levels visible simultaneously.
─── HOW TO USE ───
1. Enable the timeframes you want to monitor (1H, Daily, Weekly).
2. When price approaches a pivot line, watch for candlestick reactions as potential support or resistance.
3. Confluence of lines from multiple timeframes (e.g., 1H pivot aligns with Daily pivot) indicates a stronger level.
4. Adjust "Pivot Left Bars" to control how many bars must pass before a pivot is confirmed.
─── NOTES ───
• This indicator is for analytical purposes only and does not constitute financial advice.
• Past performance of any setup is not indicative of future results.
• Designed to complement the "Dow Theory and Price Action" indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
【日本語説明】
現在表示している時間足に関わらず、1時間足・日足・週足の3つの上位時間足からピボット高値・安値ラインをチャート上に直接表示するインジケーターです。
─── 機能 ───
【 マルチタイムフレーム・ピボットライン 】
1時間足・日足・週足それぞれの直近ピボット高値(レジスタンス)とピボット安値(サポート)を、チャート全体に延長する水平ラインとして描画します。
【 ヒゲ-ボディゾーン表示 】
各ピボットのヒゲ先端とボディ端の間をゾーンとして塗りつぶすオプションです。価格が反応しやすいエリアを視覚的に把握できます。
【 時間足の個別制御 】
1H・日足・週足のそれぞれをON/OFFで個別に切り替えられます。一般的なMTFインジケーターと異なり、現在表示中の時間足のラインも表示可能なため、3つのレベルを同時に確認したい場面でも柔軟に対応できます。
─── 使い方 ───
1. 監視したい時間足(1H・日足・週足)をONにする。
2. 価格がピボットラインに近づいたとき、ローソク足の反応をサポート・レジスタンスの根拠として確認する。
3. 複数時間足のラインが重なる箇所(例:1Hピボットと日足ピボットが一致)は、特に強いレベルとして注目する。
4. 「Pivot Left Bars」を調整してピボット確定までのバー数を変更できる。
─── 注意事項 ───
• 本インジケーターは分析補助ツールであり、投資助言ではありません。
• 過去のパフォーマンスは将来の結果を保証するものではありません。
• 「Dow Theory and Price Action」インジケーターと組み合わせての使用を推奨します。
─── FEATURES ───
【 Multi-Timeframe Pivot Lines 】
Draws the most recent pivot high (resistance) and pivot low (support) from the 1H, Daily, and Weekly timeframes as persistent horizontal lines that extend across the entire chart.
【 Wick-Body Zone Fill 】
Optionally fills the range between the wick tip and the candle body at each pivot point, creating a visual zone that highlights the area where price is most likely to react.
【 Full Timeframe Control 】
Each timeframe (1H / Daily / Weekly) can be toggled on or off independently. Unlike typical MTF indicators, this script allows you to display the current timeframe's pivot lines as well — useful when you want all three levels visible simultaneously.
─── HOW TO USE ───
1. Enable the timeframes you want to monitor (1H, Daily, Weekly).
2. When price approaches a pivot line, watch for candlestick reactions as potential support or resistance.
3. Confluence of lines from multiple timeframes (e.g., 1H pivot aligns with Daily pivot) indicates a stronger level.
4. Adjust "Pivot Left Bars" to control how many bars must pass before a pivot is confirmed.
─── NOTES ───
• This indicator is for analytical purposes only and does not constitute financial advice.
• Past performance of any setup is not indicative of future results.
• Designed to complement the "Dow Theory and Price Action" indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
【日本語説明】
現在表示している時間足に関わらず、1時間足・日足・週足の3つの上位時間足からピボット高値・安値ラインをチャート上に直接表示するインジケーターです。
─── 機能 ───
【 マルチタイムフレーム・ピボットライン 】
1時間足・日足・週足それぞれの直近ピボット高値(レジスタンス)とピボット安値(サポート)を、チャート全体に延長する水平ラインとして描画します。
【 ヒゲ-ボディゾーン表示 】
各ピボットのヒゲ先端とボディ端の間をゾーンとして塗りつぶすオプションです。価格が反応しやすいエリアを視覚的に把握できます。
【 時間足の個別制御 】
1H・日足・週足のそれぞれをON/OFFで個別に切り替えられます。一般的なMTFインジケーターと異なり、現在表示中の時間足のラインも表示可能なため、3つのレベルを同時に確認したい場面でも柔軟に対応できます。
─── 使い方 ───
1. 監視したい時間足(1H・日足・週足)をONにする。
2. 価格がピボットラインに近づいたとき、ローソク足の反応をサポート・レジスタンスの根拠として確認する。
3. 複数時間足のラインが重なる箇所(例:1Hピボットと日足ピボットが一致)は、特に強いレベルとして注目する。
4. 「Pivot Left Bars」を調整してピボット確定までのバー数を変更できる。
─── 注意事項 ───
• 本インジケーターは分析補助ツールであり、投資助言ではありません。
• 過去のパフォーマンスは将来の結果を保証するものではありません。
• 「Dow Theory and Price Action」インジケーターと組み合わせての使用を推奨します。
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.