OPEN-SOURCE SCRIPT
MEGA_Long/Short

📊 MTF Entry Signal (with L/S Labels)
A clean and compact multi-timeframe entry point indicator for TradingView. Shows clear entry signals for LONG and SHORT trades directly on the chart, with markers and letters for quick decision-making.
🎯 Key Features:
Dual timeframe analysis: Choose main and fast timeframes (default: 30m and 4h).
Entry signals:
🟢 Green triangle + "L" — LONG entry (Buy signal)
🔴 Red triangle + "S" — SHORT entry (Sell signal)
Signal only at true trend reversals – No excessive markers or noise.
Markers move dynamically with price – Always match the candlestick and chart movement.
⚙️ Signal Criteria:
LONG: EMA9 > EMA21 and MACD > 0, confirmed on both selected timeframes.
SHORT: EMA9 < EMA21 and MACD < 0, confirmed on both selected timeframes.
Entry marker appears only when signal direction changes.
🔧 Settings:
Manually select fast/main timeframes in the indicator menu (recommended: 30m + 4h).
Marker size set to minimal (size=tiny) for maximum clarity.
📈 Usage:
Designed for clean, non-overloaded charts.
Works perfectly for trend trading, reversals, and entry confirmation.
Suitable for scalping, swing trading, and crypto/futures analysis.
A clean and compact multi-timeframe entry point indicator for TradingView. Shows clear entry signals for LONG and SHORT trades directly on the chart, with markers and letters for quick decision-making.
🎯 Key Features:
Dual timeframe analysis: Choose main and fast timeframes (default: 30m and 4h).
Entry signals:
🟢 Green triangle + "L" — LONG entry (Buy signal)
🔴 Red triangle + "S" — SHORT entry (Sell signal)
Signal only at true trend reversals – No excessive markers or noise.
Markers move dynamically with price – Always match the candlestick and chart movement.
⚙️ Signal Criteria:
LONG: EMA9 > EMA21 and MACD > 0, confirmed on both selected timeframes.
SHORT: EMA9 < EMA21 and MACD < 0, confirmed on both selected timeframes.
Entry marker appears only when signal direction changes.
🔧 Settings:
Manually select fast/main timeframes in the indicator menu (recommended: 30m + 4h).
Marker size set to minimal (size=tiny) for maximum clarity.
📈 Usage:
Designed for clean, non-overloaded charts.
Works perfectly for trend trading, reversals, and entry confirmation.
Suitable for scalping, swing trading, and crypto/futures analysis.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน