FantasticFox

MACD MultiTimeFrame 1h4h1D [Fantastic Fox]

Please insert the indicator into 1h time-frame, otherwise you need to change the lengths' inputs.
When there are tops for two of the MACDs and they are near and close* to each other, there is a big opportunity of a "Major Top" for the security, and vice versa for "Major Bottom".

This indicator can be used for tracing multi time-frame divergence. Also, it could help traders to identify the waves of Elliott Wave, and as a signal for confirmation of an impulse after a correction or retracement.

* They should be on top of each others head, not crossing each other. not necessarily touching, but not so far from each other.
开源脚本

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

免责声明

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

想在图表上使用此脚本?
study(title="MACD MultiTimeFrame 1h4h1D [Fantastic Fox]", shorttitle="MACD_MTF")
source = close
//MACD 1H
fastLength = input(12, minval=1), slowLength=input(26,minval=1)
signalLength=input(9,minval=1)
fastMA = ema(source, fastLength)
slowMA = ema(source, slowLength)
macd = fastMA - slowMA
signal = sma(macd, signalLength)
plot(macd, color=red, linewidth=1)
//MACD 4H===============================================
fastLength2 = input(48, minval=1), slowLength2=input(104,minval=1)
signalLength2=input(36,minval=1)
fastMA2 = ema(source, fastLength2)
slowMA2 = ema(source, slowLength2)
macd2 = fastMA2 - slowMA2
plot(macd2, color=blue, linewidth=1)
//MACD 1D===============================================
fastLength3 = input(288, minval=1), slowLength3=input(624,minval=1)
signalLength3=input(216,minval=1)
fastMA3 = ema(source, fastLength3)
slowMA3 = ema(source, slowLength3)
macd3 = fastMA3 - slowMA3
plot(macd3, color=gray, linewidth=1)