Bonjour,
Gros noob en informatique, je passe de tradingview à PRT mais je n’arrive pas forcement à retrouver l’équivalence en indicateur, i need help…
Voilà le script :
//@version=4
study(title=”Punch Clouds”, shorttitle=”Punch Cloud”, overlay=true)
ema5 = ema(close, 5)
ema13 = ema(close, 13)
ema5plot = plot(ema5, color=#2ecc71, transp=100, style=plot.style_line, linewidth=1, title=”EMA(5)”)
ema13plot = plot(ema13, color=#f00b0b, transp=100, style=plot.style_line, linewidth=1, title=”EMA(13)”)
fill(ema5plot, ema13plot, color=ema5 > ema13 ? color.lime : color.teal, transp=60, editable=true)
ema34 = ema(close, 34)
ema50 = ema(close, 50)
ema34plot = plot(ema34, color=#2ecc71, transp=100, style=plot.style_line, linewidth=1, title=”EMA(34)”)
ema50plot = plot(ema50, color=#f00b0b, transp=100, style=plot.style_line, linewidth=1, title=”EMA(50)”)
fill(ema34plot, ema50plot, color=ema34 > ema50 ? color.aqua : color.blue, transp=60, editable=true)
ema72 = ema(close, 72)
ema89 = ema(close, 89)
ema72plot = plot(ema72, color=#2ecc71, transp=100, style=plot.style_line, linewidth=1, title=”EMA(72)”)
ema89plot = plot(ema89, color=#f00b0b, transp=100, style=plot.style_line, linewidth=1, title=”EMA(89)”)
fill(ema72plot, ema89plot, color=ema72 > ema89 ? color.aqua : color.blue, transp=60, editable=true)