Liquidity Zones Indicator The Liquidity Zones indicator is a custom Pine Script™ tool designed to identify significant price levels where high trading volume has occurred. These zones often act as support or resistance levels, providing valuable insights for traders.
Key Features: Window Size: The number of bars to consider for calculating the moving averages and identifying peaks. Tolerance: The allowable percentage difference to consider peaks as unique. Number of Peaks: The maximum number of significant peaks to identify. Minimum Volume: The minimum volume threshold relative to the average volume to consider a peak. Minimum Range: The minimum price range to consider a peak.
How It Works: Input Parameters: The user can customize the window size, tolerance, number of peaks, minimum volume, and minimum range. Moving Averages: The script calculates the simple moving average (SMA) of the volume and closing prices over the specified window.
Peak Identification: For each bar, the script identifies the bar with the highest volume within the window. It checks if the volume exceeds the minimum volume threshold. It determines the peak price based on whether the bar closed higher or lower than it opened. It ensures the price range of the bar exceeds the minimum range. It checks if the peak is above the SMA of the closing prices. It verifies the peak is unique within the specified tolerance. Plotting Peaks: The identified peaks are plotted on the chart with lines and labels, color-coded based on whether the bar closed higher (green) or lower (red). This indicator helps traders visualize key liquidity zones, aiding in making informed trading decisions.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publications is governed by House rules. Você pode favoritá-lo para usá-lo em um gráfico.
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.