OPEN-SOURCE SCRIPT
Waves [LTW] v0.5

📊Waves [LTW] v0.5
Among all the indicators I have used, the most effective one remains the fundamental volume indicator, which represents the aggregate of buy and sell orders through column heights—a tool we are all familiar with. However, traditional volume indicators are often insufficient for detecting Market Maker (MM) intervention. This is because the MMs driving the crypto market typically utilize institutional-grade services (Prime Brokerage), such as Prime, Institutional/VIP, and OTC desks.
Does this render volume indicators obsolete? Ludwig Wittgenstein argued that our everyday language is, in fact, strictly bound to the rigorous rules of a massive 'language game.' From a similar perspective, price charts are bound by the strict rule that movement requires volume. Therefore, I believe volume remains an absolutely crucial metric.
Inspired by the meme "In the beginning, there was a sine wave," this custom indicator averages the heights of volume columns and applies mathematical filters—such as HMA (Hull Moving Average) for minimal lag and smooth curves, and ALMA (Arnaud Legoux Moving Average) for excellent noise reduction. This process visualizes volume as a smooth curve with specific periodic wavelengths and amplitudes. The indicator identifies "meaningful volume" only when a volume column breaches this wave amplitude, making it highly effective for visual analysis.
---
⚙️ Key Features (Concept)
Sine Waves
▪️ Low Volatility (Calm Waves): In consolidation phases where volume is practically nonexistent, the user-defined colored area flattens against the bottom and moves slowly. This can be interpreted as a phase where energy is being compressed for the next expansion. Alternatively, from an MM's perspective, this is an uninteresting zone with zero volume generation. As volume gradually dries up, it implies a higher probability of reverting to the price point where the previous volume peaked, potentially returning to the immediate Point of Interest (POI). In a bear market, meaningful volume typically occurs only when breaking new lows.
▪️ Volume Spike (Rising Wavelength & Amplitude): The visual representation of the wave gradually rising, hitting a peak, and then descending becomes highly distinct. Near this peak, there is a high probability of witnessing a trend climax or a Liquidity Sweep.
▪️ Measuring Momentum via Divergence (Short-term vs. Long-term Volume Waves): You can intuitively gauge the intensity of market intervention through these wave-like forms.
Divergence Analysis: If the price makes a higher high, but the peak (amplitude) of the volume wave is lower than the previous peak (Bearish Divergence), it signals that the volume momentum driving the trend is fading. This allows you to respond more swiftly to common RSI divergence traps and anticipate various variables. (For example, in Constance Brown's RSI, the median value of 50 is often more critical than standard overbought/oversold levels. It is very common for RSI to peak, rapidly revert to 50, and then continue to make new highs. Standard RSI divergence fails to analyze this "cooling down" process, leading to frequent false signals in strong, one-way trending markets.)
Pulse Waves
When a volume column breaches the wave, a horizontal extension line is drawn from the peak value of that column towards the right side of the chart until the next breakout occurs. This makes it easy to visually analyze whether subsequent volume is greater or less than the previous peak volume.
You can analyze market flow by observing how many smaller Pulse Waves form within a larger Pulse Wave. For instance, you can spot if the peak column of a large wave opened and closed as a bullish candle, but the peaks of the smaller inner waves are consistently closing as bearish candles.
The newly updated Pulse Wave label allows you to intuitively check the quantitative difference between the currently forming volume and the previous peak volume.
---
📌 Settings Guide
1. Waves Length: You can adjust the smoothing length in the settings. Entering Fibonacci numbers like 21, 34, or 55 groups the historical volume data and major market volume cycles into wavelengths. Applying a mathematical smoothing filter (e.g., ALMA) to this grouped data (default is 34) trims the noise (spiky volume columns) to create a perfectly smooth curve.
2. Smooth Mode: To accommodate different trading styles, users can select various smoothing methods. This allows for faster detection of divergences or quicker identification of volume inflows at POI (Point of Interest) zones.
3. Multiplier: This setting determines the release range of the extension line (which resembles a pulse wave) from the peak volume to the next peak volume, without decay.
---
🔥 Practical Trading Tips (Cautions)
This indicator does not provide standalone entry signals (Buy/Sell) like those used by indicator sellers. It is designed to be a supplementary tool. For optimal results, cross-verify your entry positions using professional order book and data aggregators like TapeSurf (formerly Okotoki), or slippage analysis indicators like the Kinetic Slippage Index (KSI) by HPotter. Rather than blindly trusting a single indicator, please use this to establish and refine your own unique trading style.
Among all the indicators I have used, the most effective one remains the fundamental volume indicator, which represents the aggregate of buy and sell orders through column heights—a tool we are all familiar with. However, traditional volume indicators are often insufficient for detecting Market Maker (MM) intervention. This is because the MMs driving the crypto market typically utilize institutional-grade services (Prime Brokerage), such as Prime, Institutional/VIP, and OTC desks.
Does this render volume indicators obsolete? Ludwig Wittgenstein argued that our everyday language is, in fact, strictly bound to the rigorous rules of a massive 'language game.' From a similar perspective, price charts are bound by the strict rule that movement requires volume. Therefore, I believe volume remains an absolutely crucial metric.
Inspired by the meme "In the beginning, there was a sine wave," this custom indicator averages the heights of volume columns and applies mathematical filters—such as HMA (Hull Moving Average) for minimal lag and smooth curves, and ALMA (Arnaud Legoux Moving Average) for excellent noise reduction. This process visualizes volume as a smooth curve with specific periodic wavelengths and amplitudes. The indicator identifies "meaningful volume" only when a volume column breaches this wave amplitude, making it highly effective for visual analysis.
---
⚙️ Key Features (Concept)
Sine Waves
▪️ Low Volatility (Calm Waves): In consolidation phases where volume is practically nonexistent, the user-defined colored area flattens against the bottom and moves slowly. This can be interpreted as a phase where energy is being compressed for the next expansion. Alternatively, from an MM's perspective, this is an uninteresting zone with zero volume generation. As volume gradually dries up, it implies a higher probability of reverting to the price point where the previous volume peaked, potentially returning to the immediate Point of Interest (POI). In a bear market, meaningful volume typically occurs only when breaking new lows.
▪️ Volume Spike (Rising Wavelength & Amplitude): The visual representation of the wave gradually rising, hitting a peak, and then descending becomes highly distinct. Near this peak, there is a high probability of witnessing a trend climax or a Liquidity Sweep.
▪️ Measuring Momentum via Divergence (Short-term vs. Long-term Volume Waves): You can intuitively gauge the intensity of market intervention through these wave-like forms.
Divergence Analysis: If the price makes a higher high, but the peak (amplitude) of the volume wave is lower than the previous peak (Bearish Divergence), it signals that the volume momentum driving the trend is fading. This allows you to respond more swiftly to common RSI divergence traps and anticipate various variables. (For example, in Constance Brown's RSI, the median value of 50 is often more critical than standard overbought/oversold levels. It is very common for RSI to peak, rapidly revert to 50, and then continue to make new highs. Standard RSI divergence fails to analyze this "cooling down" process, leading to frequent false signals in strong, one-way trending markets.)
Pulse Waves
When a volume column breaches the wave, a horizontal extension line is drawn from the peak value of that column towards the right side of the chart until the next breakout occurs. This makes it easy to visually analyze whether subsequent volume is greater or less than the previous peak volume.
You can analyze market flow by observing how many smaller Pulse Waves form within a larger Pulse Wave. For instance, you can spot if the peak column of a large wave opened and closed as a bullish candle, but the peaks of the smaller inner waves are consistently closing as bearish candles.
The newly updated Pulse Wave label allows you to intuitively check the quantitative difference between the currently forming volume and the previous peak volume.
---
📌 Settings Guide
1. Waves Length: You can adjust the smoothing length in the settings. Entering Fibonacci numbers like 21, 34, or 55 groups the historical volume data and major market volume cycles into wavelengths. Applying a mathematical smoothing filter (e.g., ALMA) to this grouped data (default is 34) trims the noise (spiky volume columns) to create a perfectly smooth curve.
2. Smooth Mode: To accommodate different trading styles, users can select various smoothing methods. This allows for faster detection of divergences or quicker identification of volume inflows at POI (Point of Interest) zones.
3. Multiplier: This setting determines the release range of the extension line (which resembles a pulse wave) from the peak volume to the next peak volume, without decay.
---
🔥 Practical Trading Tips (Cautions)
This indicator does not provide standalone entry signals (Buy/Sell) like those used by indicator sellers. It is designed to be a supplementary tool. For optimal results, cross-verify your entry positions using professional order book and data aggregators like TapeSurf (formerly Okotoki), or slippage analysis indicators like the Kinetic Slippage Index (KSI) by HPotter. Rather than blindly trusting a single indicator, please use this to establish and refine your own unique trading style.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.