OPEN-SOURCE SCRIPT
Full Candle 9 EMA Highlight

This indicator highlights momentum candles based on their complete position relative to the 9 EMA.
A candle is highlighted yellow only when it closes entirely above or entirely below the 9 EMA:
Fully above: the candle’s low is above the EMA
Fully below: the candle’s high is below the EMA
Candles that touch or cross the EMA are ignored, helping filter out chop and indecision.
Purpose
The goal is to reduce decision-making and visually isolate clean momentum conditions using a single indicator.
How to use
Yellow candle above the EMA → bullish momentum
Yellow candle below the EMA → bearish momentum
No highlight → stay out
Designed for:
5-minute charts
SPY / liquid index ETFs
Simple, rule-based trading
Minimal indicators and minimal discretion
This indicator is meant to be used as a visual guide, not a prediction tool. It works best during strong intraday trends and should be avoided during sideways market conditions.
A candle is highlighted yellow only when it closes entirely above or entirely below the 9 EMA:
Fully above: the candle’s low is above the EMA
Fully below: the candle’s high is below the EMA
Candles that touch or cross the EMA are ignored, helping filter out chop and indecision.
Purpose
The goal is to reduce decision-making and visually isolate clean momentum conditions using a single indicator.
How to use
Yellow candle above the EMA → bullish momentum
Yellow candle below the EMA → bearish momentum
No highlight → stay out
Designed for:
5-minute charts
SPY / liquid index ETFs
Simple, rule-based trading
Minimal indicators and minimal discretion
This indicator is meant to be used as a visual guide, not a prediction tool. It works best during strong intraday trends and should be avoided during sideways market conditions.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน