alexgrover

Price/Volume Normalized Oscillator

It can be interesting to have an indicator displaying two rescaled measures, thus ending with an indicator that allow the creation of more complex trading rules (conditions), this is what is intended with the price/ volume normalized oscillator (PVNO) who normalize both volume and price in order to display them together.

Volume is considered an important factor as it show the trading activity of a security, securities with higher volume are more attractive to trade as higher volume is in general present with larger price variations, higher volume can also indicate a better trade execution.

THE INDICATOR

In the PVNO, the rescaled volume is represented by the blue plot while the rescaled price is represented by the (green/red) plot. The rescaling method used here is simply based on the sum of the current and past momentum output of a series of observations divided by the sum of the current and past absolute value of this momentum, this allow to have a smooth output with values reaching 1 and -1 instead of converging toward 0.

The indicator has two settings, Volume Length who control the length of the sum of the rescaled volume , while Price Length control the sum length of the rescaled price. When the rescaled volume is positive it means that the sum of the current and past Volume Length - 1 positive volume momentum values is greater than the sum of negative ones, this indicate a more active market. The same apply to the rescaled price, with a positive rescaled price value indicating an uptrend and negative values indicating a downtrend.

Because of the stationary and periodic nature of volume , low values for Volume Length are recommended.

INTERPRETATIONS AND USAGES

As you can see the rescaled price plot can have two colors, and the area between the rescaled volume and price plot is filled with two possible colors as well, the color depend on the following simple condition:

  • green: once rescaled price > 0 and rescaled volume > 0 until condition for red don't happen
  • red: once rescaled price < 0 and rescaled volume > 0 until condition for green don't happen

Therefore no signals are triggered if the rescaled price is greater/lower then 0 but the rescaled volume is lower than 0, this could allow to filter various false signals (at the cost of reactivity). A more interesting use-case of the indicator can be based on the upper and lower constant levels displayed in order to spot points where volume will fall or rise.


Volume can also be used to spot potential reversals, therefore the levels can also be used to this end as well.

SUMMARY

A normalized oscillator plotting rescaled price and volume values has been presented, the indicator posses its own trading rules but can easily modified. This is not an indicator i'am super proud of, even after passing some time on it lol. You can use the code freely without asking for permission, mention is appreciated.

Next indicators should be more pertinent and interesting, thanks for reading !




Gỡ bỏ khỏi Script Ưa thích Thêm vào Script Ưa thích
« Je suis las des cruautés de mes semblables, qui ne sont pas mes pareils.

« Je prendrai l’essor et je m’envolerai vers la mer.

« Je connaîtrai le goût des brises du large. J’entendrai les grands cris de la tempête.

Bình luận

Thanks Alex!
Looks interesting. I'll test it out. BTW why did you choose to plot the 0.8 and -0.8 plot lines instead of the 0 line, if you are comparing both conditions against the 0 line?
+1 Phản hồi
alexgrover Outback_Explorer
@Outback_Explorer, Srry if the indicator isn't super great ^^'. The upper and lower levels act as overbought/sell levels for the rescaled price and also tell you when volume might rise or fall (as explained in the post), these levels offer additional information not related to condition you are talking of.
+1 Phản hồi
@alexgrover, it can still be useful, maybe if used on very short length settings. I'll test it out. Thanks!
Phản hồi
Many, many, thanks.
+1 Phản hồi
alexgrover syrinxflunki
@syrinxflunki, You are welcome ^^
Phản hồi
Thank you Alex.
+1 Phản hồi
@nakg3, yr welcome :)
Phản hồi
Thank you : )
Phản hồi
I apologize for the errors present in the post. For the buy/sell condition the exact form is "until condition for green/red happen", there should be no "dont". This is because i first usée " as long as" instead of "until". Srry for that <^^'
Phản hồi
Trang chủ Bộ lọc cổ phiếu Bộ lọc Forex Bộ lọc Tiền điện tử Lịch kinh tế Cách thức hoạt động Tính năng Biểu đồ Trả phí Giới thiệu bạn Quy tắc Áp dụng Trung tâm Trợ giúp Giải pháp cho Website & Nhà môi giới Widget Giải pháp biểu đồ Thư viện Biểu đồ Lightweight Blog & Tin tức Twitter
Hồ sơ Tùy chỉnh Hồ sơ Tài khoản và Thanh toán Giới thiệu bạn Xu Ticket Hỗ trợ của tôi Trung tâm Trợ giúp Các ý tưởng đã đăng Người theo dõi Đang theo dõi Tin nhắn riêng Trò chuyện Đăng xuất