Yang ditampilkan
- Visualises one measurable chart condition.
- Inputs can be changed for your own test.
- The full Pine Script code is visible.
Compares EMA bias across three timeframes without issuing entries.
//@version=6
indicator("Chartara — Multi-Timeframe Bias", overlay=true)
length=input.int(50,"EMA length",minval=1)
tf1=input.timeframe("15","Timeframe 1")
tf2=input.timeframe("60","Timeframe 2")
tf3=input.timeframe("240","Timeframe 3")
e1=request.security(syminfo.tickerid,tf1,ta.ema(close,length))
e2=request.security(syminfo.tickerid,tf2,ta.ema(close,length))
e3=request.security(syminfo.tickerid,tf3,ta.ema(close,length))
bull=close>e1 and close>e2 and close>e3
bear=close<e1 and close<e2 and close<e3
plot(e1,"EMA TF1",color=color.new(color.aqua,0))
plot(e2,"EMA TF2",color=color.new(color.blue,15))
plot(e3,"EMA TF3",color=color.new(color.purple,20),linewidth=2)
bgcolor(bull?color.new(color.green,90):bear?color.new(color.red,90):na)
Compare the environment this tool depends on before opening an account.
Konten ini hanya untuk edukasi dan informasi umum, bukan nasihat investasi, keuangan, hukum, atau pajak dan bukan penawaran untuk bertransaksi. Forex dan CFD berisiko tinggi dan seluruh dana dapat hilang. Periksa hukum, izin, ketentuan produk, dan kesesuaian secara mandiri sebelum mengambil keputusan. Chartara tidak menjamin keakuratan, kelengkapan, atau hasil.