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!
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.