UnknownUnicorn508364

Double Bars

UnknownUnicorn508364 Cập nhật   
This is a very simple script... it does not necessarily create signals. It only provides useful feedback via statistics & probability.

There will be a green background if there are two green bars in a row, and it will stay green until two red bars show up (in which it switches color to red until two green bars show up again).

The fuchsia arrows show the double greens, and the blue arrows show the double reds, as to emphasize the color continuation.

The main drawback is that even though this shows the most common bar color, it does not show the *significance* of each bar. Therefore, use for statistical analysis only unless you complicate the formula by adding significance and/or volatility.

The last bar *does* repaint. If anyone figures out how to not show the values (background and arrow) for the last bar only, add a comment! I would like to show the last bar as a "projection" bar (dimmed with transparency, so it appears as less meaningful due to it not being completed yet).
Phát hành các Ghi chú:
Added input options for type of "source".
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

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.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?