infoselebb.my.id: Pin Skript Trading View - LESTI BILLAR

Pin Skript Trading View

Posting Komentar

 


//@version=5

indicator("Simple Buy Signal", overlay=true)


// Parameter

fastLength = input.int(9, "EMA Cepat")

slowLength = input.int(21, "EMA Lambat")


// Hitung EMA

emaFast = ta.ema(close, fastLength)

emaSlow = ta.ema(close, slowLength)


// Kondisi Buy

buySignal = ta.crossover(emaFast, emaSlow)


// Plot EMA

plot(emaFast, color=color.yellow, title="EMA Cepat")

plot(emaSlow, color=color.blue, title="EMA Lambat")


// Tampilkan panah Buy

plotshape(buySignal, title="Buy Signal", style=shape.labelup, 

          location=location.belowbar, color=color.green, text="BUY")

Terbaru Lebih lama

Related Posts

There is no other posts in this category.

Posting Komentar

Subscribe Our Newsletter