ZScore Plot with Ranked TableVersion 0.1
ZScore Plot with Ranked Table — Overview
This indicator visualizes the rolling ZScores of up to 10 crypto assets, giving traders a normalized view of log return deviations over time. It's designed for volatility analysis, anomaly detection, and clustering of asset behavior.
🎯 Purpose
• Show how each asset's performance deviates from its historical mean
• Identify potential overbought/oversold conditions across assets
• Provide a ranked leaderboard to compare asset behavior instantly
⚙️ Inputs
• Lookback: Number of bars to calculate mean and standard deviation
• Asset 1–10: Choose up to 10 symbols (e.g. BTCUSDT, ETHUSDT)
📈 Outputs
• ZScore Lines: Each asset plotted on a normalized scale (mean = 0, SD = 1)
• End-of-Line Labels: Asset names displayed at latest bar
• Leaderboard Table: Ranked list (top-right) showing:
◦ Asset name (color-matched)
◦ Final ZScore (rounded to 3 decimals)
🧠 Use Cases
• Quantitative traders seeking cross-asset momentum snapshots
• Signal engineers tracking volatility clusters
• Risk managers monitoring outliers and systemic shifts
Göstergeler ve stratejiler
Z-Score Multi-Model ClusteringA price/volume clustering framework combining three market behavior models into a single indicator. Designed to help identify emerging trend strength, turning points, and volatility-driven entries or exits.
🔍 How It Works
This indicator classifies market states by comparing normalized price/volume behavior (via Z-Score) to different types of statistical or geometric "cluster centers." You can choose from three clustering approaches:
🧠 Clustering Models
1. Percentile (Z+CVD) – Trend Momentum Bias
Uses volume Z-Score + Cumulative Volume Delta (CVD).
Detects institutional pressure by clustering volume surges with directional delta.
Best for: Breakouts, momentum trades, volume-led reversals.
Cluster Colors:
🔹 Green triangle = Strong bullish confluence
🔻 Red triangle = Bearish divergence (bull trap risk)
⚪ Gray = Neutral/low conviction
2. Euclidean (Z+Slope) – Swing Mean-Reversion
Measures the angle of recent Z-score slope and compares it to directional cluster centers.
Helps detect early directional shifts or exhaustion.
Best for: Swing entries, pullback setups, exit timing
3. Hilbert Phase – Turn Detection via Signal Phase
Applies Hilbert Transform to the Z-Score, measuring the phase difference between trend and oscillator components.
Ideal for anticipating turns or detecting cyclical inflection points.
Useful for: Scalping, top/bottom spotting, volatility fades
✅ Features
Auto-updating cluster logic based on current data
Tooltips and clean user interface
Optional cluster bar coloring (can be toggled off)
Signal-only plotting keeps candlesticks readable
Clear entry/exit logic with triangle markers
Supports trend, swing, and oscillation-based systems
🛠️ Suggested Use Cases
Combine with VWAP, Session High/Low, or Liquidity Zones to confirm entry conditions.
Use Cluster 2 (strong bullish) on pullbacks to trend structure for add-on entries.
Use Cluster 1 in strong trends to watch for potential traps or exits.
Toggle models based on your strategy: e.g., Hilbert for scalping, Percentile for macro trend breaks.
🧪 Best Timeframes
Works across all markets and timeframes
For Percentile (Z+CVD), use intraday TF with 1m–5m CVD source
Hilbert and Euclidean preferred on 5m–1h for accurate slope/phase signals
⚠️ Notes
Clusters do not generate trade signals alone; use them in context with structure, VWAP, or trend filters.
Marker signals are filtered with a magnitude threshold to reduce noise.
MACD + 1m EMA Zone FilterFeature Description
Run on Any Chart Works on any timeframe — 5m, 15m, 1h, etc.
MACD Crosses Detected on the current chart's timeframe
EMA Logic All EMA20/50/100/200 come from 1-minute timeframe
Buy Signal MACD crossover + all EMAs (1m) above EMA200
Sell Signal MACD crossunder + all EMAs (1m) below EMA200
Chart Arrows BUY/SELL arrows plotted at each signal
Alerts Configurable alerts for Buy/Sell conditions
Multi-Equity Performance TableThis indicator tracks 5 equities/stocks/crytpo across multiple timeframes: 24h, 1W, 1M, 3M, 6M, 1Y. You can use AI to modify the code to track more equities but then you will need to use less timeframes. I used Claude.ai to configure this code.
SMI Panel (kolupaiev)Stochastic Momentum + table trand + alerts
The indicator is composed of STOCHASTIC and MOMENTUM.
A table for tracking the trend on higher timeframes (1D and 1W) has also been added.
Notifications can be configured to follow the trend.
Aggressive RSI + EMA Strategy with TP/SLWhat This Strategy Does 🔥
📉 It monitors RSI to find when the market is potentially oversold (RSI < 40) or overbought (RSI > 60).
📈 It checks the trend direction using two EMAs — fast EMA (short-term) and slow EMA (long-term).
✅ It only buys when the market looks oversold and the short-term trend is up (fast EMA > slow EMA).
❌ It only sells when the market looks overbought and the short-term trend is down (fast EMA < slow EMA).
💰 Once in a trade, it sets a take profit at 1% gain and a stop loss at 0.5% loss — so profits are locked and risks controlled.
🔄 This cycle repeats continuously, aiming to catch many small, quick moves rather than waiting for big swings.
🚀 The aggressive RSI thresholds mean it triggers trades more often — ideal for active traders who want lots of setups.
📊 It shows clear visual indicators and plots on the chart so you can easily see entries, exits, and indicator levels.
🔔 It also supports alerts, so you can get notified instantly when a trade setup happens.
In short, it’s a fast, trend-aware momentum strategy with built-in risk control designed for active trading and consistent small wins.
Hybrid candles by Marian BDescription
-------------
This script it does a very simple thing: it will color the candles according to the HeikenAshi rules.
It will keep the regular candle shape, but with the HeikenAshi colors. Some traders find it useful, especially those using the ATS methodology.
Originality
-------------
This script is not at all orginal and it will not make you win trades. There are a few others out there, but I could not find a public one that also colors the wicks; most of them just handle the color of the candle body.
Chart
-------
See a sample screenshot how it will look like.
Position Size Calculator with ATR & Tick Risk Management Position Size Calculator with ATR & Tick Risk Management
This script calculates your optimal position size based on your account size, risk per trade, and either a fixed tick-based stop loss or the Average True Range (ATR) for dynamic risk control.
🔹 Flexible Risk Input : Choose between fixed ticks or ATR (Average True Range) as your risk measure
🔹 Precise Position Sizing : Calculates the maximum number of units you can trade while respecting your risk limit
🔹 Clear Table Display : Shows key values like total position size, risk in cents, ATR in ticks, and 40% / 80% partial take-profit levels
🔹 No Chart Clutter : The script runs in the background and does not plot on the chart
Perfect for traders who want to manage risk efficiently and objectively , whether trading stocks, futures, or CFDs.
⚙️ Customizable Inputs:
Account Size
Risk per Trade
Tick Risk (if ATR is disabled)
ATR Length & Multiplier (if ATR is enabled)
Candle Size TableLast 3 Candle Stats – High, Low, Volume & Size
Description:
This intraday trading tool displays the High, Low, Volume, and Size (range) of the last 3 candles on your chart, providing a quick and clear reference for short-term momentum, volatility, and potential trade decisions.
Designed for scalpers and day traders, this indicator helps you:
Gauge momentum shifts by tracking how candle size and volume evolve.
Identify exhaustion or continuation patterns by comparing recent candle ranges.
Define entries and exits with more precision based on real-time market activity.
The candle size is calculated as the absolute difference between the high and low of each candle, making it easy to spot expanding or contracting price action.
Use this as a complementary tool with your price action strategy to enhance timing and confidence in fast-moving markets.
KIORI - VWAP mit StdDev + 0,25 Bändern🎯 VWAP Enhanced - Professional Standard Deviation Bands with Precision Zones
This advanced VWAP indicator provides comprehensive price movement analysis through multi-layered standard deviation bands with additional 0.25 precision zones.
🔥 Key Features:
VWAP core line (blue) - Volume Weighted Average Price
3-tier standard deviation bands (1x, 2x, 3x) with individual color coding
0.25 precision zones around EVERY standard deviation line (above/below)
Complete band filling for better visual orientation
Flexible anchor periods (Session, Week, Month, Quarter, Year, Earnings, Dividends, Splits)
📊 Color Coding:
🔵 VWAP + 0.25 zones (Light Blue)
🟢 1x StdDev + 0.25 zones (Green/Light Green)
🟡 2x StdDev + 0.25 zones (Yellow/Light Yellow)
🔴 3x StdDev + 0.25 zones (Red/Light Red)
⚡ Trading Applications:
Support/Resistance at standard deviation lines
Precise entry/exit points through 0.25 zones
Volatility measurement across multiple levels
Mean-reversion strategies with clear target areas
Breakout detection when exceeding outer bands
🎨 Optimized for:
Day trading and scalping
Swing trading strategies
Volatility-based positioning
Multi-timeframe analysis
This indicator combines proven VWAP methodology with high-precision standard deviation zones, providing traders with a professional tool for precise market analysis and positioning
Light MA CrossWhy Use the "GOLDGoalGO" Indicator?
Are you looking for a reliable tool to enhance your gold trading strategy?
Introducing "GOLDGoalGO", a smart and easy-to-use indicator specifically designed to help traders make informed decisions in the gold market.
What Makes "GOLDGoalGO" Stand Out?
* Tailored for Gold (XAUUSD):
Specially optimized to detect crucial trend changes in gold prices, offering you timely signals to buy or sell.
* Precise Entry Points:
Uses smart moving average crossovers to identify the best moments for entry and exit, reducing guessing and improving profitability.
* Real-Time Alerts:
Get instant notifications when buy or sell signals occur—whether you're at your desk or on the go. Never miss a critical trading opportunity again!
* Easy to Use:
Clear visual signals on your chart show exactly when the market is favorable, perfect for both beginners and experienced traders.
* Ideal for Short-Term Trading:
Designed to generate signals on 1-minute charts, helping you capitalize on quick market movements in the fast-paced gold market.
Why Trader's Love It:
* Increase Confidence:
Making trade decisions becomes easier with accurate signals specific to gold trends.
* Save Time:
Automate your analysis—spend less time guessing and more time trading confidently.
* Maximize Profits:
Spot those crucial moments when the price movement is about to turn, giving you a competitive edge.
Start Using "GOLDGoalGO" Today!
Whether you're looking to refine your short-term trading strategy or want a trustworthy tool to guide your trades in gold markets, "GOLDGoalGO" is the perfect addition to your trading arsenal. Try it now and watch your trading confidence and results improve!
Multi Ranges Volume Distribution [LuxAlgo]The Multi Ranges Volume Distribution tool allows traders to see the volume distribution by price for three different timeframes simultaneously. Each distribution can report the total amount of accumulated volume or the accumulated buy/sell volume separately.
Levels are displayed at the top and bottom of each timeframe's range, as well as the POC or level with the most volume.
🔶 USAGE
By default, the tool displays daily, weekly, and monthly volume distributions, highlighting the accumulated volume within each row.
Each distribution shows the volume at each price, as well as three lines: the top and bottom prices, and the price at which the most volume was traded.
The reported accumulated volume can be useful for highlighting which price areas are of the most interest to traders, with the specific timeframe specifying whether this interest is long-term or short-term.
🔹 Timeframes & Rows
Traders can adjust the timeframe and the number of rows for each volume distribution.
This is useful for multi-timeframe analysis of volume at the same price levels, or for obtaining detailed data within the same timeframe.
The chart above shows three volume distributions with the same monthly timeframe but a different number of rows; each is more detailed than the previous one.
🔹 Total vs Buy & Sell Volume
Traders can choose to display either the total volume or the buy and sell volumes.
As we can see on the above chart, the background of each row uses a gradient that is a function of the delta between the buy and sell volumes.
This is useful to determine which areas attract buyers and sellers.
🔶 SETTINGS
Volume Display: Select between total volume and buy and sell volume.
Distance between each box: Adjust the spacing of the volume distributions.
Period A: Select a timeframe and the number of rows.
Period B: Select a timeframe and the number of rows.
Period C: Select a timeframe and the number of rows.
Multi-Crypto Principal Component AnalysisVersion 0.2
## 📌 Multi-Crypto Principal Component Analysis (PCA) — Indicator Summary
### 🎯 Purpose
This indicator identifies **cryptocurrency assets that are behaving differently** from the rest of the market, using a simplified approach inspired by Principal Component Analysis (PCA). It’s designed to help traders spot **cross-market divergences**, detect outliers, and improve asset selection and correlation-based strategies.
### ⚙️ How It Works
The indicator analyzes the **log returns** of up to 7 user-defined assets over a configurable lookback period (default: 100 bars). It computes the **z-score** (standardized deviation) for each asset’s return series and compares it against the average behavior of the group.
If an asset’s behavior deviates significantly (beyond a threshold of 1.5 standard deviations), it’s flagged as an **outlier**.
- Each outlier is plotted as a **colored dot horizontally spaced** above the price bar
- Up to **3 dots per bar** are shown for visual clarity
This PCA-style detection works in real time, directly on the chart, and gives you a quick overview of which assets are breaking correlation.
### 🔧 Inputs
- 🕒 **Lookback Period**: Number of bars to analyze (default: 100)
- 🔢 **Assets 1–7**: Choose any 7 crypto symbols from any exchange
- 🎨 **Colors**: Predefined per asset (e.g. BTCUSDT = red, ETHUSDT = yellow)
- 📈 **Threshold**: Internal (1.5 std dev); adjustable in code if needed
### 📊 Outputs
- 🟢 Dots above candles representing assets that are acting as outliers
- 🧠 Real-time clustering insight based on statistical deviation
- 🧭 Spatially spaced dots to avoid visual overlap when multiple outliers appear
### ⚠️ Limitations
- This is a **PCA-inspired approximation**, not true matrix-based PCA
- It does **not compute principal components or eigenvectors**
- Sensitivity may vary with asset volatility or sparse trading data
- Real PCA requires external tools like Python or R for full dimensional analysis
This tool is ideal for traders who want real-time crypto correlation insights without needing external data science platforms. It’s lightweight, fast, and highly visual — and gives you a powerful lens into market dislocations across multiple assets.
Buy Dip Multiple Positions🎯 Objective
This strategy aims to capture aggressive dip-buying opportunities during volume-confirmed price reversals in short term downtrending markets. It is optimized for multi-entry precision, adaptive stop management, and real-time trade monitoring.
It allows traders to execute multiple long entries and dynamically trail stops to maximize gains while capping risk. Designed with modular inputs, this strategy is ideal for intraday momentum scalping and swing trading alike.
🔧 How It Operates
The strategy triggers buy entries when three conditions align:
Reversal Candle: Current close < prior low × 0.998
Volume Confirmation: Current volume exceeds average of prior 2 bars × 1.2
Price Surge Threshold: Current close below user-defined % of close from N bars ago
Once a reversal candle is confirmed, the strategy:
Calculates position size based on user-defined risk parameters
Allows up to a max number of simultaneous trades
Trailing Stop kicks in 2 bars after entry, climbing by a user-defined % each bar
Exit occurs when price hits either the trailing stop or target price
🛠️ Inputs
Users can customize all major aspects of the strategy:
Max Simultaneous Trades: Default 20
Trailing Stop Increase per Bar (%): Default 1%
Initial Stop (% of Reversal Low): Default 85%
Target Price (% Above Reversal Low): Default 60%
Price Surge Threshold (% of Past Close): Default 89%
Surge Lookback Bars: Default 14
Show Active Trade Dot: Toggle to display green trade status dot
📊 Visual Overlays
The chart displays the following:
Marker Description
🟢 Green Dot Active trade (toggleable)
🔴 Red Dot Max trades reached
📈 Trailing Stop Applied internally but not plotted (can be added)
📊 Metrics Plots of win rate, winning/losing trade counts
📎 Notes
Strategy uses strategy.cash allocation logic
Entry size adapts to account equity and risk per trade
All parameters are accessible via the settings panel
Built entirely in Pine Script v5
This strategy balances flexibility and precision, giving traders control over entry timing, capital allocation, and stop behavior. Ideal for those looking to automate dip-buy setups with tactical overlays and visual alerts.
Body Engulfing Detector🔶 Body Engulfing Detector
This simple but effective indicator identifies candlestick patterns where the entire body of the current candle engulfs the body of the previous one — a classic signal of a potential reversal or momentum continuation.
🔍 What It Does:
Detects when the body (open-close range) of the current candle completely covers the body of the previous candle.
Triggers a visual signal on the chart once the candle is closed, avoiding premature alerts.
Includes a generic alert you can enable from the TradingView alert system, so you’ll be notified as soon as a body engulfing pattern occurs.
📈 Use Case:
This pattern can be interpreted as a shift in market sentiment and may signal a possible entry point depending on the context:
Use it as part of your price action strategy.
Combine it with trend analysis, volume, or other confirmation tools.
⚠️ This indicator focuses only on body engulfing and does not require the candle to be bullish or bearish specifically. If you'd like a version that distinguishes between bullish and bearish engulfing, feel free to request it.
Spread AnalysisSpread Analysis - Futures vs Spot Price Analysis
Advanced spread analysis tool that compares futures/perp prices with spot prices across multiple exchanges, providing insights into market sentiment and potential trading opportunities.
Multi-Asset Support: Automatically detects and analyzes crypto perpetual vs spot spreads, index futures vs cash indices (ES/SPX, NQ/NDX, YM/DJI), and commodity futures vs spot prices (GC/GOLD, CL/USOIL)
Multi-Exchange Aggregation: For crypto, aggregates prices from Binance, BitMEX, Kraken, Bybit, OKX, and Coinbase to calculate mean perp and spot prices
Z-Score Based Alerts: Uses statistical Z-score analysis to identify extreme spread conditions that may signal potential reversals or continuation patterns
Visual Histogram Display: Shows spread differences as colored columns - green for futures premium, red for futures discount
Flexible Calculation Methods: Supports absolute price differences, percentage spreads, or basis point calculations
Trading Applications: Identify market sentiment divergence, spot potential reversal opportunities, and confirm trend strength
Risk Management: Use extreme Z-scores to identify overvalued conditions and potential mean reversion setups
Market Analysis: Understand the relationship between futures and spot markets across different asset classes
Timing Tool: Spread momentum often precedes price moves, providing early signals for entry/exit decisions
Perfect for traders who want to understand the relationship between futures and spot markets, identify divergences, and spot potential reversal opportunities across crypto, indices, and commodities.
Key Features:
• Automatic asset detection and appropriate spread calculation
• Configurable Z-score alerts for extreme conditions
• Comprehensive tooltips and information guide
• Multiple calculation methods (absolute, percentage, basis points)
• Clean, customizable visual display
Use Cases:
• Crypto traders analyzing perp vs spot relationships
• Futures traders monitoring basis relationships
• Mean reversion strategies using extreme spreads
• Trend confirmation using spread momentum
• Market sentiment analysis across asset classes
Logios Traders Pro v1## 📈 Logios Traders Pro v1 – EMA Crossover + Signal Candle Extensions
**Logios Traders Pro v1** is a powerful and clean EMA crossover-based tool designed for traders who want precise entry zones, trend clarity, and support/resistance validation — all in one lightweight overlay.
### 🔍 Features:
* **Customizable Fast and Slow EMAs**
Set your preferred EMA lengths to generate Buy/Sell signals based on crossovers.
* **Signal Candle High/Low Extensions**
Each Buy/Sell signal marks the high and low of the signal candle and projects them forward as horizontal levels. These act as **dynamic support/resistance zones**, and extend until broken by price.
* **Trend EMA (e.g., EMA 50)**
An optional third EMA is displayed by default to help filter trades with the broader trend. Its length is also fully customizable.
* **Smart Visuals**
* Signal markers (`Buy` / `Sell`) with clean labels.
* Background coloring and EMA plots are optional and customizable.
* Alert-ready for both buy and sell conditions.
### ✅ Best Used For:
* Trend-following or reversal setups.
* Retest entries off signal candle zones.
* Entry confirmation aligned with trend direction (using the 50 EMA).
---
### ⚙️ Inputs:
* Fast EMA Length (default: 5)
* Slow EMA Length (default: 9)
* Trend EMA Length (default: 50)
---
Whether you're a scalper, intraday trader, or swing trader, **Logios Traders Pro v1** gives you high-precision insight into the market’s structure and key entry zones.
---
Vrext- Advanced EMA ZoneThe indicator highlights an area between two manually adjustable EMA-s to visibly mark a zone. A zone where the larger EMA is bellow the smaller one (indicating an uptrend) is marked green. On the opposite hand where higher EMA is above the lower the zone (indicating a downtrend) is marked red.
For correct zone marking enter EMA-s in descending order.
The indicator also allows you to add further additional EMA-s, which do not have a zone drawn between them and are just stand alone EMA-s. They are fully customisable in terms of colour, width. etc.
Additionally the indicator allows you to plot a vertical line ''xyz'' candles in the past. The idea behind it is that if you want to only focus on the previous 150 candles, there will be a clear line at the 150th candle for easier navigating.
ICT Time CaptureICT 8am High/Low + 9am Capture (NY Time) — Fixed 1H
This indicator marks the High and Low of the 8am candle on the 1-hour timeframe fixed to New York time (America/New_York timezone). It also draws a line for the 9am candle open and indicates if the 9am candle “captured” (broke above or below) the 8am High or Low.
Key Features:
Always uses 1-hour data fixed on New York timezone, regardless of the chart’s current timeframe.
Draws horizontal lines for the 8am High and Low, with configurable colors, styles (solid/dashed), thickness, and extension length.
Draws a horizontal line for the 9am open price with customizable style.
Shows labels with price values explaining the lines.
Shows a capture label when the 9am candle breaks above the 8am high or below the 8am low.
Allows full customization of label text colors, line colors, line styles, thickness, and label distances from line start.
How to use:
Use this indicator to monitor key ICT timeframes (8am and 9am NY time) for intraday price action clues.
The capture labels help identify when price breaks key levels from the 8am candle during the 9am candle.
The configurable style options let you customize the indicator to your chart style.
GOLDGOGOSIG - 1 Min MA CrossoverWhy Use the "GOLDGoalGO" Indicator?
Are you looking for a reliable tool to enhance your gold trading strategy?
Introducing "GOLDGoalGO", a smart and easy-to-use indicator specifically designed to help traders make informed decisions in the gold market.
What Makes "GOLDGoalGO" Stand Out?
* Tailored for Gold (XAUUSD):
Specially optimized to detect crucial trend changes in gold prices, offering you timely signals to buy or sell.
* Precise Entry Points:
Uses smart moving average crossovers to identify the best moments for entry and exit, reducing guessing and improving profitability.
* Real-Time Alerts:
Get instant notifications when buy or sell signals occur—whether you're at your desk or on the go. Never miss a critical trading opportunity again!
* Easy to Use:
Clear visual signals on your chart show exactly when the market is favorable, perfect for both beginners and experienced traders.
* Ideal for Short-Term Trading:
Designed to generate signals on 1-minute charts, helping you capitalize on quick market movements in the fast-paced gold market.
Why Trader's Love It:
* Increase Confidence:
Making trade decisions becomes easier with accurate signals specific to gold trends.
* Save Time:
Automate your analysis—spend less time guessing and more time trading confidently.
* Maximize Profits:
Spot those crucial moments when the price movement is about to turn, giving you a competitive edge.
Start Using "GOLDGoalGO" Today!
Whether you're looking to refine your short-term trading strategy or want a trustworthy tool to guide your trades in gold markets, "GOLDGoalGO" is the perfect addition to your trading arsenal. Try it now and watch your trading confidence and results improve!
RSI Mansfield +RSI Mansfield+ – Adaptive Relative Strength Indicator with Divergences
Overview
RSI Mansfield+ is an advanced relative strength indicator that compares your instrument’s performance against a configurable benchmark index or asset (e.g., Bitcoin Dominance, S&P 500). It combines Mansfield normalization, adaptive smoothing techniques, and automatic detection of bullish and bearish divergences (regular and hidden), delivering a comprehensive tool for assessing relative strength across any market and timeframe.
Originality and Motivation
Unlike traditional relative strength scripts, this indicator introduces several distinctive improvements:
Mansfield Normalization: Scales the ratio between the asset and the benchmark relative to its moving average, transforming it into a normalized oscillator that fluctuates around zero, making it easier to spot outperformance or underperformance.
Adaptive Smoothing: Automatically selects whether to use EMA or SMA based on the market type (crypto or stocks) and timeframe (intraday, daily, weekly, monthly), avoiding manual configuration and providing more robust results under varying volatility conditions.
Divergence Detection: Identifies four types of divergences in the Mansfield oscillator to help anticipate potential reversal points or trend confirmations.
Multi-Market Support: Offers benchmark selection among major crypto and global stock indices from a single input.
These enhancements make RSI Mansfield+ more practical and powerful than conventional relative strength scripts with static benchmarks or without divergence capabilities.
Core Concepts
Relative Strength (RS): Compares price evolution between your asset and the selected benchmark.
Mansfield Normalization: Measures how much the RS deviates from its historical moving average, expressed as a scaled oscillator.
Divergences: Detects regular and hidden bullish or bearish divergences within the Mansfield oscillator.
Timeframe Adaptation: Dynamically adjusts moving average lengths based on timeframe and market type.
How It Works
Benchmark Selection
Choose among over 10 indices or market domains (BTC Dominance, ETH Dominance, S&P 500, European indices, etc.).
Ratio Calculation
Computes the price-to-benchmark ratio and smooths it with the adaptive moving average.
Normalization and Scaling
Transforms deviations into a Mansfield oscillator centered around zero.
Dynamic Coloring
Green indicates relative outperformance, red signals underperformance.
Divergence Detection
Automatically identifies bullish and bearish (regular and hidden) divergences by comparing oscillator pivots against price pivots.
Baseline Reference
A clear zero line helps interpret relative strength trends.
Usage Guidelines
Benchmark Comparison
Ideal for traders analyzing whether an asset is outperforming or lagging its sector or market.
Divergence Analysis
Helps detect potential reversal or continuation signals in relative strength.
Multi-Timeframe Compatibility
Can be applied to intraday, daily, weekly, or monthly charts.
Interpretation
Oscillator >0 and green: outperforming the benchmark.
Oscillator <0 and red: underperforming.
Bullish divergences: potential relative strength reversal to the upside.
Bearish divergences: possible loss of momentum or reversal to the downside.
Credits
The concept of Mansfield Relative Strength is based on Stan Weinstein’s original work on relative performance analysis. This script was built entirely from scratch in TradingView Pine Script v6, incorporating original logic for adaptive smoothing, normalized scaling, and divergence detection, without reusing any external open-source code.
SNIPERKILLS NQ JULY 16 2025, GAMEPLAN📅 NQ Trade Plan: July 16, 2025
Previous Day Stats (July 15):
Open: 23036.50
High: 23222.75
Low: 22996.25
Close: 23056.75
📈 Bullish Scenario
✅ Long Trigger: 23181.50
Reclaiming high-value zone and pushing above PD close + midpoint.
🎯 Targets:
Target 1: 23222.75 → Previous Day High
Target 2: 23242.75 → +20 pts extension above PDH
Target 3: 23278.00 → Potential external liquidity run
🛑 Stop Loss: 23138.00
📉 Bearish Scenario
✅ Short Trigger: 23019.00
Break below PD open + low consolidation zone. Looks to tap sell-side liquidity.
🎯 Targets:
Target 1: 22996.25 → Previous Day Low
Target 2: 22975.00 → FVG fill or inefficiency target
Target 3: 22936.00 → Extended draw on liquidity below PD range
🛑 Stop Loss: 23061.00