TSF - Rel Vol & Stop calcSimple swing data table showing:
1. Avg 20D dollar vol
2. Live dollar vol
3. Live % relative vol compared to avg 20d daily vol
4.Percent to LOD current price with color codes
5. Avg 20d ATR%
Indicadores y estrategias
The Strat: 3-2D Setup Label + Entry, Target & AlertsThis is an indicator that identifies the 3-2D setup based on TheStrat & will alert you if you have this on the chart. Once the 3-2D setup happens this will give you the entry, target and price labels. You can change the font size, label colors and add optional alerts.
ZigZag Buy/Sell Arrows [NPR21]ZigZag Buy/Sell Arrows - Pivot Points
Description:
Simple and effective ZigZag indicator that displays buy and sell arrows at major pivot points on your chart. Perfect for identifying potential trend reversals and swing trading opportunities.
Features:
Fluorescent green arrows for buy signals at pivot lows
Bright red arrows for sell signals at pivot highs
Clean, minimal design with no clutter
Built-in alert conditions for both buy and sell signals
No repainting - arrows appear at confirmed pivots
How to Use:
Add the indicator to your chart
Green up arrows appear below bars at pivot lows (potential buy zones)
Red down arrows appear above bars at pivot highs (potential sell zones)
Arrows are offset to show at the actual pivot point
Set alerts by clicking the alarm icon on the indicator
Customization:
To reduce the number of arrows and show only major turns, edit the code:
Change ph = ta.pivothigh(5, 5) to ph = ta.pivothigh(10, 10) or higher
Change pl = ta.pivotlow(5, 5) to pl = ta.pivotlow(10, 10) or higher
Higher numbers = fewer arrows = only major pivots
Recommended: 3-5 for active trading, 10-15 for swing trading
Harmonic Patterns [kingthies]Harmonic Patterns
This indicator scans price swings for classic X-A-B-C-D harmonic patterns and plots the structure plus a PRZ (Potential Reversal Zone) to help you frame areas where reactions are statistically more likely. It supports both bullish and bearish setups and can trigger alerts when a new D pivot confirms a pattern.
What it does
Builds a pivot-based swing map (ZigZag-style) using a configurable Pivot Length .
Evaluates the most recent 5 swing points (X, A, B, C, D) against harmonic ratio rules with a user-defined tolerance .
Detects: Gartley, Bat, Butterfly, Crab, Deep Crab, Cypher, Shark (loose) .
Draws the pattern legs (X-A-B-C-D), labels the detection with ratio readouts, and projects a PRZ using 3 target levels (derived from XA/BC logic per pattern).
Offers two rendering modes:
Best only : picks the closest match (lowest score) to reduce clutter.
Show all : plots every valid match (uses filled PRZ boxes to keep object usage under control).
PRZ (Potential Reversal Zone)
PRZ is built from three target levels and expanded into a zone.
Optional padding uses ATR (ATR multiplier) to widen/narrow the zone for volatility.
Display modes: Off, Box, Lines, Both .
Zones can be extended forward by a configurable number of bars to keep the area visible as price develops.
How to use
Start with Confirm only when D pivot forms enabled (recommended) to reduce false positives while patterns are still forming.
Adjust Pivot Length based on timeframe:
Lower values = more swings, more signals, more noise.
Higher values = cleaner structures, fewer signals.
Use Ratio Tolerance to control strictness:
Lower tolerance = fewer, higher-confidence matches.
Higher tolerance = more matches, potentially lower quality.
Treat harmonics as context , not a standalone entry system:
Look for confluence (HTF levels, structure, volume, momentum/RSI divergence, etc.).
Use your own confirmation and risk plan (invalidations beyond PRZ / beyond D).
Settings overview
Swings (Pivot ZigZag)
Pivot Length: pivot sensitivity.
Use Wicks: uses High/Low; if off, uses Close.
Max Stored Swings: limits stored pivots for performance/object control.
Harmonic Detection
Ratio Tolerance (%): allowed deviation around ideal ratios.
Confirm only when D pivot forms: reduces repaint-like behavior.
When multiple match: Best only vs Show all.
Pattern Filters enable/disable each pattern type.
PRZ
PRZ Display: Off / Box / Lines / Both.
PRZ Padding (ATR multiplier): volatility-adjusted zone padding.
PRZ Extend (bars): how far to project the zone.
Visuals
Draw Legs: draws X-A-B-C-D.
Show Pattern Label: prints pattern name, direction, ratios, and score.
Label Offset: shift label forward if you want more space.
Alerts
“Bullish/Bearish Harmonic (Any)” triggers on any detected pattern.
Per-pattern alerts are included for each supported pattern type.
Notes
This indicator is educational and intended to assist with pattern recognition and confluence mapping.
Harmonic patterns do not guarantee reversals—always manage risk and confirm with your own process.
MoBo MoBo Bands - Momentum Breakout Indicator
Description
The MoBo (Momentum Breakout) Bands indicator is a dynamic volatility-based trading tool that identifies potential trend reversals and momentum shifts in the market. Unlike traditional Bollinger Bands, MoBo Bands use asymmetric standard deviation multipliers to create upper and lower bands that adapt to price action, providing clear visual signals when price breaks through key levels.
The indicator features color-coded bands that change from red to green (bullish) or green to red (bearish) based on breakout direction, filled cloud zones for enhanced visibility, and precise breakout arrows positioned at candle extremes. This makes it ideal for swing traders, day traders, and anyone looking to identify high-probability momentum shifts.
How to Use
Signal Interpretation
Bullish Breakout (Green)
Occurs when price closes above the upper band
Bands turn green and fill with green cloud
Bright green arrow appears at the bottom of the breakout candle
Indicates potential upward momentum and bullish trend continuation
Consider long positions or holding existing longs
Bearish Breakdown (Red)
Occurs when price closes below the lower band
Bands turn red and fill with red cloud
Bright red arrow appears at the top of the breakdown candle
Indicates potential downward momentum and bearish trend continuation
Consider short positions or exiting longs
Neutral Zone (Between Bands)
Price consolidates between the upper and lower bands
Bands maintain their previous color (green or red)
No trading signals - wait for next breakout
Good time to prepare entries or manage existing positions
Trading Strategy
Trend Following: Enter trades in the direction of the breakout arrow
Green arrow = Go long
Red arrow = Go short or exit longs
Confirmation: Wait for the candle to fully close beyond the band before entering
Avoid false breakouts by confirming the close
Consider volume confirmation for stronger signals
Exit Strategy:
Exit longs when a red arrow appears (bearish breakdown)
Exit shorts when a green arrow appears (bullish breakout)
Use the opposite band as a profit target
Risk Management:
Place stops beyond the opposite band
Use the midline (hidden by default) as a dynamic support/resistance level
Adjust position size based on band width (volatility)
Parameter Settings
Length (10): Controls the lookback period for calculations - shorter = more responsive, longer = smoother
Num Dev Up (+0.8): Upper band multiplier - increase for wider bands
Num Dev Down (-0.8): Lower band multiplier - decrease for wider bands
Colored Mobo: Toggle band color changes on/off
Colored Fill: Toggle cloud fills on/off
Break Arrows: Toggle breakout arrows on/off
Show Alerts: Enable/disable alert notifications
Best Practices
Works best in trending markets with clear directional moves
Combine with other indicators (RSI, MACD, volume) for confirmation
Adjust length and deviation parameters based on timeframe and asset volatility
Use higher timeframes (4H, Daily) for stronger, more reliable signals
Backtest settings on your specific instrument before live trading
Gemini Smart SMA Pro + Wyckoff V2 (Enhanced Cloud)The Smart SMA Pro + Wyckoff V2 is an advanced trend-following and market-cycle indicator built for traders who utilize Wyckoff Theory and Volume Spread Analysis (VSA). It is specifically designed to identify the transition from "Cause" (Squeeze/Accumulation) to "Effect" (Expansion/Markup).
By analyzing the volatility spread between two customizable Moving Averages and validating movements with relative volume, this tool helps traders stay out of sideways markets and enter only when high-conviction momentum is present.
Key Features
Wyckoff Phase Detection: Automatically detects Squeeze (Accumulation/Distribution) and Expansion (Markup/Markdown) phases.
Intelligent Dynamic Cloud: The cloud between the MAs changes its transparency dynamically based on the Volume Ratio and trend slope. Darker colors indicate high-volume trend confirmation.
Dual-Layered SOS/SOW Signals: * SOS (Sign of Strength): A Yellow Dot appears on a bullish squeeze breakout. A Yellow Arrow is added only if the move is validated by High Relative Volume.
SOW (Sign of Weakness): An Orange Dot appears on a bearish breakout, with an Orange Arrow appearing only if supported by high volume.
Live Multi-Data Dashboard: A real-time table displaying the status of Fast/Slow MAs, the current market cycle stage, and the Volume Ratio.
Professional Alerts: Built-in alerts for Sign of Strength (SOS) and Sign of Weakness (SOW) breakouts.
How to Trade with it
Grey Cloud (Squeeze): Market is building a "Cause." Avoid trading and prepare for a breakout.
Yellow Dot + Arrow: This is a Confirmed SOS. It indicates institutional participation and a high probability of a new Markup phase.
Buy/Sell Labels: Standard trend entries based on price crossing the Signal Line (Fast MA). Use these to join an already established trend.
Dashboard Monitoring: Check the "Vol. Ratio" to see if the current move has enough strength to sustain the expansion.
How this Indicator was Created
This project is the result of a cutting-edge collaborative development process between a human trader and Gemini (Google’s AI).
Logic Synthesis: We combined traditional technical analysis with AI-optimized algorithms to calculate the Volatility Ratio, ensuring the "Squeeze" detection is more accurate than standard Bollinger-based tools.
Conditional Visuals: The logic was refined through multiple iterations to create a "Smart Visual" system. For instance, the Volume-Validated Arrow was an architectural decision to separate minor breakouts from high-conviction institutional moves.
Code Optimization: The entire script was written in Pine Script® V6, ensuring maximum performance, low latency on charts, and a clean, responsive Dashboard interface using advanced table objects.
----------------------------------------------------------------------------------------------------------------------------------------------------
The Partnership: This indicator represents the perfect synergy between human market intuition and AI’s computational precision, resulting in a tool that is both mathematically sound and visually intuitive for professional use.
Account GuardianAccount Guardian: Dynamic Risk/Reward Overlay
Introduction
Account Guardian is an open-source indicator for TradingView designed to help traders evaluate trade setups before entering positions. It automatically calculates Risk-to-Reward ratios based on market structure, displays visual Stop Loss and Take Profit zones, and provides real-time position sizing recommendations.
The indicator addresses a fundamental question every trader should ask before entering a trade: "Does this setup make mathematical sense?" Account Guardian answers this question visually and numerically, helping traders avoid impulsive entries with poor risk profiles.
Core Functionality
Account Guardian performs four primary functions:
Detects swing highs and swing lows to identify logical stop loss placement levels
Calculates Risk-to-Reward ratios for both long and short setups in real-time
Displays visual SL/TP zones on the chart for immediate trade planning
Computes position sizing based on your account size and risk tolerance
The goal is to provide traders with instant feedback on whether a potential trade meets their minimum risk/reward criteria before committing capital.
How It Works
Swing Detection
The indicator uses pivot point detection to identify recent swing highs and swing lows on the chart. These swing points serve as logical areas for stop loss placement:
For Long Trades: The most recent swing low becomes the stop loss level. Price breaking below this level would invalidate the bullish thesis.
For Short Trades: The most recent swing high becomes the stop loss level. Price breaking above this level would invalidate the bearish thesis.
The swing detection lookback period is configurable, allowing you to adjust sensitivity based on your trading timeframe and style.
It automatically adjusts the tp and sl when it is applied to your chart so it is always moving up and down!
Risk/Reward Calculation
Once swing levels are identified, the indicator calculates:
Entry Price: Current close price (where you would enter)
Stop Loss: Recent swing low (for longs) or swing high (for shorts)
Risk: Distance from entry to stop loss
Take Profit: Entry plus (Risk × Target Multiplier)
R:R Ratio: Reward divided by Risk
The R:R ratio is then evaluated against your configured thresholds to determine if the setup is valid, marginal, or poor.
Visual Elements
SL/TP Zones
When enabled, the indicator draws colored boxes on the chart showing:
Red Zone: Stop Loss area - the region between your entry and stop loss
Green/Gold/Red Zone: Take Profit area - colored based on R:R quality
The color coding provides instant visual feedback:
Green: R:R meets or exceeds your "Good R:R" threshold (default 3:1)
Gold: R:R meets minimum threshold but below "Good" (between 2:1 and 3:1)
Red: R:R below minimum threshold - setup should be avoided
Swing Point Markers
Small circles mark detected swing points on the chart:
Green circles: Swing lows (potential support / long SL levels)
Red circles: Swing highs (potential resistance / short SL levels)
Dashboard Panel
The dashboard in the top-right corner displays comprehensive trade planning information:
R:R Row: Current Risk-to-Reward ratio for long and short setups
Status Row: VALID, OK, BAD, or N/A based on R:R thresholds
Stop Loss Row: Exact price level for stop loss placement
Take Profit Row: Exact price level for take profit placement
Pos Size Row: Recommended position size based on your risk parameters
Risk $ Row: Dollar amount at risk per trade
Position Sizing Logic
The indicator calculates position size using the formula:
Position Size = Risk Amount / Risk per Unit
Where:
Risk Amount = Account Size × (Risk Percentage / 100)
Risk per Unit = Entry Price - Stop Loss Price
For example, with a $10,000 account risking 1% per trade ($100), if your entry is at 100 and stop loss at 98 (risk of 2 per unit), your position size would be 50 units.
Input Parameters
Swing Detection:
Swing Lookback: Number of bars to look back for pivot detection (default: 10). Higher values find more significant swing points but may be slower to update.
Target Multiplier: Multiplier applied to risk to calculate take profit distance (default: 2). A value of 2 means TP is 2× the distance of SL from entry.
Risk/Reward Thresholds:
Minimum R:R: Minimum acceptable Risk-to-Reward ratio (default: 2.0). Setups below this show as "BAD" in red.
Good R:R: Threshold for excellent setups (default: 3.0). Setups at or above this show as "VALID" in green.
Account Settings:
Account Size ($): Your trading account size in dollars (default: 10,000). Used for position sizing calculations.
Risk Per Trade (%): Percentage of account to risk per trade (default: 1.0%). Professional traders typically risk 0.5-2% per trade.
Display:
Show SL/TP Zones: Toggle visibility of the colored zone boxes on chart (default: enabled)
Show Dashboard: Toggle visibility of the information panel (default: enabled)
Analyze Direction: Choose to analyze Long only, Short only, or Both directions (default: Both)
How to Use This Indicator
Basic Workflow:
Add the indicator to your chart
Configure your account size and risk percentage in the settings
Set your minimum and good R:R thresholds based on your trading rules
Look at the dashboard to see current R:R for potential long and short entries
Only consider trades where the status shows "VALID" or at minimum "OK"
Use the displayed SL and TP levels for your order placement
Use the position size recommendation to determine lot/contract size
Interpreting the Dashboard:
VALID (Green): Excellent setup - R:R meets your "Good" threshold. This is the ideal scenario for taking a trade.
OK (Gold): Acceptable setup - R:R meets minimum but isn't optimal. Consider taking if other confluence factors align.
BAD (Red): Poor setup - R:R below minimum threshold. Avoid this trade or wait for better entry.
N/A (Gray): Cannot calculate - usually means no valid swing point detected yet.
Best Practices:
Use this indicator as a filter, not a signal generator. It tells you IF a trade makes sense, not WHEN to enter.
Combine with your existing entry strategy - use Account Guardian to validate setups from other analysis.
Adjust the swing lookback based on your timeframe. Lower timeframes may need smaller lookback values.
Be honest with your account size input - accurate position sizing requires accurate inputs.
Consider the target multiplier carefully. Higher multipliers mean larger potential reward but lower probability of hitting TP.
Alerts
The indicator includes four alert conditions:
Good Long Setup: Triggers when long R:R reaches or exceeds your "Good R:R" threshold
Good Short Setup: Triggers when short R:R reaches or exceeds your "Good R:R" threshold
Bad Long Setup: Triggers when long R:R falls below your minimum threshold
Bad Short Setup: Triggers when short R:R falls below your minimum threshold
These alerts can help you monitor multiple charts and get notified when favorable setups appear.
Technical Implementation
The indicator is built using Pine Script v6 and includes:
Pivot-based swing detection using ta.pivothigh() and ta.pivotlow()
Dynamic box drawing for visual SL/TP zones
Table-based dashboard for clean information display
Color-coded visual feedback system
Persistent variable tracking for swing levels
Code Structure:
// Swing Detection
float swingHi = ta.pivothigh(high, swingLen, swingLen)
float swingLo = ta.pivotlow(low, swingLen, swingLen)
// R:R Calculation for Long
float longSL = recentSwingLo
float longRisk = entry - longSL
float longTP = entry + (longRisk * targetMult)
float longRR = (longTP - entry) / longRisk
// Position Sizing
float riskAmount = accountSize * (riskPct / 100)
float posSize = riskAmount / longRisk
Limitations
The indicator uses historical swing points which may not always represent optimal SL placement for your specific strategy
Position sizing assumes you can trade fractional units - adjust accordingly for instruments with minimum lot sizes
R:R calculations assume linear price movement and don't account for gaps or slippage
The indicator doesn't predict price direction - it only evaluates the mathematical viability of a setup
Swing detection has inherent lag due to the lookback period required for pivot confirmation
Recommended Settings by Trading Style
Scalping (1-5 minute charts):
Swing Lookback: 5-8
Target Multiplier: 1-2
Minimum R:R: 1.5
Good R:R: 2.0
Day Trading (15-60 minute charts):
Swing Lookback: 8-12
Target Multiplier: 2
Minimum R:R: 2.0
Good R:R: 3.0
Swing Trading (4H-Daily charts):
Swing Lookback: 10-20
Target Multiplier: 2-3
Minimum R:R: 2.5
Good R:R: 4.0
Why Risk/Reward Matters
Many traders focus solely on win rate, but profitability depends on the combination of win rate AND risk/reward ratio. Consider these scenarios:
50% win rate with 1:1 R:R = Breakeven (before costs)
50% win rate with 2:1 R:R = Profitable
40% win rate with 3:1 R:R = Profitable
60% win rate with 1:2 R:R = Losing money
Account Guardian helps ensure you only take trades where the math works in your favor, even if you're wrong more often than you're right.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not intended as financial, investment, trading, or any other type of advice or recommendation.
Trading involves substantial risk of loss and is not suitable for all investors. The calculations provided by this indicator are based on historical price data and mathematical formulas that may not accurately predict future price movements.
Position sizing recommendations are estimates based on user inputs and should be verified before placing actual trades. Always consider factors such as leverage, margin requirements, and broker-specific rules when determining actual position sizes.
The Risk-to-Reward ratios displayed are theoretical calculations based on swing point detection. Actual trade outcomes will vary based on market conditions, execution quality, and other factors not captured by this indicator.
Past performance does not guarantee future results. Users should thoroughly test any trading approach in a demo environment before risking real capital. The authors and publishers of this indicator are not responsible for any losses or damages arising from its use.
Always consult with a qualified financial advisor before making investment decisions.
[ASFX] Free Automatic VWAPsAutomatic VWAP & Key Levels
Overview
This indicator is designed to help traders evaluate VWAP interactions in context, rather than treating every VWAP touch as a trade opportunity. It combines VWAP with a momentum-based directional filter to highlight situations where price interaction with VWAP is supported by broader intraday momentum. This indicator also shows you the initial balance and opening range each day.
Concept and Originality
VWAP is commonly used as an institutional reference level, but VWAP alone does not distinguish between meaningful acceptance/rejection and random intraday chop. This script addresses that limitation by conditioning VWAP interactions with a momentum filter. Signals are only displayed when price location and momentum alignment occur together, allowing traders to focus on higher-quality VWAP reactions instead of monitoring multiple indicators separately.
How It Works
• VWAP is used as the primary price reference level.
• A momentum filter evaluates directional bias and participation.
• Visual signals appear only when price is interacting with VWAP and momentum confirms acceptance or rejection in the same direction.
• No signals are shown during low-momentum or sideways conditions around VWAP.
How to Use
This indicator is best used as a confirmation tool, not as a standalone trading system. It is intended to assist traders in filtering VWAP-based trade ideas by highlighting when conditions are aligned versus when price is simply chopping around VWAP.
Markets and Timeframes
• Designed for index futures such as ES and NQ
• Optimized for intraday trading
• Works best on lower timeframes (1–5 minute charts)
Limitations
• Not predictive
• Not a complete trading strategy
• Does not replace price action analysis, trade management, or risk control
• Signals should be evaluated alongside market structure and context
rosh Swift ALGO-X based on ema for xauusd scalping use with original settings, assured 100 pips per day
Gann VooDoo Lines [NPR21]GANN VooDoo Lines
Gann Square of 9 - TOS Scale Edition is a high-precision conversion of the classic ThinkOrSwim (TOS) Gann Square of 9 tool, specifically rebuilt for Pine Script v6. It is designed for traders who rely on mathematical price rotations to identify hidden support and resistance levels.
Unlike standard horizontal line tools, this version is specifically engineered to "handshake" with the TradingView price scale, ensuring that every mathematical rotation is clearly labeled on your Y-axis for instant reference.
How to Use This Script
Define Your Anchor Point:
Find a major swing high or swing low on your chart.
Open the script Settings (gear icon) and enter this value into the Manual Anchor Price field.
Select Market Direction:
Down (Support): Use this if your anchor is a Swing High. The script will calculate support levels below that price.
Up (Resistance): Use this if your anchor is a Swing Low. The script will calculate resistance levels above that price.
Adjust the Visual Scope:
Use the Extend Right and Extend Left toggles. If both are checked, the Gann levels will act as infinite "Voodoo Lines" across your entire chart history.
The "TOS Scale" Final Step (Crucial):
To see the colored price boxes on your vertical axis, Right-click the Price Scale (the numbers on the right of your chart).
Hover over Labels and ensure Indicator Value Labels is Checked.
IMPORTANT: Uncheck the option "No Overlapping Labels." Since Gann levels are mathematically precise, they can sometimes be close together; unchecking this forces TradingView to show every single level simultaneously, just like ThinkOrSwim.
Automatic Quadrant Lines📊 DETAILED EXPLANATION
Overview:
Automatic Quadrant Lines is a sophisticated pivot-based trading system that identifies key support and resistance levels, entry points, and price targets automatically. Based on fractal pivot analysis, this indicator creates a complete trading framework by mapping out potential long and short opportunities with precise entry and exit levels.
What Each Line Means:
Pivot Lines (Dark Red - Solid):
R1 (Resistance 1): The most recent pivot high - a key resistance level where price previously reversed downward
S1 (Support 1): The most recent pivot low - a key support level where price previously reversed upward. This line is thicker (weight 3) to emphasize its importance as the foundation for long setups
Entry Lines (Green/Red - Dashed or Solid):
L/E (Long Entry - Green Dashed): The trigger price for entering long positions. This is set at a strategic point above the pivot low, marking where bullish momentum is confirmed
S/E (Short Entry - Red Solid): The trigger price for entering short positions. This is set at a strategic point below the pivot high, marking where bearish momentum is confirmed
Long Target Lines (Green/Yellow/Cyan - Dashed):
Yellow Dashed Line (50%): First profit target for long positions - equal to one full range above the long entry
Cyan Dashed Line (75%): Second profit target for long positions - two full ranges above the long entry
Green Dashed Line (Long Target): Final profit target for long positions - three full ranges above the long entry, displayed with a dark green label showing the exact price
Short Target Lines (Red/Yellow/Cyan):
Yellow Line (50%): First profit target for short positions - equal to one full range below the short entry
Cyan Line (75%): Second profit target for short positions - two full ranges below the short entry
Red Line (Short Target): Final profit target for short positions - three full ranges below the short entry, displayed with a deep red label showing the exact price
Additional Lines:
Breakdown Target (Dark Green - Dashed): A support breakdown level located one range below S1, useful for managing risk if long positions fail
Technical Components:
Pivot Detection:
The indicator uses a configurable length (default 20) to identify swing highs and lows. A pivot high forms when the current high is the highest value over the specified length period on both sides. A pivot low forms when the current low is the lowest value over the specified period on both sides.
Entry Point Calculation:
Entry points are not placed at the pivot itself, but at strategic exit points of the pivot candle pattern. For long entries, the system identifies the high of the candle that preceded the pivot low. For short entries, it identifies the low of the candle that preceded the pivot high. This ensures entries occur on momentum confirmation rather than at turning points.
Target Calculation (Quadrant System):
The indicator calculates targets based on the range between the entry and the pivot (S1 for longs, R1 for shorts). It then projects this range upward (for longs) or downward (for shorts) in equal increments:
1x range = 50% target
2x range = 75% target
3x range = 100% target (Final Target)
Fractal Energy Filter:
The indicator incorporates a Fractal Energy (FE) calculation that measures market efficiency and trend strength. This helps filter entry signals, ensuring trades are taken only when market structure supports directional movement. The FE threshold can be adjusted in settings.
🎯 HOW TO USE (TRADER-FRIENDLY GUIDE)
📌 QUICK START GUIDE (IMPORTANT - Read This First!)
For optimal label visibility:
After adding this indicator to your chart for the first time, follow these ONE-TIME steps to ensure L/E and S/E labels are always visible:
Wait for the indicator to load and display L/E or S/E labels
Hover your mouse over any L/E or S/E label
Right-click on the label
Select "Bring to Front" or adjust "Visual Order" to bring it above price bars
Repeat for the other label type if needed
✅ You only need to do this ONCE - TradingView will remember this setting for all future labels!
If you ever want the labels to appear behind price bars again, simply right-click and select "Send to Back".
📈 For Long Trades:
Wait for Setup: The indicator automatically identifies a pivot low (S1 - thick dark red line) and calculates a long entry level (L/E - green dashed line with green label)
Entry Signal: When price crosses above the green L/E line, consider entering a long position. The system has confirmed bullish momentum
Profit Targets: Scale out of your position at the three target levels:
First target: Yellow dashed line (take 1/3 profit)
Second target: Cyan dashed line (take another 1/3 profit)
Final target: Green dashed line with "LONG TARGET" label (exit remaining position)
Stop Loss: Place your stop loss below the S1 level (thick dark red line). If price breaks below the dark green "Breakdown Target" line, consider exiting immediately
📉 For Short Trades:
Wait for Setup:
The indicator automatically identifies a pivot high (R1 - dark red line) and calculates a short entry level (S/E - red solid line with red label)
Entry Signal: When price crosses below the red S/E line, consider entering a short position. The system has confirmed bearish momentum
Profit Targets: Scale out of your position at the three target levels:
First target: Yellow line (take 1/3 profit)
Second target: Cyan line (take another 1/3 profit)
Final target: Red line with "SHORT TARGET" label (exit remaining position)
Stop Loss: Place your stop loss above the R1 level (dark red line)
💡 Key Trading Tips:
Color Coding: Remember GREEN = LONG, RED = SHORT throughout the entire system
Scaling Out: The three-target system allows you to lock in profits progressively while letting winners run
New Signals: When a new pivot forms, the indicator recalculates all levels. Old setups become invalid
Labels: The L/E and S/E labels mark the exact starting point of each entry line for easy identification
Price Display: Target labels show exact prices with proper comma formatting for easy reference
Timeframe: Works on any timeframe, but higher timeframes (4H, Daily) tend to produce more reliable signals
Customization: Adjust the Pivot Length (default 20) to make the system more responsive (lower number) or more stable (higher number)
⚠️ Risk Management:
Never risk more than 1-2% of your account per trade
The distance from entry to S1/R1 gives you a natural stop loss distance
Consider the full target distance when calculating position size
Not all setups will reach the final target - scaling out helps lock in profits
🔧 TROUBLESHOOTING
Q: My L/E or S/E labels are hidden behind candles
A: Right-click the label → "Bring to Front". This is a TradingView chart setting, not a script limitation. You only need to do this once.
Q: Can I hide the labels?
A: Yes! Uncheck "Show Labels" in the indicator settings.
Q: Can I adjust the label sizes?
A: Yes! Use the "Target Label Size" setting to adjust LONG/SHORT TARGET labels between Small, Normal, and Large.
Q: The labels moved when I clicked them
A: Labels are positioned automatically. If you accidentally moved them, simply refresh your chart.
Q: No signals are appearing
A: The indicator requires sufficient price history to detect pivots. Make sure you have at least 20+ bars on your chart. Try adjusting the Pivot Length setting.
Bhuvana Retrace Predictor (ATR + RSI Dive + St Break)It’s a “retracement warning + confirmation” tool. Nothing more.
Concept in simple words
Price runs too far too fast
The script uses EMA + ATR bands to detect when price is “stretched” (far from normal).
The run is losing power
It checks RSI divergence:
Price makes a new high but RSI doesn’t → buyers are getting weaker.
Price makes a new low but RSI doesn’t → sellers are getting weaker.
It waits for proof the pullback started
It then waits for a small structure break:
For a drop: price closes below a recent minor low.
For a bounce: price closes above a recent minor high.
What each label means
SETUP = “Retracement is likely soon” (don’t chase).
CONFIRM = “Retracement probably started” (now it’s tradable).
Brutal truth
This doesn’t predict perfectly. It just stacks 3 common signs:
overextended + weakening momentum + structure break.
GEMINI Advanced SMA with Trend & AlertsDescription:
This indicator is a professional Trend & Signal analysis tool designed to help traders identify market direction, entries, and momentum strength at a glance. It combines a customizable dual Moving Average system with an advanced real-time Information Dashboard.
The script is built to keep charts clean while providing maximum data through the on-screen panel.
📈 Key Features
1. Dual Moving Average System
Fast MA (Signal Line): Acts as the primary trigger for entries.
Slow MA (Trend Baseline): Filters the overall market direction.
Visual Cloud: The area between the two MAs is filled with color (Green/Red) to visualize the trend strength and potential support/resistance zones.
Flexibility: You can choose between SMA, EMA, HMA, WMA, or RMA for both lines independently.
2. Professional Data Dashboard A customizable table positioned on your chart provides real-time analytics:
Price Action: Immediate Bullish/Bearish status.
MA Status: Shows if the Fast and Slow MAs are currently Rising or Falling.
Exact Levels: Displays the precise price values of the MAs.
Spread Analysis: Monitors the gap between the Fast and Slow MA ("Expanding" vs "Squeezing") to help identify momentum acceleration or exhaustion.
3. Signals & Alerts
BUY Signal: Generated when the Price crosses OVER the Fast MA.
SELL Signal: Generated when the Price crosses UNDER the Fast MA.
Alerts: Fully compatible with TradingView alerts for automation.
4. Multi-Timeframe (MTF) Support You can calculate the Moving Averages based on a higher timeframe (e.g., viewing 4-hour MAs while trading on a 15-minute chart) to stay aligned with the macro trend.
🛠 How to Use
Trend Identification: Look at the "Cloud" color. Green indicates an uptrend context; Red indicates a downtrend context.
Entry Points: Use the "BUY" and "SELL" labels.
Pro Tip: Take BUY signals only when the Cloud is Green (trading with the trend).
Pro Tip: Take SELL signals only when the Cloud is Red.
Momentum Check: Use the Dashboard to see if the Spread is "EXPANDING" (strong momentum) or "SQUEEZING" (potential consolidation or reversal).
⚙️ Settings
Fast/Slow Length & Type: Fully customizable periods and MA types.
MTF: Enable/Disable higher timeframe calculations.
Dashboard: You can toggle the table visibility, change its size (Tiny, Small, Normal, Large), and move it to any corner of the screen.
Disclaimer: This tool is for informational purposes only and does not constitute financial advice.
S&D Trend Pullback StrategyThis is simple indicator for myself to alert me when in trend pullback and entry.
Use in M5 chart.
SL put 30-50pips
TP can set 30-90pips
Body Close Continuity & failure Backtesting @MaxMaseratiThis indicator, is a highly advanced institutional-grade tool designed to track the "lifespan" of a trend based on Body Close (BC) sequences.
Unlike basic indicators that just show direction, this script analyzes the structural integrity of a trend by monitoring how many candles continue the move before a "Touch" (retest) or a "Break" (failure) occurs.
The Continuity & Failure Stats indicator tracks sequences of Bullish Body Closes (BuBC) and Bearish Body Closes (BeBC). It measures three critical phases: Building (pure momentum), Touching (price retesting the low/high of the sequence), and Resumption (price continuing the trend after a retest). It provides a statistical distribution of how long these "buildings" typically last before failing, allowing traders to know exactly when a trend is overextended.
This comprehensive analysis blends the statistical breakdown of the Continuity & Failure Stats indicator to provide a deep understanding of the structural momentum for the S&P 500 E-mini (ES1!) on a 4-hour timeframe.
1. Extensive Table Breakdown
A. Building Distribution (Left Table): The Fatigue Gauge
This table acts as a histogram of momentum, tracking the "Building Count"—the number of consecutive candles closing in a trend without price returning to its origin.
Count Column: Represents the streak length (e.g., 1, 2, or 3 candles).
Touch Column: Shows how many times a streak was interrupted by a retest ("touch") but remained structurally intact.
Break Column: Counts total structural failures where price closed beyond the sequence's anchor.
Data Insight: For BuBC, 92 sequences reached Count 1, but only 28 remained by Count 4. This reveals a steep momentum decay after the 3rd candle, establishing a "Statistical Wall" where only 2 sequences in history reached a count of 9.
B. MMM Summary Stats (Top Right): The Mathematical DNA
This table provides the "Expected Value" and behavior of a trend over the lookback period.
Avg Building (2.39 for BuBC): On average, a bullish move lasts ~2.4 candles of pure momentum before a retest or reversal occurs.
Avg Touches (0.8): This low number indicates "clean" trends that rarely wobble back to retest levels multiple times before reaching a conclusion.
Avg R Cycles (0.55): This suggests that once a bullish trend is interrupted, it only successfully resumes its momentum about half the time.
Max R Count (1): Typically, once a trend is "touched," it only manages one more push before failing.
C. Multi-Timeframe (MTF) Quick Stats (Bottom Right): Trend Weight
This compares the 4H chart against other layers of the market to identify "global" alignment.
Sample Comparison: There are 3,594 tracked BuBC sequences on the 4H compared to only 142 on the Weekly chart.
Fractal Law: The Avg Building (2.4) is consistent across several timeframes, implying that the "Rule of Three" (momentum fading after 3 candles) is a fractal characteristic of this asset.
2. Table Comparison: Synthesizing the Data
To trade effectively, you must compare Distribution (timing) against Summary Stats (averages):
Continuity vs. Failure: The Summary Stats show an average building of 2.39. When checking the Distribution table at Count 2, the "Break" count (58) is already high relative to the "Total". This confirms that the risk of failure increases exponentially the moment you exceed the average.
Momentum vs. Mean Reversion: Distribution tells you when a trend is "tired". If the 4H is at a "Building Count 4" (statistically overextended) while the Weekly chart is at "Building Count 1" (fresh momentum), you may choose to prioritize the higher timeframe's strength despite the local overextension.
3. Strategic Summary & Application
This indicator proves that market momentum follows a predictable "Building" cycle rather than an infinite streak.
The "Rule of Three" for ES1! 4H:
The Entry Zone (Momentum Start): The most profitable entries occur at Building Count 1. Statistically, you have a high probability of reaching a count of 2 or 3.
The Exit Zone (Momentum Limit): Take profits or tighten stops at Count 3. The data shows the sample size drops by nearly 50% between Count 3 and Count 4.
The "Touch" Rule (Retest Reliability): If price returns to the sequence low (a "Touch"), do not expect a massive continuation. The Max R Count of 1 tells us that resumptions are usually short-lived.
Danger Zone: Entering at Building Count 4 or higher is statistically dangerous, as the "Break" probability significantly outweighs the "Touch" or continuation probability.
UT Bot Decimal + HA Signals + HA VWAP (Bold White Labels)Custom UT Bot with Built in VWAP and ability to use decimal sensitivity and signals fire off of Heikin Ashi candle
VSA Persistent Zones with Arrows Purpose
This indicator is designed to analyze trading volume relative to price movement using the VSA (Volume Spread Analysis) methodology. It aims to:
Identify key price zones where there is strong price movement with high trading volume.
Plot arrows on high-volume candles for quick visual identification.
Keep these zones persistent until broken by price, helping traders make decisions based on real support and resistance levels.
The Strat Candle Types (1 / 2U / 2D / 3)This script uses TheStrat candle numbers 1, 2D, 2U, 3 and places the text below or above. You can also change the text size. This also allows you to change the colors of the candles with two options for the 1 & 3 so you can color them in the direction they are going. For example a 1 that is green can be green and a 1 that is red can be red.
Williams Fractals / Goldilocks [NPR21]📊 Williams Fractals — Goldilocks
Description
Williams Fractals — Goldilocks highlights confirmed swing highs and lows using a refined Williams Fractals approach that balances signal frequency and clarity. BUY and SELL labels mark structurally important pivot points while avoiding chart clutter. The Periods (n) setting controls how often signals appear—lower values produce more signals, higher values filter noise. Signals are non-repainting and work on any instrument and any timeframe. Best used as a market structure and confirmation tool.
🔧 How to Use (Quick Guide)
BUY labels = confirmed swing lows (potential support / pullback areas)
SELL labels = confirmed swing highs (potential resistance / exhaustion areas)
Use for structure and confirmation, not as a standalone entry system
Combine with trend direction, key levels, VWAP/EMAs, volume, or momentum
⏱️ Recommended Periods by Timeframe
The Periods (n) setting determines how many and how often labels print.
1m–3m (Scalping): n = 2
More frequent signals; captures short-term swings.
5m–15m (Intraday): n = 8-9
Balanced sensitivity; filters minor noise.
30m–1h+ (HTF/Swing): n = 15-21
Fewer, stronger pivots; highlights major structure.
Rule of thumb: Lower timeframe → lower n. Higher timeframe → higher n.
🌍 Markets & Timeframes
Not futures-only. Works well on stocks, ETFs, forex, crypto, indices, and any timeframe. Adjust n to match the market’s pace.
Trinity Multi-Timeframe CCITrinity Multi-Timeframe CCI Indicator
This Pine Script indicator is a powerful **multi-timeframe Commodity Channel Index (MTF CCI)** tool that displays three CCI lines on a single pane:
- **Current timeframe** (whatever chart you're viewing, e.g., 1h, 15m, etc.)
- **4-hour timeframe**
- **Daily timeframe**
All three use the same CCI length (default 20, adjustable) and are fully customizable—you can enable/disable each line, change its timeframe, color, and thickness. Horizontal levels at 0 (dashed white by default), +100 (red), and -100 (green) are also included and fully editable.
### Core Functionality & Visual Signals
The standout feature is the **dynamic coloring of the current timeframe CCI line**:
- **Green**: Strong **bullish alignment**. This occurs when **all three CCIs are above the zero line** AND the current timeframe CCI is the **highest** of the three (leading the move upward with higher-timeframe confirmation).
- **Red**: Strong **bearish alignment**. This occurs when **all three CCIs are below the zero line** AND the current timeframe CCI is the **lowest** of the three (leading the move downward with higher-timeframe confirmation).
- **Yellow**: Neutral or no clear alignment (default state when the above conditions aren't met).
An optional light background shading (green or red) highlights when the indicator is in a bullish or bearish state.
Small triangle markers appear on the pane when a new bullish or bearish alignment forms, and built-in alerts notify you of new signals or when a signal ends. These are editable to enable or disable.
### How Traders Can Use It
This indicator helps identify **high-probability trend continuations or reversals** by combining momentum (CCI) across multiple timeframes with alignment confirmation:
- **Trend-following entries**: A green current line (especially with a fresh alert) suggests strong upward momentum backed by higher timeframes—ideal for long entries or adding to positions in an uptrend.
- **Bearish entries/short setups**: A red current line signals strong downward momentum confirmed across timeframes—good for short entries or exiting longs.
- **Confluence filter**: Use it as a filter for other strategies. Only take trades in the direction of the alignment (e.g., only long if current line is green).
- **Early warning of weakness**: When the current line turns yellow after being green/red, it often signals the trend is losing multi-timeframe support—useful for tightening stops or taking partial profits.
In essence, it visually answers the question: “Is the short-term momentum not only strong, but also aligned with and leading the medium- and long-term momentum?” When the answer is yes (green or red), it highlights moments of **multi-timeframe confluence**—some of the most reliable setups in technical trading.
The alerts make it practical for active traders: you get notified the moment a strong aligned signal appears, without needing to watch the chart constantly.
It's clean, highly customizable, and focuses on one clear concept—**multi-timeframe CCI leadership**—making it excellent for trend, swing, and even intraday traders looking for higher-timeframe confirmation.
Buy / Sell Volume Header [NPR21]Description
Buy / Sell Volume Header displays real-time Buy vs Sell volume dominance in a clean, fixed header that stays anchored to the chart.
Instead of plotting labels on candles or cluttering the chart, this indicator presents volume information in a compact, side-by-side header , making it easy to see who is in control of the current bar —buyers or sellers—at a glance.
The design is intentionally Thinkorswim-style : bold, readable, and optimized for fast decision-making during live markets.
How It Works:
Buy and Sell volume are estimated using candle structure:
Buy Volume is calculated from the portion of the candle that closes above the low
Sell Volume is calculated from the portion of the candle that closes below the high
Percentages show relative dominance for the most recently confirmed bar
The header updates only on confirmed bars, ensuring the display is non-repainting.
How to Use
This indicator is best used as a confirmation tool, not a standalone signal.
Common use cases:
Confirming buyer vs seller control
Adding volume bias to:
Breakouts and pullbacks
VWAP / EMA / trend strategies
Market structure and BOS setups
Quickly gauging pressure during:
Ranges
High-volume rejection zones
Trend continuation vs exhaustion
When Buy volume dominates, it suggests buyers are in control of the current bar.
When Sell volume dominates, it suggests selling pressure is stronger.
Always use in context with price action and structure.
Features
Fixed header (no chart clutter)
Side-by-side Buy | Sell layout
Bold, high-contrast colors
White text for maximum readability
Comma-formatted volume values
Non-repainting (confirmed bars only)
Customizable header location
Notes
This is an estimated volume model, not true bid/ask or footprint data
Results may vary depending on instrument and timeframe
Designed for intraday and futures trading, but works on any market with volume






















