Relative Strength Leadership Engine v2.0Relative Strength Leadership Engine v2.0OverviewThe Relative Strength Leadership Engine v2.0 is a context-first diagnostic tool designed to identify true market leadership. Instead of simple ratio lines, this script employs a multi-layered scoring model to determine if a symbol is truly outperforming its benchmark (e.g., SPY) or simply riding market beta.The Problem It SolvesMany relative strength indicators fail to distinguish between idiosyncratic leadership and market correlation. A stock might look strong simply because it is a high-beta names moving in lockstep with a rising index. This engine uses Pearson Correlation Filtering and Volatility Normalization to decouple these factors.How It Works (The Math)To ensure full transparency for the TradingView community, the "Leadership Score" (0–100) is calculated based on four proprietary technical pillars:Baseline Alignment (30 pts): Measures if the $Price / Benchmark$ ratio is above its 21-period EMA.Volatility-Normalized Momentum (25 pts): We calculate a Z-score of the RS slope and divide it by the asset's ATR % of price. This ensures momentum is measured by "clean" price action rather than high-beta volatility spikes.Beta-Decoupling (20 pts): Using ta.correlation, the script penalizes "Market Huggers." Points are awarded when a stock shows strength independent of the benchmark's immediate fluctuations.Freshness & Highs (25 pts): Points are awarded for proximity to 252-day relative strength highs, identifying stocks entering a "Power Zone" of leadership.Interpreting the StatesThe dashboard in the bottom-right identifies three distinct permission states:ENGAGE (Score 80+): Full leadership permission. The asset is outperforming with idiosyncratic strength and clean momentum (See FDX example in the gallery).OBSERVE (Score 50–79): Leadership is present but aging or overly correlated to the market (See MU example in the gallery).STAND DOWN (Score <50): Leadership is broken; the asset is a relative laggard (See CBLL example in the gallery).Technical FeaturesMulti-Timeframe Validation: Optional Weekly/Monthly RS confirmation to filter out "noise."Benchmark Timing Filter: A built-in gate that checks if the broader market (Benchmark) is in a "Risk-Off" regime.Non-Repainting: All security calls use lookahead=barmerge.lookahead_off to ensure historical accuracy.Customizable UI: Toggle the dashboard on/off via the "Style" menu for a cleaner workspace.DisclaimerThis script is an informational diagnostic tool and does not generate trade signals, entries, or exits. Educational use only.
Indicators and strategies
Gold TBS Support/Resistance Zones🔶 Gold TBS Support & Resistance Zones
Gold TBS Support & Resistance Zones is a manual price-zone based indicator designed to help traders clearly identify high-probability support and resistance areas on the chart.
It is especially optimized for Gold (XAUUSD) and performs best on the 15-minute timeframe.
This tool focuses on clarity, structure, and discipline, allowing traders to align entries, exits, and risk management around well-defined price zones.
📌 Key Features
✅ Up to 30 customizable support & resistance zones
✅ Zones automatically extend across the chart for long-term reference
✅ Dynamic color response based on current price location
✅ Clean and minimal visual design
✅ Works smoothly without repainting
✅ Fully manual control over zone levels
⏱ Best Timeframe
Recommended: 15-Minute (M15)
Can also be used on 3m / 5m for entries after bias confirmation from 15m
Higher timeframes can be used for positional reference
🟩🟥 How Zones Work
Green shading → Price is trading above the zone (potential support)
Red shading → Price is trading below the zone (potential resistance)
Neutral when price is inside the zone
These zones act as:
Reaction areas
Entry confirmation zones
Target and stop-loss reference points
🛠 How to Use (Simple Workflow)
Mark Key Levels
Update zone High & Low values using the input panel
Use important swing highs/lows, weekly levels, or session ranges
Directional Bias
Trade buy setups near support zones
Trade sell setups near resistance zones
Avoid trades in the middle of zones
Entry Confirmation
Use your preferred entry confirmation:
Candle close
Price rejection
Nagarjuna indicator
Risk Management
Place stop-loss beyond the zone
Targets can be next zone above or below
⚙️ Inputs & Customization
🔹 Enable / disable individual zones
🔹 Update zone prices manually anytime
🔹 Show or hide all zones instantly
🔹 Control border visibility and transparency
🔹 Separate fill transparency for support and resistance
This makes the indicator future-proof, as levels can be updated whenever market structure changes.
🎯 Best Use Case
Intraday trading on Gold
Structure-based trading
Traders who prefer clear levels over lagging indicators
Works well with trend-following or pullback strategies
⚠️ Important Notes
This indicator does not give buy/sell signals
It is designed to support decision-making, not replace strategy
Always combine with proper risk management
🧠 Trading Philosophy
“Price respects structure.
Discipline comes from knowing where not to trade.”
Shock Gap Bot [Enhanced]Shock Gap bot this to provide entry for pre market stocks , so you can get the bounce back
ElectZA MACD Range Momentum Filter**ElectZA MACD Range Momentum Filter (EZ_RangeMACD)** is a clean MACD-style momentum tool that helps you avoid choppy, low-volatility periods. It uses **ATR compression** to detect when price is likely ranging (and visually shades those zones), then **filters signals** so buy/sell triggers only appear when the market is *not* in a range. You get a color-coded histogram (gray in ranges, green/red in trends), classic MACD + signal lines, and optional crossover/crossunder markers to highlight higher-quality momentum shifts.
**Disclaimer:**
This indicator/script is provided for **educational and informational purposes only** and does **not** constitute financial, investment, or trading advice. Trading and investing involve **significant risk**, and you may lose some or all of your capital. Past performance is **not** indicative of future results. Always do your own research, test strategies on a demo account, and consider seeking advice from a qualified financial professional. By using this script, you agree that you are solely responsible for any trading decisions and outcomes.
Session Liquidity Reversion Strategy (Asia Range False Breakout)Overview
This strategy is based on a session-driven liquidity hypothesis rather than a simple indicator combination.
During the Asian trading session, many markets enter a low-liquidity equilibrium, forming a relatively narrow price range. When higher-volume participants enter during the London and New York sessions, price often performs false expansions beyond this Asian range before reverting back toward fair value.
This script systematically identifies and trades those failed session expansions.
Core Concept
The strategy operates in three distinct phases:
Asia Session Range Formation
The high and low of the Asian session are recorded.
This range represents a temporary balance area formed under reduced participation.
Range Locking
Once the Asian session ends, the range is frozen.
No repainting or forward-looking calculations are used.
False Breakout Detection & Reversion
During the London/New York session, price must break beyond the Asia range and fail to hold.
A momentum filter (RSI) confirms rejection strength.
Trades are entered only after price closes back inside the range, targeting reversion rather than continuation.
This approach avoids chasing breakouts and instead focuses on liquidity traps and failed expansions.
Risk Management & Assumptions
Risk parameters are intentionally conservative and realistic:
Position sizing uses percentage of equity
Default risk per trade is approximately 2%
Stop losses are ATR-based, adapting to volatility
Risk-to-reward is fixed and configurable
Realistic commission and slippage are included
One trade per session is allowed to avoid over-exposure
No martingale, grid, or averaging logic is used.
Usage Notes
Recommended timeframes: 5m – 30m
Designed for: Forex, Indices, Crypto
Performance will vary by instrument and session volatility
All parameters are configurable for research and optimization
This strategy is intended for educational and research purposes, demonstrating how session-based liquidity behavior can be tested systematically using Pine Script.
Market Structure BOS - Session Based (5m, NY Time) This indicator visualizes market structure using a strict, rule-based
Break of Structure (BOS) logic, calculated on the 5-minute timeframe
and evaluated in New York time.
The script detects swing Highs and Lows based on candle direction
(bullish → bearish for Highs, bearish → bullish for Lows). From each
validated structure point, a horizontal level is drawn at the true
price extreme (wick included). Once created, structure levels never
repaint or move.
A Break of Structure is confirmed only when a candle CLOSES beyond
the most recent valid structure level:
- Bullish BOS: close above the latest High
- Bearish BOS: close below the latest Low
The indicator is trend-aware: once a bullish or bearish BOS is confirmed,
only BOS signals in the same direction are shown until the trend changes.
This prevents duplicate or redundant structure breaks during trends.
Session logic is fully integrated and based on New York time:
- Asia
- London (with pre-open range)
- New York (with pre-open range)
Structure levels and BOS logic can optionally reset at the end of each
New York trading day, keeping the chart clean and session-relevant.
The indicator is designed for traders who focus on intraday price action,
market structure, and session-based behavior without visual clutter.
No labels, alerts, or signals are plotted — only clean structure levels.
US30 AsianRange 1900-0000 LIMIT OCO (1pct risk) 120 fib 30/150asian sweep at the 120 fib, aiming for 150 pips long and short buy limits set, once one is hit for the day cancel the opposite limit straight away
ATR-Based Z-Score (with Signal Line)The ATR-Based Z-Score is an advanced, volatility-normalized oscillator designed to identify extreme price deviations more reliably than the standard Z-Score.
By replacing the traditional Standard Deviation with the Average True Range (ATR) in the denominator, this indicator eliminates the "volatility paradox" where rapid price spikes cause standard oscillators to prematurely return to zero, even as the price continues to crash.
Why this version is superior
In a classic Z-Score calculation:
Z = (Price - SMA) / (Standard Deviation)
A sudden impulsive price drop causes the Standard Deviation to explode. Because you are dividing by a rapidly increasing number, the Z-Score often "rises" while the price is still falling.
The ATR-Based Solution:
Z = (Price - SMA) / ATR
By using a long-period ATR as the denominator, the volatility measure remains stable and "clean." This ensures that the indicator’s troughs align much more accurately with actual price bottoms, staying in the oversold territory until the momentum truly shifts.
Key Features
Volatility Cleaning: The ATR-normalization prevents the indicator from "flattening out" during impulsive price movements.
Integrated Signal Line: A customizable Moving Average of the Z-Score values helps filter noise and confirms entry/exit points.
Independent Periods: You can set the Price MA (responsiveness) and the ATR (volatility baseline) separately to fine-tune the indicator to different timeframes.
How to Trade with it
1. Mean Reversion (Buy the Dip / Sell the Rip)
Long: Wait for the Z-Score to drop below a significant level (e.g., -10.0). Enter when the Z-Score crosses back above its Signal Line.
Short: Wait for the Z-Score to rise above +10.0 and enter when it crosses below the Signal Line.
2. Breakout Trading
A strong push of the Z-Score beyond the +/- 7.0 levels can indicate a powerful trend breakout.
In this case, the Signal Line crossover serves as an effective Exit Signal, telling you that the initial momentum of the breakout is fading.
Summary
✅ This indicator is designed for traders who find standard oscillators too "nervous" during volatile periods. By decoupling price deviation from immediate variance spikes, the ATR-Based Z-Score provides a rock-solid foundation for identifying true market extremes and high-probability reversal points.
Nasser kurdi | PRO PACK nasser kurdi fulllllll before
lllllllllllllllllllllllllllllllllll llllllllllllllllllllllllllll
A+ ORB VWAP EMA Alerts//@version=5
indicator("A+ ORB VWAP EMA Alerts", overlay = true)
// ORB levels (set these from LuxAlgo each morning)
orbHigh = input.float(0.0, "ORB High", step = 0.1)
orbLow = input.float(0.0, "ORB Low", step = 0.1)
// EMAs and VWAP
emaFast = ta.ema(close, 9)
emaSlow = ta.ema(close, 21)
vwapVal = ta.vwap(hlc3)
// Conditions
longCond = (close > orbHigh) and (close > vwapVal) and (emaFast > emaSlow)
shortCond = (close < orbLow) and (close < vwapVal) and (emaFast < emaSlow)
// Alerts (single-line, plain ASCII)
alertcondition(longCond, "A+ LONG SETUP ORB VWAP EMA", "A+ LONG: ORB High accepted, above VWAP, EMA9 > EMA21 (5m close).")
alertcondition(shortCond, "A+ SHORT SETUP ORB VWAP EMA", "A+ SHORT: ORB Low accepted, below VWAP, EMA9 < EMA21 (5m close).")
Custom Extreme Support & Resistance (ORB Framework)//@version=5
indicator("A+ ORB VWAP EMA Master Alerts", overlay=true)
// === USER INPUTS ===
orbHigh = input.float(na, "ORB High (from LuxAlgo)")
orbLow = input.float(na, "ORB Low (from LuxAlgo)")
emaFastLen = 9
emaSlowLen = 21
// === INDICATORS ===
emaFast = ta.ema(close, emaFastLen)
emaSlow = ta.ema(close, emaSlowLen)
vwapVal = ta.vwap(hlc3)
// === CONDITIONS ===
// LONG
longCond =
close > orbHigh and
close > vwapVal and
emaFast > emaSlow
// SHORT
shortCond =
close < orbLow and
close < vwapVal and
emaFast < emaSlow
// === ALERTS ===
alertcondition(
longCond,
title="A+ LONG SETUP – ORB + VWAP + EMA",
message="A+ LONG SETUP CONFIRMED (5m close): ORB High accepted, price above VWAP, EMA 9 > EMA 21. Wait for pullback/continuation."
)
alertcondition(
shortCond,
title="A+ SHORT SETUP – ORB + VWAP + EMA",
message="A+ SHORT SETUP CONFIRMED (5m close): ORB Low accepted, price below VWAP, EMA 9 < EMA 21. Wait for rejection/continuation."
)
BTC - Sentiment (Posts weighted) LSMABTC - Sentiment (Posts Weighted) LSMA | RM
Concept
In the current 2026 market regime, Bitcoin has transitioned into a mature institutional asset. However, retail "Social Liquidity" remains the primary driver of local volatility and blow-off tops. This script serves as a deterministic proxy for crowd conviction, utilizing the LUNARCRUSH:BTC_SENTIMENT feed to identify when social hype has decoupled from fundamental value.
Data Source: LunarCrush Integration
This model utilizes the native LunarCrush data prefix. Unlike simple "mention counts," the BTC_SENTIMENT metric is a percentage-based value (0-100%) representing the "Sentiment of positive posts weighted by interactions."
• Interactions vs. Volume: By weighting sentiment by interactions (likes, shares, comments), the data filters out bot-driven "spam" and focuses on what real participants are actually engaging with.
• Meaning of the Value: 100% indicates that every single interaction-weighted post is positive; 0% indicates total negativity. Historically, BTC sentiment rarely drops below 60% or stays above 90% for long, creating a predictable mean-reverting corridor.
Technical Architecture
• The LSMA Denoising Engine Raw social data is inherently "jittery." To extract a tradable signal, we apply a Least Squares Moving Average (LSMA) with a 28-day lookback.
• Mathematical Advantage: Unlike a Simple Moving Average (SMA), the LSMA calculates a linear regression line for each period to find the "best fit." This allows the indicator to track the velocity of sentiment shifts with significantly less lag, which is critical for identifying "Social Exhaustion" before a price reversal occurs.
• The Social Heat Index (SHI) Calculation: To align this data with the broader Rob Maths ecosystem, we normalize the LSMA output into a standardized 0–10 score using a Linear Feature Scaling (Min-Max) formula: SHI = ((Current LSMA - 65) / 25) * 10 ; This formula treats 65% as the "Floor" (Apathy) and 90% as the "Ceiling" (Hysteria). This 0–10 scale allows for immediate comparison against other institutional risk metrics.
Regime Audits & Usage
• Accumulation (Blue Zone / <72.5%): Social Despair. Retail interest is at a mathematical minimum. Historically, these periods of "Social Apathy" coincide with major local bottoms as institutional "Smart Money" absorbs the lack of retail demand.
• Neutral Zone (Grey): Sustainable growth. Sentiment is within the normal distribution.
• Distribution (Red Zone / >82.5%): Overheated. The crowd is in a state of maximum FOMO. When the SHI exceeds 8.5/10, the risk of a "Liquidity Flush" increases significantly.
Visual Scaling
To ensure the curve is readable, the indicator pane is hard-locked to a 65–90 scale. This prevents the "flat line" effect often seen in 0-100 oscillators and highlights the subtle divergences that occur at cycle peaks.
Disclaimer
Past performance does not guarantee future results. Social metrics are alternative data points and should be used in conjunction with price action and risk management. This is a mathematical model, not financial advice.
Tags
Rob Maths, Rob_Maths, robmaths, Bitcoin, Sentiment, LunarCrush, Quant, LSMA, OnChain, Social Liquidity
Trade ChecklistICT trading checklist. This checklist helps you mark out confluences so you can rate the trade you're about to take and be able to decide if its a good trade or you should skip it. Enjoy
SLV Overlay on SIDraws SLV overlay on Silver Futures (SI)
Default overlay symbol: AMEX:SLV
Live session window: 04:00–20:00 NY, Mon–Fri
Outside the live session window, it holds the last ratio from the prior daily close
Updates lines after "min_move"
Draws $1 SLV levels (±N) projected into SI price space
Universal HVN Volume Nodes DetectorAdvanced multi-timeframe High Volume Nodes (HVN) detector.
Identifies the most significant volume-based price reaction zones.
Designed for Gold, Silver and Crypto markets.
FX-CLINIC/ICT/IFVGICT Indicator
Show IFVG
Automatic update
direct create if break FVG by candle body100%
direct delete if break IFVG by candle body 100%
Created by FX-CLINIC
Regular & Dollar Volume (+ projected volume, HVE, bar coloring)Regular & Dollar Volume shows standard or dollar-weighted volume with fast and slow volume averages, projected volume for the live bar, and optional high-volume and percentile spike cues. An optional bar coloring feature reflects direction and volume strength so high-participation moves stand out without clutter.
Main features
- Dollar volume option with selectable price source (Close, Open, High, Low, HL2, HLC3, OHLC4).
- Fast and slow volume averages (SMA or EMA) for quick context.
- The fast average reacts quickly to recent volume, while the slow average represents the broader baseline.
- Bars are classified based on whether volume is above both averages, below both, or between them. This gives a simple three-state read: unusually strong volume (above both), weak volume (below both), or normal (in between).
- Using two averages avoids overreacting to a single spike while still highlighting real regime shifts in participation.
- Projected volume on the active bar to estimate end-of-bar volume.
- High Volume Ever (HVE) labeling and optional HVE bar coloring .
- Optional percentile spike detection with markers, threshold line, and bar highlighting.
- Optional candle recoloring to match volume bar colors .
- Bar colors reflect both direction (up vs down) and volume strength relative to the two averages.
- This helps you spot high-participation moves at a glance and distinguish strong pushes from low-energy drift.
Serhan deneme 2Sadece deneme için yapılan bir çalışma, geliştirdikçe paylaşacağm, lütfen fazla dikkate almayınız.
Trend Signal GridTrend Signal Grid
Based on Trend Direction & Force Index - TDFI by Causecelebre, the TDFI Grid is a multi-timeframe momentum indicator that builds on the original TDFI concept. It calculates TDFI across three user-selectable timeframes using three different lookback periods, creating a 3×3 consensus grid (9 readings total).
Each cell is classified as bullish, bearish, or neutral based on configurable upper and lower thresholds. When a majority of the 9 readings align in the same direction (default 65%), the indicator triggers a directional signal — either GRID UP or GRID DOWN. Alerts fire automatically on new signals so you never miss a shift.
How it works
The indicator uses a smoothed EMA-based momentum calculation, normalises the output against its recent highest absolute value, and then maps it across your chosen timeframes and lookback lengths. The results are displayed in a clean on-chart table showing the state of each timeframe/lookback combination at a glance.
Settings:
Timeframe 1, 2, 3 — Choose any three timeframes (defaults to 1m, 5m, 15m).
LB1, LB2, LB3 — Lookback periods for each TDFI calculation.
UP / DOWN thresholds — Controls how far the TDFI must move before a cell registers as bullish or bearish.
Majority — The percentage of the 9 cells that must agree to trigger a signal.
Table position — Place the grid anywhere on your chart.
Best used for
Trading setups where you need to confirm momentum alignment across multiple timeframes before entering or scaling a position. Works well on forex and metals.
CTR Weekly MA + 1D MA (improved)This does what the previous version does but more. I've added color candles to match the three weekly MAs. It helps show the stronger pullback as it goes deeper into each of the 3 weekly MAs and once the pullback is over and price goes back above or below the lowest or highest MA (depending on whether you are trading in a bear market or bull market) the candle colors will turn bright green or bright red.






















