OPEN-SOURCE SCRIPT

SMA/WMA histogram with MTF and alerts

This histogram is based on the difference between SMA and WMA (I make it as false MACD to create signals)
Since we have the non repainting MTF function we can see the buy and the sell signals at different time frames.
the color of the histo change according to difference so as the color change from dark red to light red be ready to buy and if color change from dark green to light green be ready to sell. The signal based on cross to the 0 .

since you have MTF in build you can change time frame changing int2 to desire min you want

快照

here 60 min MTF on 30 min graph. you can make any variation you want .it flexible model allow you to find the best setting for your purpose
OscillatorsSimple Moving Average (SMA)Weighted Moving Average (WMA)

开源脚本

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

想在图表上使用此脚本?

免责声明