DENEME

Aggiornato
DENEME
Nota
// This source code is subject to the terms of the Mozilla Public License 2.0
// © yusufilker
//version=4
study("AYLIK YILLIK ORTALAMA", overlay=true)

// Getting inputs
hizli = input(title="Hızlı", type=input.integer, defval=30)
yavas = input(title="Yavaş", type=input.integer, defval=365)
src = input(title="Source", type=input.source, defval=close)
ort_tipi = input(title="Basit ortalama", type=input.bool, defval=false)



yavas_ort = ort_tipi ? sma(src, hizli) : ema(src, hizli)
hizli_ort = ort_tipi ? sma(src, yavas) : ema(src, yavas)

plot(yavas_ort, title="yavas_ort", linewidth =2, color=color.orange, transp=0, trackprice = true)
plot(hizli_ort, title="hizli_ort", linewidth =2, color=color.purple, transp=0, trackprice = true)
Trend Analysis

Declinazione di responsabilità