OPEN-SOURCE SCRIPT
20/200 EMA Cross [NQ/MNQ]

Signals:
▲ BUY label — fires when the 20 EMA crosses above the 200 EMA (golden cross)
▼ SELL label — fires when the 20 EMA crosses below the 200 EMA (death cross)
Visual:
Green background while 20 EMA is above 200 EMA (bullish bias)
Red background while 20 EMA is below 200 EMA (bearish bias)
Both EMA lines plotted — gold for the 20, blue for the 200
Alerts:
Separate alerts for bull cross, bear cross, and any cross
All three are available when you set up alerts in TradingView
Settings you can adjust:
EMA lengths (default 20/200)
All colors
Background opacity
Toggle EMA lines on/off
▲ BUY label — fires when the 20 EMA crosses above the 200 EMA (golden cross)
▼ SELL label — fires when the 20 EMA crosses below the 200 EMA (death cross)
Visual:
Green background while 20 EMA is above 200 EMA (bullish bias)
Red background while 20 EMA is below 200 EMA (bearish bias)
Both EMA lines plotted — gold for the 20, blue for the 200
Alerts:
Separate alerts for bull cross, bear cross, and any cross
All three are available when you set up alerts in TradingView
Settings you can adjust:
EMA lengths (default 20/200)
All colors
Background opacity
Toggle EMA lines on/off
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน