Spent Output Profit Ratio (SOPR) Z-Score | [DeV]SOPR Z-Score
The Spent Output Profit Ratio (SOPR) is an advanced on-chain metric designed to provide deep insights into Bitcoin market dynamics by measuring the ratio between the combined USD value of all Bitcoin outputs spent on a given day and their combined USD value at the time of creation (typically, their purchase price). As a member of the Realized Profit/Loss family of metrics, SOPR offers a window into aggregate seller behavior, effectively representing the USD amount received by sellers divided by the USD amount they originally paid. This indicator enhances this metric by normalizing it into a Z-Score, enabling a statistically robust analysis of market sentiment relative to historical trends, augmented by a suite of customizable features for precision and visualization.
SOPR Settings -
Lookback Length (Default: 150 days): Determines the historical window for calculating the Z-Score’s mean and standard deviation. A longer lookback captures broader market cycles, providing a stable baseline for identifying extreme deviations, which is particularly valuable for long-term strategic analysis.
Smoothing Period (Default: 100 days): Applies an EMA to the raw SOPR, balancing responsiveness to recent changes with noise reduction. This extended smoothing period ensures the indicator focuses on sustained shifts in seller behavior, ideal for institutional-grade trend analysis.
Moving Average Settings -
MA Lookback Length (Default: 90 days): Sets the period for the Z-Score’s moving average, offering a shorter-term trend signal relative to the 150-day Z-Score lookback. This contrast enhances the ability to detect momentum shifts within the broader context.
MA Type (Default: EMA): Provides six moving average types, from the simple SMA to the volume-weighted VWMA. The default EMA strikes an optimal balance between smoothness and responsiveness, while alternatives like HMA (Hull) or VWMA (volume-weighted) allow for specialized applications, such as emphasizing recent price action or incorporating volume dynamics.
Display Settings -
Show Moving Average (Default: True): Toggles the visibility of the Z-Score MA plot, enabling users to focus solely on the raw Z-Score when preferred.
Show Background Colors (Default: True): Activates dynamic background shading, enhancing visual interpretation of market regimes.
Background Color Source (Default: SOPR): Allows users to tie the background color to either the SOPR Z-Score’s midline (reflecting adjustedZScore > 0) or the MA’s trend direction (zScoreMA > zScoreMA ). This dual-source option provides flexibility to align the visual context with the primary analytical focus.
Analytical Applications -
Bear Market Resistance: When the Z-Score approaches or exceeds zero (raw SOPR near 1), it often signals resistance as sellers rush to exit at break-even, a pattern historically observed during downtrends. A rising Z-Score MA crossing zero can confirm this pressure.
Bull Market Support: Conversely, a Z-Score dropping below zero in uptrends indicates reluctance to sell at a loss, forming support as sell pressure diminishes. The MA’s bullish coloring reinforces confirmation of renewed buying interest.
Extreme Deviations: Values significantly above or below zero highlight overbought or oversold conditions, respectively, offering opportunities for contrarian positioning when paired with other on-chain or price-based metrics.
Moving Averages
ORB Strategy with VWAP and 21 EMA Confluencesorta works just gotta filter out bad signals fr if ur good at daily bias this is a good orb indictor
SMA Crossover + MACD Zero Filter by AaronEscaThis indicator combines Simple Moving Average crossovers with a MACD zero-line filter to provide reliable buy/sell signals with momentum confirmation.
Toggle between:
20/50 SMA crossover – classic trend confirmation
9/20 SMA crossover – early reversal signals
Includes:
Visual fill between SMAs
MACD filter to confirm momentum
Instant BUY/SELL labels
Alerts for bullish and bearish entries
Created by AaronEsca to help traders reduce noise and act with confidence. Great for swing traders and intraday setups on the 15m–4H timeframes.
20EMA📈 20 EMA Multi-Period Indicator
This indicator displays 20 Exponential Moving Averages (EMA) with customizable periods ranging from 10 to 200. It helps visualize market dynamics by overlaying multiple EMAs on the price chart.
🔥 Features:
✅ Fully customizable 20 EMAs (period & price source)
✅ Ideal for identifying short, medium, and long-term trends
✅ Suitable for scalping, day trading, and swing trading
✅ Works as an overlay directly on the price chart
⚙️ Customizable Settings:
EMA Periods: Adjust each EMA length to match your strategy
Price Source: Choose between close, open, high, low, etc.
💡 How to Use:
A strong trend is confirmed when EMAs are aligned in one direction
Crossovers between EMAs may indicate trend reversals
EMAs can act as dynamic support and resistance levels
Add this indicator to your trading toolkit to analyze trends and optimize your trade entries and exits! 🚀📊
EMA + RSI + MACD + Support & Resistance Combined StrategyStrategy: Enhanced EMA + RSI + MACD + Support & Resistance
This strategy combines multiple technical indicators to create a robust system for identifying market opportunities. By leveraging Exponential Moving Averages (EMA), Relative Strength Index (RSI), and Moving Average Convergence Divergence (MACD) for trend confirmation, along with Support and Resistance levels to trigger breakout trades, this strategy aims to capture both trending and breakout movements.
Indicators Used:
EMA (5, 20, 50, 200): Helps identify the prevailing market trend, with short-term EMAs crossing longer-term ones as signals of trend shifts.
RSI (14): Confirms whether the market is in a bullish (RSI > 50) or bearish (RSI < 50) zone, adding additional filter to entries.
MACD (12, 26, 9): Used to confirm the momentum, where a MACD line crossing above the signal line indicates a bullish signal and vice versa for bearish.
Breakout Strategy (Support & Resistance):
Support & Resistance levels are dynamically calculated based on a user-defined period.
Buy Condition: Triggered when price breaks above resistance and confirms bullish indicators (EMA, RSI, MACD).
Sell Condition: Triggered when price breaks below support and confirms bearish indicators (EMA, RSI, MACD).
Exits & Risk Management:
Trailing Stop: A trailing stop is applied to lock in profits as the price moves in favor of the trade. The stop is dynamically adjusted with the market price, providing better protection during strong trends.
Stop Loss: The stop loss is set at key support and resistance levels to ensure a safe exit if the market moves against the trade.
This strategy aims to provide more frequent entries, take advantage of breakouts, and effectively manage risk with trailing stops. It is suitable for traders looking to capture both trends and breakouts across various timeframes.
ATR Probability + MAs + Bollinger Bands PROATR Probability + MAs + Bollinger Bands
Made by DeepSeek))
Custom EMAs, SMA y VWAP con Puntos en CrucesHighly configurable moving average indicator for each person's trading strategy.
111D SMA / (350D SMA * 2)Indicator: Pi Cycle Ratio
This custom technical indicator calculates a ratio between two moving averages that are used for the PI Cycle Top indicator. The PI Cycle Top indicator triggers when the 111-day simple moving average (111D SMA) crosses up with the 350-day simple moving average (350D SMA *2).
The line value is ratio is calculated as:
Line Value = 111DSMA / (350D SMA × 2)
When the 111D SMA crosses with the 350D SMA triggering the PI Cycle Top, the value of the ratio between the two lines is 1.
This visualizes the ratio between the two moving averages into a single line. This indicator can be used for technical analysis for historical and future moves.
MACD Crossover Breakout Rays with VWAP & Breakout ConfirmationOverview
This script is designed to highlight potential strong breakout moves by combining MACD crossovers, VWAP confirmation, and price action breakouts. It helps traders identify momentum shifts and filter high-probability trade setups.
How It Works
1. MACD Crossover Detection
- The script detects bullish crossovers (MACD line crossing above the signal line) and bearish crossovers (MACD line crossing below the signal line).
- A horizontal ray is drawn at the high (bullish) or low (bearish) of the crossover candle.
2. Multi-Timeframe MACD Confirmation
- A secondary MACD crossover is checked on a lower timeframe (default: 5 minutes) to confirm the strength of the move.
- The script ensures alignment between the primary and lower timeframe MACD crossovers before signaling a strong move.
3. VWAP Confirmation
- A bullish breakout is valid only if the price is above the VWAP.
- A bearish breakout is valid only if the price is below the VWAP.
4. Breakout Validation
- The script waits for price action confirmation—a breakout is only valid when a candle closes above (bullish) or below (bearish) the horizontal ray.
- Once confirmed, the ray color changes to blue to signal a strong move.
5. Label Alerts for Strong Moves
- When all conditions align, the script prints "STRONG 💪 MOVE" above or below the breakout candle.
- The previous label is automatically removed to keep the chart clean.
Customization Options
- MACD Settings: Adjust fast/slow lengths and signal smoothing.
- Lower Timeframe Confirmation: Choose a different timeframe for multi-timeframe MACD validation.
- VWAP Filtering: Ensure breakouts align with volume-weighted trends.
- Ray Length & Colors: Customize the horizontal ray length, width, and colors.
- Breakout Confirmation Window: Adjust how many bars to check for MACD alignment.
Best Use Cases
✅ Identifying high-probability breakouts with trend confirmation.
✅ Filtering out false signals by requiring multi-timeframe agreement.
✅ Helping traders stay in momentum-driven moves with strong confirmation.
⚠ Note: This script is for educational purposes only and does not constitute financial advice. Always conduct your own analysis before making trading decisions.
EMA 10x20 CrossRecommended to use in 4H or above
"The EMA 10x20 Cross Indicator is a clean, efficient tool to help traders identify trend changes using two exponential moving averages (EMAs).
This script plots:
A fast EMA (10-period) in green
A slow EMA (20-period) in red
Blue circles at crossover points (appearing directly on the EMA 20 line for easy spotting)
Unlike complex indicators, this keeps your chart clutter-free while providing clear visual signals for potential trend reversals. Whether you're a day trader, swing trader, or long-term investor, this classic EMA crossover strategy helps you:
✔ Catch early trend shifts
✔ Filter out minor price noise
✔ Improve entry & exit timing
Simply add it to your chart and let the blue circles guide your next trade! 🚀
Customize lengths in inputs if needed—works on any timeframe!"
Trend V1(2025 Colorized)Just another way to visualize a trend. It's great for keeping you in a fast trend!
Multi-MA Strategy Analyzer with BacktestMulti-MA Strategy Analyzer with Backtest
This TradingView Pine Script indicator is designed to analyze multiple moving averages (SMA or EMA) dynamically and identify the most profitable one based on historical performance.
Features
Dynamic MA Range:
Specify a minLength, maxLength, and step size.
Automatically calculates up to 20 MAs.
Custom MA Calculation:
Uses custom SMA and EMA implementations to support dynamic length values.
Buy/Sell Logic:
Buy when price crosses above a MA.
Sell when price crosses below.
Supports both long and short trades.
Performance Tracking:
Tracks PnL, number of trades, win rate, average profit, and drawdown.
Maintains individual stats for each MA.
Best MA Detection:
Automatically highlights the best-performing MA.
Optional showBestOnly toggle to focus only on the best line and its stats.
Visualization:
Up to 20 plot() calls (static) for MAs.
Green highlight for the best MA.
Color-coded result table and chart.
Table View
When showBestOnly = false, the table displays all MAs with stats.
When showBestOnly = true, the table displays only the best MA with a summary row.
Includes:
Best MA length
Total PnL
Number of trades
Win rate
Avg PnL per trade
Max Drawdown
Configuration
minLength (default: 10)
maxLength (default: 200)
step (default: 10)
useEMA: Toggle between EMA and SMA
showBestOnly: Focus on best-performing MA only
Notes
MA plotting is static, limited to 20 total.
Table supports highlighting and is optimized for performance.
Script is structured to run efficiently using arrays and simple int where required.
Potential Extensions
Add visual buy/sell arrows
Export stats to CSV
Strategy tester conversion
Custom date range filtering for backtesting
Author: Muhammad Wasim
Version: 1.0
Rainbow EMA Areas [Hypersonic]This indicator provides a nice visual representation of 6 EMA lines on your chart without adding to the clutter of other indicating lines. The starting values are 1, 9, 21, 55, 100, and 200. By default, the lines are hidden but they can be turned on in the Settings section. You can change the colors but not the gradient/transparency. There's nothing else to this indicator other than being a different visual representation of 6 EMA lines.
Hypersonic MAIN Intersection IndicatorIndicator that shows the intersection point of two Items of Interest. Backtesting showed the best was Candle/EMA 9.
1. I added 2 auxiliary EMA's that you can view or hide becuase I know some people like to see the EMA 200
2. You select the First and Second Item of Interest and it'll plot it in the background. First EMA and Second EMA correspond to whether you select them or not. The BWMA stuff is near the bottom. And in the middle is how you can show/hide the data table in the top-right.
3. you can show/hide different lines in the Style section
4. on the Style tab of Settings, you can turn off the whole table as well as the Trades, just the signal of the trade, or just the quantity of the trade
Moving Average 50+200+365Moving Average 50+200+365
What Are the 50, 200, and 365 Moving Averages for CRYPTOCAP:BTC ?
A Moving Average (MA) smooths out price data over a specified number of periods to reveal trends by filtering out short-term noise. For Bitcoin, these periods (50, 200, and 365) are typically applied on a daily chart, meaning they represent 50 days, 200 days, and 365 days, respectively.
50-period MA: A medium-term indicator, covering about 1.5–2 months (50 trading days), used to identify shorter-term trends in Bitcoin’s price.
200-period MA: A long-term indicator, spanning roughly 9–10 months (200 trading days), widely used to gauge Bitcoin’s overall trend.
365-period MA: A very long-term indicator, covering a full year (365 days), often used to assess multi-year trends or significant support/resistance levels in Bitcoin’s market cycles.
CPR BEAST with Previous Day High/Low, SMA, EMA, VWAP by MRS*Indicator Name:
**CPR BEAST with EMAs, VWAP & Previous Day High/Low by Rajasekhar Muvvala**
Description:
This powerful indicator combines **Central Pivot Range (CPR)**, **Daily/Weekly/Monthly Pivot Points**, **Moving Averages (SMA, EMA, 200-Day EMA)**, **Volume Weighted Average Price (VWAP)**, and **Previous Day High/Low** into a single, easy-to-use tool for traders. It is designed to help traders identify key support and resistance levels, trends, and potential reversal zones across multiple timeframes.
Key Features:
1. Central Pivot Range (CPR):
- CPR is calculated based on daily pivot points and includes three lines: "Central Pivot (CP)", "Bottom Central Pivot (BC)", and "Top Central Pivot (TC)".
- Enabled by default but can be toggled off from the settings.
- Customizable colors for all three lines.
2. Daily Pivot Points:
- Includes **Support (S1, S2, S3)** and **Resistance (R1, R2, R3)** levels.
- Levels 1 and 2 (S1/R1, S2/R2) are enabled by default, while Level 3 (S3/R3) can be optionally displayed.
- Resistance lines are red, and Support lines are green by default (colors customizable).
3. Weekly and Monthly Pivot Points:
- Weekly and Monthly pivots include **Pivot**, **Support (S1, S2, S3)**, and **Resistance (R1, R2, R3)** levels.
- Weekly levels are displayed as crossed (`+`) lines, while Monthly levels are displayed as circled (`o`) lines for better visual distinction.
- All weekly and monthly levels are optional and can be toggled on/off.
4. Moving Averages:
- Includes **Simple Moving Average (SMA)**, **Exponential Moving Average (EMA)**, and **200-Day EMA**.
- Customizable lengths and colors for each moving average.
- Helps identify trends and potential entry/exit points.
5. Volume Weighted Average Price (VWAP):
- Displays VWAP for intraday trading.
- Can be toggled on/off and customized for color.
6. Previous Day High/Low:
- Highlights the "Previous Day High" and "Previous Day Low" on the chart.
- Useful for identifying breakout or reversal zones.
- Customizable colors for both high and low levels.
7. Visibility Settings:
- All pivot points, CPR, VWAP, and previous day high/low are "hidden on daily and above timeframes" by default.
- Ensures the indicator is optimized for intraday trading.
8. Customization Options:
- Toggle visibility of CPR, pivot points, moving averages, VWAP, and previous day high/low.
- Customize colors, lengths, and styles for all elements.
- Adjust input sources for calculations (e.g., close, open, etc.).
---
How to Use:
Intraday Trading: Use the CPR and daily pivot points to identify key support and resistance levels. Combine these with VWAP and moving averages to confirm trends and find potential entry/exit points.
Swing Trading: Use weekly and monthly pivot points to identify longer-term support and resistance zones.
Breakout Trading: Monitor the previous day's high and low for potential breakout opportunities.
Trend Analysis: Use the moving averages (SMA, EMA, 200-Day EMA) to identify the overall trend direction.
---
Default Settings:
- **CPR**: Enabled by default (Central Pivot line cannot be disabled).
- **Daily Pivot Points**: Levels 1 and 2 (S1/R1, S2/R2) are enabled by default.
- **Weekly/Monthly Pivot Points**: Disabled by default (can be enabled from settings).
- **Moving Averages**: SMA (20), EMA (21), and 200-Day EMA are enabled by default.
- **VWAP**: Enabled by default.
- **Previous Day High/Low**: Enabled by default.
---
Customization Options:
- **CPR**:
- Enable/Disable CPR lines.
- Customize colors for CP, BC, and TC lines.
- **Pivot Points**:
- Enable/Disable daily, weekly, and monthly pivot points.
- Customize colors for support and resistance levels.
- **Moving Averages**:
- Adjust lengths for SMA, EMA, and 200-Day EMA.
- Customize colors for each moving average.
- **VWAP**:
- Enable/Disable VWAP.
- Customize color.
- **Previous Day High/Low**:
- Enable/Disable previous day high/low.
- Customize colors for high and low levels.
---
Best Practices:
1. **Combine Indicators**: Use CPR and pivot points in conjunction with moving averages and VWAP to confirm trends and identify high-probability trading setups.
2. **Timeframe Optimization**: The indicator is designed for intraday trading, so it hides unnecessary elements on daily and above timeframes.
3. **Color Coding**: Customize colors to match your chart theme and improve readability.
4. **Backtesting**: Test the indicator on historical data to understand how it behaves in different market conditions.
---
Disclaimer:
This indicator is intended for educational and informational purposes only. It does not provide financial advice or guarantee profits. Always conduct your own research and consult with a professional before making trading decisions.
Adv EMA Cloud v6 (ADX, Alerts)Summary:
This indicator provides a multi-faceted view of market trends using Exponential Moving Averages (EMAs) arranged in visually intuitive clouds, enhanced with an optional ADX-based range filter and configurable alerts for key market conditions. It aims to help traders quickly gauge trend alignment across short, medium, and long timeframes while filtering signals during potentially choppy market conditions.
Key Features:
Multiple EMAs: Displays 10-period (Fast), 20-period (Mid), and 50-period (Slow) EMAs.
Long-Term Trend Filter: Includes a 200-period EMA to provide context for the overall dominant trend direction.
Dual EMA Clouds:
Fast/Mid Cloud (10/20 EMA): Fills the area between the 10 and 20 EMAs. Defaults to Green when 10 > 20 (bullish short-term momentum) and Red when 10 < 20 (bearish short-term momentum).
Mid/Slow Cloud (20/50 EMA): Fills the area between the 20 and 50 EMAs. Defaults to Aqua when 20 > 50 (bullish mid-term trend) and Fuchsia when 20 < 50 (bearish mid-term trend).
Optional ADX Range Filter: Uses the Average Directional Index (ADX) to identify potentially non-trending or choppy markets. When enabled and ADX falls below a user-defined threshold, the EMA clouds will turn grey, visually warning that trend-following signals may be less reliable.
Configurable Alerts: Provides several built-in alert conditions using Pine Script's alertcondition function:
Confluence Condition: Triggers when a 10/20 EMA crossover occurs while both EMA clouds show alignment (both bullish/green/aqua or both bearish/red/fuchsia) and price respects the 200 EMA filter and the ADX filter indicates a trend (if filters are enabled).
MA Filter Cross: Triggers when price crosses above or below the 200 EMA filter line.
Full Alignment Start: Triggers on the first bar where full bullish or bearish alignment occurs (both clouds aligned + MA filter respected + ADX trending, if filters are enabled).
How It Works:
EMA Calculation: Standard Exponential Moving Averages are calculated for the 10, 20, 50, and 200 periods based on the closing price.
Cloud Creation: The fill() function visually shades the area between the 10 & 20 EMAs and the 20 & 50 EMAs.
Cloud Coloring: The color of each cloud is determined by the relationship between the two EMAs that define it (e.g., if EMA 10 is above EMA 20, the first cloud is bullish-colored).
ADX Filter Logic: The script calculates the ADX value. If the "Use ADX Trend Filter?" input is checked and the calculated ADX is below the specified "ADX Trend Threshold", the script considers the market potentially ranging.
ADX Visual Effect: During detected ranging periods (if the ADX filter is active), the plotCloud12Color and plotCloud23Color variables are assigned a neutral grey color instead of their normal bullish/bearish colors before being passed to the fill() function.
Alert Logic: Boolean variables track the specific conditions (crossovers, cloud alignment, filter positions, ADX state). The alertcondition() function creates triggerable alerts based on these pre-defined conditions.
Potential Interpretation (Not Financial Advice):
Trend Alignment: When both clouds share the same directional color (e.g., both bullish - Green & Aqua) and price is on the corresponding side of the 200 EMA filter, it may suggest a stronger, more aligned trend. Conversely, conflicting cloud colors may indicate indecision or transition.
Dynamic Support/Resistance: The EMA lines themselves (especially the 20, 50, and 200) can sometimes act as dynamic levels where price might react.
Range Warning: Greyed-out clouds (when ADX filter is enabled) serve as a visual warning that trend-based strategies might face increased difficulty or whipsaws.
Confluence Alerts: The specific confluence alerts signal moments where multiple conditions align (crossover + cloud agreement + filters), which some traders might view as higher-probability setups.
Customization:
All EMA lengths (10, 20, 50, 200) are adjustable via the Inputs menu.
The ADX length and threshold are configurable.
The MA Trend Filter and ADX Trend Filter can be independently enabled or disabled.
Disclaimer:
This indicator is provided for informational and educational purposes only. Trading financial markets involves significant risk. Past performance is not indicative of future results. Always conduct your own thorough analysis and consider your risk tolerance before making any trading decisions. This indicator should be used in conjunction with other analysis methods and tools. Do not trade based solely on the signals or visuals provided by this indicator.
SMA 12, 36, 200 with Signals and AlertsFeatures:
✅ Simple Moving Averages:
SMA 12 (short-term)
SMA 36 (mid-term)
SMA 200 (long-term trend filter)
✅ Buy & Sell Signals:
Buy: When SMA 12 crosses above SMA 36
Sell: When SMA 12 crosses below SMA 36
✅ Built-in Alerts:
Receive real-time alerts when a signal is triggered.
🧠 Strategy Overview – Multi-Timeframe Trading
This script is designed to be used with multi-timeframe analysis:
1H Chart – Trend Direction
If the price is above the SMA 200 on the 1-hour chart → look for Long opportunities.
If the price is below the SMA 200 on the 1-hour chart → look for Short opportunities.
5-Min Chart – Entry Timing
Once the higher-timeframe trend is clear, switch to the 5-minute chart.
Use SMA 12 and SMA 36 crossovers to time your entry in the direction of the main trend.
This approach helps filter out false signals and improves overall trade accuracy.
Multiple EMA Crossover IndicatorMultiple EMA Crossover
Green Background when:
a) EMA50 > EMA100 plus
b) Price > EMA50
EMA 13 y EMA 48.5 CrucesThis indicator displays the crossovers between a fast EMA (13-period) and a smoothed EMA approximation of 48.5 periods (calculated as the average between EMA 48 and EMA 49). The goal is to help identify potential trend shifts in the market.
When the EMA 13 crosses above the EMA 48.5, it may signal the beginning of a bullish trend.
When it crosses below, it may indicate the start of a bearish trend.
🔍 Features:
Both EMAs plotted on the chart for visual tracking.
Automatic detection and marking of crossover points with clear symbols.
Built-in alert conditions for real-time notifications.
This tool is ideal for trend-following traders or anyone seeking simple, clean signals based on exponential moving average crossovers.