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.
In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.