//version=5
indicator("Moving Average 5", overlay=true)

// Hitung rata-rata pergerakan harga selama 5 periode
ma = sma(close, 5)

// Plot moving average dengan warna biru
plot(ma, color=color.blue, linewidth=2)
Trend Analysis

Clause de non-responsabilité