OPEN-SOURCE SCRIPT
Auto Trend Support & Resistance Levels

Trend Following Support & Resistance [MTF]
Trend Following Support & Resistance [MTF] is an advanced multi-timeframe support and resistance indicator designed for traders who want clean, dynamic, and easy-to-follow market structure levels directly on the chart.
Unlike traditional static support and resistance tools, this indicator automatically updates levels based on recent price action and highlights important breakout areas in real time.
The indicator is optimized for:
• Trend following traders
• Breakout traders
• Scalpers
• Swing traders
• Multi-timeframe analysis
⸻
Features
✅ Automatic Support & Resistance Detection
Automatically tracks important support and resistance levels using recent market structure.
✅ Multi-Timeframe Support (MTF)
Display higher timeframe support and resistance levels directly on lower timeframe charts.
Example:
• View 1H S/R on a 5M chart
• View 4H S/R on a 15M chart
• Use current timeframe or custom timeframe
✅ Dynamic Breakout Highlighting
When price breaks a support or resistance level, the line automatically changes appearance to clearly show breakout zones.
✅ Fully Customizable
• Support & resistance colors
• Breakout colors
• Individual line widths
• Transparency
• Solid or dotted line styles
✅ Clean Trend Following Visualization
Designed to provide a simple and uncluttered trading experience.
⸻
How To Use
Trend Trading
Use support and resistance levels to trade in the direction of the trend.
• Buy near support during uptrends
• Sell near resistance during downtrends
Breakout Trading
Highlighted breakout levels can help identify:
• Potential trend continuation
• Strong momentum entries
• Key market structure breaks
Multi-Timeframe Analysis
Use higher timeframe levels on lower timeframe charts for stronger confluence.
Example:
• 1H levels on 5M chart
• Daily levels on 1H chart
⸻
Recommended Settings
Scalping:
• Lookback: 10–20
• Higher timeframe: 15M or 1H
Intraday:
• Lookback: 20–50
• Higher timeframe: 1H or 4H
Swing Trading:
• Lookback: 50–100
• Higher timeframe: 4H or Daily
⸻
Important Notes
This indicator is designed to assist with market structure analysis and should be used together with:
• Price action
• Volume
• Risk management
• Trend confirmation tools
No indicator guarantees winning trades.
⸻
If you enjoy this indicator, consider adding it to your favorites and follow for future updates.
Trend Following Support & Resistance [MTF] is an advanced multi-timeframe support and resistance indicator designed for traders who want clean, dynamic, and easy-to-follow market structure levels directly on the chart.
Unlike traditional static support and resistance tools, this indicator automatically updates levels based on recent price action and highlights important breakout areas in real time.
The indicator is optimized for:
• Trend following traders
• Breakout traders
• Scalpers
• Swing traders
• Multi-timeframe analysis
⸻
Features
✅ Automatic Support & Resistance Detection
Automatically tracks important support and resistance levels using recent market structure.
✅ Multi-Timeframe Support (MTF)
Display higher timeframe support and resistance levels directly on lower timeframe charts.
Example:
• View 1H S/R on a 5M chart
• View 4H S/R on a 15M chart
• Use current timeframe or custom timeframe
✅ Dynamic Breakout Highlighting
When price breaks a support or resistance level, the line automatically changes appearance to clearly show breakout zones.
✅ Fully Customizable
• Support & resistance colors
• Breakout colors
• Individual line widths
• Transparency
• Solid or dotted line styles
✅ Clean Trend Following Visualization
Designed to provide a simple and uncluttered trading experience.
⸻
How To Use
Trend Trading
Use support and resistance levels to trade in the direction of the trend.
• Buy near support during uptrends
• Sell near resistance during downtrends
Breakout Trading
Highlighted breakout levels can help identify:
• Potential trend continuation
• Strong momentum entries
• Key market structure breaks
Multi-Timeframe Analysis
Use higher timeframe levels on lower timeframe charts for stronger confluence.
Example:
• 1H levels on 5M chart
• Daily levels on 1H chart
⸻
Recommended Settings
Scalping:
• Lookback: 10–20
• Higher timeframe: 15M or 1H
Intraday:
• Lookback: 20–50
• Higher timeframe: 1H or 4H
Swing Trading:
• Lookback: 50–100
• Higher timeframe: 4H or Daily
⸻
Important Notes
This indicator is designed to assist with market structure analysis and should be used together with:
• Price action
• Volume
• Risk management
• Trend confirmation tools
No indicator guarantees winning trades.
⸻
If you enjoy this indicator, consider adding it to your favorites and follow for future updates.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน