OPEN-SOURCE SCRIPT
업데이트됨

EMA Crosses with Independent Fading Background

296
1. Overall Purpose

The script is an EMA crossover indicator with the following features:

Calculates four EMA pairs: 5/13, 21/50, 20/200, 50/200.

Plots optional EMA lines.

Shows fading background highlights for bullish/bearish crosses.

Places labels at the points of crossover.

Provides a price source input, so EMAs can be based on close, hl2, ohlc4, etc.

2. Strengths

Flexible inputs: Users can change EMA lengths, choose a price source, enable/disable plots, adjust background highlight duration and fade.

Independent fading: Each EMA pair has its own counter for background highlights, preventing overlaps from canceling each other.

Clear labeling: Crosses are labeled distinctly with different colors.

Overlay: Works directly on the chart with overlay=true.
릴리즈 노트
Update 2.0

* 50/200 EMA fix Correct slow EMA length ✅
* Custom EMA colors Choose each EMA’s color independently 8 color inputs
* Background fade Independent, customizable fade per crossover 4 fade styles
* Label toggle Option to disable crossover labels ✅
* Clean structure Fully modular, readable, future-proof ✅
* Added Alert grouping mode so you can choose between:
“One alert per pair” (current behavior), or
“Single combined alert” (fires on any crossover)?
릴리즈 노트
Update 3.0

* Added optional VWAP with selectable anchor period (Session, Daily, Weekly, Monthly)
* VWAP color changes dynamically: green if price ≥ VWAP, red if price < VWAP.
* VWAP line style options (Solid / Dashed / Dotted).

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.