OPEN-SOURCE SCRIPT
Cập nhật Variation Oscillator

The Variation Oscillator is a volatility-type indicator.
This indicator is based on a statistical measure known as coefficient of variation (COV).
COV is a standardized measure of dispersion for a set of values.
COV = 100 * standard deviation / mean
This oscillator measures the difference between COV and its sma and plots this difference.
Formula: Oscillator value = COV - sma of COV
The oscillator is positive when COV is greater than its sma.
The oscillator is negative when COV is lesser than its sma.
How to interpret the indicator's values:
Positive : the current volatility is higher than normal and trading is permitted.
Negative : the current volatility is lower than normal and trading is NOT permitted.
Recommended settings:
Cov = 10
Sma = between 20 and 100
*** If you're reading this and you find this indicator interesting, hit the like button and follow me!
*** Also comments are welcomed!
Happy trading!
This indicator is based on a statistical measure known as coefficient of variation (COV).
COV is a standardized measure of dispersion for a set of values.
COV = 100 * standard deviation / mean
This oscillator measures the difference between COV and its sma and plots this difference.
Formula: Oscillator value = COV - sma of COV
The oscillator is positive when COV is greater than its sma.
The oscillator is negative when COV is lesser than its sma.
How to interpret the indicator's values:
Positive : the current volatility is higher than normal and trading is permitted.
Negative : the current volatility is lower than normal and trading is NOT permitted.
Recommended settings:
Cov = 10
Sma = between 20 and 100
*** If you're reading this and you find this indicator interesting, hit the like button and follow me!
*** Also comments are welcomed!
Happy trading!
Phát hành các Ghi chú
After receiving feedback, I've decided that the oscillator should have 2 colors: green and red. This makes it easier to read it.How to interpret indicator:
Green - trending; trading is permitted.
Red - consolidation; trading is NOT permitted.
Phát hành các Ghi chú
Change in colors: Blue - trending, trading is allowed
Gray - consolidation, no trading allowed
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.