OPEN-SOURCE SCRIPT

iKrit : EMACross

78
🔸 Functionality Details

EMA Calculation
Calculates EMA lines with the specified values (3, 5, 20, 60, 200).
All lines are shifted forward by 1 bar (offset=1) and are displayed as thin lines (linewidth=1).

EMA Cross Signals (EMA3 vs EMA5)

When EMA3 crosses above EMA5 → Shows a white ▲ arrow below the bar + LONG signal.

When EMA3 crosses below EMA5 → Shows a white ▼ arrow above the bar + SHORT signal.

Alerts can be set for both cases.

EMA60/200 Cross Signals

When EMA60 crosses above EMA200 → Triggers a Golden Cross alert.

When EMA60 crosses below EMA200 → Triggers a Death Cross alert.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.