Breakout Patterns Detector: Triangle & Wedge [Splirus]This indicator identifies Breakout Patterns such as Ascending Triangles , Descending Triangles , Symmetric Triangles , Ascending Wedges , and Descending Wedges , using candlestick charts and Trendlines. It provides visual cues, stop-loss (SL), and take-profit (TP) levels, alongside a detailed dashboard to evaluate performance. The indicator supports two alert modes: Manual Mode for trader notifications and Bot Mode for automated trading signals.
To achieve optimal results, users are encouraged to experiment with indicator parameters and analyze the dashboard summary to find the perfect configuration for each timeframe, pair, and market condition.
Pattern Identification
The indicator detects the following breakout patterns based on pivot highs and lows:
Ascending Triangle : Flat upper trendline, rising lower trendline.
Descending Triangle : Flat lower trendline, declining upper trendline.
Symmetric Triangle : Converging trendlines with similar slopes (within a user-defined threshold).
Ascending Wedge : Both trendlines slope upward, converging.
Descending Wedge : Both trendlines slope downward, converging.
Patterns are identified using configurable left and right bars for small and big patterns, with slope thresholds normalized by ATR. A trend confirmation filter ensures breakouts align with market direction, and users can adjust breakout confirmation bars to validate signals.
The goal is to fine-tune these settings to suit specific timeframes and pairs, as each combination may require a unique setup for optimal performance.
Stop-Loss Calculation
Stop-loss levels are calculated dynamically based on pattern type and breakout direction:
Symmetric Triangle : SL is set at the first pivot of the opposite trendline, adjusted by a buffer percentage.
Ascending/Descending Triangle : SL is placed at the breakout trendline’s price, plus the buffer.
Ascending/Descending Wedge : SL is set at the second pivot of the opposite trendline, adjusted by the buffer.
The indicator calculates leverage based on a user-defined risk tolerance percentage. Users should adjust the SL buffer and risk tolerance to balance risk and reward, monitoring the dashboard to assess how these settings impact performance across different timeframes and pairs.
Take-Profit Calculation
Three take-profit levels ( TP1 , TP2 , TP3 ) are calculated using pattern height and user-defined multipliers:
For Ascending/Descending Triangles, height is the difference between the max and min prices within the pattern.
For Symmetric Triangles and Wedges, height is the vertical distance between trendlines at the pattern’s start.
TP levels are set as:
TP1 = Breakout price ± (Height × TP1 Multiplier).
TP2 = Breakout price ± (Height × TP2 Multiplier).
TP3 = Breakout price ± (Height × TP3 Multiplier, with a 1.5x adjustment for Wedges).
Experiment with TP multipliers to optimize the risk-reward ratio, using the dashboard to evaluate TP hit rates and overall profitability for each configuration.
Symmetric Triangle:
Ascending/Descending Wedge:
Ascending/Descending Triangles:
Finding the Perfect Configuration
The indicator’s dashboard provides a comprehensive summary of performance metrics, including total trades, TP1/TP2/TP3 hits, SL hits, profit/loss percentages, and win rates for bullish, bearish, and combined trades. These metrics are crucial for identifying the ideal parameter settings:
Timeframe and Pair Variability : Each timeframe (e.g., 15m, 30min, 1H, 4H, Daily) and pair (e.g., BTC/USD, EUR/USD) behaves differently. Adjust parameters like left/right bars, minimum pattern length, and breakout confirmation bars to match the volatility and trend characteristics of the chosen pair and timeframe.
Parameter Tuning : Modify slope thresholds, trend confirmation filters, and bars inside the pattern to filter out false breakouts. For example, a higher breakout confirmation bar setting may reduce signals but increase reliability on longer timeframes.
Dashboard Analysis : Focus on the dashboard’s win rate, profit/loss ratio, and TP/SL hit frequencies. A “Perfect” win rate (>66%) or high TP hit rate indicates a strong configuration. If the SL hit rate is high, consider tightening the trend confirmation filter or increasing the SL buffer.
Iterative Testing : Test different combinations of settings (e.g., small vs. big patterns, aggressive vs. conservative breakout confirmation) and compare dashboard results over time. The goal is to find a balance where the indicator consistently delivers high win rates and profitability for your specific trading setup.
Alert Modes
The indicator supports two alert modes to suit different trading styles:
Manual Mode : Generates alerts for breakouts with entry price, SL, TP1/TP2/TP3, and leverage, tailored for Crypto or Forex markets. Use this mode to manually evaluate signals while refining configurations.
Bot Mode : Sends automated trading signals. To avoid conflicts, Bot Mode ensures no short position alert is triggered while a long position is active, and vice versa. This mode is ideal once you’ve identified an optimal configuration via the dashboard.
Additional Features
Historical Patterns : Displays past trendlines with customizable transparency and extension, helping users analyze how patterns performed under different settings.
Customizable Settings : Adjust pattern size, breakout confirmation, trend filters, and visual preferences (colors, dashboard location) to match your trading style.
Market Compatibility : Supports Crypto and Forex markets across all timeframes, but requires careful tuning for each market type.
Usage Notes
Start with default settings and monitor the dashboard to establish a baseline performance for your chosen timeframe and pair.
Gradually adjust one parameter at a time (e.g., left/right bars, TP multipliers) and compare dashboard results to identify improvements.
Use historical pattern analysis to understand how past breakouts performed under different configurations, guiding your optimization process.
Once a high win rate and profitability are achieved, consider automating trades with Bot Mode for consistent execution.
Disclaimer
This indicator is intended for educational purposes only and should not be considered financial advice. Trading involves significant risk, and past performance is not indicative of future results. Users are strongly advised to thoroughly test and validate the indicator’s signals in a demo environment before using it in live trading. The author is not responsible for any financial losses incurred while using this indicator. Always conduct your own research and consult with a qualified financial advisor before making trading decisions.
Chart patterns
WaveTrend Matrix (1m-1w) – Custom ThresholdsA visual control panel for momentum exhaustion across ten key time-frames.
—
🧬 DNA
This is a fork of LazyBear’s original WaveTrend Oscillator .
The oscillator logic is 100 % intact; I simply stream the values into a compact table so that day- and swing-traders can see the “bigger picture” at a glance.
📈 What does it do?
Calculates WaveTrend on ten granularities: 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 1d, 1w.
Displays the current oscillator print in a color-coded matrix.
• Red = overbought (≥ high threshold)
• Green = oversold (≤ low threshold)
• Gray = neutral / in-range
All thresholds are user-adjustable.
Built on Pine v5, zero repainting, works on any symbol.
🛠 Parameters
Channel Length – WT “n1” (default 10)
Average Length – WT “n2” (default 21)
Red from – overbought cut-off (default +60)
Green under – oversold cut-off (default –60)
🚀 How to use it
1. Apply the indicator to your chart – no extra setup required.
2. Read the matrix top-down before every entry:
• Multiple deep-green rows → market broadly oversold → watch for longs.
• Multiple deep-red rows → market broadly overbought → watch for shorts or stay flat.
3. Combine with your trend filter (EMA-stack, VWAP, structure) to avoid counter-trend trades.
3+ Consecutive Higher or Lower Closes (Full Highlight)This indicator identifies 3 or more sequential bars of higher/lower candle closes and highlights them on the chart.
Candle colour is adjustable.
This is the first edition and has a small issue where it only starts highlighting from the 3rd bar in the sequence.
I'll continue working on this to try to debug
ian_Trado v15 Trend Entry Filter# 📈 ian_Trado v15 Trend Entry Filter (Pine Script v6)
The **ian_Trado v15** is a multi-factor **trend confirmation filter** for NASDAQ (NAS100), Dow Jones (DJ30), Gold (XAU), DAX, and USDJPY.
It combines **EMA structure**, **Donchian channel breakout**, **MACD histogram momentum**, **Volume confirmation**, and a **Range Compression Filter** to avoid entering during choppy or sideways markets.
✅ Designed for **bot deployment** (e.g., grid bots, long/short breakout bots) or **manual trading**.
---
## 🔍 How This Filter Works:
1. **EMA Trend Confirmation**
- Long Trend: EMA(1) > EMA(5) > EMA(60)
- Short Trend: EMA(1) < EMA(5) < EMA(60)
2. **Donchian Channel Width Expansion**
- Only allows trades when the **breakout width** exceeds a minimum threshold.
3. **MACD Histogram Slope Filter (Optional)**
- Confirms momentum building in the direction of the trend.
- Strict Mode: MACD histogram must consistently rise or fall over 3 bars.
4. **Volume Filter (Optional)**
- Ensures volume supports the move (filters out weak conditions).
5. **Range Compression Filter (Optional)**
- Avoids entries during sideways chop.
6. **Cooldown Control**
- Limits overtrading by requiring spacing between entries.
7. **Exit Conditions**
- Gray dot appears when trending conditions are no longer valid.
---
## ⚙️ Settings Explained:
| Setting | Description |
|:--------|:------------|
| **Cooldown Bars** | Minimum bars between consecutive entries |
| **Profit Target (%)** | Visual profit marker for exit tracking |
| **Donchian Channel Length** | Lookback period for detecting breakout width |
| **Minimum Donchian Width** | Threshold to confirm meaningful breakouts |
| **Volume Lookback Period** | Average volume validation window |
| **Box Range (Range Compression)** | Max allowed price range over lookback bars |
| **Range Compression Bars** | Number of bars to check for range compression |
| **Strict MACD Filter** | Use stricter MACD slope checks |
---
## 📊 Recommended Settings by Instrument (1H Chart):
| Asset | Min Donchian Width | Range Compression | Profit Target |
|:------|:-------------------|:------------------|:--------------|
| **NAS100** (Nasdaq) | 300–450 pts | 400 pts / 40 bars | 1.5% |
| **DJ30** (Dow Jones) | 400–600 pts | 500 pts / 40 bars | 1.0–1.5% |
| **XAU/USD** (Gold) | 10–15 pts | 8 pts / 30 bars | 0.8–1.2% |
| **DAX40** (Germany) | 200–300 pts | 250 pts / 40 bars | 1.0% |
| **USD/JPY** (Forex) | 0.5–0.8 pts | 0.4 pts / 40 bars | 0.5–0.8% |
---
## 🔔 Alerts Available:
- Long Entry
- Short Entry
- Exit Zone
> **Note:** Volume filter may be disabled if volume is unreliable (e.g., some forex pairs).
---
## 📅 Version:
- **ian_Trado v15** — April 2025
- Built with **Pine Script v6** for maximum stability
- Clean toggling and plotting logic (no `na` errors)
Multi-Timeframe Closures with Signals month week dayMulti-Timeframe Price Anchoring Indicator (Monthly, Weekly, Daily)
This indicator provides a powerful visual framework for analyzing price action across three major timeframes: monthly, weekly, and daily. It plots the closing prices of each timeframe directly on the chart to help traders assess where current price stands in relation to significant historical levels.
🔍 Core Features:
Monthly, Weekly, and Daily Close Lines: Automatically updated at the start of each new period.
Color-coded Price Anchors: Each timeframe is visually distinct for fast interpretation.
Multi-timeframe Awareness: Helps you identify trend alignment or divergence across different time horizons.
Long & Short Bias Signals: The script can optionally display long or short suggestions based on where the current price stands relative to the anchored closing prices.
📈 How to Use:
Trend Confirmation: If price is consistently above all three levels, it signals a strong bullish trend (potential long bias). If it’s below, the opposite applies (short bias).
Reversal or Pullback Zones: When price becomes extended far above/below the monthly and weekly closes, it may suggest overbought/oversold conditions and the possibility of a reversal or retracement.
Intraday Alignment: Useful for traders who want to enter positions on lower timeframes while being aware of higher timeframe trends.
This indicator is ideal for swing traders, day traders, and position traders who want to anchor their decisions to meaningful multi-timeframe reference points.
EU vs GU Strength @smEURUSD vs GBPUSD Strength Tester
✅ What it does:
-Plots EURUSD change (blue line)
-Plot GBPUSD change (green line)
-Plots EURGBP change (orange line)
Background turns bluish if EUR is stronger, greenish if GBP is stronger!
So, just by watching the background color, you can immediately tell:
If you prefer EURUSD or GBPUSD for your long/short setup.
Price Action Three Soldiers Strategy Buy&Sell TP&SLStrategy Overview:
This indicator detects a "Three White Soldiers" bullish pattern to suggest potential buy opportunities. It uses dynamic Stop Loss (SL) and Take Profit (TP) management, based on either market volatility (ATR) or liquidity zones.
This tool is intended for educational and informational purposes only.
📈 Key Features:
Entry: Based on detecting Three White Soldiers candle pattern.
Exit: Targets are managed through ATR multiples or previous liquidity levels (swing highs).
Smart Liquidity: Optionally identify deeper liquidity targets.
Full Alerts: Buy and Sell signals supported with customizable alerts.
Visualized Trades: Entry, SL, and TP levels are plotted on the chart.
⚙️ User Inputs:
ATR Length, ATR Multipliers
Take Profit Mode (Liquidity/ATR)
Swing Lookback and Strength
Toggleable Buy/Sell alerts
📖 How to Use:
Add the Indicator:
Apply the script to your chart from the TradingView indicators panel.
Look for Buy Signals:
A buy signal is triggered when the script detects a "Three White Soldiers" bullish pattern.
Entry, Stop Loss, and Take Profit levels are plotted automatically.
Choose Take Profit Mode:
ATR Mode: TP is based on a volatility target.
Liquidity Mode: TP is based on past swing highs.
Set Alerts (Optional):
Enable Buy/Sell alerts in the settings to receive real-time notifications.
Practice First:
Always backtest and paper trade before live use.
📜 Disclaimer:
This script does not offer financial advice.
No guarantees of profit or performance are made.
Use in demo accounts or backtesting first.
Always practice proper risk management and seek advice from licensed professionals if needed.
✅ Script Compliance:
This script is designed in full accordance with TradingView’s House Rules for educational tools.
No financial advice is provided, no performance is guaranteed, and users are encouraged to backtest thoroughly.
John's Sig PROJohn's Sig PRO is a powerful Wyckoff-style trade detection tool that identifies potential long and short setups based on pivot formations, trading range analysis, and optional confluence filters.
🔹 Core Features:
Pivot-Based Springs and Upthrusts (customizable "Loose" or "Strict" setups)
Dynamic Risk Management:
Static % Risk OR ATR-based stops
2 Risk/Reward Targets (Target 1 and Target 2)
Volume Confirmation (optional)
Dynamic Range Monitoring: Highest high/Lowest low over user-defined periods
🔹 Optional Setup Filters (for higher probability entries):
✅ EMA Filter (Price above/below EMA)
✅ RSI Oversold/Overbought Confirmation
✅ MACD Cross Confirmation
✅ VWAP Filter (Price above/below VWAP)
✅ SuperTrend Direction Confirmation
🔹 Visual Highlights:
Entry, Stoploss, Target 1, Target 2 auto-plotted with lines
Setup labels colored based on strength (Loose/Strict)
Real-time alert generation (LONG/SHORT)
🔹 How to Use:
Enable Loose Springs for more aggressive setups or keep strict validation.
Customize risk settings: ATR-based dynamic stops or static pivot % risk.
Turn on optional filters to tighten your entry criteria.
Watch for plotted signals and set alerts!
⚡ Ideal For:
Intraday Traders
Swing Traders
Wyckoff Enthusiasts
Traders wanting automated pivot-based signals + multi-filter confluence
Created with ❤️ by John.
Trade smart, not hard!
Stormer setupHere's a trading setup with reversal candle coloring and simple market structure analysis:
Based on the experienced trader Stormer (Alexandre Wolwacz), to be used with combined price action.
Key improvements added:
1. **Smart Reversal Candles**:
- Detects hammer/shooting star patterns and engulfing candles
- Colors candles based on confluence with market structure
- Teal for bullish reversals, Maroon for bearish reversals
2. **Dynamic Confluence System**:
- Uses MA trend direction to determine if SR levels should be prioritized
- Adjustable sensitivity threshold for SR proximity
- Combines price action with stochastic position
3. **Enhanced Market Structure**:
- Improved trend detection using ROC instead of slope
- Adaptive logic that uses SR levels when MA is flat
4. **Advanced Visualization**:
- Semi-transparent candle coloring preserves original colors
- Dotted SR lines with automatic cleanup
- Clear triangle markers for entries
5. **Efficiency Improvements**:
- Limited historical SR storage for better performance
- Automatic line management to prevent chart clutter
To use this enhanced version:
1. Bullish reversal candles appear teal when:
- Hammer/engulfing pattern forms
- Near support (if MA flat) or stochastic oversold
- Price above MA
2. Bearish reversal candles appear maroon when:
- Shooting star/engulfing pattern forms
- Near resistance (if MA flat) or stochastic overbought
- Price below MA
3. Signals combine all elements (MA position, stochastic, SR levels, and candle patterns) for higher probability trades
RSI_Heikinashi📜 Title:
Heikin-Ashi RSI Candle Plot with Multi-Timeframe Analysis and EMA Overlay
📖 Full Description:
This is an original custom indicator that transforms the traditional Relative Strength Index (RSI) into a Heikin-Ashi (HA) candle representation, allowing traders to visualize RSI trends with greater clarity, less noise, and multi-timeframe perspective.
🛠️ Core Concept and Original Method:
Rather than plotting a single RSI line, this script recalculates RSI into a Heikin-Ashi candle format, using a double EMA smoothing method on the RSI data itself.
Here's how the transformation works:
RSI Calculation:
RSI is computed traditionally using Wilder's Moving Average (RMA) for smoothing gains and losses.
The RSI period and price source are fully customizable (default length = 28, source = close).
Heikin-Ashi Style Smoothing (applied to RSI):
The HA Close is calculated as the EMA of the average between the current RSI and previous HA Close.
The HA Open is calculated as the EMA of the average between the previous HA Open and the current HA Close.
The HA High and HA Low are dynamically calculated based on the maximum/minimum values of the current RSI, HA Open, and HA Close.
Smoothing is done via 5-period EMA, which adds a unique layer of trend smoothing without traditional price-based HA calculation.
Multi-Timeframe Comparison:
In addition to plotting the chart timeframe HA RSI, the indicator retrieves the 1-hour timeframe HA RSI using request.security.
This allows traders to align trades with higher timeframe RSI trends, a powerful technique for multi-timeframe confirmation.
50 EMA Overlay:
A 50-period Exponential Moving Average (EMA) is plotted over both the chart timeframe HA RSI and the 1-hour HA RSI.
EMA acts as a trend filter or dynamic support/resistance for RSI behavior.
RSI Bands and Visual Aids:
Standard RSI bands at 70 (Overbought), 50 (Midline), and 30 (Oversold) are plotted.
A shaded background between the 30–70 levels helps highlight RSI range-bound movements versus breakout momentum.
🔥 Why this script is original and useful:
Unique Application:
This is not a simple RSI plot or standard Heikin-Ashi candle — it is a specialized smoothing method applied directly to RSI values for a clearer, noise-reduced momentum reading.
Multi-Timeframe Advantage:
Unlike typical RSI indicators, it includes a 1-hour timeframe comparison alongside the chart timeframe, improving decision-making across intraday and swing strategies.
Advanced Smoothing Logic:
Double EMA smoothing of RSI and HA-style recalculations offer a much smoother signal than traditional RSI or basic RSI/EMA crossovers.
Visualized Trend Strength:
Using colored candles instead of just a line enhances readability and gives an intuitive sense of momentum direction, strength, and possible reversals.
Fully Customizable:
Traders can adjust the RSI period and source depending on asset volatility or timeframe preferences.
📋 How to Use:
Look for HA RSI candles color changes for early momentum shifts.
Use the 50 EMA crossovers on HA RSI to confirm larger trend changes.
Compare chart timeframe vs 1H timeframe HA RSI for stronger signal alignment.
Watch for overbought/oversold breaks beyond the 70/30 bands for trade entries or exits.
⚙️ Inputs:
RSI Length (Default: 28)
RSI Source (Default: Close)
📢 Important Note:
This script is originally conceptualized and custom-built.
It is not a mashup of existing open-source indicators and introduces a new smoothing technique for RSI visualization.
🙏 Credits:
Script developed by Sri_RSI.
Bar Count for XAUThis TradingView indicator labels every other five-minute candle for XAU during the current Beijing session, which runs from 06:00 to 05:00 the next day. It shows the actual bar numbers—1, 3, 5, and so on—only for today’s session; yesterday’s labels are automatically cleared at the new open. The tags appear just below each qualifying candle with no background box, and you can adjust the font size in the settings. In short, it gives you a clean, real-time visual of intraday bar order without clutter
M2 Global Liquidity Index [Custom Offsets]M2 Global Liquidity Index
Plots the global M2 money supply alongside price, with two user-configurable forward shifts to help you anticipate macro-driven moves in BTC (or any asset).
Key Features
Current M2 Index (no offset)
Offset A — shift M2 forward by N days (default 78)
Offset B — shift M2 forward by M days (default 109)
Extended Currencies toggle adds 9 additional central banks (CHF, CAD, INR, RUB, BRL, KRW, MXN, ZAR)
All lines share the left-hand axis and scale to trillions
Inputs
Offset A (days): integer ≥ 0 (default 78)
Offset B (days): integer ≥ 0 (default 109)
Include extended currencies?: on/off
How to Use
Add the indicator to any chart (overlay mode).
In Settings → Inputs, enter your desired lead times for Offset A and Offset B.
Toggle extended currencies if you need a broader “global liquidity” view.
Watch how price action (e.g. BTC) tracks the shifted M2 lines to spot potential turning points.
Why It Matters
Changes in money supply often lead risk assets by several weeks to months. This tool makes it easy to visualize and test those correlations directly on your favorite timeframe.
RunRox - Harmonic Patterns📐 RunRox - Harmonic Pattern indicator , we are pleased to present our new, built upon sophisticated logic for identifying and plotting harmonic formations directly on your charts. Significant effort and research have been invested into the development of this indicator, and now it is ready to be included in our premium indicator package.
In this post, we will provide a comprehensive overview of our indicator, describing all its key features, capabilities, and possible use cases. We strongly recommend reading the entire post thoroughly to fully understand the logic and operation behind our new Harmonic Pattern indicator.
📜 A BRIEF HISTORY
Harmonic patterns are specialized chart formations based on Fibonacci ratios, used by traders to identify potential reversal points in financial markets. Originally introduced by H.M. Gartley in the 1930s and later refined by Scott Carney, harmonic patterns became widely recognized for their effectiveness in forecasting precise turning points and market reversals. Over the years, these patterns have become an essential tool for traders employing technical analysis.
📌 INDICATOR FEATURES
Identification of 3 pattern sets:
✅ 5 Classic Chart Patterns:
Head and Shoulders, Triangle, Wedge, Flag, Double Top/Bottom
✅ 11 Harmonic Patterns:
Bat, Alternate Bat, Butterfly, Crab, Deep Crab, Gartley, Shark, Cypher, 5-0 Pattern, AB=CD, 3-Drive
✅ 10 Non-standard Harmonic Patterns:
Nen Star, White Swan, Black Swan, Anti-Bat, Anti-Butterfly, Anti-Crab, Anti-Gartley, Anti-Shark, Anti-Cypher, Anti-Nen Star
Additional features:
Built-in backtesting system
Pattern win-rate calculation
Flexible Stop Loss settings
Flexible Take Profit settings
Customizable pattern detection parameters
Advanced trailing stop functionality
Flexible notification system
And much more.
Below is a screenshot visually illustrating all the classic chart patterns that our indicator identifies on the chart.
This is how the 11 harmonic patterns visually appear on the chart.
10 Non-standard harmonic patterns visually represented on the chart.
🔸 XABCD are standard letters representing specific points used in forming harmonic patterns. The sequence always begins with the point X as the initial reference point, followed by points ABCD, which together complete the harmonic pattern.
These points are identified using a specialized method, scanning through thousands of potential points on the chart simultaneously. The indicator analyzes numerous potential formations, selecting and displaying only those patterns that meet specific validation criteria. This meticulous process ensures that only valid and accurate patterns appear on your chart, as illustrated in the screenshot below.
🔸 Ratio: Between the points XABCD, you’ll notice the “Ratio,” indicating the proportional relationships required between these points to correctly form harmonic patterns. The indicator displays a pattern on the chart only when these ratio conditions are precisely met, thereby maximizing accuracy and ensuring the validity of identified patterns. This aspect is clearly demonstrated in the screenshot below.
🔸 TP and SL levels: For each identified pattern, we also display recommended Take Profit (TP) and Stop Loss (SL) levels directly on the chart. Additionally, we provide a suggested entry price (Entry Level). It is important to note that entering a trade requires the price to retrace into the specified Entry Level zone. Therefore, you must wait until the price returns to this zone for the pattern to be considered fully formed and ready for entry.
Using the Butterfly pattern as an example, we’ve illustrated all the key components of a pattern. Our indicator offers extensive customization, allowing you to finely adjust everything from the acceptable Ratio ranges to Stop Loss and Take Profit levels, among many other parameters. Below, we’ll discuss the indicator’s capabilities and its customizable settings in detail.
📶 ACTIVE PATTERNS PANEL
In the screenshot above, you can see the panel displaying all active patterns currently formed on the chart, including the pattern direction, entry price, two take profit levels, and the stop loss level. This provides a quick and clear overview of the available patterns on your chart, significantly speeding up your trading process.
Additionally, you can fully customize this panel, adjusting its position, size, or even completely removing it if you prefer.
📊 PATTERN STATISTICS
The Pattern Statistics Panel displays historical performance results for all patterns. The indicator automatically performs backtesting for each pattern based on historical data, taking into account all user-defined settings. Results are conveniently presented in this panel.
This feature is highly practical as it allows you to quickly evaluate the effectiveness of each pattern directly on your chart. As a result, you can easily identify which patterns are performing best and which patterns might be less effective and therefore unsuitable for trading on the current instrument.
Furthermore, the panel organizes patterns into specific categories Classical, Harmonic, and Anti-Harmonic and separates results by trade direction (Long or Short). This helps you quickly determine the optimal trading direction for each pattern category.
⚙️ INDICATOR SETTINGS
Now, it’s time to discuss the indicator settings in detail and describe all the available options and features that you can customize according to your preferences.
🔶 Detection Settings
In the screenshot above, you see the first settings block with the following options:
FastMode – When activated, only patterns are displayed on the chart, without the results table. This significantly speeds up the pattern rendering process and makes the script run faster.
Error % – Allows you to specify a permissible deviation from the ideal XABCD parameters. By increasing this percentage, the indicator will detect more patterns, but they will deviate from the ideal ratio proportions by the percentage you’ve set.
Search Priority – Choose between “Large First” or “Small First” pattern prioritization. With “Large First,” the indicator prioritizes detecting larger patterns first; smaller patterns are only displayed if no suitable large patterns are available, and vice versa.
ZigZag Period – Determines the period for the ZigZag structure used as a foundation for pattern detection. It’s an essential parameter that directly affects the number and quality of detected patterns.
Pattern Size – Specify the desired size of patterns in terms of the number of bars on the chart.
Remove patterns older than, bars – Allows you to remove old patterns from the chart and prevent their display if they formed more than a set number of bars ago (default is 200 bars).
🔶 Entry / Target / StopLoss Settings
In the screenshot above, you can see the settings related to configuring your preferred entry points, target levels, and stop-loss strategies. Below is a detailed explanation of each option:
Trade Direction – Both / Long / Short - Choose the direction in which you want to trade. Selecting “Both” will search for patterns in both directions, while “Long” or “Short” will filter the patterns to show only those that align with the selected direction.
Entry % - This sets the entry level as a percentage of the pattern’s total size. It determines how far from the pattern’s starting point the entry will be placed.
Target 1 - Also defined as a percentage of the pattern size. This represents the distance from the entry point to the first take profit level.
Target 2 - Optionally, you can enable a second take profit level and set the percentage distance for it.
Stop-Loss Type - Choose from six different stop-loss types: Invalidation Price, Last Pivot, %, % of pattern size, Pips, or Risk/Reward ratio. Each provides flexibility depending on your trading style.
Stop-Loss SL Value - This is the specific value related to the chosen stop-loss type. For example, if you choose the “%” type, this setting will define the percentage used to place the Stop Loss level.
Using the Shark pattern as an example, let’s demonstrate how the entry, target, and stop-loss levels function. Based on the overall size of the pattern, you can input the desired percentage values for your trade entry, target, and stop-loss levels, and the indicator will automatically calculate their exact placement relative to the pattern’s structure.
You can also choose alternative stop-loss methods, such as Risk/Reward, in which case the stop-loss will be dynamically calculated based on the risk-to-reward ratio you define.
It’s also important to note that for harmonic patterns, the height of the pattern is calculated based on the segment from point C to point D. However, for the Black Swan pattern, the measurement is taken from point A to point D. This distinction should be kept in mind when configuring your stop-loss levels.
Additionally, classic patterns each have their own unique method for calculating pattern height, depending on the specific structure.
🔶 Trailing Stop Settings
These settings are designed to help improve your strategy’s results, especially if you use break-even stop-loss adjustments after reaching specific targets, which can help increase your win rate.
Move SL to Break-even after reaching Target 1 - Enabling this option will automatically move the stop-loss to the entry level (break-even) once the price hits the first target (Target 1).
Trailing Stop Type - Choose from three trailing stop types: Percentage (%), % of pattern size, Pips
Trailing Stop Value - Enter the desired value for the chosen trailing stop type. For example, if you selected %, the number entered will be treated as a percentage. If you chose Pips, it will be the number of pips for the trailing stop.
Enable Trailing Stop at reaching - This setting defines when the trailing stop should be activated. You can choose from four options: Target 1, %, % of pattern size, Pips
Trailing After Value - This works in combination with the previous setting. If you choose one of the three non-Target options, this field lets you enter the specific value that will trigger the trailing stop.
🔶 Display Settings
In the screenshot above, you can see the Display Settings section, which allows you to fully customize the visual appearance of patterns on your chart according to your preferences.
You can choose to show or hide pattern labels (XABCD), ratio values, entry/TP/SL levels, and pattern fill for better visual clarity.
Additionally, you can set the maximum number of active patterns displayed on the chart, as well as view the historical formations of any specific pattern to analyze how it appeared in past price action.
🔶 Dashboard | Pattern Table
In the screenshot above, you can see the settings for two tables: one displaying the results of each pattern , and the other showing active patterns currently on the chart. Both tables offer flexible customization options, allowing you to adjust their color schemes, sizes, and on-screen positions to best fit your workflow.
🔶 Patterns Setting
For each individual pattern, you can customize its appearance by selecting your preferred color , adjusting its transparency , or even hiding it entirely from the chart if you don’t wish to display it.
🔶 Notifications
You can easily configure notifications for various events, such as the appearance of a new pattern or when the price reaches the entry level of a trade.
Additionally, a dedicated panel allows you to use macros for advanced customization of your alerts, so you can tailor the notifications exactly to your needs and trading style.
List of Supported Placeholders:
{{event}} - Event name ('New Pattern', 'Target 1', etc.)
{{pattern}} - Pattern name ('Bat', 'Crab', etc.)
{{event_price}} - Event Price (entry price for entry event, sl price for sl event, etc.)
{{sl}} - Stop-loss price
{{entry}} - Entry Price
{{target1}}, {{target2}} - Target Prices
{{invalidation}} - Invalidation Price
{{exchange}} - Exchange ('Binance')
{{ticker}} - Ticker ('BTCUSD')
{{interval}} - Timeframe ('1s', '1', 'D')
{{open}}-{{close}}-{{high}}-{{low}} - Candle price values
{{volume}} - Candle volume
{{time}} - Candle open time in UTC timezone
{{timenow}} - Signal time in UTC timezone
{{syminfo.currency}} - 'USD' for BTCUSD pair
{{syminfo.basecurrency}} - 'BTC' for BTCUSD pair
✅ USAGE METHODS
The indicator and its patterns can be used as a standalone trading strategy, providing clear entry points, stop-loss levels, and take-profit targets - without the need for any additional tools or indicators.
However, for optimal results, we recommend integrating the indicator with your existing trading strategy. Using it as a confluence tool - alongside other technical indicators or as a complement to your fundamental analysis - can significantly enhance your decision-making and improve overall performance!
🟠 Disclaimer
Past performance is not indicative of future results. To trade successfully, it is crucial to have a thorough understanding of the market context and the specific situation at hand. Always conduct your own research and analysis before making any trading decisions.
Bitcoin Spot ETF Combined Volume (with MA)Bitcoin Spot ETF Combined Volume Indicator
This TradingView script tracks and combines the daily trading volumes of major Bitcoin Spot ETFs, including:
• IBIT (BlackRock)
• FBTC (Fidelity)
• ARKB (ARK Invest)
• BITB (Bitwise)
• HODL (Valkyrie)
• GBTC (Grayscale)
It plots:
• The total combined volume
• A moving average of combined volume
• Dynamic color changes (green = strong volume, red = weak volume)
• Optional alerts when volume crosses above or below the moving average
Why it matters:
Rising ETF volume often signals increased institutional interest, potential accumulation, or distribution.
Watching volume trends helps spot shifts in Bitcoin’s broader market sentiment.
⸻
Disclaimer:
This tool is for informational and educational purposes only.
It does not constitute financial advice.
Always do your own research (DYOR) and consult a professional before making investment decisions.
Use at your own risk.
Weekly Open Range [BigBeluga]
A precision weekly range tracker that captures early market positioning from the first moments of the trading week.
By dynamically measuring the highest and lowest points from the first three candles after the Sunday 21:00 UTC open, the indicator builds a reactive support and resistance framework for the week ahead.
It also visualizes the active range with a dynamic box and provides live updates of the current price movement against the established range boundaries.
🔵 KEY FEATURES
Automatically marks the weekly open range starting at Sunday 21:00 UTC .
Identify maximum high and minimum low from the first 3 candles after the weekly open.
if isWeeklyOpen or isWeeklyOpen or isWeeklyOpen or isWeeklyOpen
h = math.max(high, range_box.get_top())
l = math.min(low, range_box.get_bottom())
Draws two horizontal lines from the range extremes, acting as dynamic support/resistance zones throughout the week.
Visualizes the range with a semi-transparent box for clear zone identification.
Includes a compact dashboard panel with:
- Symbol and current price with bullish or bearish bar indication with ▲ / ▼
- Current weekly high/low range values
🔵 USAGE
Treat the high and low of the range as support/resistance zones for the week.
Combine with volume analysis or liquidity tools for entry confirmation .
Refresh your key levels every week as the indicator resets each Sunday night .
Works great alongside Smart Money Concepts (ICT) strategies and weekly planning.
Weekly Open Range gives traders a reliable structure to anchor their week. With clear range mapping, breakout signals, and intuitive visuals, it becomes a valuable part of any strategic trading approach—especially when precision timing around liquidity zones is key.
OnePunch Algo Scalper V6Overview:
OnePunch Algo Scalper V6 is an invite-only script designed for short-term trend scalping and extreme reversal detection. It uniquely combines classic momentum and volume indicators, enhanced with multi-time session awareness, to deliver precise high-probability entry alerts.
Core Concepts:
RSI and CCI are used together to identify momentum exhaustion points for early reversal spotting.
CMF is integrated to filter buy signals only when volume flow confirms bullish intent, avoiding weak uptrends.
SMA overlays track medium to long-term trends to confirm direction bias for safer scalping entries.
MACD Histogram weakness detection adds a momentum weakening filter to confirm whether bullish/bearish pressure is losing strength — improving risk-reward setups.
Stochastic crossovers help predict short-term pullbacks, allowing for precision "Prepare for CALL/PUT" signals.
Session-based background coloring indicates high-probability trading windows (Morning, Midday, Afternoon), guiding users to focus on optimal times.
Signals Generated:
✅ "Trending Up": Momentum acceleration uptrend signal (RSI + CCI crossover with volume confirmation).
✅ "Trending Down": Momentum deceleration sell signal.
✅ "Reversal Up" / "Bearish Down": Extreme oversold/overbought reversals.
✅ "Prepare for PUTs/CALLs": Anticipation signals based on stochastic weakening + MACD histogram convergence.
Chart Setup:
The script draws clean shape labels on the chart for each event (e.g., "Up Trend", "Bearish") for clarity.
Background highlights show different sessions to help traders recognize the most liquid periods.
No other indicators are required on the chart.
Usage Notes:
This script is ideal for scalping or short intraday swing trades on liquid assets like indices, crypto, or forex.
Best results when combined with manual Support/Resistance marking (use "Prepare for PUTs/CALLs" near S/R zones).
OpeningRange (Trading_Tix)Purpose:
The indicator highlights the high, low, and middle (50%) price levels of a specified session's opening range. These levels can serve as key support and resistance zones for trading strategies. The indicator also offers options to extend these levels beyond the session into later timeframes, making it useful for tracking breakout or trend continuation setups.
Key Features:
1. Session Detection:
The indicator identifies a specific session period using the user-defined Session Time. It calculates the start time, high, and low prices during this period:
rangeTime: Defines the session time range (default: 5:00 PM to 2:59 AM).
extendTime: Defines the extended time range where lines/backgrounds can be prolonged.
2. Opening Range Calculation:
High (high_val) and Low (low_val)**:
Tracks the highest and lowest prices during the session.
Middle Line:
A midpoint is calculated by averaging high_val and low_val.
3. Visual Elements:
Horizontal Lines:
Drawn at the high, low, and middle levels.
Customizable in width and color.
Shaded Background Box:
Covers the range between high and low prices.
The box’s color and transparency can be adjusted.
Line and Box Extension:
Optionally extends these elements into the extended time range.
4. Customization:
Users have the flexibility to:
Toggle visibility of lines, middle line, and background box.
Adjust colors, line thickness, and style.
Enable or disable the extension of lines and backgrounds into the extended period.
How It Works:
Initialization:
The script initializes variables to store range data (startTime, high_val, low_val) and drawing objects (lines, boxes).
It detects whether the current bar falls within the session (inSession) or extended timeframe (inExtend).
Plotting:
During the session:
Deletes previous lines and boxes from prior sessions.
Draws new lines at the high, low, and middle levels.
Creates a background box covering the range, if enabled.
During the extended period:
Extends the session lines and box, if the user has opted for extensions.
Updates:
Continuously adjusts the high/low values and updates the lines as new price data arrives.
Use Cases:
This indicator can be valuable for traders who:
Use the opening range to identify potential breakout zones.
Trade based on price consolidation within the range.
Want a visual representation of key price levels to plan entries and exits.
Would you like help refining this script further or adjusting its settings to match your trading style?
Support and Resistance Signals MTF [ZaryFlux]Support and Resistance Signals MTF is a powerful multi-timeframe (MTF) indicator designed to automatically detect key support and resistance levels across different timeframes.
It highlights significant price zones where reversals, breakouts, or trend continuations are most likely to occur — helping traders of all styles (scalping, swing, intraday) make smarter entries and exits.
Key Features :
Automatic plotting of dynamic support & resistance zones
Multi-Timeframe analysis: view higher timeframe zones directly on your current chart
Real-time alerts for price interactions with key levels
Customizable sensitivity for different trading strategies
Clean, non-cluttered design for easy readability
Whether you're trading Forex, crypto, stocks, or indices, this tool gives you a clearer view of market structure and high-probability trading zones.
BTC Daily DCA CalculatorThe BTC Daily DCA Calculator is an indicator that calculates how much Bitcoin (BTC) you would own today by investing a fixed dollar amount daily (Dollar-Cost Averaging) over a user-defined period. Simply input your start date, end date, and daily investment amount, and the indicator will display a table on the last candle showing your total BTC, total invested, portfolio value, and unrealized yield (in USD and percentage).
Features
Customizable Inputs: Set the start date, end date, and daily dollar amount to simulate your DCA strategy.
Results Table: Displays on the last candle (top-right of the chart) with:
Total BTC: The accumulated Bitcoin from daily purchases.
Total Invested ($): The total dollars invested.
Portfolio Value ($): The current value of your BTC holdings.
Unrealized Yield ($): Your profit/loss in USD.
Unrealized Yield (%): Your profit/loss as a percentage.
Visual Markers: Green triangles below the chart mark each daily investment.
Overlay on Chart: The table and markers appear directly on the BTCUSD price chart for easy reference.
Daily Timeframe: Designed for Daily (1D) charts to ensure accurate calculations.
How to Use
Add the Indicator: Apply the indicator to a BTCUSD chart (e.g., Coinbase:BTCUSD, Binance:BTCUSDT).
Set Daily Timeframe: Ensure your chart is on the Daily (1D) timeframe, or the script will display an error.
Configure Inputs: Open the indicator’s Settings > Inputs tab and set:
Start Date: When to begin the DCA strategy (e.g., 2024-01-01).
End Date: When to end the strategy (e.g., 2025-04-27 or earlier).
Daily Investment ($): The fixed dollar amount to invest daily (e.g., $100).
View Results: Scroll to the last candle in your date range to see the results table in the top-right corner of the chart. Green triangles below the bars indicate investment days.
Settings
Start Date: Choose the start date for your DCA strategy (default: 2024-01-01).
End Date: Choose the end date (default: 2025-04-27). Must be after the start date and within available chart data.
Daily Investment ($): Set the daily investment amount (default: $100). Minimum is $0.01.
Notes
Timeframe: The indicator requires a Daily (1D) chart. Other timeframes will trigger an error.
Data: Ensure your BTCUSD chart has historical data for the selected date range. Use reliable pairs like Coinbase:BTCUSD or Binance:BTCUSDT.
Limitations: Does not account for trading fees or slippage. Future dates (beyond the current date) will not display results.
Performance: Works best with historical data. Free TradingView accounts may have limited historical data; consider premium for longer ranges.
Initial Imbalance [First FVG - ICT] v1Initial Imbalance v1
This indicator identifies the first Fair Value Gap (FVG) at the start of a user-defined session, inspired by The Inner Circle Trader. It helps traders spot initial imbalance in a sessions price action, offering filter options to refine FVG detection and optional session high/low lines for context.
Features:
Detects the first bullish or bearish FVG at the session start (default: 08:30). ISE: Sets a custom session start time (hour and minute).
Filters FVGs by size: None, ATR-based, or Points-based.
Displays session high/low lines (optional) to visualize the session range.
Customizable colors for bullish and bearish FVGs (background and border derived from a single color input).
Alerts for new FVGs and mitigated FVGs.
Settings:
Session Start Time: Define the hour and minute for the session start.
FVG Filter Type: Choose None, ATR, or Points to filter FVGs by size.
ATR Multiple / Minimum Points: Set the minimum FVG size for ATR or Points filters.
Show Session High/Low Lines: Toggle visibility of session range lines.
Bullish/Bearish FVG Colors: Customize colors for FVGs.
Technical Details:
Overlay indicator, displayed directly on the price chart.
This indicator is ideal for traders seeking to identify key price imbalances at the start of a session, with flexible filtering and visualization options.
BTC Growth | AlchimistOfCrypto🌈 BTC Regression Bands & Halvings – Unveiling Bitcoin's Logarithmic Growth Fields 🌈
"The Bitcoin Regression Bands, engineered through advanced logarithmic mathematics, visualizes the probabilistic distribution of Bitcoin's price evolution within a multi-cycle growth paradigm. This indicator employs principles from hyperbolic regression where decay coefficients create mathematical boundaries that define Bitcoin's long-term value progression. Our implementation features algorithmically enhanced rainbow visualization derived from extensive cycle analysis, creating a dynamic representation of Bitcoin's logarithmic growth with adaptive color gradients that highlight critical halving-based phase transitions in the asset's monetary evolution."
📊 Professional Trading Application
The Bitcoin Regression Bands transcends traditional price prediction models with a sophisticated multi-band illumination system that reveals the underlying structure of Bitcoin's monetary evolution. Scientifically calibrated across multiple halving cycles and featuring seamless rainbow visualization, it enables investors to perceive Bitcoin's position within its macro growth trajectory with unprecedented clarity.
- Visual Theming 🎨
Scientifically designed rainbow gradient optimized for cycle pattern recognition:
- Violet-Blue: Lower value accumulation zones with highest mathematical growth potential
- Green: Fair value equilibrium zone representing the regression mean
- Yellow-Orange: Moderate overvaluation regions indicating potential resistance
- Red: Statistical extreme zones indicating mathematical cycle peaks
- Halving Visualization 🔍
- Precise cycle boundaries demarcating Bitcoin's fundamental supply shock events
- Adaptive band spacing based on mathematical cycle progression
- Multiple sub-cycle markers revealing the probabilistic nature of Bitcoin's trajectory
🚀 How to Use
1. Identify Macro Position ⏰: Locate Bitcoin's current price relative to the regression bands
2. Understand Cycle Context 🎚️: Note position within the current halving cycle for time-based analysis
3. Assess Mathematical Value 🌈: Determine potential over/undervaluation based on band location
4. Adjust Investment Strategy 🔎: Modulate position sizing based on mathematical value assessment
5. Identify Cycle Phases ✅: Monitor band transitions to detect accumulation and distribution zones
6. Invest with Precision 🛡️: Utilize lower bands for strategic accumulation, upper bands for strategic reduction
7. Manage Risk Dynamically 🔐: Scale investment allocations based on mathematical cycle positioning
Swing + 3-Bar Breakout(Mastersinnifty)Overview
This script is a hybrid trading tool combining swing-based structural analysis, momentum filtering, and breakout validation — designed to detect early reversals and confirm trend continuations within a single unified system.
It integrates five major components:
- ZigZag Structural Detection — to identify critical swing highs and lows.
- Momentum Validation — using RSI and Rate of Change (ROC) to confirm the strength behind swings.
- Three-Bar Breakout Confirmation — spotting trend continuation beyond swing structures.
- Dynamic Trailing Stop System — managing trades adaptively via ATR-based trailing stops.
- Projected Target Levels — estimating future price destinations based on measured swings.
---
What Makes This Script Unique
Rather than using standard indicators in isolation, this script layers multiple conditions sequentially and contextually:
- Structural Foundation: Identifies pivots through a tight ZigZag algorithm tuned with a low-depth setting for early detection.
- Momentum Checkpoint: Validates pivots only if RSI extremes and ROC momentum surges align, reducing false breakouts during sideways movements.
- Breakout Validation: Confirms trend continuation when price breaches critical multi-bar highs/lows post-swing formation.
- Risk-Managed Progression: Initiates adaptive ATR-based trailing stops immediately after signal generation, tightening risk dynamically as trends unfold.
- Target Projection: Estimates potential move size by projecting the magnitude of the last completed swing, offering realistic price milestones.
This combination provides a dual-purpose tool for both reversals and breakouts, allowing flexible trading styles within a single indicator.
---
How the Script Works
- Swing Detection
- A swing low is identified when a price bottom forms (via ZigZag) and momentum conditions are met (RSI < 20, ROC > +0.5).
- A swing high is identified when a price top forms and momentum conditions are met (RSI > 80, ROC < -0.5).
- Breakout Confirmation
- After a swing is detected, if price crosses above/below a three-bar swing structure, a secondary breakout signal is triggered.
- Trailing Stop Activation:
- Upon a confirmed swing or breakout, an ATR-multiplied trailing stop is initialized below/above the entry point to secure profits dynamically.
- Projection Logic
- Swing height is measured from the latest high-low sequence, and potential future targets are plotted for visual guidance.
---
Who Can Benefit From This Indicator
- Swing Traders — who seek early entries around reversal zones.
- Scalpers & Intraday Traders — needing fast-reacting momentum-based confirmation.
- Breakout Traders — to time entries after multi-bar compressions.
- Risk Managers — through integrated ATR trailing stops for dynamic exit management.
- Price Action Analysts — utilizing projected swing targets for strategic planning.
---
How to Use
- Entry Identification
- Look for buy signals at swing lows with strong positive momentum.
- Look for sell signals at swing highs with strong negative momentum.
- Use breakout confirmations to validate the trend continuation beyond swings.
- Risk Management
- Monitor trailing stop lines to track trade health.
- Watch projected targets to anticipate realistic move completions.
- Chart Visibility
- All plotted points, breakout markers, trailing stops, and projected levels are generated automatically for clarity.
---
Disclaimer
This script is intended for educational and analytical purposes only.
It does not constitute financial advice, and past performance does not guarantee future results.
All trading involves risk. Users are responsible for their own trading decisions.
Impulse Indicator New Capital FXThe Impulse Indicator is designed for traders who demand precision when identifying explosive market moves. This tool detects powerful short-term impulses by combining ATR-based volatility analysis with tactical price action patterns.
Key Features:
1. Dynamic Impulse Detection: Spots major price shifts based on a 5-bar momentum structure and ATR volatility filter.
2. Adaptive Volatility Filter: Filters out weak signals with a customizable ATR multiplier.
3. Cooling Period Logic: Reduces signal noise by enforcing a minimum bar spacing between impulses.
4. Clear Visual Signals: Plots "IMPULSE" labels directly on your chart for instant recognition.
How It Works:
The markets explode in a short-period of time, the indicator spots the move and plots a label, now if you're trading mean reversion pairs, you can look to go against the impulse, or if you want to catch trends you can use the indicator for potential continuation setups.
Customizable Settings:
ATR Multiplier (Best with 3,4,5)
Cooling Period (Standard is 5 bars, which is good)
ATR Length (The standard 14 period)
Stablecoin Supply Ratio [Alpha Extract]Stablecoin Supply Ratio Indicator
The Stablecoin Supply Ratio (SSR) indicator compares Bitcoin's market capitalization to the aggregate supply of major stablecoins, offering insights into relative purchasing power and liquidity. This tool helps traders:
✔ Assess Bitcoin's buying power relative to the available stablecoin liquidity.
✔ Detect periods of capital inflow or outflow from stablecoins.
✔ Identify market sentiment shifts based on stablecoin reserves.
🔶 CALCULATION
The indicator aggregates the supply of key stablecoins and compares it to Bitcoin's market cap:
Stablecoin Aggregation
• Inputs:
USDT, USDC, DAI, USDD (daily closing values).
BUSD Market Cap (Glassnode data).
• Total Stablecoin Supply:
Sum of the listed stablecoins' market caps.
Stablecoin Supply Ratio (SSR)
• Formula:
SSR = Bitcoin Market Cap / Total Stablecoin Supply
• Normalized SSR:
Normalized by dividing SSR by its 200-day SMA.
Bollinger Bands
• Bands are applied to the normalized SSR using a configurable moving average type and 2 standard deviations.
Example Calculation:
ssr = btcmc / stablecoin_liq
ratio = ssr / ta.sma(ssr, 200)
basis = ta.sma(ratio, 200)
dev = 2 * ta.stdev(ratio, 200)
upper = basis + dev
lower = basis - dev
🔶 DETAILS
Visual Features:
• Normalized SSR:
Plotted as a light green line.
• Upper Band:
Red line indicating SSR overbought zone.
• Lower Band:
Green line signaling SSR oversold zone.
Interpretation:
• High SSR: Indicates stablecoin reserves are low relative to Bitcoin's market cap, reducing stablecoin buying power.
• Low SSR: Suggests high stablecoin liquidity relative to Bitcoin's market cap, increasing potential buying pressure.
• Band Crosses: Movements beyond the upper or lower bands may signal sentiment extremes.
🔶 EXAMPLES
Market insights include:
• Capital Outflows: SSR rising into the upper band may reflect decreasing stablecoin reserves, potentially signaling a liquidity drain.
• Capital Inflows: SSR dropping near the lower band could indicate growing stablecoin reserves, potentially fueling Bitcoin demand.
🔶 SETTINGS
Customization Options:
• MA Type: Choose between SMA, EMA, WMA, SMMA, and VWMA for band calculation.
• Period: Adjust the 200-day smoothing period.
• Deviation Multiplier: Modify the standard deviation multiplier (default: 2).
The Stablecoin Supply Ratio indicator is a valuable tool for traders monitoring liquidity dynamics and stablecoin trends to anticipate Bitcoin market moves and capital flows.