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!
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.