OPEN-SOURCE SCRIPT

Uptrend Rainbow Song EMA ver.1 ๐ŸŽต

Description for EMA Label & Cross Indicator (Pelangi Theme)
This indicator plots 4 EMA lines (200, 100, 50, and 20 periods) on the chart with dynamic labels that follow each EMA line. The labels update in real-time to reflect their relative position on the chart and provide useful insights based on market conditions.

๐Ÿšฉ Key Features:
Dynamic EMA Labels
The labels display the names of each EMA (e.g., "EMA 200") and will change text dynamically if the EMAs are in a specific bullish order:

EMA 20 (Blue): Displays "Di langit yang biru ๐ŸŽต" (translated: "In the blue sky ๐ŸŽต") if it's at the top.
EMA 50 (Green): Displays "Hijau" ("Green").
EMA 100 (Yellow): Displays "Kuning" ("Yellow").
EMA 200 (Red): Displays "Merah" ("Red").
Crossover Detection
The indicator detects and marks crossover and crossunder points between the EMA lines with colored circles:

Red Circle: EMA 200 crossing with EMA 100.
Yellow Circle: EMA 200 crossing with EMA 50.
Green Circle: EMA 200 crossing with EMA 20.
Blue Circle: EMA 100 crossing with EMA 50.
Purple & Orange Circles: Custom colors for other crossovers.
๐ŸŽฏ Usage:
This indicator helps traders identify EMA crossovers and track the relative position of EMAs in real-time. The dynamic labels make it easy to visualize when the market is in a bullish or bearish trend.

The label text changes based on the order of the EMAs:

If EMA 20 > EMA 50 > EMA 100 > EMA 200, it indicates a strong bullish trend, and the labels will change to a colorful theme.
๐ŸŽจ Theme:
The indicator follows a "Pelangi" (Rainbow) theme, inspired by the song:

"Merah, Kuning, Hijau, di langit yang biru"
("Red, Yellow, Green, in the blue sky").
Exponential Moving Average (EMA)Support and ResistanceTrend Analysis

์˜คํ”ˆ ์†Œ์Šค ์Šคํฌ๋ฆฝํŠธ

์ง„์ •ํ•œ TradingView ์ •์‹ ์— ๋”ฐ๋ผ, ์ด ์Šคํฌ๋ฆฝํŠธ์˜ ์ €์ž๋Š” ํŠธ๋ ˆ์ด๋”๋“ค์ด ์ดํ•ดํ•˜๊ณ  ๊ฒ€์ฆํ•  ์ˆ˜ ์žˆ๋„๋ก ์˜คํ”ˆ ์†Œ์Šค๋กœ ๊ณต๊ฐœํ–ˆ์Šต๋‹ˆ๋‹ค. ์ €์ž์—๊ฒŒ ๋ฐ•์ˆ˜๋ฅผ ๋ณด๋ƒ…๋‹ˆ๋‹ค! ์ด ์ฝ”๋“œ๋Š” ๋ฌด๋ฃŒ๋กœ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์ง€๋งŒ, ์ถœํŒ๋ฌผ์—์„œ ์ด ์ฝ”๋“œ๋ฅผ ์žฌ์‚ฌ์šฉํ•˜๋Š” ๊ฒƒ์€ ํ•˜์šฐ์Šค ๋ฃฐ์— ์˜ํ•ด ๊ด€๋ฆฌ๋ฉ๋‹ˆ๋‹ค. ๋‹˜์€ ์ฆ๊ฒจ์ฐพ๊ธฐ๋กœ ์ด ์Šคํฌ๋ฆฝํŠธ๋ฅผ ์ฐจํŠธ์—์„œ ์“ธ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์ฐจํŠธ์— ์ด ์Šคํฌ๋ฆฝํŠธ๋ฅผ ์‚ฌ์šฉํ•˜์‹œ๊ฒ ์Šต๋‹ˆ๊นŒ?

๋ฉด์ฑ…์‚ฌํ•ญ