OPEN-SOURCE SCRIPT
ADVN-DECL

Advancing - Declining issues indicator which you can use for Bitcoin trading if you, like me, believe that cryptocurrency is highly correlated with the activity on the stock exchanges (yes, the PROs are here, we just didn't know it yet)
This indicator is based on showing the data, as much as possible, as it is, and not messing it up by calculating stuff. Calculation should be used to better understand what the data represents, and not to show beatiful things which are, in fact, not present.
You could, for example, take ADVN and DECL, calculate rma() moving averages and make a RSI out of it. The result is very interesting when applied on the daily time frame, but not as useful for trading.
By the way, I recommend enabling this option:
Right click - Settings - Timezones / Sessions
Please check "Extended hours (Intraday Only)"
I could do it in code with the ticker() function, but I'm under the impression that then, free TV users would not be able to use the indicator.
This indicator is based on showing the data, as much as possible, as it is, and not messing it up by calculating stuff. Calculation should be used to better understand what the data represents, and not to show beatiful things which are, in fact, not present.
You could, for example, take ADVN and DECL, calculate rma() moving averages and make a RSI out of it. The result is very interesting when applied on the daily time frame, but not as useful for trading.
By the way, I recommend enabling this option:
Right click - Settings - Timezones / Sessions
Please check "Extended hours (Intraday Only)"
I could do it in code with the ticker() function, but I'm under the impression that then, free TV users would not be able to use the indicator.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.