squattter

EMA bullish/bearish dashboard - MTF

This is a good reminder for which way you should be placing orders.
It's best to not ignore these signals!!!


lime = full bull - 100ema above 200ema and price is above 200ema
green = hallf bull - price now below 200ema but 100ema is still above the 200
maroon = full bear - opposite of full bull
red = half bear - opposite of half bull


Also with multi timeframe option - so I guess you could stack several of these on a single framed chart if you wanted.
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?
study(title="EMA bullish/bearish dashboard - MTF")
//ema 1
len1 = input(100, minval=1)
src = input(close, title="Source")
ema1 = ema(src, len1)

len2 = input(200, minval=1)
ema2 = ema(src, len2)

useCurrentRes = input(true, title="Use current timeframe?")

resCustom = input(title="Timeframe", type=resolution, defval="5")
res = useCurrentRes ? period : resCustom
ema11 = security(tickerid, res, ema1)
ema22 = security(tickerid, res, ema2)



plot((ema11 > ema22 and close > ema22), title="Buy 2/2", style=columns, color=lime)
plot((ema11 > ema22 and close < ema22), title="Buy 1/2", style=columns, color=green)
plot((ema11 < ema22 and close < ema22), title="Sell 2/2", style=columns, color=maroon)
plot((ema11 < ema22 and close > ema22), title="Sell 1/2", style=columns, color=red)