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.
Penunjuk dan strategi
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
Adaptive Squeeze Momentum +Adaptive Squeeze Momentum+ (Auto-Timeframe Version)
Overview
Adaptive Squeeze Momentum+ is an enhanced volatility and momentum indicator designed to identify compression and expansion phases in price action. It is inspired by the classic Squeeze Momentum Indicator by LazyBear but introduces automatic parameter adaptation to any timeframe, making it simpler to use across different markets without manual configuration.
Concepts and Methodology
The script combines Bollinger Bands (BB) and Keltner Channels (KC) to detect periods when volatility contracts (squeeze) or expands (release).
A squeeze occurs when BB are inside KC, suggesting low volatility and potential breakout scenarios.
A squeeze release is detected when BB expand outside KC.
Momentum is derived using a linear regression applied to the difference between price and a midrange reference level.
Original Improvements
Compared to the original Squeeze Momentum Indicator, this version offers several enhancements:
Automatic Adaptation: BB and KC lengths and multipliers are dynamically adjusted based on the chart’s timeframe (from 1 minute up to 1 month), removing the need for manual tuning.
Simplified Visualization: A clean, minimalist histogram and clear squeeze state cross markers allow for faster interpretation.
Flexible Application: Designed to work consistently on intraday, daily, and higher timeframes across crypto, forex, stocks, and indices.
Features
Dynamic Squeeze Detection:
Gray Cross: Neutral (no squeeze detected)
Blue Cross: Active squeeze
Yellow Cross: Squeeze released
Momentum Histogram:
Positive/negative momentum shown with slope-based coloring.
Timeframe-Aware Parameters:
Automatically sets optimal BB/KC configurations.
Usage
Watch for blue crosses indicating an active squeeze phase that may precede a directional move.
Use the histogram color and slope to gauge momentum strength and direction.
Combine squeeze release signals with momentum confirmation for potential entries or exits.
Credits and Licensing
This script was inspired by LazyBear’s OLD “Squeeze Momentum Indicator” (). The implementation here significantly expands upon the original by introducing auto-adaptive parameters, restructured logic, and a new visualization approach. Published under the Mozilla Public License 2.0.
Disclaimer
This indicator is for educational purposes only and does not constitute financial advice. Use at your own risk.
STMD Indicator PROThe STMD Indicator PRO is designed for traders looking to capture strong trends using moving average alignment and the powerful Elephant Bar pattern, popularized by Oliver Velez.
📋 How it works?
✔ Simple Moving Averages:
SMA 8 (Black)
SMA 13 (Purple)
SMA 20 (Blue)
SMA 200 (Red, optional filter)
✔ Signal conditions:
All SMAs aligned and trending in the same direction
Price near the short-term SMAs
A strong candle (Elephant Bar) with a big body and small opposite wick
Signal only on the first or second consecutive candle of the same color
✅ Features
✔ Background color showing trend bias
✔ Alerts ready: STMD Buy and STMD Sell
✔ Optional SMA 200 filter for higher timeframe confirmation
📌 Disclaimer: This script is for educational purposes only. Not financial advice.
Zembala_DMarkThis indicator uses a specific candle-counting technique to identify potential short-term exhaustion points in price action.
It works by comparing the current candle’s closing price to the closing price 9 candles earlier and maintains two separate counts:
Buy Count (13B): Increases when the current close is lower than the close 9 bars ago.
Sell Count (13S): Increases when the current close is higher than the close 9 bars ago.
When either count reaches 13 consecutive conditions, a signal is displayed:
13B (green triangle up) suggests downside exhaustion and a possible short-term rebound.
13S (red triangle down) suggests upside exhaustion and a potential short-term pullback.
These signals are not traditional buy/sell recommendations but instead highlight areas of potential trend fatigue or price extremes. This logic is loosely inspired by bar-counting methods used in certain sequential strategies, but simplified and adapted for general use without reliance on any proprietary methodology.
Zembala_DMarkThis indicator uses a specific candle-counting technique to identify potential short-term exhaustion points in price action.
It works by comparing the current candle’s closing price to the closing price 9 candles earlier and maintains two separate counts:
Buy Count (13B): Increases when the current close is lower than the close 9 bars ago.
Sell Count (13S): Increases when the current close is higher than the close 9 bars ago.
When either count reaches 13 consecutive conditions, a signal is displayed:
13B (green triangle up) suggests downside exhaustion and a possible short-term rebound.
13S (red triangle down) suggests upside exhaustion and a potential short-term pullback.
These signals are not traditional buy/sell recommendations but instead highlight areas of potential trend fatigue or price extremes. This logic is loosely inspired by bar-counting methods used in certain sequential strategies, but simplified and adapted for general use without reliance on any proprietary methodology.
Breaker BlockUpdated version of breaker block indicator with a small change to the Unicorn detection logic
Weekly EMA 9/20/50Weekly EMA for 9, 20 and 50 weeks for any security.
This will show the trends that are otherwise not visible on the daily chart.
TrendZoneTrendZone - Fibonacci Trendline Indicator
TrendZone is a custom Pine Script indicator that automatically draws fibonacci-based trendlines between key pivot points on your chart.
Key Features:
3 Pivot Points: Set start point, major pivot (reversal), and end point
Dual Trendlines: First trendline (Point 1 → 2) and second trendline (Point 2 → 3)
Fibonacci Levels: Automatically draws 25%, 50%, and 100% fibonacci levels for each trendline
Auto Trend Detection: Automatically identifies bullish/bearish trends and adjusts colors accordingly
Customizable: Full control over colors, line styles, and widths for each fibonacci level
How it Works:
The indicator uses your selected pivot points to create two connected trendline systems. Point 2 serves as the major pivot where the first trend ends and the reversal begins. Each trendline system includes fibonacci retracement levels that extend to the right, helping identify potential support/resistance zones.
Use Cases:
Identifying trend reversals at key pivot points
Finding potential support/resistance levels using fibonacci projections
Visualizing market structure changes between different time periods
Planning entries/exits based on fibonacci trendline interactions
Perfect for traders who use fibonacci analysis combined with trend structure to identify high-probability trading zones.
Bollinger Bottom + Middle Lines with Inline TextThis script visualizes key Bollinger Band levels based on two different SMAs (20 & 50 periods), with clear labeling and a smart price table.
🔸 Features:
Draws lower and middle Bollinger Band lines for both SMA(20) and SMA(50)
Inline text at the end of each line instead of default labels (cleaner view)
A dynamic table in the top-right corner, sorted from highest to lowest level
Color-coded rows:
▪️ Orange → BB20 Mid & BB20 Lower
▪️ Green → BB50 Mid & BB50 Lower
Auto-updates each bar without cluttering the chart
✅ Ideal for identifying technical accumulation zones
✅ Suitable for investors using scaling-in strategies or mean-reversion logic
Global Liquidity vs BitcoinGlobal liquidity vs Bitcoin/dollar, per Grok. This combines M2 with US credit data - reverse repos, Fed assets, etc. My aim was to approximate Raoul Pal's Global Liquidty indicator from inside his GMI membership. That membership is probably beyond my skillset, but an indicator like this is useful as it close-to-mirrors Bitcoin price.
Sylvain Zig-Zag [Mark804]> Overview:
The Sylvain Zig-Zag is a premium trend-tracking and structural turning-point indicator designed to identify precise market reversals, swing points, and support/resistance zones using a dynamic ATR-based Zig-Zag logic.
> Key Features:
Dynamic Zig-Zag Algorithm powered by ATR, percentage moves, absolute and tick-based reversal logic.
Support & Resistance Zones auto-drawn from key swing points for real-time structural mapping.
New Trend & Continuation Icons highlight trend shifts and extended moves with visual clarity.
Customizable Colors & Line Widths to match your chart’s style or branding.
Live Bar Coloring based on bullish or bearish trend structure.
Highly Configurable: Adjust ATR period, reversal %, tick distance, absolute threshold, and more.
> Ideal For:
Swing Traders looking for clean structural highs/lows
Smart Money Concept (SMC) practitioners
Price Action traders
Support/Resistance zone mappers
Those who value premium visuals and minimal clutter
> How It Works: This Zig-Zag engine calculates new swing highs or lows using a hybrid logic combining:
ATR-based price movement filter
Reversal percentage confirmation
Optional absolute price or tick-based padding
It plots each pivot, draws connecting lines, and generates real-time support/resistance levels based on recent pivots.
> Visual Enhancements:
Multi-layer polylines for deep contrast and style
Optional trend labels (e.g., "Up Trend", "Down Trend")
Transparent multi-line S/R stacking
Real-time continuation icons for ongoing strength
> Note:
This indicator is Pine Script v5 compatible and follows TradingView's latest visual architecture. Publishing-ready. Fully customizable
9:30 AM Candle High/Low Lineshelps to find intraday bullish and bearish signal...all most 80% + accuracy
Fixed First Candle Levels by TF with UTCFixed First Candle Levels by TF with UTC
This script draws High and Low levels of the first candle of each day based on a custom timeframe selected by the user (15m, 30m, 1h, 2h, 4h) and adjusted for the UTC offset.
Features:
✅ Automatically detects the first candle of the day for the selected timeframe
✅ Plots horizontal lines from the start of the day to the end of the day
✅ Highlights the actual candle’s range using a translucent background box
✅ Works across all chart timeframes
✅ Ideal for identifying potential support/resistance zones based on early market structure
You can customize:
Target timeframe (independent from current chart TF)
UTC offset
Useful for intraday traders, breakout strategies, and pre-market planning.
SYRAX (SIMPLE RANGE)SYRAX (SIMPLE RANGE) is a minimalist indicator designed for traders who focus on range breakouts. If you’re someone who just needs one clean and consistent range plotted every day to execute your strategy, this tool is for you.
The indicator defines a customizable time range on your chart and highlights the high and low of that session, helping you visualize potential breakout zones. A vertical line can also be drawn at a specific time each day to assist with your session planning.
Features:
• Automatically draws the daily range box based on your chosen start and end time.
• Timezone setting to align the range with your local or market session.
• Clean visuals with editable box color, border, and text labels.
• Optional extended range lines and vertical session markers.
Whether you’re trading early session breakouts or waiting for liquidity sweeps, SYRAX gives you the structure you need — nothing more, nothing less.
MACD & EMA Cross SignalsMACD and EMA Crossover Signals
-> This tool provides buy and sell signals directly on your chart. It helps you spot action points early.
Symbol Indicators:
"Triangle Up" (Green) shows a positive MACD crossover.
"Triangle Down" (Red) indicates a negative MACD crossover.
"Label Up" (Green) marks a positive EMA crossover.
"Label Down" (Red) signals a negative EMA crossover.
Golden Cross Alerts for MACD and EMAs
-> A "Buy" signal appears when both MACD and EMAs cross positive at the same time.
-> A "Sell" signal shows when both indicators cross negative together.
Option to set custom alerts
-> Golden Buy Signal: Both MACD and EMA cross positive.
-> Golden Sell Signal: Both cross negative.
-> Any Buy Signal: Either MACD or EMA crosses up.
-> Any Sell Signal: Either crosses down.
Note: You can change the values for EMAs, Symbol, and Color in the Settings to fit your needs.
Hacim Patlaması Alarmı (3 Bar Ortalaması)//@version=5
indicator("Hacim Patlaması Alarmı (3 Bar Ortalaması)", overlay=false)
hacim = volume
hacimOrtalama = ta.sma(volume, 3)
limit = hacimOrtalama * 1.5
hacimPatladiMi = hacim > limit
plot(hacim, title="Hacim", color=color.new(color.blue, 0), style=plot.style_columns)
plot(hacimOrtalama, title="3 Bar Ortalaması", color=color.gray, linewidth=1)
bgcolor(hacimPatladiMi ? color.new(color.red, 80) : na)
alertcondition(hacimPatladiMi, title="Hacim Patladı", message="⚠ Hacim patlaması tespit edildi!")
Bitcoin 15m Trend Reversal ConfluenceUnderstanding the Visuals:
Trend Change (First Confluence):
The background of your chart will turn green when the trend is bullish (fast EMA is above the slow EMA).
The background will turn red when the trend is bearish (fast EMA is below the slow EMA).
Break of Structure (Second Confluence):
A green triangle below a candle with the label "BoS" indicates a bullish break of structure.
A red triangle above a candle with the label "BoS" indicates a bearish break of structure.
Retesting Area (Third Confluence):
After a bullish break of structure, a green box will appear. This is the area where you can watch for the price to retest the broken resistance, which may now act as support.
After a bearish break of structure, a red box will appear. This is the area to watch for a retest of the broken support, which may now act as resistance.
Glamour ETF Index vs. QQQ mit MA10, MA20 & MA50Stan Weinstein uses the term "Glamour Index" as a sentiment indicator to assess how speculative or overheated the stock market is. The Glamour Index measures the relationship between so-called "glamour stocks" (trendy stocks, hyped stocks with high media attention and sometimes extreme price increases) and solid, more conservative stocks. Weinstein uses this index to: 1) Analyze market sentiment – particularly whether the market is in a speculative euphoria phase.
2) Identify warning signs of a potential top formation or an impending downturn.
My basket compares performance against the QQQ (alternatively, SPY or any other benchmark is also possible).
My basket consists of the ETFs in the ARK universe, as well as other growth ETFs such as IPO, FFTY, and QQQJ.
SessionsLondon, US , ASIA open sessions
Use this indicator to highlight Above time zones to analyse trading opportunity during those sessions
Trend Breakout Description:
This Pine Script indicator identifies pivot high and pivot low points based on user-defined left and right candle legs, detecting breakouts to signal potential trend changes. It plots horizontal lines at pivot highs (lime) and pivot lows (red), marking breakout signals with labels ("Br") when the price crosses above a pivot high or below a pivot low. The indicator also changes the background color to reflect the trend (green for uptrend, red for downtrend) with adjustable transparency. The indicator primarily focuses on recognizing specific pivot patterns to define trends and generate trading signals.
How It Works
• Pivot Detection: Identifies pivot highs and lows using configurable left (Left side Pivot Candle) and right (Right side Pivot Candle) periods.
• Pivot Highs (PH): A pivot high is identified when a candle's high is greater than a specified number of preceding candles (left leg) and succeeding candles (right leg).
• Pivot Lows (PL): Similarly, a pivot low is identified when a candle's low is less than a specified number of preceding and succeeding candles.
The script then tracks the last three pivot highs and pivot lows.
Trend Detection and Breakouts
1. High Line (Resistance): When a middle pivot high (out of the three tracked) is higher than both the previous and the next pivot high, a lime green line is drawn from that pivot high. This line acts as a dynamic resistance level.
2. Low Line (Support): Conversely, when a middle pivot low is lower than both the previous and the next pivot low, a red line is drawn from that pivot low. This line acts as a dynamic support level.
________________________________________
Trading Signals : The indicator generates signals based on price crossing these dynamically drawn lines .
• Long Signal (Uptrend):
o A "Long" signal is triggered when the close price crosses above the current high line (resistance), and the indicator is not already in an uptrend.
o When a long signal occurs, the background turns green, and the high line becomes dotted and thinner. A "Br" (Breakout) label appears below the candle.
• Short Signal (Downtrend):
o A "Short" signal is triggered when the close price crosses below the current low line (support), and the indicator is not already in a downtrend.
o When a short signal occurs, the background turns red, and the low line becomes dotted and thinner. A "Br" (Breakout) label appears above the candle.
________________________________________
Customizable Settings
The indicator provides three user-adjustable inputs:
• Right Side Pivot Candle (fpivotLeg): This setting (default 10) determines the number of candles to the right that must have lower highs/higher lows for a pivot to be confirmed.
• Left Side Pivot Candle (bpivotLeg): This setting (default 15) determines the number of candles to the left that must have lower highs/higher lows for a pivot to be confirmed.
• Adjust Color Visualization (Colortrnp): This setting (default 85) controls the transparency of the background color changes, allowing you to adjust how prominently the green (uptrend) and red (downtrend) backgrounds are displayed.
________________________________________
How to Use It
This indicator can be used by traders to:
• Identify potential reversals: The formation of new pivot highs and lows can signal shifts in market direction.
• Spot breakout opportunities: Crossing above the high line or below the low line can indicate the start of a new trend or the continuation of an existing one.
• Confirm trend strength: The presence and extension of the high and low lines can provide visual cues about the prevailing trend.
• Ideal for swing traders or trend-following strategies.
• Use the breakout labels ("Br") and background color to confirm trend direction.
• Adjust pivot leg inputs to fine-tune sensitivity for different timeframes or assets.
• Customize transparency to suit chart readability.
Example:
On a breakout above a pivot high, a green "Br" label appears, the background turns green, and the pivot line becomes dotted. This signals a potential uptrend, helping traders identify entry points or trend confirmations.
Disclaimer: No indicator guarantees profits. Always use this indicator in conjunction with other analysis methods and proper risk management.