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.
진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.