OPEN-SOURCE SCRIPT
Cập nhật Positive Volatility and Volume Gauge

This is my first published script. It is a real volatility gauge that allows the user to see the real volatility of a given candle on the 15-min time frame. It also has the SMA of real volatility and volume available.
It provides the user to identify high volatility points that can lead to reversals back to the mid-point of said high volatility.
You can change the threshold of the signal line. For the 15-min time frame, I suggest that the 1.5-2.5 threshold be used for the best view.
Good luck and let me know if you have any questions or suggestions. I'm always open to learning.
Thank you!
It provides the user to identify high volatility points that can lead to reversals back to the mid-point of said high volatility.
You can change the threshold of the signal line. For the 15-min time frame, I suggest that the 1.5-2.5 threshold be used for the best view.
Good luck and let me know if you have any questions or suggestions. I'm always open to learning.
Thank you!
Phát hành các Ghi chú
Hello, here is a new and improved version of this indicator....a summary of the changes made are below. Little updates were made to the volatility gauge, however, it still runs the same. I have added a true momentum oscillator, that really helps this indicator. Added True Momentum Oscillator:
Introduced a True Momentum Oscillator using the ta.mom function based on the close prices with an adjustable length (mom_length).
Plotted the True Momentum Oscillator as a green line.
Adjusted Oversold and Overbought Levels:
Modified the input parameters for oversold and overbought levels (mom_oversold and mom_overbought) to be -1 and 1, respectively.
Changed Color Scheme:
Adjusted the color scheme for better visualization:
Positive Volatility: Blue
Upper Signal Line: Orange
Volume Gauge: Yellow
True Momentum Oscillator: Green
Oversold and Overbought Lines: Red and Green, respectively.
Improved Plot Labels:
Updated titles for better clarity and consistency.
These changes enhance the script by incorporating a True Momentum Oscillator, refining the color scheme, and improving the overall aesthetics and readability. If you have any specific questions or if you'd like further adjustments, feel free to let me know!
Phát hành các Ghi chú
The updated Pine Script introduces dynamic enhancements for improved usability and visualization. The volume gauge is now dynamically scaled using the average volume over a user-defined lookback period, replacing the static divisor for broader adaptability across tickers. Additionally, dynamic bar coloring has been implemented, with thresholds for high, low, and normal volume levels. Users can customize these thresholds to highlight significant volume spikes (green), low-volume dips (red), and normal activity (yellow). These changes make the script more intuitive, adaptable to different markets, and visually informative, providing traders with clearer insights into volume dynamics alongside the existing volatility and momentum indicators.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.