OPEN-SOURCE SCRIPT
2 EMA Cloud

2 EMA Cloud is a clean, lightweight overlay indicator that plots two configurable EMAs (default 14 and 150) and fills the space between them to form an easy-to-read trend “cloud.” It also marks bullish and bearish EMA crossovers with configurable triangle signals and includes built-in alert conditions for both crossover directions.
Features
Two adjustable EMAs (default 8 & 13)
Cloud fill between EMAs for quick trend/phase visibility
Crossover signals
Bullish: EMA1 crosses above EMA2
Bearish: EMA1 crosses below EMA2
Signal sizing control (Tiny → Huge)
Visual modes / themes for cloud + signals:
Classic, Monochrome, Heatmap, Pastel, Dark, Neon (1/2), BlueScale, RedScale, GreenScale, PriceBased
Alerts included
“Bullish EMA Crossover”
“Bearish EMA Crossover”
How to use
Use the cloud + EMA alignment to gauge directional bias and momentum.
Use crossover markers as potential trend-change or continuation triggers depending on your strategy.
Switch to PriceBased color mode for simple visual confirmation (green when price is above EMA2, red when below).
Notes / Limitations
This is an EMA-based tool and will lag by design, especially in choppy markets.
Signals are not trade recommendations; consider using higher-timeframe context and risk management.
Inputs: EMA periods, show/hide EMA lines, cloud transparency, color mode, crossover signal size.
Features
Two adjustable EMAs (default 8 & 13)
Cloud fill between EMAs for quick trend/phase visibility
Crossover signals
Bullish: EMA1 crosses above EMA2
Bearish: EMA1 crosses below EMA2
Signal sizing control (Tiny → Huge)
Visual modes / themes for cloud + signals:
Classic, Monochrome, Heatmap, Pastel, Dark, Neon (1/2), BlueScale, RedScale, GreenScale, PriceBased
Alerts included
“Bullish EMA Crossover”
“Bearish EMA Crossover”
How to use
Use the cloud + EMA alignment to gauge directional bias and momentum.
Use crossover markers as potential trend-change or continuation triggers depending on your strategy.
Switch to PriceBased color mode for simple visual confirmation (green when price is above EMA2, red when below).
Notes / Limitations
This is an EMA-based tool and will lag by design, especially in choppy markets.
Signals are not trade recommendations; consider using higher-timeframe context and risk management.
Inputs: EMA periods, show/hide EMA lines, cloud transparency, color mode, crossover signal size.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน