OPEN-SOURCE SCRIPT
Cập nhật Madrid MA Ribbon Bar

This is the MMAR companion study. This along with the MMAR study help visualize in a concise way the trend direction, patterns, trend strength, entry points and reversals.
Trading with MMAR: Look for the size of the bar, when it is partially filled with a color starting from bottom to top it means there is a reentry point, but if it fills 50% or more then there is a strong possibility that this will turn into a trend reversal. You may want to wait for confirmation. Normally after two or three solid bars you can have an idea of where the trend goes.
The standard colors are
1. Red : Downtrend
2. Maroon : Short reentry or uptrend warning
3. Lime : Uptrend
4. Green : Long reentry or downtrend warning
This indicator is based on the MMAR, so the only parameter it needs is the kind of MA you want to use, if you're using a regular standard moving average or an exponential moving average (this reduces lagging). Normally I use the exponential MA, which is the default value. It is simple, it only has four output values, it can be easily interpreted and practically no input parameters to tune. This doesn't require too much space on the screen
I suggest you to shrink the bar so it gives the visual effect of a solid bar and put it at the bottom of the screen.
Trading with MMAR: Look for the size of the bar, when it is partially filled with a color starting from bottom to top it means there is a reentry point, but if it fills 50% or more then there is a strong possibility that this will turn into a trend reversal. You may want to wait for confirmation. Normally after two or three solid bars you can have an idea of where the trend goes.
The standard colors are
1. Red : Downtrend
2. Maroon : Short reentry or uptrend warning
3. Lime : Uptrend
4. Green : Long reentry or downtrend warning
This indicator is based on the MMAR, so the only parameter it needs is the kind of MA you want to use, if you're using a regular standard moving average or an exponential moving average (this reduces lagging). Normally I use the exponential MA, which is the default value. It is simple, it only has four output values, it can be easily interpreted and practically no input parameters to tune. This doesn't require too much space on the screen
I suggest you to shrink the bar so it gives the visual effect of a solid bar and put it at the bottom of the screen.
Phát hành các Ghi chú
Upgrade from PSv1 to PSv6Mã 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.