BURSATRENDBANDCHART

Indikator pertama menggunakan Editor Pine - salin dan tampal

Éducation
MYX:MYEG   MY E.G. SERVICES BHD
Dalam video ini , saya tunjukkan cara untuk membuat skrip / indikator sendiri dengan bantuan Editor Pine.

Masih banyak lagi yang boleh dibuat. Tapi, sebagai pengenalan awal, dapat salin dan tampal pun jadi lah.

Peringatan : Hanya untuk pembelajaran saja. Sila dapatkan nasihat dari remiser atau pakar kewangan sebelum membuat keputusan jual beli di bursa.

Salin skrip di bawah :

//@version=3
study(title="Volume", shorttitle="Vol", precision=0)
showMA = input(true)
Value = input(30)
barColorsOnPrevClose = input(title="Color bars based on previous close", type=bool, defval=false)

palette = barColorsOnPrevClose ? close > close ? red : green : open > close ? red : green

arrow = volume< volume and volume < volume and close <= open and close > ema(close,21)

plot(volume, color = palette, style=columns, title="Volume", transp=65)
plot(showMA ? sma(volume,Value) : na, style=line, color=blue, title="Volume MA", transp=65)
plotshape (arrow, style=shape.cross, location=location.abovebar, size=size.tiny, color=black)

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.