OPEN-SOURCE SCRIPT
Second chart

This is a trend-following momentum confirmation indicator designed to filter trades in the direction of the dominant trend while timing entries using RSI momentum shifts.
Best suited for:
✅ Forex & Crypto
✅ 5m – 1H timeframes
✅ Trend continuation strategies
⚙ Inputs Explained
▸ Trend MA Length
Controls the EMA trend filter
Lower value (20–30) → faster, more signals
Higher value (50–100) → slower, stronger trend filter
▸ RSI Length
Controls responsiveness of momentum
Standard setting: 14
Lower → aggressive entries
Higher → conservative entries
▸ Show Buy/Sell Signals
ON → Displays BUY/SELL labels
OFF → Hides all trade signals
▸ Trend Background
ON → Green = Bullish / Red = Bearish
OFF → Clean chart mode
🧠 Signal Logic Breakdown
Best suited for:
✅ Forex & Crypto
✅ 5m – 1H timeframes
✅ Trend continuation strategies
⚙ Inputs Explained
▸ Trend MA Length
Controls the EMA trend filter
Lower value (20–30) → faster, more signals
Higher value (50–100) → slower, stronger trend filter
▸ RSI Length
Controls responsiveness of momentum
Standard setting: 14
Lower → aggressive entries
Higher → conservative entries
▸ Show Buy/Sell Signals
ON → Displays BUY/SELL labels
OFF → Hides all trade signals
▸ Trend Background
ON → Green = Bullish / Red = Bearish
OFF → Clean chart mode
🧠 Signal Logic Breakdown
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน