Ex Highset the High that we want to set , such as 10 days, 20 days, 60 days, 120 days, 250 days, etc.
Chart patterns
S&P500 Screener Logic with Market Cap (v6)The script uses indicators to show if a equity is good enough for investment
Gradient Candles + MACD + EMAs + WMA + EMA CrossGradient candles that change color based on MACD values selected under custom settings. Also display of the moving averages I use the most. EMA and MACD crosses can be displayed or turned off.
Monday Range +Monday Range+
A precision tool for early-week price action traders.
🔧 Features:
- Auto-draws Monday High, Low & Midrange
- Clear LONG/SHORT signal labels
- Midrange Reset (reloads trade logic)
- Ex-Line Protection (sweep filter)
- ½ Risk to Reward extension option
- Multi-Timeframe (MTF) support
📈 Trade Setup Logic:
LONG Setup:
- Valid only after Monday
- Price breaks below Monday Low
- Closes back above the Low and under the Midrange
- Candle must close higher than previous candle
- If Ex-Line Protection is on, trade is blocked if price swept below extension
- Enter at the Low of the range, target the High
SHORT Setup:
- Valid only after Monday
- Price breaks above Monday High
- Closes back below the High and above the Midrange
- Candle must close lower than previous candle
- If Ex-Line Protection is on, trade is blocked if price swept above extension
- Enter at the High of the range, target the Low
🎯 Ideal for liquidity fades and range reversal setups.
Fibonacci Spectrum + Regression Channel + ConfirmationsA versatile multi-strategy tool for technical traders using Fibonacci levels, regression channels, and dynamic confirmations.
📘 Overview
This TradingView strategy script helps traders detect high-probability breakouts, reversals, and trend continuations using:
🔢 Fibonacci retracement zones
📉 Regression channels (local & multi-timeframe)
✅ Multiple confirmations (Volume, RSI, MACD, Candlestick)
🔄 Preset strategy modes (Trend-follow, Mean-reversion, Breakout, Custom)
📊 Visual dashboard for real-time analysis
🔔 Alerts for breakout and breakdown signals
🛠️ Inputs & Configuration
🎛️ Preset Modes
Choose from 4 trading modes:
Custom — manually enable/disable confirmations
Trend-follow — emphasizes RSI & MACD alignment
Mean-reversion — tight channels, ignores volume
Breakout — aggressive setup, tighter fib lookback & wider bands
🔧 Changing preset automatically adjusts parameters like regression length, fib lookback, and confirmation rules.
🔢 Fibonacci Settings
Fib Lookback: Number of bars to calculate the high/low range.
Fib Ratios A-E: Defines retracement levels (0.236 to 0.786 by default).
Zones are shaded for clarity:
🟧 0.236–0.382
🟨 0.382–0.5
🟩 0.5–0.618
🟦 0.618–0.786
📉 Regression Channel
Reg Channel Length: Period used for linear regression.
StdDev Multiplier: Defines channel width.
Multi-Timeframe Support: Choose a higher timeframe (like 1h) to overlay broader trends.
✅ Confirmations (toggle ON/OFF or preset controlled)
Volume: Must be above its 20-bar average.
RSI: Must be above 50 and rising (or below 50 and falling for shorts).
MACD: Line must cross above Signal (bull) or below (bear).
Candlestick Pattern: Looks for Bullish or Bearish Engulfing candles.
📅 Backtest Settings
Enable/disable strategy entries and exits for simulation.
Entries:
Long when price breaks above Fib 0.618 with all confirmations met
Short when price breaks below Fib 0.382 with all bearish confirmations
Exits:
Long exits when price breaks below Fib 0.382
Short exits when price breaks above Fib 0.618
🔍 How to Use the Strategy
🔹 Step 1: Choose a Preset
Pick one of the four Preset Modes:
Want to follow a trend? Select Trend-follow
Expect a price bounce? Try Mean-reversion
Expect volatility? Use Breakout
Prefer full control? Use Custom
🔹 Step 2: Enable Confirmations (if in Custom mode)
Activate/deactivate:
Volume
RSI
MACD
Candlestick Patterns
These filters increase signal quality.
🔹 Step 3: Watch for Signals
Look for:
💠 "READY" labels (potential breakout or breakdown)
Color-coded Fibonacci zones and channel bounds
📈 Entry/Exit signals (when backtesting is enabled)
🔹 Step 4: Use the Dashboard
Located in the top-right, the table shows:
Indicator values
Trend direction (Up/Down)
Status (Bull/Bear, High/Low, Above/Below)
Closest Fibonacci level and candlestick patterns
Colors:
🟢 Green = Bullish or Positive
🔴 Red = Bearish or Negative
🟡 Yellow = Close to a key Fib level
🔔 Alerts (Included)
You can set alerts on the following conditions:
Pre-Breakout — all bullish confirmations + Fib 0.618 cross
Pre-Breakdown — all bearish confirmations + Fib 0.382 break
Position Opened — any strategy entry (for backtest tracking)
To activate:
Right-click the chart → Add Alert
Select this strategy and the condition (e.g., “Pre-Breakout Signal”)
📊 Example Use Cases
🟢 Breakout Trader
Set to Breakout
Watch for “READY” label above Fib 0.618
Confirm with strong volume & bullish MACD
Alert triggers → enter trade
🔴 Mean Reversion Trader
Set to Mean-reversion
Price hits lower channel + Fib 0.382
Weak volume, but RSI rebounds → consider long
⚖️ Trend Follower
Set to Trend-follow
RSI, MACD, and price all moving up above midline
Enter on Fib 0.618 bounce
🧪 Tips & Notes
Combine with multi-timeframe analysis by enabling the MTF Channel
Tweak Fib ratios if you're using alternative levels (e.g., 0.886)
Use strategy.percent_of_equity for dynamic position sizing in backtests
Set proper timeframes (e.g., 15m, 1h) based on your trading style
Not financial advice at all. Strategy still WIP, i mainly think the indicator is ready.
Normalized Fibonacci Retracement (MTF/LOG)A question: Instead of creating indicators that constantly plot Fibonacci Retracement levels in a visually overwhelming way, why don't we redefine them on a different scale? 🤨
Overview
The Normalized Fibonacci Retracement indicator converts price data to a 0-100 scale based on the selected timeframe's high-low range, displaying normalized candlesticks alongside standard Fibonacci levels (23.6%, 38.2%, 50%, 61.8%, 78.6%). This normalization reveals patterns that may be hidden in absolute price charts and allows consistent analysis across different instruments.
Originality
By normalizing prices to percentages, this indicator enables pattern recognition independent of absolute price levels. The same formation at $10-$20 and $1000-$2000 appears identical on the normalized scale, helping traders identify recurring structures across various assets and timeframes.
Concepts
The indicator uses a simple formula to transform price data into percentages. This creates a bounded scale where patterns become comparable regardless of the underlying asset's price range. The normalized view often reveals symmetries and relationships not visible in traditional price charts.
Mechanics
The system tracks highs and lows within the selected timeframe as anchor points. When a new period begins, fresh boundaries are established and prices recalculated. Trend direction is determined by timing of extremes. Linear scaling uses direct percentage calculation, while logarithmic scaling applies exponential interpolation for assets with large percentage moves.
Functions
Timeframe Selection: Higher timeframe analysis on any chart resolution
Normalized Display: OHLC data converted to 0-100 percentage scale
Fibonacci Levels: Standard retracement levels plotted automatically
Scaling Options: Linear or logarithmic calculation methods
Pattern Recognition: Reveals formations hidden in absolute price charts
Moving Average: Optional 20-period SMA overlay
Notes
Ensure chart data covers the full selected timeframe for accurate calculations. Use logarithmic scaling for volatile assets with large percentage moves. The normalized scale is effective at revealing patterns and structures that remain consistent across different price ranges, making it particularly useful for comparative analysis and pattern-based trading strategies.
I hope it helps everyone. Do not forget to manage your risk. And trade as safely as possible. Best of luck!
Absorption DetectorABSORPTION DETECTOR -
The Absorption Detector identifies institutional order flow by detecting "absorption" patterns where smart money quietly accumulates or distributes positions by absorbing retail order flow. This creates high-probability support and resistance zones for trading. This is an approximation only and does not read any footprint data.
WHAT IS ABSORPTION?
Absorption occurs when institutions take the opposite side of retail trades, creating specific candlestick patterns with high volume and significant wicks. The indicator identifies two main patterns:
SELLING ABSORPTION (P-Pattern): Red zones above candles where institutions sell into retail buying pressure, creating resistance levels. Look for high volume candles with large upper wicks that close in the lower half.
BUYING ABSORPTION (B-Pattern): Green zones below candles where institutions buy from retail selling pressure, creating support levels. Look for high volume candles with large lower wicks that close in the upper half.
KEY FEATURES
- Automatic detection of institutional absorption patterns
- Dynamic support and resistance zone creation
- Customizable styling for all visual elements
- Historic zone display for backtesting analysis
- Strength-based filtering to show only high-probability setups
- Real-time alerts for new absorption patterns
- Professional info panel with key statistics
- Multi-timeframe compatibility
MAIN SETTINGS
Volume Threshold (1.2): Minimum volume surge required compared to average. Higher values = fewer but stronger signals.
Minimum Volume (2500): Absolute volume floor to prevent signals during low-volume periods.
Min Wick Size (0.2): Minimum wick size as ATR multiple. Ensures significant rejection occurred.
Minimum Strength (1.5): Combined volume and wick strength filter. Higher values = higher quality signals.
Show Historic Zones (OFF): Enable to see all historical zones for backtesting. Disable for better performance.
Zone Extension (20): How many bars to project zones forward for anticipating future reactions.
TRADING APPROACH
ZONE REACTION STRATEGY: Wait for price to approach absorption zones and trade the bounce or rejection. Use the zones as dynamic support and resistance levels.
BREAKOUT STRATEGY: Trade decisive breaks of strong absorption zones with proper risk management. Failed zones often lead to strong moves.
CONFLUENCE TRADING: Combine absorption zones with other technical analysis for highest probability setups. Look for alignment with trend lines, Fibonacci levels, and key support/resistance.
RISK MANAGEMENT: Always use stop losses beyond the absorption zones. Target minimum 1:2 risk-reward ratios. Position size appropriately based on zone strength.
OPTIMIZATION GUIDE
For Conservative Trading (fewer, higher quality signals):
- Volume Threshold: 1.5
- Minimum Strength: 2.0
- Min Wick Size: 0.3
For Aggressive Trading (more signals, requires careful filtering):
- Volume Threshold: 1.1
- Minimum Strength: 1.0
- Min Wick Size: 0.15
BEST PRACTICES
Markets: Works best on liquid instruments with good volume - major forex pairs, popular stocks, liquid futures, and established cryptocurrencies.
Timeframes: Effective on all timeframes from 1-minute scalping to daily swing trading. Adjust settings based on your timeframe and trading style.
Confirmation: Never trade absorption signals in isolation. Always combine with trend analysis, market structure, and proper risk management.
Session Timing: Be aware of market sessions and avoid trading during low liquidity periods or major news events.
Backtesting: Use the historic zones feature to validate performance on your chosen market and timeframe before live trading.
CUSTOMIZATION
The indicator offers complete visual customization including zone colors, border styles, label appearances, and info panel positioning. All colors can be adapted to match your chart theme and personal preferences.
Alert system provides both basic and custom message alerts for real-time notifications of new absorption patterns.
PERFORMANCE NOTES
Default settings are optimized for most markets and timeframes. For best performance on older charts, keep "Show Historic Zones" disabled unless specifically backtesting.
The indicator maintains excellent performance even with extensive historical analysis enabled, handling up to 500 zones and 100 labels for comprehensive backtesting.
Key Levels Cheat Sheet🎯 Overview
The Key Levels Cheat Sheet is a comprehensive TradingView indicator that displays 25+ critical price levels in a clean, organized table format. Inspired by professional trading platforms, this indicator eliminates chart clutter by
consolidating all essential support and resistance levels into a single, real-time updating reference table.
Perfect for day traders, swing traders, and scalpers who need instant visibility of key levels without drawing multiple lines on their charts.
📊 Features
Volume-Based Levels
- Session VWAP - Current day's volume weighted average price
- Weekly VWAP - Longer-term institutional trading level
- VWAP Bands (1σ, 2σ, 3σ) - Standard deviation bands showing price extension levels
Session-Based Levels (ICT Concepts)
- True Day Open - Midnight EST opening (ICT methodology)
- Futures Session Open - 6 PM EST futures market open
- Asia Session (9 PM - 1 AM EST) - Asian market high/low
- London Session (3 AM - 6 AM EST) - European market high/low
- NY AM Session (9:30 AM - 11 AM EST) - New York morning high/low
- NY PM Session (1:30 PM - 4 PM EST) - New York afternoon high/low
- Opening Range - Customizable 5/15/30-minute opening range
Historical Levels
- Prior Day/Week/Month - Previous period high/low levels
- 52-Week High/Low - Yearly extremes
- All-Time High/Low - Historical extremes
- Current Day High/Low - Today's range
Smart Money Structure
- Advanced Swing Detection - Market structure-based swing highs/lows
- Swept Range Detection - Automatically hides mitigated levels
- Real-Time Updates - Dynamic level detection
Technical Indicators
- EMAs (9, 21, 50) - Exponential moving averages
- SMAs (20, 50, 200) - Simple moving averages
Expected Move Calculation
- VIX-Based Range - Live VIX data integration
- Multiple Anchors - Calculate from True Day Open, NY Open, or Session Start
- Options Trading - Perfect for probability-based strategies
🎨 Display Features
Smart Table Design
- Auto-Sorting - Levels sorted from highest to lowest
- Color Coding - Green above price, red below price
- Distance Display - Shows percentage or points from current price
- 9 Position Options - Place table anywhere on chart
- Customizable Size - Adjustable text and opacity
Intelligent Filtering
- Hide Swept Ranges - Automatically removes broken levels
- Toggle Individual Levels - Show only what you need
- Clean Interface - No chart clutter
💡 Use Cases
Day Trading
- Track key intraday levels without cluttering charts
- Monitor session highs/lows for breakout trades
- Use VWAP and bands for mean reversion
- Opening range breakout strategies
Swing Trading
- Monitor weekly/monthly levels for position entries
- Track 52-week highs/lows for momentum plays
- Use prior period levels for support/resistance
Options Trading
- VIX-based expected move for strike selection
- Probability zones for credit spreads
- Key levels for pin risk assessment
Scalping
- Quick reference for immediate support/resistance
- VWAP bands for quick reversals
- Session levels for range trading
📚 Educational Value
Every setting includes detailed tooltips explaining:
- ICT (Inner Circle Trader) concepts
- Session trading strategies
- VWAP and standard deviation usage
- Expected move calculations
- Smart money structure
Perfect for traders learning advanced concepts while getting practical trading levels.
⚙️ Customization
Smart Defaults
- Essential levels enabled by default
- Less common levels disabled to reduce clutter
- Swept range hiding enabled for clean display
Full Control
- Toggle any level on/off
- Choose percentage or points display
- Adjust table position and appearance
- Customize for your trading style
🚀 Getting Started
1. Add to Chart - Works on any timeframe and instrument
2. Position Table - Choose from 9 positions
3. Enable Levels - Turn on levels relevant to your strategy
4. Start Trading - All levels update in real-time
📈 Why Use This Indicator?
- Save Time - No more drawing levels manually
- Stay Organized - All levels in one place
- Trade Better - Never miss a key level
- Learn Concepts - Educational tooltips included
- Professional Tool - Institutional-grade level tracking
🎓 Tips for Best Results
- Use on 1-15 minute charts for day trading
- Enable session levels for futures/forex trading
- Use expected move for options strategies
- Combine with your existing strategy for confluence
- Hide swept ranges to focus on active levels
---
The Key Levels Cheat Sheet transforms how you view and use support/resistance levels. Stop cluttering your charts with lines and start trading with clarity.
Tags: #levels #support #resistance #vwap #sessions #daytrading #scalping #options #expectedmove #smartmoney #ict #tradingview
Futures Support & Resistance LevelsMulti-Timeframe Support & Resistance Levels for Futures Trading
Description:
This indicator automatically identifies and displays key support and resistance levels using multiple technical analysis methods. Designed specifically for futures traders (ES, NQ, etc.), it provides a clean, organized view of important price levels.
Key Features:
Multiple Detection Methods: Combines pivot points, daily ranges, and psychological levels
Smart Ranking System: Levels are numbered by strength (1 = strongest)
Clean Visualization: Extended lines across the chart with clear price labels
Confluence Detection: Highlights areas where multiple levels converge
Customizable Display: Adjust colors, line styles, and label sizes
Level Types Identified:
Daily High/Low (current session)
Previous Daily High/Low
Pivot-based Support/Resistance
Psychological Round Numbers
Confluence Zones (multiple levels clustering)
Technical Approach:
The indicator uses a strength-scoring algorithm to rank levels by importance. Daily levels receive the highest weighting (2.0), followed by previous daily levels (1.5), pivot points (1.0), and psychological levels (0.5). This helps traders focus on the most significant levels.
Visual Elements:
Solid lines = Strong levels
Dashed lines = Medium levels
Dotted lines = Weak levels
Optional technical condition markers for educational analysis
Best Used For:
Identifying key intraday levels for futures trading
Finding high-probability reversal zones
Setting logical stop-loss and take-profit levels
Recognizing confluence areas for stronger setups
Note:
This is a technical analysis tool for educational purposes. No indicator can predict future price movements. Always use proper risk management and combine with other forms of analysis.
Institutional Sessions Overlay (Asia/London/NY)Institutional Sessions Overlay is a professional TradingView indicator that visually highlights the main trading sessions (Asia, London, and New York) directly on your chart.
Customizable: Easily adjust session start and end times (including minutes) for each market.
Timezone Alignment: Shift session boxes using the timezone offset parameter so sessions match your chart’s timezone exactly.
Clear Visuals: Colored boxes and optional labels display session opens and closes for fast institutional market structure reference.
Toggle Labels: Show or hide session open/close labels with a single click for a clean or detailed look.
Intuitive UI: User-friendly grouped settings for efficient configuration.
This tool is designed for day traders, institutional traders, and anyone who wants to instantly recognize global session timing and ranges for SMC, ICT, and other session-based strategies.
How to use:
Set your chart to your local timezone.
Use the "Session timezone offset" setting if session boxes do not match actual session opens on your chart.
Adjust the hours and minutes for each session as needed.
Enable or disable labels in the “Display” settings group.
Tip: Use the overlay to spot session highs and lows, volatility windows, and institutional liquidity sweeps.
QEMO: Quantum Electromagnetic Oscillator (Safe Adjusted)This is a highly conceptual and oscillator and It attempts to model market dynamics by borrowing concepts from quantum physics and electromagnetism to create a unique oscillator. It does not represent any real physical phenomena but uses these concepts as metaphors for market forces.
Here is a breakdown of its core components:
1. Quantum Price Wavefunction (The Core Price Engine)
This is the most abstract part of the script. It tries to model price not as a single point, but as a "wavefunction" representing a distribution of probable future prices.
Volatility & Price Grid: It first calculates recent market volatility. Based on this volatility, it creates a dynamic grid of possible price levels (price_bins) around the current price.
Probability Density: It assigns a probability to each price level in the grid.
"Energy" Operators:
Kinetic Energy: Metaphorically represents the "momentum" or rate of change of the price probabilities.
Potential Energy: A force field that influences the probabilities, derived from a combination of volatility and trading volume.
Expected Price: After evolving these probabilities, it calculates a single "expected price" which is the weighted average of all prices in the grid, based on their final probabilities.
2. Electromagnetic Fields (Buying vs. Selling Pressure)
This section models the battle between buyers and sellers in a more familiar way:
E-Field (Electric/Buying): Represents buying pressure, calculated from upward price moves (close - open) multiplied by volume.
B-Field (Magnetic/Selling): Represents selling pressure, calculated from downward price moves (open - close) multiplied by volume.
Lorentz Force (F_net): This is the net force (E - B), representing the overall directional pressure in the market. A positive value means buyers are in control; a negative value means sellers are.
3. Entanglement Entropy (Systemic Risk/Stability)
This component aims to measure the market's stability or "systemic risk."
It calculates a form of auto-correlation on recent price returns.
A high degree of instability in this correlation results in a high "Entropy" (S) value.
Essentially, a high S suggests the market is chaotic and unpredictable (low stability), while a low S suggests it is more stable and trending.
4. Final QEMO Calculation & Plotting
All the components are combined to create the final oscillator value:
Final Value: The qemo value is a product of the expected_price, the amplified net force, and the market stability (1 - S).
Smoothing: This raw qemo value is then smoothed with an Adaptive Moving Average (AMA) to produce the final line that gets plotted on the chart.
Visualization:
The main oscillator line is plotted below the chart. Its color changes based on its value (e.g., blue for positive, red for negative).
The background color of the indicator pane changes based on the Entropy (S), providing an immediate visual cue of market stability (e.g., black for stable, white for chaotic).
The script also plots 99th and 1st percentile bands to help identify statistically extreme readings in the oscillator's value.
Enhanced Neowave Wave 1 Finder with ZigZagThis script is an advanced technical analysis indicator for the TradingView platform, written in Pine Script version 5. Its primary goal is to identify potential Elliott Wave "Wave 1" patterns, enhanced with principles from Neowave theory and a custom ZigZag indicator for more accurate pivot detection. The script is designed to be overlaid on the main price chart.
Core Functionality: Blending ZigZag and Neowave
The indicator's methodology is a two-part process. First, it identifies significant price swings using a robust ZigZag indicator. Then, it analyzes these swings based on a set of rules derived from Neowave and classic technical analysis to validate them as potential Wave 1 patterns.
Part 1: ZigZag Integration
The first major component is a comprehensive ZigZag indicator that forms the foundation for all subsequent analysis.
Pivot Detection: The pivots() function is the engine of the ZigZag. It scans the historical price data for significant high and low points (pivots) over a user-defined Length.
Segment Drawing: Once pivots are identified, the script draws lines connecting them, creating the classic ZigZag pattern on the chart.
Extended Direction & Ratios: This is an enhanced feature. The script doesn't just identify highs and lows; it categorizes them as:
Higher High (HH) or Lower High (LH)
Lower Low (LL) or Higher Low (HL)
This classification is crucial for understanding the market structure. It also calculates the price ratio of the most recent ZigZag leg relative to the previous one, which is used later for pattern validation.
Dynamic Updates: The ZigZag is not static. On each new bar, it can update its most recent pivot point if a new, more extreme price (a higher high or a lower low) is printed before the direction officially changes. This ensures the ZigZag is always reflecting the most current and significant price action.
Part 2: Neowave Wave 1 Finder
With the market structure defined by the ZigZag, the second part of the script applies a rigorous set of rules to identify potential Wave 1 patterns. A Wave 1 is the initial move of a new trend in Elliott Wave theory.
Key Validation Criteria
For a price move between two ZigZag pivots to be considered a valid Wave 1, it must pass a series of checks:
Significance: The move must have a minimum percentage change (Minimum Wave Length) and last for a minimum number of bars, filtering out insignificant noise.
Volume Confirmation: A genuine impulse wave is typically supported by increasing volume. The script checks if the volume during the potential Wave 1 is significantly higher than the recent average (Volume Increase Threshold).
Momentum Alignment: The direction of the wave must be confirmed by momentum indicators.
For a bullish (upward) Wave 1, the Relative Strength Index (RSI) must be in a bullish regime (above 50) and the MACD line must be above its signal line.
For a bearish (downward) Wave 1, the RSI must be below 50 and the MACD line must be below its signal line.
Structural Analysis (Impulse vs. Diagonal): The script attempts to differentiate between two types of Wave 1:
Impulse Wave: A strong, clean, and direct move.
Diagonal Wave: A more complex, overlapping, and often wedge-shaped pattern. This is identified by analyzing the time and price complexity of the move, along with the ZigZag leg ratios.
Wave 2 Retracement Check: A critical Neowave rule is that a valid Wave 1 must be followed by a valid Wave 2 retracement. The script looks at the next ZigZag leg to ensure it doesn't retrace more than 100% of the potential Wave 1. It also uses the ZigZag ratios to confirm the retracement falls within typical Fibonacci levels (e.g., 38.2% to 78.6%).
Display and User Interface
The script provides a rich visual experience to aid the trader in their analysis.
Wave Labels and Boxes: When a valid Wave 1 is detected, it is highlighted with a colored line (green for bullish, red for bearish) and a shaded background box. A label clearly marks it as "Wave 1 IMPULSE" or "Wave 1 DIAGONAL".
Fibonacci Retracement Levels: Upon detection of a Wave 1, the script automatically draws key Fibonacci retracement levels (38.2%, 50%, 61.8%, 78.6%). These levels are potential targets for the end of the subsequent Wave 2, offering potential entry points for a Wave 3 trade.
Information Labels: Additional labels provide at-a-glance confirmation of the conditions, showing whether volume and momentum criteria were met.
Customizable Inputs: Users have extensive control over the indicator's parameters, including the ZigZag length, volume thresholds, RSI levels, and the colors of all visual elements.
Alerts: The indicator can be configured to generate an alert whenever a new bullish or bearish Wave 1 pattern is confirmed, allowing traders to be notified of potential opportunities in real-time.
Universal Trade Levels & Signal Classifierscript has been enhanced and generalized for all instruments — not just ES or SPX.
You now get the following classifications:
💎 Perfect Trade – trend confirmed, strong signal, ATR + VWAP + volume aligned
🚀 Sure Shot Trade – very high volume + ATR breakout + directional bias
⚡ Quick Call/Put – fast actionable setups
❌ No Trade – avoid/no confirmation
The logic works across any timeframe and any ticker.
You can now test this live on any instrument in TradingView. Let me know if you’d like to add things like:
Multi-timeframe confirmation
Re-entry logic
Heatmap table of confidence levels
Signal filtering based on RSI, OBV, etc.
High Freq Buy The Dips Bull Market [Quant Trading]STRATEGY OVERVIEW
This is a significantly enhanced and optimized version of the original "Buy The Dips in Bull Market" strategy from Coinrule (2020). The strategy has been completely rewritten in Pine Script v6 with substantial improvements in performance, risk management, and functionality. Based on extensive analysis of 2+ years of BTC hourly data, this optimized version delivers 312.6% better returns with a 74.8% win rate compared to the original implementation.
Key Philosophy: The strategy capitalizes on temporary price dips during bull market conditions by entering long positions when RSI indicates oversold conditions while maintaining a bullish market structure, then exiting when price recovers above key moving averages.
HOW IT WORKS
Entry Logic
The strategy enters long positions when ALL of the following conditions are met:
RSI Oversold Condition: RSI drops below the configurable threshold (default: 45)
Bull Market Structure: Long-term MA (150) is below the slow MA (40), indicating overall bullish momentum
Within Date Range: Trade occurs within the specified backtesting period
Exit Logic
Positions are closed when BOTH conditions are satisfied:
Price Recovery: Current price moves above the fast MA (15-period)
MA Alignment: Fast MA crosses above slow MA, confirming trend continuation
Optional Short Trading
When enabled, the strategy can also trade short positions using inverse logic:
Short Entry: RSI overbought (above 55 by default) + bearish market structure
Short Exit: Price decline below fast MA + bearish MA alignment
KEY IMPROVEMENTS OVER ORIGINAL
1. Enhanced Risk Management
ATR-Based Stop Loss/Take Profit: Dynamic risk levels based on market volatility
Configurable Risk-Reward Ratio: Default 2:1 ratio with full customization
Alternative Percentage-Based Risk: Option to use fixed percentage stops instead of ATR
2. Optimized Parameters
RSI Period: Increased to 14 (from original) for more reliable signals
RSI Buy Signal: Optimized to 45 (from 35) reducing false signals
Fast MA: Shortened to 15 periods (from 9) for quicker response
Slow MA: Reduced to 40 periods (from 50) for improved trend detection
Long MA: Reduced to 150 periods (from 200) for better bull market identification
3. Advanced Features
Bi-directional Trading: Optional short selling capability
Comprehensive Visualization: Enhanced plotting with risk level displays
Flexible Date Range: Improved backtesting controls with visual indicators
Modern Pine Script v6: Complete rewrite using latest Pine Script features
DEFAULT PARAMETERS EXPLAINED
RSI Settings
RSI Period: 14 bars - Standard period providing balanced sensitivity
RSI Buy Signal: 45 - Optimized threshold for bull market dip buying
Moving Average Settings
Fast MA Length: 15 - Quick-response average for exit signals
Slow MA Length: 40 - Medium-term trend confirmation
Long MA Length: 150 - Long-term bull market structure identification
Risk Management (ATR-Based)
ATR Period: 14 - Standard volatility measurement period
ATR Stop Loss Multiplier: 2.0 - Conservative stop loss distance
Risk Reward Ratio: 2.0 - Take profit at 2x the risk amount
Alternative Risk Management (Percentage-Based)
Stop Loss: 5% - Fixed percentage stop loss
Take Profit: 10% - Fixed percentage take profit target
Trading Configuration
Initial Capital: $1,000
Position Size: 100% of equity per trade
Commission: 0.1% per trade
Slippage: 3 ticks
STRATEGY PERFORMANCE CHARACTERISTICS
Strengths
High Win Rate: 74.8% successful trades based on optimization analysis
Bull Market Focused: Designed specifically for uptrending market conditions
Volatility Adaptive: ATR-based risk management adjusts to market conditions
False Signal Reduction: Optimized parameters minimize whipsaws
Considerations
Bull Market Dependency: Performance may decline in prolonged bear markets
Trend Following Nature: May experience drawdowns during strong trend reversals
High Frequency: Generates multiple signals requiring active monitoring
RISK WARNINGS
Past performance does not guarantee future results. This strategy is optimized for bull market conditions and performance may vary significantly in different market environments. Always use appropriate position sizing and risk management. Real trading results may differ due to execution costs, slippage, and market conditions.
RECOMMENDED USAGE
Optimal Market Conditions
Bull market or strong uptrending conditions
Medium to high volatility environments
Markets with clear trend structure
Timeframes
Optimized for hourly charts
Can be adapted for other timeframes with parameter adjustment
Asset Classes
Originally optimized for Bitcoin
Suitable for other trending cryptocurrencies and traditional assets
Test parameters on specific assets before live implementation
TECHNICAL REQUIREMENTS
Pine Script Version: v6
Strategy Type: Long/Short (configurable)
Overlay: Yes - plots directly on price chart
Real-time Alerts: Compatible with TradingView alert system
This strategy represents a substantial evolution of the original concept, incorporating modern risk management techniques, optimized parameters based on extensive backtesting, and enhanced functionality while maintaining the core "buy the dips" philosophy that made the original strategy popular.
CRT + PO3 Range Theory Hey everyone, I’ve put together a little script for TradingView that tries to show the classic CRT + PO3 (Power of Three) pattern. It’s still a work in progress, so please use it on a demo account and let me know what you think!
What It Does
Accumulation Phase: On each higher‐timeframe bar (e.g. 2-hour), it draws a shaded zone where price is hanging out. That’s when we assume “big players” are quietly building positions.
Manipulation Phase: If price briefly pokes above or below that zone but then slips back inside, it marks that wick as a shake-out.
Distribution Phase: When price finally closes cleanly outside the zone, it draws another shaded area and drops a “Distribution” label plus a big LONG or SHORT arrow on that bar.
You can tweak it so it only shows signals when a bar closes (no more weird flashing mid-bar), or even allow “direct” Distribution on a clean breakout without waiting for a fake wick first.
How to Set It Up
Add the script from your Indicators list.
Pick your HTF (I like 2-hour or 4-hour).
Turn “Show Zone Labels” on or off—these are the little “Accumulation/Manipulation/Distribution” tags.
Turn “Show Entry Signals” on to get the big LONG/SHORT arrows.
If you hate flicker, check “Show signals only at bar close.”
If you want to catch a swift breakout (no fake-out needed), check “Allow direct Distribution on clean breakout.”
There are also sliders for zone colors, transparency, label size, and how far above/below the bars the labels sit.
Why It’s Still a Beta
I’m not a CRT/PO3 guru—this is more of a hobby project and a little facination for this strategy.
There might be edge cases where it misses a shake-out or flags a Distribution too early.
I take no responsibility for your trades—please only run it on a demo account until we’ve worked out the quirks.
Feedback Wanted!
If you try it out, I’d love to hear:
Did the Manipulation wicks line up where you expected?
Were the Distribution arrows on the right bars?
Any ideas for easier settings or extra alerts?
Thanks for testing and helping me turn this into something solid!
20/40/6020/40/60 candle separator. Three lines only on all timeframes. Range length and height included. Doesn't mess up the scaling. Togglable elements and movable lines.
DCA by Vuong Thai v2 %verview of "DCA by Vuong Thai %" – Upgraded Version
Main Function:
This script automatically detects optimal DCA (Dollar-Cost Averaging) buy points and smart profit-taking zones based on a combination of technical signals: EMA, candlestick patterns, volume, RSI, and price distance from EMA.
It helps you optimize capital allocation using a structured averaging-down strategy and exit trades when a target price range is reached.
✅ Buy Logic (Buy Signal)
A buy signal is triggered when all of the following conditions are met:
Strong bullish candlestick: Green candle with a longer lower wick than upper wick
Price is below the EMA → indicating a downtrend
Volume is above the moving average (if volume filtering is enabled)
Price is at least a certain percentage below the EMA (e.g., ≥ 1%)
RSI is below 30 → indicating an oversold condition
No repeat buys unless price makes a new low → helps avoid premature entries
👉 When a buy signal appears:
A DCA Zone (buy region) is drawn on the chart
A label with the corresponding DCA percentage is displayed automatically (e.g., "DCA 5%", "DCA 10%")
Silver Bull Flag Breakout AlertDescription:
This script detects a bullish breakout in Silver (XAGUSD) above $37.60, confirming a bull flag continuation pattern on the daily chart. It optionally plots a 21 EMA as a trailing stop and includes a customizable alert condition for trade execution or monitoring.
Features:
• Alerts on daily close above $37.60
• Optional trailing stop (21 EMA)
• Visual breakout marker
• Ideal for swing trades targeting $41–$45
Candle Range Theory (CRT) indicator📌 Indicator Name: Candle Range Theory (CRT) indicator
This indicator detects potential bullish and bearish reversal setups based on specific candlestick price action behavior. It is designed to highlight moments when the market may be rejecting extremes and preparing to reverse direction — but only after confirmation with the closing price.
🔍 How It Works:
Bullish Setup (Long Signal):
The previous candle is bearish (closes lower than it opens).
The current candle makes a lower low than the previous one.
The current candle closes above the previous candle’s close.
Bearish Setup (Short Signal):
The previous candle is bullish (closes higher than it opens).
The current candle makes a higher high than the previous one.
The current candle closes below the previous candle’s close.
Signals are only triggered after the bar is fully closed, to avoid premature entries.
🔔 The script includes alert conditions for both long and short setups so you can receive notifications instantly.
🎥 Inspiration:
The idea for this indicator came from the excellent educational content presented in this video:
"How to Read Candlesticks Like a Pro"
We highly recommend watching it to better understand the price action principles behind this signal.
HTF Candle Extremes Zigzag (Drawn on LTF)HTF Candle Extremes Zigzag (Drawn on LTF)
This indicator plots zigzag lines connecting the extremes (highs and lows) of Higher Timeframe (HTF) candles directly on your lower timeframe (LTF) chart. It visually highlights trend changes and HTF candle structure by drawing colored lines representing uptrends and downtrends based on HTF candle extremes.
"Key Features"
Higher Timeframe Tracking: Select any HTF to track candle extremes using the built-in security function.
Zigzag Lines: Connects HTF candle lows to highs in an intuitive zigzag pattern.
Trend Indication: Uptrend lines are green, downtrend lines are red (customizable colors).
Customizable Line Width: Adjust the thickness of the zigzag lines for better visibility.
Drawn on Lower Timeframe: All lines appear on your active lower timeframe chart, allowing easy visual correlation.
"How It Works"
The script fetches the open, high, low, close, and time data of the specified HTF candle. It detects new HTF bars and identifies trend direction changes by comparing the highs and lows of consecutive HTF candles.
- When an uptrend is detected, vertical lines are drawn from low to high of the HTF candle, connected to the previous extreme low.
- When a downtrend is detected, vertical lines are drawn from high to low, connected to the previous extreme high.
- Transitions between trends are highlighted by connecting the last extreme of the previous trend to the current extreme, creating a clean zigzag pattern.
Usage Notes:
Ideal for traders who want to visualize HTF market structure and trend changes while analyzing price action on lower timeframes.
---
© The_Forex_Steward
(mozilla.org)
Fair Value Gap & Liquidity Zones [Combined]mixed FVG and buyside and sellside liquidity
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
DP_ORB Entry & Exit IndicatorDisclaimer:
This indicator is for educational purposes only. It does not constitute financial advice. Always do your own research and manage your risk. Also, I cannot take full credit for 'ORB' as its a well known strategy amongst many traders, but I do need to give a special shout out to @TheBigDaddyMax for putting me on to this.
DP_ORB Entry & Exit Indicator
Description:
The DP_ORB Entry & Exit Indicator is a powerful tool designed for traders who utilize the Opening Range Breakout (ORB) strategy on the NYSE session. This indicator visually identifies the initial volatility window of the trading day, by marking the 15m High, and 15m Low into a ORB Box, & then tracks breakout opportunities, and provides clear, dynamic trade management levels—all directly on your chart.
Key Features:
Automatic Opening Range (ORB) Box:
Identifies and plots the high and low of the user-defined opening range (default 9:30–9:45 NYSE) for visual reference and strategy foundation.
Breakout Entry Signals:
Automatically detects and marks long or short breakout entries when price closes above or below the ORB range, with additional momentum confirmation.
Dynamic Stop Loss:
Stop loss is intelligently set to the previous bar’s low for long trades (or high for shorts), adapting to market structure at entry.
Take Profit Targets:
Up to three fully adjustable take-profit levels are plotted, calculated as percentages from entry, supporting progressive trade management.
Visual Trade Management:
Entry, stop loss, and take profit levels are displayed as extending dashed lines from entry point to the current bar, with labels always shown just to the right of price for clarity on all timeframes.
Automatic Reset and Cleanup:
Visuals and logic reset daily and upon exit, ensuring a clean, uncluttered chart experience.
How to Use:
Set your preferred opening range time and take profit levels in the settings.
Wait for a breakout and confirmation during the NYSE session.
Use the on-chart lines and labels to manage your trade according to your risk and strategy plan.
Best For:
Day traders and scalpers seeking a disciplined, visual, and fully-automated approach to opening range breakout trading.
Break & Retest Strategy V2 (Clean Visuals)This strategy is built on a high-probability EMA breakout and retest model, designed for traders who want clean structure-based entries filtered by trend alignment and strong price action. It leverages:
• ✅ A 44 EMA trend filter on the 4H chart
• ✅ HTF directional bias from the Daily 44 EMA
• ✅ Breakout above the EMA followed by a wick-based retest
• ✅ Strong bullish candle confirmation (body > 50% of range)
• ✅ Dynamic stop loss using either the pivot low or a buffer below the EMA
• ✅ Fixed 1:3 Risk:Reward ratio for consistent reward targeting
• ✅ Cooldown system to prevent overtrading
• ✅ Clean, minimal visuals using smart RR boxes instead of chart clutter
This system is fully backtestable and designed with prop firm challenge criteria in mind — prioritizing risk control, clarity, and high-quality trade conditions.
⸻
🔧 Current Development Goals (V3 Roadmap)
We’re actively refining the system to improve win rate and profit factor, while keeping drawdown low. Key upgrades in progress:
1. 📈 Liquidity Trap Filter
• Add logic to confirm a wick below recent lows (liquidity sweep) before retesting the EMA
2. 🧠 Partial Take Profits + Breakeven Logic
• TP1 at 1.5R → move SL to breakeven
• TP2 at 3R → close remaining position
3. 🔁 Trade Session Filter
• Limit entries to London & New York AM sessions to avoid false signals in low volume periods
4. 📉 Short Entry Engine
• Mirror logic for bearish break + retest setups below the EMA
5. 🔔 Live Alerts System
• Entry signal alerts for hands-free, real-time trading decisions
6. 📊 Optimizer Toolkit (future)
• Add ATR/volatility filters
• Add market structure confluence zones (HH/HL filters)
• Smart cooldown timer based on wins/losses or volatility shifts