OPEN-SOURCE SCRIPT

Theoretical price by volume

This code is used to calculate a theoretical price range based on volume and price change and display it on the chart. Specifically, it calculates the “theoretical price volatility” based on price changes and volume, from which the upper and lower price limits are derived.

The price volatility is calculated by dividing the price change by the volume as the change unit volume.
Based on this volatility, we calculate the theoretical variation relative to the current price (“Theoretical Variance Difference”).
Based on the results, **Theoretical High Price (p_price) and Theoretical Low Price (m_price)** are calculated.
The chart displays the upper and lower bounds of these theoretical prices in color, and also calculates their mean and standard deviation (in the form of a Bollinger band) and plots them.
The background color on the chart indicates whether the price is within the theoretical price range, and at the same time, the mean and standard deviation of the theoretical prices are used to visualize price movements in more detail.
This indicator helps traders understand the impact of volume on price movements and helps them determine if prices are staying within the theoretical range or if there are unusual movements.
Bollinger Bands (BB)Volume

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明