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!
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!
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.