Educational
Momentum Grid v2.1 + Top StocksThis script is a multi-confirmation momentum and trend assessment tool designed to evaluate market direction using a structured scoring approach rather than single-indicator signals.
Instead of relying on one condition, the indicator combines trend, momentum, and oscillator inputs into a unified framework. Each component contributes one confirmation point, allowing users to assess bullish and bearish strength based on alignment rather than prediction.
Core logic
The script evaluates eight independent conditions:
• Price position relative to multiple exponential moving averages
• EMA trend structure and alignment
• RSI directional bias
• Stochastic momentum direction
• MACD histogram polarity
• Parabolic SAR trend confirmation
• Squeeze momentum state
• Linear regression–based momentum bias
Bullish and bearish scores are calculated separately. Signals are triggered only when a configurable minimum number of confirmations is reached, helping reduce noise during weak or mixed conditions.
CE / PE signal concept
CE and PE labels are generated when bullish or bearish confirmation scores cross the selected threshold. These signals indicate momentum alignment, not guaranteed outcomes, and are evaluated on confirmed bar data only.
Top stocks dashboard
For index context, the script optionally analyzes a small group of heavily weighted stocks associated with the selected index. Each stock is evaluated using its own trend and momentum conditions, providing a quick overview of internal market alignment rather than individual stock recommendations.
This section is intended for situational awareness and index behavior analysis, not for stock-specific trading decisions.
Dashboards and scenario guide
Visual dashboards summarize:
• Trend state across indicators
• Bullish and bearish confirmation scores
• Momentum and volatility context
The scenario guide provides reference levels derived from price and volatility calculations to assist with planning and risk awareness. These values are informational and not trade instructions.
How to use
This indicator is intended as a decision-support and context tool. It works best when combined with price structure, market conditions, and proper risk management. It does not function as a standalone trading system and does not forecast future price movement.
Invite-only note
This script is published as invite-only to maintain controlled access and consistent usage during ongoing refinement. No performance, accuracy, or profitability claims are made. Market behavior varies, and past observations do not guarantee future results.
Pattern Pro [Josh]1. Overview
Pattern Pro is a hybrid technical analysis suite designed to bridge the gap between Classic Chart Patterns and Smart Money Concepts (SMC). Reimagined with a high-contrast "Alien HUD" visual style, this script helps traders identify structural breaks, reversal patterns, and institutional zones with clarity.
2. How it Works (Methodology & Calculations)
The core engine of this script relies on identifying significant market swings using ta.pivothigh and ta.pivotlow functions. These pivot points are stored in dynamic arrays to perform geometric calculations:
Geometric Pattern Recognition:
The script calculates the slope between historical pivots using linear regression logic.
Double Tops/Bottoms: Detects equal highs/lows within a user-defined tolerance (default 0.25%) and validates them with RSI Divergence logic.
Head & Shoulders: Validates the structural hierarchy (Left Shoulder < Head > Right Shoulder) relative to the neckline.
Wedges & Flags: Analyzes trendlines connecting multiple pivots. Converging slopes indicate Wedges, while parallel slopes indicate Flags.
Smart Money Concepts (SMC):
BOS (Break of Structure): Automatically draws lines where price closes beyond a key pivot, signaling trend continuation.
FVG (Fair Value Gaps): Scans for 3-candle price imbalances and projects the 50% equilibrium level.
Supply & Demand Zones: Highlights order blocks derived from the specific candles that formed a confirmed pivot.
Confidence Score: An internal algorithm assigns a percentage score based on pattern clarity and momentum divergence (RSI).
3. Visual Features (Alien HUD)
Neon & Glow Effects: Lines are rendered with multi-layered transparency to create a "glowing" effect, ensuring visibility on dark themes.
Fog/Smoke FX: Adds depth to critical levels without cluttering the chart.
Customization: Users can toggle specific patterns, adjust pivot sensitivity (Lookback), and customize colors.
Disclaimer: This indicator is developed strictly for educational purposes regarding chart behavior and algorithmic pattern recognition.
The signals and patterns generated do not guarantee profitability or future accuracy.
Past performance is not indicative of future results.
Trading involves significant risk. Users should always practice proper risk management and use their own judgment.
ICT Liquidity Purge + SMTSimple indicator.
Instructions
Speed Improvements:
Pivot Length: 5→3 - Detects liquidity levels faster (less bars needed to confirm a pivot)
SMT Pivot Length: 5→3 - Faster SMT divergence detection
Purge Buffer: 0.1%→0.05% - Triggers purges sooner when price touches the level
Removed debug markers - No more blue triangular dots
To make it even faster, you can:
Set Pivot Length to 2 (very aggressive, more noise)
Set Purge Buffer to 0.01% (triggers almost immediately)
Adjust these in the settings based on your timeframe:
Lower timeframes (1m, 3m): Use 2-3 pivot length
Higher timeframes (15m, 1h): Use 4-5 pivot length.
Gold Pin Bar Pivot Alerts - FixedThis script is designed for the high volatility of Gold (XAU/USD). It identifies Pin Bars with body less than 30% of the candle's total range, and the candle occuring at a structural Pivot High or Pivot Low
EMA 6/50 Cross + ADX 20 + AlertsThis indicator is designd to filter noise off the EMA cross with the ADX greater than 20 condition.
MACD Oscillator PanelThis script is a MACD-based oscillator panel designed to help evaluate momentum quality and signal strength rather than producing raw crossover signals alone.
The indicator builds on the classic MACD calculation but extends it through structured filtering and visual context. Instead of treating every MACD crossover equally, this panel categorizes momentum conditions using multiple confirmation layers.
How it works
The base logic uses the standard MACD line, signal line, and histogram derived from exponential moving averages. On top of this foundation, the script evaluates momentum and trend quality using:
• Histogram direction and momentum change
• Relative volume comparison against average volume
• RSI positioning to avoid extreme conditions
• ADX-based trend strength assessment
• Higher timeframe MACD alignment for directional context
Signals are internally classified as strong, medium, or weak based on how many of these conditions align at the time of a MACD crossover.
Visual design
The oscillator panel focuses on clarity and consistency:
• Scaled MACD values maintain proportional visibility across symbols
• Histogram colors reflect momentum direction and strength
• Line fills and gradient zones provide immediate trend bias context
• Optional information table summarizes current state and momentum
No future projections are made. All values are derived from confirmed historical and real-time price data.
How to use
This panel is best used as a confirmation tool, not as a standalone trading system.
Typical usage includes:
• Validating MACD crossover signals from a price-chart indicator
• Filtering low-quality signals during weak or ranging conditions
• Aligning lower-timeframe entries with higher-timeframe momentum
Trading decisions should always be made with proper risk management and broader market context.
Invite-only note
This script is published as invite-only to maintain controlled access and consistent usage during ongoing refinement. It is intended for users who already understand MACD behavior and momentum-based analysis.
No performance, accuracy, or profitability claims are made. Market conditions vary, and past behavior does not guarantee future results.
QFX (Quantum foreign Exchange) PublicI actually use this trading signal tool myself before sharing it. It gives clear long and short signals by analyzing EMAs, mathematical calculations, and market patterns, so whether you’re just starting out or have been trading for years, it helps you spot setups and make smarter, more confident decisions.
AlphaScalp SNIPER FREEAlphaScalp SNIPER FREE is a precision scalping indicator designed to deliver clear, fast, and reliable entry signals with minimal noise.
This FREE version uses a core sniper logic to capture strong momentum moves, making it ideal for traders who want a simple, effective, and easy-to-use scalping tool.
Perfect for testing performance before upgrading to the Premium version.
✅ Key Features (FREE)
Clear BUY & SELL signals directly on the chart
1 Take Profit (TP1) and Stop Loss (SL) automatically plotted
Trend filter to reduce false signals
Non-repaint (based on candle close)
Lightweight & fast on all pairs and timeframes
⚠️ FREE Version Limitations
❌ No TP2 & TP3
❌ No advanced sniper filters
❌ Standard win rate (safe, but not aggressive)
❌ No professional trading modes
⭐ Best For
Learning sniper-style scalping
Manual scalping entries
Backtesting & replay testing
Trying before upgrading to Premium
🚀 Upgrade to SNIPER PREMIUM
The SNIPER PREMIUM version unlocks:
Higher win rate with advanced filtering
TP1 / TP2 / TP3 for scaling profits
Stronger sniper confirmation logic
Designed for serious and consistent traders
FREE to learn. PREMIUM to trade with confidence.
STRAT Candles + HTF Bias Strat Numbers including Timeframe Continuity . TheStrat is a multi-timeframe price action trading strategy developed by Rob Smith, focusing on analyzing candlestick patterns (Inside Bars, Directional Bars, Outside Bars) across different timeframes to find high-probability entry and exit points, emphasizing "Timeframe Continuity" for strength and using tight stops for small losses, ideal for identifying reversals and continuations in various markets
Pre-Market Levels Monitor - CandleClub (20 Stocks)Monitor 20 stocks simultaneously with automatic breakout/breakdown alerts based on pre-market and previous day levels.
What It Does
This indicator tracks four critical price levels for up to 20 stocks in a single dashboard:
- PMH (Pre-Market High) - Highest price from 4:00 AM - 9:30 AM ET
- PML (Pre-Market Low) - Lowest price from 4:00 AM - 9:30 AM ET
- PDH (Previous Day High) - Previous trading day's high
- PDL (Previous Day Low) - Previous trading day's low
Key Features
✅ Real-time Dashboard - All 20 stocks displayed in a color-coded table
- Green cells = Price above level (bullish)
- Red cells = Price below level (bearish)
- Gray cells = Level not yet broken
✅ Smart Alerts - Automatic notifications when stocks break key levels
- Bullish Breakout: Price breaks BOTH PMH and PDH
- Bearish Breakdown: Price breaks BOTH PML and PDL
- Maximum 2 alerts per direction per stock per day (prevents spam)
✅ Zero Manual Work - Set it and forget it
- Levels auto-update daily at 4:00 AM ET
- Works during pre-market, regular hours, and displays data on weekends
- Edge detection ensures alerts fire only once per break
✅ Fully Customizable
- Choose any 20 US stocks
- Adjustable table position and size
- Sort by total alerts, bullish alerts, or bearish alerts
- Customize session times if needed
How To Use
1. IMPORTANT: Use on a 1-minute chart (required for data batching)
2. Enable "Extended Hours" in chart settings to see pre-market data
3. Configure your 20 ticker symbols in indicator settings
4. Set up TradingView alerts for notifications
Perfect For
- Pre-market traders monitoring multiple stocks
- Day traders tracking breakout opportunities
- Swing traders watching key support/resistance levels
- Anyone who wants automated multi-stock level monitoring
Technical Details
- Pine Script v6 - Latest version for optimal performance
- Optimized batching - Stays under TradingView's API call limits
- 20-stock maximum - Due to request.security() call restrictions (20 stocks × 2 calls = 40 limit)
- TradingView Standard plan or higher required
Alert Examples
"Alert: AAPL Bullish Breakout - Break #1
PMH: $183.25 (broken)
PDH: $181.50 (broken)
Current: $183.75
Time: 10:23:15"
Default Stocks Included
Technology: AAPL, MSFT, GOOGL, AMZN, META, NVDA, TSLA, NFLX, AMD, INTC
Finance: JPM, BAC, WFC, GS, MS, C
Healthcare: JNJ, UNH, PFE, ABBV, MRK, TMO
Consumer: WMT, HD, MCD
(All symbols are fully customizable)
Settings Overview
- Symbols (1-20): Configure your watchlist
- Session Times: Adjust pre-market/RTH times (Eastern Time)
- Display Options: Table position, cell size, text size, sorting
- Time Zone: All times in Eastern Time (auto-converts to your local time)
Notes
- Alerts limited to 2 per direction per stock to prevent notification spam
- Use 1-minute chart required (batching system needs consecutive bars)
- Enable Extended Hours to capture pre-market data
- Maximum 80 alerts per day possible (20 stocks × 4 alerts max)
Version
1.0 - Initial Release (January 2026)
---
Created by Gautham Kanaparthy
This indicator is for educational purposes only and does not constitute financial advice. Trading involves risk.
BTC - Satoshis Altcoin Graveyard OVERVIEW
The Satoshi's Altcoin Graveyard (SAG) is a macro-statistical engine designed to solve the problem of Survivorship Bias . It is a well-known phenomenon in the crypto markets that the "Top 10" list is in a constant state of flux. If you look at historical data from CoinMarketCap (CMC) year by year, you will see a revolving door of projects that once seemed "too big to fail" disappearing into obscurity. Meanwhile, Bitcoin has remained the undisputed #1 since inception.
While most traders have a "gut feeling" that Altcoins eventually depreciate against Bitcoin, I believe in measuring it and drawing it on a chart for better visibility. By locking in specific "Cohorts" of market leaders from the past, we can track their inevitable decay through the Satoshi Sieve .
THE 13-COIN STATISTICAL BUCKET
To ensure an objective, non-biased audit, each cohort (we look at 2018, 2020 and 2022) is constructed using a fixed market-cap methodology from the snapshot date (excluding stablecoins):
• The Core: The Top 10 non-stablecoin assets at that time by Marketcap.
• The Risk Alpha: Representative samples from the Top #25, #50, and #100 ranks. (By including lower-ranked "riskier" alts, we capture the full statistical decay of the market, not just the "Blue Chips.")
TECHNICAL ARCHITECTURE
This script is engineered to push the boundaries of the Pine Script engine. TradingView enforces a hard limit of 40 unique data requests . By tracking 3 cohorts of 13 assets plus the Bitcoin base, this indicator utilizes exactly 40/40 requests , providing the maximum possible data density in a single chart window.
THE SPS CONCEPT (Survival Probability Score)
The SPS measures the Breadth of Survival . It answers: "How many coins from this year (the year of the snapshot) are actually outperforming BTC?"
We use a binary logic system to determine if a coin is "Winning" or "Losing" against the only benchmark that matters: Bitcoin.
• The Status Formula: Status = Current_Alt_BTC_Ratio >= Entry_Alt_BTC_Ratio ? 1 : 0 . This means: Every single day, at the Daily Close , the script compares the current Alt/BTC ratio to the fixed ratio from the snapshot date. If the coin is worth more in Bitcoin today than it was back then, it is assigned a "1" (a Win). If it has lost value against Bitcoin, it gets a "0" (a Loss).
• The SPS Line: SPS Line = (Sum of 'Wins' / 13) * 100 This means: We add up all the "Winners" for that specific day and turn it into a percentage. For example, if the Aqua line is at 7.69% on your chart, it confirms that on that day , exactly 1 out of the 13 coins was successfully beating Bitcoin, while the other 12 were underperforming.
THE PERFORMANCE MATRIX
In the top-right corner, we provide a Weighted Portfolio Simulation . This answers the financial question: "If I swapped 1 BTC into an equal-weight basket of these 13 coins on the snapshot day, what is my BTC value today?".
• Value < 1.0 BTC: You lost purchasing power compared to holding Bitcoin.
• Value > 1.0 BTC: You successfully achieved "Alpha" over the benchmark.
HOW TO READ THE CHART
• The Waterfall: Lines generally trend downward as the "Satoshi Sieve" filters out assets that cannot maintain their BTC-relative value.
• Dynamic Winners: We dynamically print the names of the current survivors at the tip of each line. If a cohort shows "None," the graveyard is full.
HOW TO READ THE MATRIX
• The BTC Target: Any portfolio value in the matrix below 1.0 BTC represents a failed altcoin rotation.
• Class of 2018: A portfolio value near 0.15 BTC at the current date, means a 85% loss rate.
• Class of 2020: A portfolio value near 0.77 BTC at the current date, means an approx 20 % loss rate.
• Class of 2022: A portfolio value near 0.31 BTC at the current date, means an approx 70% loss rate.
DIFFERENCE FROM AN ALTCOIN INDEX
Standard Altcoin Indexes (like my ALSI Index ) "rebalance" by removing losers and adding new winners. This is deceptive. The Altcoin Graveyard never rebalances . It forces you to watch the "losers" decay, providing a realistic look at the long-term opportunity cost of "Buy and Hold" for anything other than Bitcoin.
CONCLUSION
The data revealed by the Satoshi Sieve leads to a singular, sobering "Lesson Learned": Picking the right coin to outperform Bitcoin is not just difficult—it is statistically improbable over a long-term horizon.
While the "Risk-Reward" of altcoins is often marketed as having higher upside, the Altcoin Graveyard proves that for the vast majority of assets, the reward does not justify the risk of total portfolio erosion in BTC terms.
• The Mathematical Odds: If you picked a Top 10 coin in 2018, your chance of outperforming BTC today is effectively 0%.
• The Rotation Trap: Most investors "HODL" these assets into the graveyard, hoping for a return to previous ATHs that never comes because the liquidity has already moved on to the next "Class" of winners.
The final conclusion is clear: Diversification into altcoins is often just a slow-motion transfer of wealth back to Bitcoin. If you cannot identify the 1-out-of-13 that survives the Sieve, your best risk-adjusted move has historically been to simply hold the benchmark.
DISCLAIMER
This script is for educational purposes only. It does not constitute financial advice. It is a mathematical study of historical opportunity cost and survivorship bias.
Tags
bitcoin, btc, satoshis graveyard, altseason, dominance, total3, rotation, cycle, index, alsi, Rob Maths, robmaths
ABCD Strategy (v6 Ready)//@version=6
indicator("ABCD Strategy v7 – MTF S/R Filter", overlay=true, max_lines_count=300, max_labels_count=300)
//━━━━━━━━━━━━━━━━━━━━━
// INPUTS
//━━━━━━━━━━━━━━━━━━━━━
pivotLen = input.int(5, "Swing Strength", minval=2)
bcMin = input.float(0.618, "BC Min Fib")
bcMax = input.float(0.786, "BC Max Fib")
cdMin = input.float(1.272, "CD Min Extension")
cdMax = input.float(1.618, "CD Max Extension")
htfTF = input.timeframe("240", "Higher Timeframe (S/R)")
srLookback = input.int(200, "HTF S/R Lookback")
srTolerance = input.float(0.002, "S/R Zone Tolerance (0.2%)")
showSR = input.bool(true, "Show HTF S/R Zones")
showTargets = input.bool(true, "Show Targets")
//━━━━━━━━━━━━━━━━━━━━━
// HIGHER TF SUPPORT / RESISTANCE
//━━━━━━━━━━━━━━━━━━━━━
htfHigh = request.security(syminfo.tickerid, htfTF, ta.highest(high, srLookback))
htfLow = request.security(syminfo.tickerid, htfTF, ta.lowest(low, srLookback))
srHighZoneTop = htfHigh * (1 + srTolerance)
srHighZoneBottom = htfHigh * (1 - srTolerance)
srLowZoneTop = htfLow * (1 + srTolerance)
srLowZoneBottom = htfLow * (1 - srTolerance)
//━━━━━━━━━━━━━━━━━━━━━
// DRAW HTF ZONES
//━━━━━━━━━━━━━━━━━━━━━
if showSR
box.new(bar_index - 5, srHighZoneTop, bar_index + 5, srHighZoneBottom,
bgcolor=color.new(color.red, 85), border_color=color.red)
box.new(bar_index - 5, srLowZoneTop, bar_index + 5, srLowZoneBottom,
bgcolor=color.new(color.green, 85), border_color=color.green)
//━━━━━━━━━━━━━━━━━━━━━
// SWING DETECTION
//━━━━━━━━━━━━━━━━━━━━━
ph = ta.pivothigh(high, pivotLen, pivotLen)
pl = ta.pivotlow(low, pivotLen, pivotLen)
var float A = na
var float B = na
var float C = na
var float D = na
var int Ab = na
var int Bb = na
var int Cb = na
var int Db = na
if not na(pl)
A := B
Ab := Bb
B := C
Bb := Cb
C := low
Cb := bar_index
if not na(ph)
A := B
Ab := Bb
B := C
Bb := Cb
C := high
Cb := bar_index
//━━━━━━━━━━━━━━━━━━━━━
// ABCD LOGIC
//━━━━━━━━━━━━━━━━━━━━━
ab = math.abs(B - A)
bc = math.abs(C - B)
bcFib = bc / ab
validBC = bcFib >= bcMin and bcFib <= bcMax
bull = C > B
cdMinPrice = bull ? C - bc * cdMin : C + bc * cdMin
cdMaxPrice = bull ? C - bc * cdMax : C + bc * cdMax
inDzone = low <= cdMaxPrice and high >= cdMinPrice
//━━━━━━━━━━━━━━━━━━━━━
// MTF STRUCTURE FILTER
//━━━━━━━━━━━━━━━━━━━━━
nearResistance = close <= srHighZoneTop and close >= srHighZoneBottom
nearSupport = close <= srLowZoneTop and close >= srLowZoneBottom
structureOK =
(bull and nearSupport) or
(not bull and nearResistance)
//━━━━━━━━━━━━━━━━━━━━━
// FINAL D CONFIRMATION
//━━━━━━━━━━━━━━━━━━━━━
if validBC and inDzone and structureOK
D := close
Db := bar_index
//━━━━━━━━━━━━━━━━━━━━━
// TARGETS
//━━━━━━━━━━━━━━━━━━━━━
tp1 = bull ? D + math.abs(D - C) * 0.382 : D - math.abs(D - C) * 0.382
tp2 = bull ? D + math.abs(D - C) * 0.618 : D - math.abs(D - C) * 0.618
//━━━━━━━━━━━━━━━━━━━━━
// DRAW PATTERN
//━━━━━━━━━━━━━━━━━━━━━
if not na(D)
line.new(Ab, A, Bb, B, width=2, color=color.blue)
line.new(Bb, B, Cb, C, width=2, color=color.orange)
line.new(Cb, C, Db, D, width=2, color=color.green)
label.new(Db, D, "D (HTF CONFIRMED)", style=label.style_label_down, color=color.yellow)
if showTargets
line.new(Db, tp1, Db + 12, tp1, color=color.green)
line.new(Db, tp2, Db + 12, tp2, color=color.teal)
alertcondition(validBC and inDzone and structureOK,
"ABCD v7 Confirmed",
"ABCD Pattern confirmed at Higher-Timeframe Support/Resistance — wait for price action.")
ABCD Strategy (v7 Ready)//@version=6
indicator("ABCD Strategy v7 – MTF S/R Filter", overlay=true, max_lines_count=300, max_labels_count=300)
//━━━━━━━━━━━━━━━━━━━━━
// INPUTS
//━━━━━━━━━━━━━━━━━━━━━
pivotLen = input.int(5, "Swing Strength", minval=2)
bcMin = input.float(0.618, "BC Min Fib")
bcMax = input.float(0.786, "BC Max Fib")
cdMin = input.float(1.272, "CD Min Extension")
cdMax = input.float(1.618, "CD Max Extension")
htfTF = input.timeframe("240", "Higher Timeframe (S/R)")
srLookback = input.int(200, "HTF S/R Lookback")
srTolerance = input.float(0.002, "S/R Zone Tolerance (0.2%)")
showSR = input.bool(true, "Show HTF S/R Zones")
showTargets = input.bool(true, "Show Targets")
//━━━━━━━━━━━━━━━━━━━━━
// HIGHER TF SUPPORT / RESISTANCE
//━━━━━━━━━━━━━━━━━━━━━
htfHigh = request.security(syminfo.tickerid, htfTF, ta.highest(high, srLookback))
htfLow = request.security(syminfo.tickerid, htfTF, ta.lowest(low, srLookback))
srHighZoneTop = htfHigh * (1 + srTolerance)
srHighZoneBottom = htfHigh * (1 - srTolerance)
srLowZoneTop = htfLow * (1 + srTolerance)
srLowZoneBottom = htfLow * (1 - srTolerance)
//━━━━━━━━━━━━━━━━━━━━━
// DRAW HTF ZONES
//━━━━━━━━━━━━━━━━━━━━━
if showSR
box.new(bar_index - 5, srHighZoneTop, bar_index + 5, srHighZoneBottom,
bgcolor=color.new(color.red, 85), border_color=color.red)
box.new(bar_index - 5, srLowZoneTop, bar_index + 5, srLowZoneBottom,
bgcolor=color.new(color.green, 85), border_color=color.green)
//━━━━━━━━━━━━━━━━━━━━━
// SWING DETECTION
//━━━━━━━━━━━━━━━━━━━━━
ph = ta.pivothigh(high, pivotLen, pivotLen)
pl = ta.pivotlow(low, pivotLen, pivotLen)
var float A = na
var float B = na
var float C = na
var float D = na
var int Ab = na
var int Bb = na
var int Cb = na
var int Db = na
if not na(pl)
A := B
Ab := Bb
B := C
Bb := Cb
C := low
Cb := bar_index
if not na(ph)
A := B
Ab := Bb
B := C
Bb := Cb
C := high
Cb := bar_index
//━━━━━━━━━━━━━━━━━━━━━
// ABCD LOGIC
//━━━━━━━━━━━━━━━━━━━━━
ab = math.abs(B - A)
bc = math.abs(C - B)
bcFib = bc / ab
validBC = bcFib >= bcMin and bcFib <= bcMax
bull = C > B
cdMinPrice = bull ? C - bc * cdMin : C + bc * cdMin
cdMaxPrice = bull ? C - bc * cdMax : C + bc * cdMax
inDzone = low <= cdMaxPrice and high >= cdMinPrice
//━━━━━━━━━━━━━━━━━━━━━
// MTF STRUCTURE FILTER
//━━━━━━━━━━━━━━━━━━━━━
nearResistance = close <= srHighZoneTop and close >= srHighZoneBottom
nearSupport = close <= srLowZoneTop and close >= srLowZoneBottom
structureOK =
(bull and nearSupport) or
(not bull and nearResistance)
//━━━━━━━━━━━━━━━━━━━━━
// FINAL D CONFIRMATION
//━━━━━━━━━━━━━━━━━━━━━
if validBC and inDzone and structureOK
D := close
Db := bar_index
//━━━━━━━━━━━━━━━━━━━━━
// TARGETS
//━━━━━━━━━━━━━━━━━━━━━
tp1 = bull ? D + math.abs(D - C) * 0.382 : D - math.abs(D - C) * 0.382
tp2 = bull ? D + math.abs(D - C) * 0.618 : D - math.abs(D - C) * 0.618
//━━━━━━━━━━━━━━━━━━━━━
// DRAW PATTERN
//━━━━━━━━━━━━━━━━━━━━━
if not na(D)
line.new(Ab, A, Bb, B, width=2, color=color.blue)
line.new(Bb, B, Cb, C, width=2, color=color.orange)
line.new(Cb, C, Db, D, width=2, color=color.green)
label.new(Db, D, "D (HTF CONFIRMED)", style=label.style_label_down, color=color.yellow)
if showTargets
line.new(Db, tp1, Db + 12, tp1, color=color.green)
line.new(Db, tp2, Db + 12, tp2, color=color.teal)
alertcondition(validBC and inDzone and structureOK,
"ABCD v7 Confirmed",
"ABCD Pattern confirmed at Higher-Timeframe Support/Resistance — wait for price action.")
Malaysian SnR StoryLinesA Malaysian SnR StoryLines is an HTF-based (Higher Timeframe) level-drawing indicator that automatically identifies and displays key levels derived from market structure:
🔹 Support
🔹 Resistance
🔹 OCL
As well as their state transitions:
🔹 RBS
🔹 SBR
🔹 QM+ (bullish)
🔹 QM- (bearish)
The goal of this indicator is to visually track the life cycle of levels:
➡️ created → broken → role reversal → invalidated
This helps speed up structure reading and level-based decision-making.
🧩 How does it work?
✅ Levels are always generated from the candle structure of the selected HTF timeframe (e.g., D, W).
✅ When a new HTF candle begins, the indicator creates levels based on patterns found in the closed HTF candles .
Levels are drawn horizontally on the chart, and the labels are aligned to the end of each line (transparent background, shifted).
⚠️ Known limitation:
🔹 If you select a chart timeframe that is too low compared to the HTF, some levels may disappear due to Pine Script/TradingwingView drawing limits.
Feedback and feature ideas are welcome. If you spot an issue, please include the symbol and the timeframes used (chart TF + HTF) so it’s easier to reproduce.
Gold Profit Target SystemGOLD PROFIT TARGET SYSTEM
Track Real Profits, Exit With Confidence
Best on Daily or Weekly - copy and mod as you see fit. Have fun!
WHAT THIS INDICATOR DOES:
This indicator tracks your gold position from entry and shows color-coded profit targets as the price rises. Instead of guessing when to exit, you see exact profit levels in real-time: 1%, 2%, 3%, 4%, 5%, 10%, 15%, 20%, 25%, and 25%+.
Simple concept: BUY on the signal, SELL at YOUR chosen profit level.
HOW IT WORKS - 3 SIMPLE STEPS:
STEP 1: Wait for BUY Signal
• Green triangle (▲) appears below the composite line
• Triggered when inverse assets (DXY, rates, etc.) show strong correlation and are falling
• Entry price is automatically recorded
• Position tracking begins
STEP 2: Watch Profit Targets Appear
• As gold rises, color-coded symbols appear above the composite line
• Each symbol represents a profit milestone
• The info table shows your current profit
• You decide when to exit based on YOUR target
STEP 3: Exit at Your Chosen Level
• Conservative? Exit at 5-10%
• Moderate? Exit at 10-15%
• Aggressive? Hold for 20%+
• The indicator just shows the levels - YOU make the call
THE COMPOSITE LINE - WHAT IT MEANS:
The main line is a weighted composite of inverse-correlated assets:
• DXY (US Dollar Index)
• Real Interest Rates (10Y TIPS)
• US 10-Year Treasury Yield
• US 2-Year Treasury Yield
• Bitcoin (optional)
• Copper (optional)
Line Position:
• Below -30 (Bright Green): Very strong inverse correlation - excellent BUY conditions
• Below 0 (Green): Inverse correlation present - moderate BUY conditions
• Above 0 (Red): Inverse assets rising - neutral to bearish
• Above 30 (Bright Red): Strong inverse rally - bearish for gold
What Causes BUY Signals:
When the composite line is negative (inverse assets falling) AND shows strong correlation (>0.3), this suggests gold is likely to rise. The indicator records your entry and begins tracking profits.
COLOR-CODED PROFIT TARGETS:
EARLY PROFITS (Green Circles):
• 1% - Very Light Green (#c8e6c9) - First confirmation
• 2% - Light Green (#a5d6a7) - Building profit
• 3% - Green (#81c784) - Good profit
• 4% - Medium Green (#66bb6a) - Strong profit
• 5% - Dark Green (#4caf50) - Solid profit!
EXCELLENT PROFIT (Yellow Diamond):
• 10% - Yellow (#ffd54f) - Double digits, excellent trade!
OUTSTANDING PROFIT (Orange Diamonds):
• 15% - Orange (#ffb74d) - Exceptional profit, consider partial exit
EXCEPTIONAL PROFIT (Red Diamonds):
• 20% - Light Red (#ff8a65) - Rare territory, strong exit consideration
• 25% - Red (#f44336) - Extraordinary profit, very rare!
PEAK PROFIT (Purple Star):
• 25%+ - Purple (#9c27b0) - Once in a blue moon! The home run trade!
STOP LOSS (Red X):
• Default -5% - Protection against losses
• Position auto-resets if stop is hit
THE PROFIT BAR (Histogram):
Below the composite line, you'll see a colored histogram when in position:
Bar Color = Your Current Profit Tier
• Light green bar = 1-2% profit
• Green bar = 3-5% profit
• Yellow bar = 10% profit
• Orange bar = 15% profit
• Red bar = 20-25% profit
• Purple bar = 25%+ profit
• Red negative bar = Currently at a loss
Bar Height = Current Profit %
The taller the bar, the larger your profit. Negative bars extend downward when you're at a loss.
THE INFORMATION TABLE:
The table (top-right by default) shows everything at a glance:
Position: ✓ IN (green) or ✗ OUT (gray)
Shows whether you're currently holding a position
Entry Price: Your recorded buy price
Example: 2,100.50
Current Price: Gold's current price
Example: 2,142.75
Current P/L: YOUR PROFIT %
This is the most important metric - shows exactly how much you're up (or down)
Color matches your current profit tier
Example: +2.01% in light green
Profit Tier: Current milestone reached
Shows which profit level you've hit: "1%", "2%", "5%", "10%", etc.
Next Target: The next profit level to watch
Tells you what milestone is coming up next
Bars Held: How long you've been in the trade
Helps track holding time
Composite: Current correlation strength
Shows the underlying composite correlation value
REFERENCE LINES:
Zero Line (Gray):
The center line. Above = bearish for gold, Below = bullish for gold
Strong Bull Line (Green dashed at -30):
When composite crosses below -30, very strong BUY conditions
Strong Bear Line (Red dashed at +30):
When composite crosses above +30, strong bearish conditions
BACKGROUND SHADING:
Very Light Green Background:
You're in profit (position open and above entry price)
Very Light Red Background:
You're at a loss (position open and below entry price)
No Background:
No position currently open
SYMBOLS ON CHART:
▲ Green Triangle Below Line: BUY SIGNAL
Enter long position here. Entry price recorded.
● Small Green Circles Above Line: 1-5% Profits
Early profit targets. Light green to dark green progression.
◆ Diamonds Above Line: 10-25% Profits
Major profit milestones. Yellow → Orange → Red progression.
★ Purple Star Above Line: 25%+ Profit
The holy grail! Peak profit achieved.
✖ Red X Below Line: STOP LOSS HIT
Trade went against you. Position resets (if auto-reset enabled).
PROFIT-TAKING STRATEGIES:
Strategy 1: Fixed Target (Simple)
Pick one target (e.g., 10%) and always exit there.
Best for: Beginners, disciplined traders
Strategy 2: Scaled Exit (Advanced)
Exit in portions:
• 5% profit → Sell 25%
• 10% profit → Sell 25% (50% total out)
• 15% profit → Sell 25% (75% total out)
• 20%+ profit → Let final 25% ride
Best for: Risk management, maximizing upside
Strategy 3: Trailing Stop
• Hit 10%? Set stop at 5%
• Hit 15%? Set stop at 10%
• Lock in profits while letting winners run
Best for: Trend followers, bull markets
Strategy 4: Adaptive
• Strong uptrend → wait for 15-20%
• Choppy market → exit at 5-10%
• Weakening trend → exit at any profit
Best for: Experienced traders
SETTINGS YOU CAN CUSTOMIZE:
Profit Target Levels:
Change any profit % to match your strategy
• Conservative: Lower targets (0.5%, 1%, 2%, 3%, 5%)
• Aggressive: Higher targets (2%, 5%, 10%, 20%, 30%)
Assets to Include:
• Enable/disable Bitcoin
• Enable/disable Copper
• Toggle which inverse assets to track
Display Options:
• Show all targets or just current tier
• Show/hide profit bar
• Show/hide composite line
• Move table position
Stop Loss:
• Set your risk tolerance (default 5%)
• Enable/disable auto-reset on stop loss
Correlation Periods:
• Adjust for your timeframe
• Hourly: 14/30/60
• Daily: 20/50/100
• Weekly: 10/20/50
ALERTS AVAILABLE:
Set alerts for any profit milestone:
Critical Alerts:
• "BUY Signal" - Entry notification
• "5% Profit Target" - First major milestone
• "10% Profit Target" - Decision point
• "Stop Loss Hit" - Risk protection
Optional Alerts:
• 1%, 2%, 3%, 4% - Early confirmations
• 15%, 20%, 25% - Major milestones
• Individual levels for your strategy
BEST TIMEFRAMES:
Daily Chart (Recommended):
Best for swing traders holding 3-10 days
Use default settings (20/50/100 periods)
Target 5-15% profits
4-Hour Chart:
Good for active swing traders
Adjust periods to 14/30/60
Target 3-10% profits
Hourly Chart:
For day traders and scalpers
Use shorter periods (14/30/60)
Target 1-5% profits
Adjust profit levels lower (0.5%, 1%, 2%, 3%)
WHY THIS INDICATOR IS DIFFERENT:
Most indicators tell you WHEN to enter.
This one tells you WHEN TO EXIT with profit.
Most indicators use vague signals.
This one shows EXACT profit percentages.
Most indicators leave exit decisions to you.
This one gives CLEAR, COLOR-CODED milestones.
Most indicators don't track your P/L.
This one shows your profit in text you can't miss.
QUICK START GUIDE:
1. Add indicator to gold chart (XAUUSD, GLD, GC1!)
2. Wait for green triangle (▲) BUY signal
3. Watch your profit grow in the table
4. Exit when you hit YOUR target (5%, 10%, 15%, etc.)
5. Repeat
That's it. Simple. Effective. Profitable.
IMPORTANT NOTES:
• This is for LONG positions only - not for shorting gold
• Position tracking begins only after a BUY signal
• The indicator shows levels - YOU decide when to exit
• Always use stop losses (default 5% is reasonable)
• Past performance doesn't guarantee future results
• Not financial advice - use for educational purposes
PRO TIPS:
Tip 1: Don't get greedy - 10-15% is an excellent profit for most trades
Tip 2: Purple stars (25%+) are RARE - don't wait for them on every trade
Tip 3: The profit bar color change is your visual cue - green→yellow→orange→red
Tip 4: Combine with resistance levels - "10% profit + resistance = exit"
Tip 5: Set alerts for YOUR target level so you never miss it
Tip 6: The giant P/L number in the table removes emotion from decisions
EXAMPLE TRADE:
Day 1: ▲ BUY signal at $2,100
Table shows: Position ✓ IN | Entry: 2,100
Day 2: Current P/L: +1.8%
First green circle appears (1% target hit)
Table tier: "1%"
Day 4: Current P/L: +5.2%
Dark green circle appears (5% target hit)
Profit bar is dark green
Decision point: Exit 50% here?
Day 7: Current P/L: +10.5%
Yellow diamond appears (10% target hit!)
Table shows: +10.5% in yellow text
Decision point: Exit remaining 50%?
Result: Average exit ~7.5% over 7 days. Excellent swing trade!
WORKS ON:
• Gold Spot (XAUUSD)
• Gold Futures (GC1!)
• Gold ETFs (GLD, IAU)
• Any gold instrument
Inverse Assets Tracked:
• DXY (US Dollar Index)
• Real Interest Rates (TIPS)
• US Treasury Yields (2Y, 10Y)
• Bitcoin (optional)
• Copper (optional)
THE BOTTOM LINE:
Stop guessing when to take profits.
Start SEEING your profit levels in real-time.
The indicator shows you the targets.
YOU choose when to cash out.
That's YOUR edge.
Developed for traders who want clear, actionable profit targets instead of vague signals.
Automated Risk Management HUDDESCRIPTION:
"Amateurs focus on how much they can make. Professionals focus on how much they can lose."
Most traders fail Funding Challenges (FTMO, The 5ers, etc.) not because they lack a strategy, but because of poor Risk Management and psychological loss of control.
Architect's Sentinel Pro is not just a position size calculator. It is a Discipline Enforcement System integrated directly into your chart. It eliminates mental math, prevents contract size errors, and acts as a psychological barrier against revenge trading.
CORE FEATURES:
1. Precision Asset Engine Stop guessing contract sizes. The engine automatically adjusts calculation logic for:
XAUUSD (Gold): Standardized for 100oz contracts.
Forex Majors: Standardized for 100,000 units.
JPY Pairs: Adjusted scaling.
Indices/Crypto: Flexible support.
2. Professional HUD (Heads-Up Display) A non-intrusive dashboard located at the top-right corner. It displays:
Exact Risk ($): precise to 2 decimal places.
Lot Size: Calculated instantly based on your risk parameters.
SL Levels: The exact price levels you need to input into your execution platform.
3. The "Bullet" System (Psychology Control) Gamify your risk. You input your Daily Loss Limit (e.g., $125). The tool calculates how many "Bullets" (Trades) you have left based on your risk per trade.
Green: Safe zone.
Orange: Caution (1 trade left).
RED: Daily Limit Reached -> CEASE TRADING IMMEDIATELY.
4. Hybrid Calculation Modes
Risk Based: You define the Max Risk ($) -> The tool calculates the Max Lot.
Lot Based: You define the Lot Size -> The tool audits the risk. If the calculated risk exceeds your limit, the HUD flashes a "VIOLATION" alert.
5. Flexible Stop Loss Logic
Auto (ATR Dynamic): Uses Average True Range to adapt SL to market volatility.
Fixed Distance: Set a fixed price distance (e.g., $5.00 on Gold).
Manual Level: Enter a specific price level for structural stops.
HOW TO USE:
Configuration: Open Settings. Input your Risk per Trade ($) and Daily Loss Limit ($).
Execution: Look at the HUD.
If BLUE/GREEN: Enter the Lot Size and SL Price shown.
If RED: Do not trade.
Accountability: If you take a loss, open Settings and increment the Losses Today counter. The system will deduct a "Bullet" from your inventory.
"Architects sell Blueprints, not Manual Labor." Let the tool handle the math. You focus on the execution.
Gold Inverse Correlation TrackerGold Inverse Correlation Tracker - Professional Multi-Asset Analysis
What This Indicator Does:
This indicator monitors the real-time correlation between Gold and five key financial assets that historically move inversely (opposite) to gold prices. It displays these relationships across three different timeframes simultaneously, giving you both short-term trading signals and long-term trend confirmation.
The indicator tracks:
US Dollar Index (DXY) - Historical correlation: -0.63
Real Interest Rates (TIPS) - Historical correlation: -0.82 (strongest inverse relationship)
10-Year Treasury Yield - Nominal interest rate proxy
S&P 500 (SPX) - Equity market sentiment (variable correlation)
VIX - Volatility index (optional, flight-to-safety indicator)
Why Inverse Correlations Matter for Gold Trading:
Understanding inverse correlations is critical for gold traders because:
Predictive Power - When assets move opposite to gold consistently, you can use their strength/weakness to predict gold's next move
Hedging Opportunities - Strong inverse correlations let you hedge gold positions by trading the inverse asset
Regime Detection - When correlations break down, it signals a market regime change or increased uncertainty
Confirmation Signals - Multiple strong inverse correlations validate your gold trade thesis
Risk Management - Knowing what moves against gold helps you understand your portfolio's true exposure
The Science Behind the Numbers:
Real interest rates have the strongest inverse correlation to gold (approximately -0.82) because:
Gold pays no yield or dividend
When real rates rise, the opportunity cost of holding gold increases
Investors shift to interest-bearing assets when they offer positive real returns
When real rates go negative, gold becomes relatively more attractive
The US Dollar shows strong inverse correlation (approximately -0.63) because:
Gold is priced in US dollars globally
A stronger dollar makes gold more expensive for foreign buyers, reducing demand
A weaker dollar makes gold cheaper internationally, increasing demand
Both compete as reserve assets and stores of value
Why the Indicator is Weighted This Way:
Three Timeframe Approach:
Short-term (20 periods) - Captures recent correlation shifts for day trading and swing trading
Medium-term (50 periods) - The primary signal - balances noise reduction with responsiveness
Long-term (100 periods) - Confirms structural correlation trends for position trading
Correlation Thresholds:
Strong Inverse (<-0.7) - Statistically significant inverse relationship; highest confidence for inverse trades
Moderate Inverse (<-0.3) - Meaningful inverse relationship; still useful but less reliable
Weak Inverse (<0.0) - Slight inverse tendency; correlation may be breaking down
Positive (>0.0) - Assets moving together; inverse relationship has failed
How to Use This Indicator:
For Inverse Trading Strategies:
When DXY shows RED correlation (<-0.7), consider shorting DXY when gold is strong
When Real Rates show RED correlation, rising rates = falling gold (and vice versa)
When multiple assets show strong inverse correlation, confidence is highest
For Regime Detection:
All RED = Classic gold market behavior; correlations intact
Mixed colors = Transitional market; be cautious
All GREEN/GRAY = Correlation breakdown; paradigm shift occurring
For Hedging:
Use assets with strong inverse correlation to hedge gold positions
When correlation weakens, reduce hedge size
When correlation strengthens, increase hedge effectiveness
Alert System:
The indicator includes built-in alerts for:
Individual assets crossing strong inverse threshold
Multiple assets simultaneously showing strong inverse correlation (highest probability setup)
Correlation breakdowns that may signal regime changes
Color Guide:
RED - Strong inverse correlation (<-0.7) - Best inverse trading opportunity
ORANGE - Moderate inverse (<-0.3) - Useful but less reliable
YELLOW - Weak inverse (<0.0) - Correlation weakening
GRAY - Weak positive (0.0 to 0.7) - Assets moving together
GREEN - Strong positive (>0.7) - Inverse relationship broken
Recommended Settings:
Day Trading (1H-4H charts):
Short: 14 periods
Medium: 30 periods
Long: 60 periods
Swing Trading (Daily charts):
Short: 20 periods (default)
Medium: 50 periods (default)
Long: 100 periods (default)
Position Trading (Weekly charts):
Short: 10 periods
Medium: 20 periods
Long: 50 periods
Pro Tips:
Watch for divergences - when gold moves but correlations don't confirm
Correlation breakdowns often precede major trend reversals
The Medium-term (50p) correlation is plotted on the chart as your primary reference
Use the Status column for quick assessment of each asset's relationship
Set alerts for "Multiple Strong Inverse" to catch highest-probability setups
Important Notes:
This indicator is designed for Gold charts only (XAUUSD, GLD, GC1!, etc.)
Correlations are not static - they change over time based on market conditions
A correlation of -0.82 means 82% of gold's price movements can be explained by real interest rates
Always combine with other technical analysis and fundamental factors
Past correlations do not guarantee future relationships
Based on Research:
The correlation coefficients used in this indicator are based on peer-reviewed research:
Erb & Harvey (1997-2012): Real rates to gold correlation of -0.82
World Gold Council (2024): US Dollar to gold correlation of -0.63
Multiple academic studies confirming gold's inverse relationship with opportunity cost assets
Use this indicator to trade smarter, hedge better, and understand the macro forces driving gold prices.
Intraday Acharya Ji - By RVIntraday Acharya Ji By RV
**Gann Levels by Acharya Ji** is an intraday precision indicator based on W.D. Gann’s percentage expansion methodology. The script automatically captures the **first candle of the trading day** and projects mathematically calculated price levels above and below it, helping traders identify **important support, resistance, targets, and reversal zones**.
The indicator plots:
* 🔵 **First Candle High & Low** as reference points
* 🟢 **Multiple upside Gann target levels** (0.09% to 8.64%)
* 🔴 **Multiple downside Gann target levels** (−0.09% to −8.64%)
* 🏷️ **Clean price tags** on the right side of the chart for quick readability
Each level updates **automatically every trading day**, ensuring accuracy without manual adjustment. Price tags remain clean and clutter-free, displaying exact values in a TradingView-style format.
---
### ✅ Key Features
* Fully **automatic daily level calculation**
* Based on **Gann percentage ratios**
* Clear **visual support & resistance mapping**
* **Right-aligned price labels** for fast decision-making
* Works on **all intraday timeframes**
* Ideal for **index, stock, and futures trading**
---
### 🎯 Best Use Case
* Intraday trading & scalping
* Target projection & risk management
* Breakout and reversal confirmation
* High-probability entry & exit planning
---
### ⚠️ Disclaimer
This indicator is for **educational purposes only**. Always combine with proper risk management and additional confirmation tools before taking trades.
---
Yield Curve RegimesOverview
The Yield Curve Regime Histogram transforms yield curve spread analysis into an intuitive visual framework by classifying rate movements into six distinct regimes. Rather than simply displaying the spread between two maturities, this indicator analyzes how that spread is changing relative to the underlying yields themselves, providing insight into market expectations for growth, inflation, and liquidity conditions.
How It Works
The indicator calculates the spread between two user-selected government bond yields (default: 2-year and 10-year US Treasuries) and compares both the spread and the individual yields to their values n periods ago (default lookback: 20 bars). Based on whether the spread is steepening or flattening, and whether the short-term and long-term yields are rising or falling, the algorithm classifies each bar into one of six regimes:
The Six Regimes
Steepening Regimes (spread increasing):
1. Bull Steepener (Cyan): Both yields falling, long-end falling slower
Market pricing: Growth concerns, but long-end supported
Typically risk-on if Fed not cutting due to severe economic weakness
2. Bear Steepener (Blue): Both yields rising, long-end rising faster
Market pricing: Growth acceleration, inflation pressures building
Typically risk-on regime
3. Steepener Twist (Yellow): Short-end falling, long-end rising
Market pricing: Liquidity injection, mixed growth signals
Neutral/transition regime
Flattening Regimes (spread decreasing):
4. Bull Flattener (Pink): Both yields falling, long-end falling faster
Market pricing: Growth slowdown, disinflation, potential inversion ahead
Typically risk-off regime
5. Bear Flattener (Purple): Both yields rising, short-end rising faster
Market pricing: Central bank tightening, growth concerns emerging
Typically risk-off regime, can lead to inversion
6. Flattener Twist (Orange): Short-end rising, long-end falling
Market pricing: Aggressive policy tightening, recession risk building
Typically risk-off regime, highest inversion risk
Practical Application
By visualizing which regime is active, traders can:
Anticipate risk appetite shifts: Steepening regimes generally coincide with risk-on sentiment, while flattening regimes (especially with falling long-end yields) often precede risk-off periods
Gauge growth and inflation expectations: The combination of spread direction and yield levels reveals what markets are pricing for economic trajectory
Identify liquidity conditions: Twist regimes highlight periods of central bank intervention or significant policy shifts
Time entries and exits: Regime transitions can signal turning points in equity, commodity, and currency markets before they fully materialize in price action
Customization
The indicator offers full flexibility for cross-market analysis:
Maturity selection: Choose any two yield curves (e.g., 2Y/10Y, 5Y/30Y, or international equivalents like German Bunds)
Lookback period: Adjust sensitivity by changing how far back the comparison is made
Color scheme: Customize each regime's color in the Style tab to match your chart preferences
Legend display: Toggle the regime legend table on/off for cleaner visuals
Timeframe: Apply the indicator to any timeframe, from intraday to monthly charts
Display
The spread is plotted as a histogram, with each bar colored according to its regime classification. A black line overlay (also customizable) traces the raw spread value, allowing you to see both the regime structure and the actual spread level simultaneously. An optional legend in the top-right corner provides a quick reference for regime identification.
This indicator is designed to function as a standalone "yield curve dashboard" that can be stacked beneath equity indices, commodities, or FX pairs, helping traders align their positioning with the underlying rates environment without needing to interpret complex macro data manually.
Note: This indicator analyzes government bond yields and is most effective when paired with liquid, benchmark instruments such as US Treasuries, German Bunds, or UK Gilts. Regime classifications reflect market expectations embedded in the yield curve, not guaranteed outcomes.
Rai x DynamicRai x Dynamic – Advanced RSI TMA Trend Force Indicator
Description:
This indicator combines RSI with a custom TMA (Triangular Moving Average) and Trend Force EMA filter
to provide high-quality BUY/SELL signals with neon-style visual feedback.
Features:
• RSI + TMA crossover signals
• EMA Trend Force filter for trend confirmation
• Dynamic BUY/SELL labels with neon color themes
• Win/Loss labels for past signals (educational purposes)
• Live Dashboard showing trend, win rate, wins/loss count
• Works on any timeframe, best for short-term analysis
Instructions:
1. Use the “Enable Trend Force Filter” to follow EMA trend direction.
2. Adjust RSI Length, TMA Half Length, and Deviation to suit your trading style.
3. Observe BUY/SELL signals with the neon labels.
4. Dashboard provides visual stats for last N bars (adjustable via Dashboard Lookback).
5. For best results, combine with volume and higher timeframe trend confirmation.
⚠️ Note:
• This indicator is for educational and analysis purposes.
• No indicator guarantees profit. Always manage risk responsibly.






















