OPEN-SOURCE SCRIPT

Moving Average Multifuntional Oscillator

Hi there!
This indicator solvs many task at time.
1. Classic AO histogram - shows convergence or divergence of two SMA (you can input you period)
2. Color of histogram - green for bullish, red for bearish, gray for flat. Depends of conditions in "crossboard block" which include:
2.1 SMA1 cross SMA2 (you can turn off SMA1 and SMA2 optionnaly, to have at least SMA3 and SMA4)
2.3 SMA2 cross SMA3 (you can turn off SMA1 and SMA2 optionnaly, to have at least SMA3 and SMA4)
2.4 SMA3 cross SMA4 - required
2.5 Price bar closed cross SMA5 - (you can turn off this parameter optionally)
3.1 MC SMA fast - momentum checker SMA of histogramm (you can input your period)
3.2 MC SMA slow - momentum checker SMA of histogramm (you can input your period)
3.3 If AO > 0, but MC SMA fast< MC SMA slow - orange bg color. It warns us about impulse's weakness
4. Extremely "k" ratio - this ratio (you can input) use in condition AO<(MC SMA slow*K) - red bg color. It warns us about extremely convergence of AO's SMA and might be a trend end signal
5. Alerts: it has 3 alert settings. buy, sell, both.
Alert appears when color of histogram not flat and price closed cross over/under SMA Alert (you can input it). It is the best conditions to trade.
Enjoy!

Moving AveragesmultitimeframeanalysisOscillatorsTrend Analysis

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