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

snapshot

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)

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer