What it shows
- 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.
This content is for general education and information only. It is not investment, financial, legal or tax advice, and it is not an offer or invitation to trade. Forex and CFDs are high risk and you may lose all funds committed. Verify applicable law, licences, product terms and suitability independently before making any decision. Information can change and Chartara does not guarantee accuracy, completeness or outcomes. Decisions and resulting gains or losses remain the user’s responsibility to the extent permitted by applicable law.