QuantCrawler 5m ORB Pro - Opening Range with Confluence FiltersThis indicator captures the 5-minute Opening Range and generates entry signals using a breakout-then-retest methodology. It includes optional confluence filters to refine entries and reduce false signals.
HOW IT WORKS
1. Captures the 5-minute Opening Range (high, low, midpoint) at your selected session open
2. Waits for price to break beyond OR high or low by your defined distance
3. After breakout, monitors for price to retest the OR midpoint
4. Signals LONG after bullish breakout + midpoint retest
5. Signals SHORT after bearish breakout + midpoint retest
6. Marks invalidated signals with (X) if price breaks through the opposite side
PRE-CONFIGURED SESSIONS
- NYSE - 9:30-9:35 ET
- CME - 8:30-8:35 CT
- London - 3:00-3:05 ET
- Asia - 7:00-7:05 PM ET
- Custom - Define your own session times and timezone
BREAKOUT DISTANCE OPTIONS
Choose between fixed points or percentage-based breakout threshold. Percentage mode automatically scales to the instrument price.
CONFLUENCE FILTERS
Optional filters to add confirmation before signals fire:
- VWAP - Long requires price above VWAP, short requires below
- EMA Slope - Confirms trend direction using 20-period EMA
- Volume - Requires relative volume above 1.5x average
- FVG - Requires a Fair Value Gap supporting trade direction
- ATR - Filters Opening Ranges that are abnormally small or large relative to ATR
When filters block a valid setup, the indicator displays a BLOCKED label so you can see what you missed and why.
STATUS BOX
Real-time display showing:
- Current trade state (Building OR, Watching, Awaiting Retest, Long/Short Active)
- OR High, Low, and Midpoint levels
- Active filters and block reasons
ALERTS
Built-in alerts for Long Entry, Short Entry, or Any Entry.
Patrones de gráficos
Antigravity OCC Strategy (MA 5 + Delayed TSL)# OCC Strategy Optimized (MA 5 + Delayed TSL) - User Guide
## Introduction
The **OCC Strategy Optimized** is an enhanced version of the classic **Open Close Cross (OCC)** strategy. This strategy is designed for high-precision trend following, utilizing the crossover logic of Open and Close moving averages to identify market shifts. This optimized version incorporates advanced risk management, multi-timeframe analysis, and a variety of moving average types to provide a robust trading solution for modern markets.
>
> **Special Thanks:** This strategy is based on the original work of **JustUncleL**, a renowned Pine Script developer. You can find their work and profile on TradingView here: (in.tradingview.com).
---
## Key Features
### 1. Optimized Core Logic
- **MA Period (Default: 5):** The strategy is tuned with a shorter MA length to reduce lag and capture trends earlier.
- **Crossing Logic:** Signals are generated when the Moving Average of the **Close** crosses the Moving Average of the **Open**.
### 2. Multi-Timeframe (MTF) Analysis
- **Alternate Resolution:** Use a higher timeframe (Resolution Multiplier) to filter out noise. By default, it uses $3 \times$ your current chart timeframe to confirm the trend.
- **Non-Repainting:** Includes an optional delay offset to ensure signals are confirmed and do not disappear (repaint) after the bar closes.
### 3. Advanced Risk Management
This script features a hierarchical exit system to protect your capital and lock in profits:
- **Fixed Stop Loss (Initial):** Protects against sudden market reversals immediately after entry.
- **Delayed Trailing Stop Loss (TSL):**
- **Activation Delay:** The TSL only activates after the trade reaches a specific profit threshold (e.g., 1%). This prevents being stopped out too early in the trade's development.
- **Ratchet Trail:** Once activated, the stop loss "ratchets" up/down, never moving backward, ensuring you lock in profits as the trend continues.
- **Take Profit (TP):** A fixed percentage target to exit the trade at a pre-defined profit level.
### 4. Versatility
- **12 MA Types:** Choose from SMA, EMA, DEMA, TEMA, WMA, VWMA, SMMA, HullMA, LSMA, ALMA, SSMA, and TMA.
- **Trade Direction:** Toggle between Long-only, Short-only, or Both.
- **Visuals:** Optional bar coloring to visualize the trend directly on the candlesticks.
---
## User Input Guide
### Core Settings
- **Use Alternate Resolution?:** Enable this to use the MTF logic.
- **Multiplier for Alternate Resolution:** How many charts higher the "filter" timeframe should be.
- **MA Type:** Select your preferred moving average smoothing method.
- **MA Period:** The length of the Open/Close averages.
- **Delay Open/Close MA:** Use `1` or higher to force non-repainting behavior.
### Risk Management Settings
- **Use Trailing Stop Loss?:** Enables the TSL system.
- **Trailing Stop %:** The distance the stop follows behind the price.
- **TSL Activation % (Delay):** The profit % required before the TSL starts moving.
- **Initial Fixed Stop Loss %:** Your hard stop if the trade immediately goes against you.
- **Take Profit %:** Your ultimate profit target for the trade.
---
## How to Trade with This Strategy
1. **Identify the Trend:** Look for the Moving Average lines (Close vs Open) to cross.
2. **Wait for Confirmation:** If using MTF, ensure the higher timeframe also shows a trend change.
3. **Manage the Trade:** Let the TSL work. Once the trade hits the activation threshold, the TSL will take over, protecting your runner.
4. **Position Sizing:** Adjust the `Properties` tab in the script settings to match your desired capital allocation (Default is 10% of equity).
---
## Credits
Original Strategy by: **JustUncleL**
Optimized and Enhanced by: **Antigravity AI**
QuantCrawler ORB Break & Retest 15m - Opening Range StrategyThis indicator automates the 15-minute Opening Range Breakout and Retest strategy. It captures the high, low, and midpoint of the first 15-minute candle, then monitors for confirmed breakouts followed by midpoint retests to generate entry signals.
HOW IT WORKS
1. Captures the high, low, and midpoint of the first 15-minute candle (default 8:00-8:15 premarket)
2. Waits for price to close beyond the OR high or low by your specified breakout distance
3. After breakout confirmation, monitors for price to pull back and touch the midpoint
4. Signals LONG after bullish breakout + midpoint retest
5. Signals SHORT after bearish breakout + midpoint retest
6. Resets after each signal allowing multiple setups per session
WHY 15-MINUTE ORB
The 15-minute Opening Range captures more price action than a 5-minute OR, often providing stronger support/resistance levels. The 8:00 AM default captures premarket activity before the 9:30 open, giving you levels established before the crowd arrives.
WHY BREAKOUT + RETEST
Entering on the initial breakout often results in chop and false signals. This indicator requires confirmation - price must first prove direction by closing beyond the breakout distance, then offer a pullback entry at the midpoint. This filters out many failed breakouts.
SETTINGS
- Breakout Distance - Points beyond OR zone required to confirm breakout
- Timezone - Select your market timezone
- Opening Range Time - Customizable (default 8:00-8:15)
- Session End Time - When to stop monitoring (default 4:00 PM)
VISUAL OUTPUT
- Green line - OR High
- Red line - OR Low
- Orange dotted line - OR Midpoint
- Status box displays current state (Watching, Active, Closed)
ALERTS
Built-in alerts for Long Entry, Short Entry, or Any Entry.
Works on any timeframe chart. The indicator pulls 15-minute data automatically using request.security().
SMT Divergence [Kodexius]SMT Divergence is a correlation-based divergence detector built around the Smart Money Technique concept: when two normally correlated instruments should be making similar swing progress, but one prints a new extreme while the other fails to confirm it. This “disagreement” can be a valuable contextual signal around liquidity runs, distribution phases, and potential reversal or continuation points.
The script compares the chart symbol (primary) with a user-selected comparison symbol (for example BTC vs ETH, ES vs NQ, EUR/USD vs GBP/USD) and automatically scans both instruments for confirmed swing highs and swing lows using pivot logic. Once swings are established, it checks for classic SMT conditions:
Primary makes a new swing extreme while the comparison symbol forms a non-confirming swing .
To support a wider range of markets, the indicator includes an Inverse Correlation option for pairs that typically move opposite to each other (for example DXY vs EUR/USD). With this enabled, the divergence rules are logically flipped so that the script still detects “non-confirmation” in a way that is consistent with the pair’s relationship.
The indicator is designed to be readable and actionable. It can draw divergence labels directly on the main chart, connect the relevant swing points with lines, show a compact information table with the last signal and settings, and optionally render the comparison symbol as a mini candle chart in the indicator pane for quick visual validation.
🔹 Features
🔸 Two-Symbol SMT Analysis (Primary vs Compare)
Select any comparison symbol to evaluate correlation structure and divergence. The script fetches the comparison OHLC data using the current chart timeframe to keep both series aligned for analysis.
🔸 Inverse Correlation Mode
For inversely correlated pairs, enable “Inverse Correlation” so the script interprets confirmation appropriately (for example, a higher low on the comparison instrument might be expected to correspond to a lower low on the primary, depending on the relationship). This helps avoid false conclusions when the pair naturally moves opposite.
🔸 Pivot-Based Swing with Adjustable Sensitivity
Swings are detected using confirmed pivots (left bars and right bars). This provides cleaner structural swing points compared with raw candle-to-candle comparisons, and it lets you control sensitivity for different market conditions and timeframes. The script also limits stored swing history to keep performance stable.
🔸 Flexible Detection Mode: Time Matched or Independent Swings
You can choose how swings are paired across instruments:
Time Matched searches for a comparison swing that occurred at the same pivot time as the primary swing.
Independent Swings compares each symbol’s own last two swings without requiring an exact time match.
🔸 Range Control and Noise Filtering
To reduce weak or irrelevant signals:
“Max Bars Between Swings” ensures the two swings being compared are close enough in structure to be meaningful.
“Min Price Diff (%)” can require a minimum percentage change between the primary’s last two swing prices to confirm the move is significant.
🔸 Clear Visual Output with Tooltips
When a divergence is detected, the script can print a label (“SMT”) with bullish or bearish styling and a tooltip that includes the symbol pair and the primary swing price for quick context.
🔸 Divergence Lines for Context
Optional lines connect the relevant swing points, making it easier to see the exact structure that triggered the signal. One line can be drawn on the main chart and another in the indicator pane for the comparison series.
🔸 Info Table (At a Glance)
A compact table can display the active symbols, correlation mode, total divergences stored, and the most recent signal type.
🔸 Alerts Included
Built-in alert conditions are provided for bullish SMT, bearish SMT, and any SMT event so you can automate notifications without editing the code.
🔸 Optional Comparison Candle Panel
If enabled, the indicator can plot the comparison symbol as candles in the indicator pane. This is useful for confirming whether the divergence is happening around major levels, consolidations, or impulsive legs on the secondary instrument.
🔹 Calculations
This section summarizes the core logic used by the script.
1. Data Synchronization (Comparison Symbol)
The comparison instrument is requested on the chart’s current timeframe so swing calculations are performed consistently:
=
request.security(compareSymbolInput, timeframe.period, )
This ensures pivots and swing times are derived from the same bar cadence as the primary chart.
2. Swing Detection via Confirmed Pivots
Swings are detected using pivot logic with user-defined left and right bars:
primaryPivotHigh = ta.pivothigh(high, pivotLeftBars, pivotRightBars)
primaryPivotLow = ta.pivotlow(low, pivotLeftBars, pivotRightBars)
Because pivots are confirmed only after the “right bars” have closed, the script stores each swing using an offset so the swing’s bar index and time reflect where the pivot actually occurred, not where it was confirmed.
3. Swing Storage and Retrieval
Both symbols maintain arrays of SwingPoint objects. Each new swing is pushed into the array, and older swings are dropped once the array exceeds the configured maximum. This makes the divergence engine predictable and prevents uncontrolled memory growth.
The script then retrieves the last and previous swing highs and lows (per symbol) to evaluate structure.
4. Matching Logic (Time Matched vs Independent)
When “Time Matched” is selected, the script searches the comparison swing array for a pivot that occurred at the exact same timestamp as the primary swing. When “Independent Swings” is selected, it simply uses the comparison symbol’s last two swings of the same type.
5. Bullish SMT Condition (LL vs HL)
A bullish SMT event is defined as:
Primary forms a lower low (last low < previous low)
Comparison forms a higher low (last low > previous low)
If inverse correlation is enabled, the comparison condition flips to maintain logical confirmation rules
The two primary swings must be within the configured bar distance window
Optional minimum percentage difference must be satisfied
A simple anti duplication rule prevents repeated triggers on the same structure
These checks are implemented directly in the bullish detection block.
6. Bearish SMT Condition (HH vs LH)
A bearish SMT event is defined as:
Primary forms a higher high (last high > previous high)
Comparison forms a lower high (last high < previous high)
Inverse correlation flips the comparison rule
Range checks, minimum difference filtering, and duplicate protection apply similarly
These checks are implemented in the bearish detection block.
7. Percentage Difference Filter
The optional “Min Price Diff (%)” filter measures the relative distance between the last two primary swing prices. This prevents very small structural changes from being treated as valid SMT signals.
priceDiffPerc = math.abs(lastSwing.price - prevSwing.price) / prevSwing.price * 100.0
The divergence condition is only allowed to trigger if this value exceeds the user defined threshold.
priceOk = priceDiffPerc >= minPriceDiff
This filter is especially useful on higher timeframes or during low volatility conditions, where micro structure noise can otherwise produce misleading signals.
8. Visualization and Output
When a divergence is confirmed, the script:
Stores the event in a divergence array (limited by “Max Divergences to Display”)
Draws a directional SMT label with a tooltip (optional)
Draws connecting lines using time based coordinates for clean alignment (optional)
It also updates an information table on the last bar only, and exposes alertconditions for automation workflows.
SMC Structure & Expectation [WavesUnchained]SMC Structure & Expectation - Professional Context & Confirmation Tool
A sophisticated Smart Money Concepts indicator that combines objective market structure analysis with intelligent expectation logic and professional order block validation. Built for traders who value context over signal spam.
4-LAYER ARCHITECTURE
Layer 1: Market Structure
✓ Objective HH/HL/LH/LL detection based on confirmed pivot swings
✓ Internal structure tracking (micro swings within major legs)
✓ Structure alignment detection (Internal + External agreement)
✓ No predictions - pure price action description
Layer 2: Expectation/Bias
✓ Logical hypotheses derived from current structure
✓ "Expect HL" in bullish structure / "Expect LH" in bearish structure
✓ "Expect Continuation" after BOS events
✓ Expectation ≠ Signal (can be wrong, that's the point)
Layer 3: Confirmation (BOS + Order Blocks)
✓ Break of Structure (BOS) detection with 2 modes:
• Conservative: Close-cross (default)
• Aggressive: High/Low-cross with optional close confirmation
✓ Professional Order Block System with 8 intelligent filters
✓ Only creates OBs when expectation is met
✓ Maximum 1 OB per direction (quality over quantity)
Layer 4: Optional Warnings
✓ Trendline break detection
✓ Early Top/Bottom warnings (volume + volatility divergence)
✓ Can be disabled for clean chart focus
PROFESSIONAL ORDER BLOCK SYSTEM
8 Quality Filters (Cascade Logic):
1. BOS-Only Guard : No OB without confirmed Break of Structure
2. Displacement Filter : Minimum 1.0 ATR momentum (customizable)
3. Location Filter : Must be in Premium (bearish) or Discount (bullish) zone
4. Size Filter : 3 modes available:
• Hard Limit: Reject oversized OBs (strict)
• Score Penalty: Allow but reduce priority (balanced, default)
• Disabled: No size filtering (permissive)
5. Volume Filter : Optional relative volume threshold
6. FVG Filter : Optional Fair Value Gap requirement
7. Mitigation Tracking : 30% penetration = mitigated (score penalty)
8. TTL (Time-To-Live) : Auto-delete after 80 bars (prevents chart clutter)
Priority Scoring System (0-100):
• HIGH Priority (>80) : Bright colors, zero transparency
• MED Priority (50-80) : Normal colors, 30% transparency
• LOW Priority (<50) : Faded colors, 60% transparency
Score Components:
✓ Displacement strength (10-30 points)
✓ FVG confluence (+20 points)
✓ Relative volume (+5-15 points)
✓ Premium/Discount location (+10-20 points)
✓ Structure alignment (+30 points if aligned, -15 if conflict)
✓ Leg strength (+15-25 points for strong impulse vs correction ratio)
✓ Size penalty (-0 to -30 points if oversized, Score Penalty mode only)
BAR COLORING MODES
Choose your preferred visual feedback:
1. Off : No bar coloring
2. Structure : Bullish/Bearish/Neutral structure states
3. Expectation : Continuation zones (green = expect bullish, red = expect bearish)
4. BOS + OB Priority (Default):
• Highlights active Order Blocks by priority
• BOS events in bright neon
• Faded structure colors when no OB active
5. Multi-Layer : Combines structure + priority intensity
6. Alignment : Shows Internal/External structure alignment (orange = conflict warning)
INTELLIGENT LOGGING SYSTEM
Priority-based log filtering to reduce noise:
• All : Every event (debug mode)
• MED+ : Only medium and high priority events
• HIGH Only : Only high priority setups
• Smart (Default): Adaptive filtering based on priority + context
Logs include:
✓ Structure changes (HH/HL/LH/LL)
✓ Expectation updates
✓ BOS events with confirmation status
✓ OB creation with full scoring breakdown
✓ OB reactions (Tap/Deep/Failure classification)
✓ Rejection reasons with "Potential Lost" analysis
CONFIGURATION HIGHLIGHTS
Layer 1: Structure
• Pivot detection length: 5 (left) / 5 (right)
• Internal structure: Optional micro-swing tracking
• Swing confirmation: Closes beyond pivot required
Layer 2: Expectation
• Expectation expiry: 40 bars (auto-reset after timeout)
• Visual feedback: Labels + optional expectation zones
Layer 3: Confirmation
• BOS Mode: Close-cross (conservative) / High/Low-cross (aggressive)
• Close Confirmation: Optional 3-bar window for aggro mode
• Displacement: Min 1.0 ATR (customizable)
• Size Filter Mode: Hard Limit / Score Penalty / Disabled
• OB Location: 38% discount / 62% premium thresholds
• OB Size Range: 0.3-1.2 ATR (customizable)
• TTL: 80 bars default
• Volume Filter: Optional, 1.0x minimum
• FVG Requirement: Optional
Layer 4: Warnings
• Trendline break detection
• Early Top/Bottom signals
• Can be fully disabled
BEST USE CASES
✓ Context Tool : Understand where you are in the market cycle
✓ Confirmation Filter : Validate trade ideas with structure alignment
✓ Order Block Trading : High-probability zones with priority scoring
✓ Educational : Learn SMC concepts with transparent logic
✓ Multi-Timeframe Analysis : Combine with HTF structure for confluence
Optimized for:
• Commodities (NatGas, Gold, Oil)
• 1H - 4H timeframes
• Swing trading / Intraday positioning
KEY FEATURES SUMMARY
✓ Zero signal spam - only high-conviction setups
✓ Transparent scoring system - know why each OB matters
✓ Adaptive to market conditions - structure alignment detection
✓ Flexible filtering - customize to your risk tolerance
✓ Priority-based visuals - instantly identify best opportunities
✓ Professional logging - learn from rejections and acceptances
✓ Clean chart - auto-cleanup with TTL system
✓ Bar coloring modes - choose your visual feedback style
✓ Size Filter Mode - prevent blocking of high-quality oversized setups
PHILOSOPHY
This indicator follows the principle: "Context over signals, quality over quantity"
Expectations can be wrong - that's the point. They help you stay aware of the most likely scenario while remaining open to structure changes. When expectation is met AND confirmed by BOS + quality OB, you get a high-conviction setup.
Not a holy grail. Not a signal service. A professional analysis tool.
Version: 1.0.0
Author: WavesUnchained
Pine Script: v6
Gann ArchitectThe Gann Architect is a quantitative geometric engine designed to solve the primary limitation of standard Gann tools: Scaling.
Standard Gann Fans use fixed angles (e.g., 45 degrees for 1:1), which often fail when applied to volatile assets or different timeframes because they do not account for the specific price-to-time ratio of the asset. This indicator solves this by calculating a Dynamic Slope. It identifies the initial "Impulse Phase" (Anchor Low → First Major High) and mathematically "squares" the chart to fit that specific market structure.
Key Features
Dynamic Squaring: Automatically calculates the true 1:1 Master Line based on the asset's actual volatility, not an arbitrary angle.
Quantitative Alerts: Includes a built-in alert system. You can set alerts for "Crossed 1:1" (Trend Break), "Structural Fail 1:2" (Support Break), or "Impulse Breakout 2:1".
Real-Time Data Panel: A dashboard displays the exact price targets for the geometric levels, removing the need to eyeball the lines.
Efficiency: Uses a circular buffer memory system to ensure high performance ("100% potential") without slowing down your chart.
How to Use
This tool is designed as a Trend Following & Structure Map, not a reversal signal.
The 1:1 Line (Solid): This represents the "True Trend." In a strong bullish phase, price should respect this line as dynamic support. A confirmed close below this line often signals momentum loss.
The 1:2 Line (Bottom Support): This acts as the "Structural Floor." If price loses the 1:1 but holds the 1:2, it is considered a healthy correction. A break below the 1:2 typically invalidates the geometric structure of the current cycle.
The 2:1 Line (Top Resistance): This marks the "Impulse Zone." A break above this line suggests parabolic or over-extended behaviour.
Settings
Cycle Stiffness: Controls the sensitivity of the pivot detection. Increase this value (e.g., to 4 or 5) to filter out noise and focus on macro trends.
Anchor Pivot #: Allows you to select which historical cycle bottom to anchor the geometry to (1 = most recent confirmed bottom).
Slope Multiplier: Adjusts the aggressiveness of the fan. Default is 1.0 (Geometric Standard).
Technical Disclosure (Repainting & Lag)
This script utilises a Confirmed Pivot Detection system.
Signal Lag: To ensure reliability, the geometric fans anchor to confirmed pivots. A pivot is only confirmed after Right Length bars have passed. Therefore, the fans will appear on the chart with a slight delay relative to the absolute low.
Repainting: Once a pivot is confirmed and the fans are drawn, the lines for that specific cycle do not repaint history. However, if a new, lower low forms that invalidates the previous structure, the script will dynamically shift to the new anchor point to maintain geometric accuracy.
Disclaimer This script is for educational and experimental purposes only. Geometric analysis is a mapping tool, not a guarantee of future price action. Always use proper risk management. Past performance of geometric levels does not guarantee future results.
Swing Elite Trend Direction [Free]Swing Elite Trend Direction
This indicator automatically identifies and labels market structure by detecting swing highs and swing lows, then classifying them as Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL).
🔍 What It Does
The indicator uses a depth-based pivot detection algorithm to find significant swing points in price action. Each swing is then compared to the previous swing of the same type to determine the market structure:
HH (Higher High): Current swing high is above the previous swing high → bullish structure
HL (Higher Low): Current swing low is above the previous swing low → bullish structure
LH (Lower High): Current swing high is below the previous swing high → bearish structure
LL (Lower Low): Current swing low is below the previous swing low → bearish structure
📈 How To Use
Trend Identification:
Bullish trend is confirmed when you see HH followed by HL (or HL followed by HH)
Bearish trend is confirmed when you see LL followed by LH (or LH followed by LL)
The zigzag line color changes based on confirmed trend direction
Trade Setups:
In a bullish trend, look for pullbacks to HL areas for long entries
In a bearish trend, look for rallies to LH areas for short entries
Trend changes are signaled when structure breaks (e.g., bullish trend making a LL)
Depth Setting:
Higher depth values (e.g., 34-55) capture major swings for higher timeframe analysis
Lower depth values (e.g., 8-21) capture minor swings for shorter-term trading
Adjust based on your trading style and timeframe
ZNOX Spot Trading Signalsthis is build for znox to give the user batter view not correct 100% and following it under your risk
HMA Pivot Buy/Sell (only) + AlertsThis Pine Script is a lightweight indicator that plots only HMA-based pivot Buy/Sell signals and provides alert conditions for them.
What it does
Calculates a Hull Moving Average (HMA) using either:
a dynamic length based on the chart timeframe, or
a custom user-defined length.
Detects HMA pivot points (local turning points):
Buy signal when the HMA forms a local minimum (trend turns up).
Sell signal when the HMA forms a local maximum (trend turns down).
Optionally plots the HMA line and prints only the Buy/Sell markers on the chart (no extra arrows/emoji/labels from other systems).
Adds TradingView alerts for Buy, Sell, and combined Buy/Sell events.
Signal logic
Buy (HMA Pivot Low) triggers when:
HMA > HMA and HMA < HMA
Meaning: the HMA was falling, formed a bottom, and has started rising.
Sell (HMA Pivot High) triggers when:
HMA < HMA and HMA > HMA
Meaning: the HMA was rising, formed a top, and has started falling.
Inputs
Source: price source used to compute HMA (default: close).
Use Custom HMA Length: enables manual override.
Custom HMA Length: manual HMA period (default: 55).
Alerts: only on bar close:
If enabled, alerts fire only after the bar closes (confirmed signals).
If disabled, alerts can fire intrabar (faster but less stable).
Draw signal on pivot bar (offset -1):
If enabled, markers are drawn on the pivot bar (one bar back) using offset = -1.
If disabled, markers are drawn on the confirmation bar (no offset).
Show HMA line: toggles display of the HMA line.
Alerts available
BUY (HMA Pivot) — triggers on Buy signal.
SELL (HMA Pivot) — triggers on Sell signal.
BUY/SELL (HMA Pivot) — triggers on either Buy or Sell.
Each alert message includes ticker, timeframe, and close price via placeholders:
{{ticker}}, {{interval}}, {{close}}.
ML Adaptive SuperTrend Strategy [trade_crush]# ML Adaptive SuperTrend Strategy - User Guide
## Introduction
The **ML Adaptive SuperTrend Strategy** is a sophisticated trading tool that combines traditional trend-following logic with **Machine Learning (K-Means Clustering)** to dynamically adapt to market volatility. Unlike standard SuperTrend indicators that use a fixed ATR, this strategy analyzes historical volatility to categorize the current market into distinct clusters, providing more precise entries and exits.
>
> **Special Thanks:** This strategy is based on the innovative work of **AlgoAlpha**. You can explore their extensive library of high-quality indicators and strategies on TradingView: (www.tradingview.com).
---
## Machine Learning Engine (K-Means)
The core of this strategy is its ability to "learn" from recent market behavior.
- **K-Means Clustering**: The script takes the last $N$ bars of ATR data and runs an iterative clustering algorithm to find three "centroids" representing **High**, **Medium**, and **Low** volatility.
- **Adaptive ATR**: Based on the current volatility, the strategy selects the nearest centroid to use as the ATR value for the SuperTrend calculation. This ensures the trailing stop tightens during low volatility and widens during high volatility to avoid "noise".
---
## Key Features
### 1. Non-Repainting Signals
- **Confirm Signals**: When enabled, signals are only triggered after a bar closes. This ensures that the arrows and entries you see on the chart are permanent and reliable for backtesting.
### 2. Intelligent Risk Management
- **Multiple SL/TP Types**: Choose between **Percentage** based stops or **ATR** based stops for both Stop Loss and Take Profit.
- **Trailing Stop Loss (TSL)**:
- Supports both Percentage and ATR modes.
- **Activation Offset**: Only activates the trailing mechanism after the price has moved a certain percentage in your favor, protecting early-stage trades.
### 3. Risk-Based Position Sizing
- **Dynamic Quantity**: If enabled, the strategy automatically calculates the trade size based on your **Risk % Per Trade** and the distance to your **Stop Loss**. This ensures you never lose more than your defined risk on a single trade.
---
## User Input Guide
### SuperTrend & ML Settings
- **ATR Length**: The window used to calculate market volatility.
- **SuperTrend Factor**: The multiplier that determines the distance of the trailing stop from the price.
- **Use ML Adaptive ATR**: Toggle between the ML-enhanced logic and standard ATR.
- **Training Data Length**: How many historical bars the ML engine analyzes to find clusters.
### Risk Management
- **Stop Loss Type**: Set to Percentage, ATR, or None.
- **TS Activation Offset**: The profit buffer required before the trailing stop starts following the price.
- **Use Risk-Based Sizing**: Toggle this to let the script manage your position size automatically.
---
## How to Trade with This Strategy
1. **Monitor the Dashboard**: Check the top-right table to see which volatility cluster the market is currently in.
2. **Observe the Fills**: The adaptive fills (green/red) visualize the "breathing room" the strategy is giving the price.
3. **Execution**: The strategy enters on "ML Bullish" (Triangle Up) and "ML Bearish" (Triangle Down) signals.
4. **Exits**: The script will automatically exit based on your SL, TP, or Trailing Stop settings.
---
## Credits
Original Concept: **AlgoAlpha**
Strategy Conversion & Enhancements: **Antigravity AI**
Gold Sniper MGC1! - M30 Precision vPOCThis Pine Script, titled "Gold Sniper MGC1! - M30 Precision vPOC," is a high-precision intraday trading tool designed specifically for Micro Gold (MGC1!) futures. It integrates Market Profile and Volume Profile logic to identify key institutional levels across various trading sessions.
Core Functionality
The script identifies and plots the Volume Point of Control (vPOC)—the price level with the highest traded volume—for specific time windows:
P.vPOC (Previous vPOC): Calculated using a Daily VWAP sync to align perfectly with institutional data from the previous day.
vPOC Today: Tracks the developing Point of Control for the current global session (18:00 - 17:00).
Killzone vPOCs: Specifically isolates the highest volume price levels for the Asia (02h-08h), London (08h-14h), and New York (14h-17h) sessions.
Key Technical Features
Institutional Alignment: By utilizing request.security and hl2 median price calculations on a 30-minute basis, the script filters out market noise and aligns with the structural levels used by "Smart Money".
Dynamic Labels (Vignettes): Each level is projected to the right of the price action with a color-coded label. These labels dynamically display both the Level Name and the Exact Price (to two decimal places), facilitating rapid order entry.
Visual Hierarchy:
Black (Solid): Previous Day's Value (P.vPOC).
White (Dotted): Current Day's Developing Value.
Gold/Cyan/Orange: Specific Killzone session values.
Strategic Application
This script serves as the "Map" for the Gold Sniper MGC1! strategy. Traders use these levels to identify Liquidity Sweeps or Market Structure Shifts (MSS). When the price interacts with these vPOCs, it often signals institutional rejection or acceptance, providing high-probability entry points for intraday "Sniper" setups.
ORB FX REPLAY - FINAL SAFEHere is the description in English, written to sound professional and meet all the requirements for publishing on TradingView:
Script Description:
Title: ORB Strategy Backtest Pro - Ultra Compatibility
Description: This is an Opening Range Breakout (ORB) strategy specifically designed for professional backtesting. It is optimized to run smoothly on external platforms like FX Replay and TradingView's replay mode.
Key Features:
Custom Session: Automatically calculates the High and Low of a specific time window (default: 10:00 - 10:15 Bucharest/GMT+2).
Impulse Confirmation: Features a "Min Impulse" filter to ensure entries happen on strong momentum, avoiding "fake-outs" near the range boundaries.
Hard Target Management: Designed for "Set & Forget" backtesting. Once a trade is triggered, the script tracks it until it hits either the Stop Loss (SL) or the final Take Profit 3 (TP3).
Visual Projections: Draws clear, real-time lines for Entry, SL, and TP3 on the chart for easy visual tracking.
Automated Statistics: Includes a dynamic label system that tracks Total Trades, Win Count, and Loss Count based on the TP3/SL logic.
Optimized Code: Built using Pine Script v5 with a focus on stability and compatibility, avoiding complex tables that often cause errors on external engines.
Cave Diving 3 Lines System
🤿 Cave Diving Dashboard - A Deep Dive into Market Structure
## The Cave Diving Analogy
Imagine you're a cave diver exploring underwater caverns. As you descend deeper, you encounter different layers of the cave system:
- **The Surface (Internal Levels)** - Where you currently are, constantly shifting with each breath
- **The First Chamber (De Novo Levels)** - Your last known safe position, recently established
- **Deep Caverns (External Levels)** - Ancient, untouched chambers deeper in the system
Just as a cave diver must constantly monitor their position relative to these reference points, traders must track price action against key structural levels.
---
## 🎯 Understanding the Three-Tiered System
### 📍 **INTERNAL LEVELS** (Current 15m Candle)
*Your real-time position in the market*
**Internal High** 🟡 - The highest point reached in the current unfinished 15-minute candle
**Internal Low** 🟢 - The lowest point reached in the current unfinished 15-minute candle
**Think of these as:**
- Your current depth while actively diving
- They update continuously as price moves
- Status shows "Updating" when actively changing, "Intact" when stable
- These are NOT trade levels—they're awareness zones
**Key Insight:** When Internal Low drops below De Novo Low, you're in **Situation A** (bearish pressure building)—the indicator highlights this with red coloring.
---
### 🎯 **DE NOVO LEVELS** (Previous Closed 15m Candle)
*Your most recent confirmed safe zone*
**De Novo High** 🔵 - The high of the last completed 15-minute candle
**De Novo Low** 🟣 - The low of the last completed 15-minute candle
**Etymology:** "De Novo" = Latin for "from new" or "anew"—these are freshly established reference points
**Think of these as:**
- The last solid ground you stood on
- Your most recent confirmed position
- The bridge between where you are (Internal) and where you've been (External)
**Status Tracking:**
- **⬆️ Upgrade** - Level moved favorably (Higher high for resistance, Higher low for support)
- **⬇️ Downgrade** - Level moved unfavorably (Lower high, Lower low)
- **= Same** - No structural change from previous candle
**Trading Significance:**
- Primary reference points for intraday structure
- Breaking De Novo levels often signals directional commitment
- Can merge with External Level 1 when they align (shown as "DN🟰Ext1")
---
### ⛽🤿 **EXTERNAL LEVELS** (Unmitigated Historical 15m Levels)
*Deep liquidity pools waiting to be discovered*
**External High 1 & 2** 🟢🔵 - The two most recent unmitigated 15m highs
**External Low 1 & 2** 🟠🌸 - The two most recent unmitigated 15m lows
**Think of these as:**
- Untouched chambers in the cave system
- Liquidity pools that smart money is targeting
- Levels that "remember" and attract price
**What Makes a Level "Unmitigated"?**
- **Highs**: Price has NOT yet traded through them (broken above)
- **Lows**: Price has NOT yet swept them (broken below)
- Once touched, they're "mitigated" and removed from tracking
- The indicator automatically maintains the two most recent unmitigated levels
**Why "External"?**
They exist outside your current candle structure—historical reference points that institutions use for:
- Stop loss placement
- Profit taking targets
- Liquidity hunting zones
---
## 🎨 Color Coding System
### HIGHS (Resistance/Targets) - Cool Colors
- 🔵 **Ext High 2** - Light Blue (Distant target)
- 🟢 **Ext High 1** - Lime Green (Primary target)
- 🔵 **De Novo High** - Cyan (Recent resistance)
- 🟡 **Internal High** - Lemon Yellow (Current ceiling)
### LOWS (Support/Stops) - Warm Colors
- 🟢 **Internal Low** - Lime (Current floor)
- 🟣 **De Novo Low** - Purple (Recent support)
- 🟠 **Ext Low 1** - Orange-Red (Primary stop zone)
- 🌸 **Ext Low 2** - Pink (Distant support)
---
## 📊 Dashboard Breakdown
### The Table Shows:
1. **Level** - Which level you're tracking
2. **Price** - Exact price of the level
3. **Pts** - Distance from current price (+ above, - below)
4. **Status** - Current state or role of the level
### Special Features:
- **⏰ Countdown Timer** - Shows time remaining until next 15m candle close (next De Novo update)
- **⚠️ Proximity Alerts** - Bottom row warns when within threshold distance of key levels (default: 25 points, adjustable)
---
## 🎯 Trading Applications
### **For Buyers (Going Long):**
- **Entry Zone**: Between De Novo Low and Ext Low 1
- **Stops**: Below Ext Low 1 (or Ext Low 2 for wider stops)
- **Targets**: De Novo High → Ext High 1 → Ext High 2
- **Confirmation**: Internal Low holds above De Novo Low
### **For Sellers (Going Short):**
- **Entry Zone**: Between De Novo High and Ext High 1
- **Stops**: Above Ext High 1 (or Ext High 2 for wider stops)
- **Targets**: De Novo Low → Ext Low 1 → Ext Low 2
- **Warning**: Watch for Situation A (Internal Low < De Novo Low)
### **Risk Management:**
- **DN🟰Ext1** status means De Novo = External 1 (tighter range, use caution)
- Proximity alerts help you avoid chasing price into resistance/support
- "Updating" status on Internal levels = active volatility
- "Upgrade/Downgrade" signals = structural shift in progress
---
## ⚙️ Customization Options
### Lookback Period
- Default: 500 candles (searches 125 hours of 15m data)
- Increase for more historical External levels
- Decrease for focus on recent structure
### Proximity Threshold
- Default: 25 points
- Set based on your instrument's average range
- Lower = tighter alerts (for scalping)
- Higher = strategic warnings (for swing trading)
### Visual Customization
- Line thickness (1-5)
- Line style (Solid/Dashed/Dotted)
- All colors fully customizable
- Show/hide lines independently
---
## 🧭 The Cave Diving Mindset
**Never dive deeper than you can safely return from.**
In trading terms:
- Know your Internal position (real-time awareness)
- Respect your De Novo levels (recent structure)
- Hunt for External liquidity (where the targets are)
- Always have an exit plan (stops below Ext Lows, above Ext Highs)
The market, like a cave, has structure. This indicator illuminates that structure across three timeframes of reference, helping you navigate with precision rather than guessing in the dark.
---
## 🎓 Key Takeaways
1. **Internal** = Real-time, unfinished, awareness only
2. **De Novo** = Just confirmed, primary reference, updates every 15m
3. **External** = Historical, unmitigated, high-probability targets/stops
4. **Upgrades/Downgrades** = Trend signals
5. **DN🟰Ext1** = Structural alignment (tighter range)
6. **Situation A** = Bearish warning (Internal < De Novo Low)
---
## 📝 Credits
*"In cave diving, you plan your dive and dive your plan. In trading, you plan your levels and trade your levels."*
**Indicator:** Cave Diving Dashboard - Part 1: Price Levels
**Timeframe:** Optimized for 15-minute structure on any chart timeframe
**Philosophy:** Structure first, price second. Know where you are, where you've been, and where the liquidity waits.
---
Happy Diving! 🤿📈
FVG Strategy with validationThe code needs to be fixed because it renders the boxes incorrectly, otherwise you can see that the code is profitable in some markets
V3 Valentini Pro Scalper [Dashboard]Gemini 3.0 pro's take on Fabio Valentini's world #1 strategy scalp 12/19/2025
Solid Dynamic Corridors[AkmanBey]
Solid Dynamic Corridors: Technical Overview
The Solid Dynamic Corridors indicator is a sophisticated, multi-layered trend-following and volatility-channel system. Unlike standard indicators, it combines RSI-derived price projections, ATR-based volatility expansion, and a 20-level support/resistance matrix to identify high-probability trend zones.
1. RSI-Based Price Projection
The foundation of the indicator starts with an inverse calculation of RSI levels. By setting specific overbought (51) and oversold (49) thresholds, the script projects these momentum levels directly onto the price chart as dynamic bands. This allows the trader to see where the price would be if it reached those specific RSI exhaustion points.
2. The Multi-Layered Support & Resistance Matrix
The core strength of the script lies in its 20-level calculation engine. It computes 10 distinct resistance levels (H1-H10) and 10 distinct support levels (L1-L10) using a hybrid blend of:
* Exponential Moving Averages (EMA)
* Average True Range (ATR)
* Historical Extremes (High/Low Lookbacks)
* Price Action Ratios
These levels are then averaged to create the Final Resistance and Support Averages, providing a "solid" boundary that filters out market noise more effectively than a single moving average.
3. Volatility-Adjusted Dynamic Expansion
To adapt to changing market conditions, the indicator employs an ATR-based expansion mechanism. By applying a user-defined multiplier to the current ATR, the bands expand during high-volatility periods and contract during consolidation, ensuring the "Corridors" remain relevant regardless of market speed.
4. Trend Tracking & Persistence Logic
The system features a unique Signal Persistence logic. When a trend shift is detected (via an ATR-based trailing stop mechanism):
* Buy/Sell Signals: Triggered when the price breaks through the calculated trailing limits.
* Persistence Lines: Once a signal is generated, the indicator "locks" the support or resistance level at that moment and tracks it for an extended period (up to 19,999 bars). This helps traders identify long-term historical anchor points even after the immediate trend has passed.
5. Extreme Range Analysis (HH-LL)
Finally, the script calculates Extreme Upper and Lower Bounds based on the highest and lowest points of the signal tracking lines. This creates a "Master Range" that colors the chart dynamically, signaling whether the market is in a Red (Overextended High), Green (Overextended Low), or Blue (Neutral) state.
Summary of Key Features
* Hybrid Momentum/Volatility Engine: Combines RSI and ATR logic.
* Noise Reduction: Averages 20 different data points to find "True" support and resistance.
* Long-Term Reference: Unique tracking system that remembers signal levels for thousands of bars.
* Visual Clarity: Intuitive color coding for trend direction and extreme price zones.
Multi-Ticker Overlay V6 [SPY/QQQ/ES]Key Improvements in this Version:Triple Ticker Support: You now have three distinct sections in the settings (SPY, QQQ, and ES1!). You can toggle them on or off individually.Flexible Symbols: While I defaulted them to SPY, QQQ, and ES, you can use the Ticker Symbol input to change them to anything (e.g., change ES to "DIA" to see Dow Jones levels).Decimal Increments: I changed the increment to a float. You can now set SPY to 1.0 and QQQ to 0.5 or 5.0 depending on how much "clutter" you want.Individual Aesthetics:Colors: Each ticker has its own color picker.Labels: Labels are prefixed with the symbol name (e.g., "QQQ 450") so you don't get confused about which line belongs to which ticker.Smart Ratio Engine: All three tickers respect the "Freeze at 16:00" rule if you turn it on, ensuring the levels stay mathematically accurate based on the market close.Note on Performance: Because this script draws many lines (up to 3 tickers $\times$ 21 lines each), I set the extend to none. The lines will appear as short segments to the right of the current price to keep your chart clean.
Shadow Momentum EngineA proprietary oscillator that detects hidden divergences and momentum shifts before they appear on traditional indicators. Ideal for early entries in trends and for avoiding false breakout traps.
--
Un oscilador propietario que detecta divergencias ocultas y cambios de momentum antes de que aparezcan en los indicadores tradicionales. Perfecto para entradas tempranas en tendencias y para evitar trampas de falso breakout.
Heikin Ashi Wick Strategy
🔥 Heikin Ashi Wick Momentum Strategy
“Trade momentum decay before the trend breaks.
>> FOCUS ON WICKS, NOT ONLY CANDLE COLOR<<
What Makes This Different (Traffic Driver)
✔ Uses Heikin Ashi wicks (almost nobody does this correctly)
✔ Captures trend continuation, not breakouts
✔ Exits before momentum collapse, not after
✔ Non-repainting
✔ Clean charts, instant readability
This Strategy Is REALLY Trading
This is a Heikin Ashi momentum-decay system:
• Enters when trend is strong but not euphoric
• Exits when:
o Trend stops probing higher
o Sellers gain relative strength
It avoids:
• Chasing strong breakout candles
• Holding through momentum rollovers
Candle Type Used: Heikin Ashi (manually calculated)
NOTE: The script does not use regular candles.
It reconstructs Heikin Ashi (HA) candles from raw OHLC:
• HA Close = average of open, high, low, close
• HA Open = midpoint of prior HA candle (smoothed)
• HA High / Low = extremes of HA open/close vs real high/low
➡️ This filters noise and emphasizes trend structure and momentum.
Strengths
✅ Works well in strong, smooth trends
✅ Very clean logic (no indicators)
✅ Non-repainting
✅ Early exits protect capital
Best Use
This works best on:
• Daily timeframe
• Strong trend ETFs / megacaps
o QQQ
o SPY
o NVDA, MSFT, AAPL
• When combined with:
o EMA 21 trend filter (your preference)
o Market regime filter (e.g., above 50/200 SMA)
o Rising 10 EMA and 20 EMA
________________________________________
8️⃣ Weaknesses (Important)
⚠️ No stop loss (only structure-based exits)
⚠️ Can exit too early in explosive trends
⚠️ Will chop in sideways markets
⚠️ No volatility filter (ATR, EMA, regime)
How to Avoid the Weaknesses — Summary
Turn the setup from a concept into a robust strategy by adding these controls:
1. Trade Only Trends
o Require price above EMA-21 (optionally EMA-21 > EMA-50)
o Eliminates chop and sideways markets
2. Improve Exits (Avoid Leaving Winners Too Early)
o Partial exit when upper wick disappears
o Full exit only when lower wick dominates
o Optional: require 2 consecutive exit candles
3. Add Risk Protection
o Use a volatility stop: ~1.5× ATR(14) below entry or below HA swing low
o Protects against gaps and sudden reversals
4. Filter Weak Signals
o Require meaningful wick size (≈30–40% of candle range)
o Avoids low-quality indecision candles
5. Avoid Bad Volatility
o Skip entries when ATR is expanding aggressively
o Focus on calmer, controllable trends
6. Limit Time in Trade
o Add a max bars hold (e.g., 10–15 bars on daily)
o Prevents capital getting stuck in fading trends
⚠️ Educational use only. Not financial advice. Trading involves risk and losses can exceed expectations. Past performance does not guarantee future results. Use at your own risk.
S_Sigma HTF Candles (UTC Draw / NY Labels)🕯️ S_Sigma HTF Candles (UTC Draw / NY Labels)
Multi-Timeframe Overlay with Session Labels & Imbalances
S_Sigma HTF Candles is a powerful, non-repainting overlay indicator that allows you to visualize up to 6 different Higher Timeframes (HTF) directly on your current chart.
Designed specifically for traders who need context without switching tabs, this tool draws accurate HTF candles using UTC time (standard for Crypto) while labeling them with New York Timezone data (standard for Stocks/Forex). It also detects Fair Value Gaps (FVG) and Volume Imbalances automatically.
🌟 Key Features
📊 6 Independent HTF Slots
Configure up to 6 different timeframes simultaneously (e.g., 15m, 1H, 4H, 1D, 1W). Each slot is customizable and can be toggled on/off independently.
🌍 UTC Drawing + NY Labels (The "Sigma" Edge)
Drawing: Candles are calculated strictly using UTC time to ensure wicks and bodies match exchange data (perfect for BTC/ETH).
Labels: Day of the Week (Mon/Tue/Wed) and Time labels are converted to America/New_York time. Never get confused by candle closes again.
#HTF Countdown Timer**
See exactly how much time is left until the Higher Timeframe candle closes. Essential for timing entries at the "Candle Close."
📈 Smart Imbalance Detection
FVG (Fair Value Gaps): Automatically highlights 3-candle reversal gaps.
VI (Volume Imbalance): Highlights wicks that pierce previous bodies.
🏗️ Custom Session Starts
Don't like the standard Daily candle? Force the Daily candle to open at 08:30 NY or 09:30 NY (Market Open) instead of Midnight UTC.
⚙️ Customization Options
Visuals: Full control over Bull/Bear colors, borders, wicks, and opacity.
Layout: Adjust padding, width, and spacing between timeframes to prevent overlap.
Trace Lines: Optional lines tracing the Open, High, Low, and Close of the forming HTF candle.
Labels: Toggle HTF names, Timers, and Day-of-Week labels on/off.
💡 How to Use
Add to Chart: The indicator draws candles to the right of the current price (offset) to keep your chart clean.
Check Alignment: Ensure the "Daily Name" matches your expected market session (NY Time).
Spot Entries: Look for price entering an FVG (Gray box) or hitting a HTF Support/Resistance level (Wick of the HTF candle).
Time Entries: Wait for the Timer to hit 00:00 for a confirmed candle close.
Perfect for: Smart Money Concepts (SMC), ICT, Wyckoff, and Multi-Timeframe Analysis.
Daily SMA 20/50/100/200Simple Moving Averages indicator displaying four commonly used trend lines on the price chart. Plots the 20, 50, 100, and 200 period SMAs to help identify short-, medium-, and long-term trend direction, dynamic support and resistance, and overall market structure. Color-coded for clarity: 20 SMA in green, 50 SMA in blue, 100 SMA in orange, and 200 SMA in red, with uniform line thickness for clean visual consistency.
Alpha Options System# Apex Options Sniper - Advanced Multi-Signal Day Trading System
## 🎯 Overview
**Apex Options Sniper** is a professional-grade, multi-signal trading indicator specifically engineered for high-probability day trading of weekly options. This comprehensive system combines 10+ technical indicators into a sophisticated scoring algorithm that identifies optimal entry points with institutional-level precision.
Perfect for traders of SPY, QQQ, and high-volume stocks, this indicator eliminates guesswork by providing clear BUY CALLS and BUY PUTS signals based on multiple technical confluences.
---
## 🚀 Key Features
### **Multi-Signal Confluence Engine**
- **10+ Technical Indicators** working in harmony
- **Weighted Scoring System** (0-30+ points) for signal strength
- **Real-time Signal Classification**: Strong vs Moderate signals
- **False Signal Reduction** through multi-confirmation requirements
### **Advanced Momentum Analysis**
- ✅ RSI with Divergence Detection (bullish & bearish)
- ✅ Stochastic Oscillator (oversold/overbought + crossovers)
- ✅ MACD with crossover and momentum confirmation
- ✅ Automatic divergence spotting for reversal trades
### **Sophisticated Trend Detection**
- ✅ Triple EMA System (9/21/50) with alignment scoring
- ✅ SuperTrend Indicator with trend flip alerts
- ✅ VWAP for institutional price levels
- ✅ Multi-timeframe trend confirmation
### **Professional Volume Analysis**
- ✅ Volume Spike Detection (vs 20-period average)
- ✅ OBV (On-Balance Volume) with divergence detection
- ✅ Order Flow Analysis (buy vs sell pressure)
- ✅ Relative volume ratio display
### **Advanced Pattern Recognition**
- ✅ Bollinger Band Squeeze detection (volatility expansion)
- ✅ BB breakout signals (major move initiation)
- ✅ Automatic Support & Resistance levels (pivot-based)
- ✅ Price reaction scoring at key levels
### **Built-in Risk Management**
- ✅ ATR-based Stop Loss calculations
- ✅ Customizable Risk:Reward ratios
- ✅ Position sizing recommendations
- ✅ Real-time profit target calculations
### **Comprehensive Visual Dashboard**
- ✅ Live scoring breakdown for all indicators
- ✅ Individual signal strength display
- ✅ Bull vs Bear score comparison
- ✅ Color-coded signal status
- ✅ Risk management metrics
---
## 📊 How It Works
### **Scoring System**
The indicator assigns points based on technical conditions:
| **Category** | **Max Points** | **Conditions** |
|-------------|---------------|----------------|
| Momentum (RSI/Stoch) | 8 | Oversold/overbought + divergences |
| MACD | 4 | Crossovers + momentum direction |
| Trend (EMAs) | 6 | EMA alignment + SuperTrend |
| Volume | 4 | Spikes + OBV divergences |
| Order Flow | 2 | Buy/sell pressure imbalance |
| Bollinger Bands | 2 | Squeeze + breakouts |
| Support/Resistance | 2 | Price at key levels |
| VWAP | 1 | Above/below institutional level |
### **Signal Thresholds**
- **🚀 STRONG CALLS**: Bull score ≥6, Net score ≥4
- **📈 CALLS**: Bull score ≥4, Net score ≥2
- **🔥 STRONG PUTS**: Bear score ≥6, Net score ≤-4
- **📉 PUTS**: Bear score ≥4, Net score ≤-2
### **Multi-Timeframe Filter**
Optional higher timeframe confirmation reduces false signals by ensuring the broader trend supports your trade direction.
---
## 🎮 How to Use
### **Installation**
1. Open TradingView Pine Editor
2. Paste the complete indicator code
3. Click "Add to Chart"
4. Customize settings to your preference
### **Recommended Settings**
**For SPY/QQQ Day Trading:**
- Timeframe: 1-minute or 5-minute
- Strong Signal Threshold: 6
- Moderate Signal Threshold: 4
- Multi-timeframe Confluence: ON
**For Individual Stocks:**
- Timeframe: 5-minute or 15-minute
- Increase SuperTrend multiplier to 3.5-4.0
- Enable all advanced features
**For Scalping:**
- Timeframe: 1-minute
- Use STRONG signals only (6+)
- Tight stop loss (1.0-1.5 ATR multiplier)
### **Best Trading Times**
- **9:30-11:00 AM EST** - Highest volume, strongest signals
- **2:00-4:00 PM EST** - Afternoon momentum plays
- Avoid 11:30 AM-1:30 PM EST (lunch chop)
---
## 📈 Signal Interpretation
### **What You'll See on Chart:**
**Visual Signals:**
- 🟢 **Green Triangle (CALLS)**: Bullish entry point
- 🟢 **Large Green Triangle (STRONG CALLS)**: High-confidence bullish entry
- 🔴 **Red Triangle (PUTS)**: Bearish entry point
- 🔴 **Large Red Triangle (STRONG PUTS)**: High-confidence bearish entry
- 💎 **Small Diamonds**: RSI/OBV divergences (reversal warning)
**Dashboard Information:**
- Individual indicator values and signals
- Real-time score breakdown
- Bull/Bear score totals
- ATR stop loss levels
### **Entry Rules:**
✅ **High Probability Trades (Take These):**
- Strong signal (6+ score)
- 3+ indicators confirming
- Volume spike present
- SuperTrend aligned
- Higher timeframe confirms
⚠️ **Moderate Trades (Smaller Position):**
- Moderate signal (4-5 score)
- 2+ indicators confirming
- Normal volume
- Mixed trend signals
❌ **Avoid These:**
- Conflicting signals (Bull score ≈ Bear score)
- Low volume
- During major news events
- Bollinger squeeze without breakout direction
---
## 🛡️ Risk Management Guide
### **Position Sizing:**
- **Strong Signals (6+)**: 3-5% of portfolio
- **Moderate Signals (4-5)**: 2-3% of portfolio
- **Low Conviction**: 1-2% or skip
### **Stop Loss Strategy:**
- Use ATR-based stops (displayed in dashboard)
- Default: 1.5x ATR from entry
- Weekly options: 30-50% premium loss maximum
- Never hold through stop loss hoping for recovery
### **Profit Targets:**
- **Quick Scalps**: 25-50% gain (15-30 min)
- **Day Trades**: 50-100% gain (same day exit)
- **Swing**: 100-200% gain (1-2 days max for weeklies)
- **Take partial profits** at first target, let rest run
### **Time Decay Management (Weekly Options):**
- Monday-Wednesday: Hold overnight acceptable on strong signals
- Thursday: Close by EOD unless very strong conviction
- Friday: Avoid holding overnight, theta decay accelerates
---
## 🔔 Alert Configuration
### **Recommended Alerts:**
**Essential Alerts:**
1. 🚀 Strong Buy Calls
2. 🔥 Strong Buy Puts
**Advanced Alerts:**
3. 💎 RSI Bullish Divergence
4. ⚠️ RSI Bearish Divergence
5. 🔶 Bollinger Band Squeeze
6. ✅ SuperTrend Bull Flip
7. ❌ SuperTrend Bear Flip
**Alert Setup:**
- Set frequency: "Once Per Bar Close"
- Enable for all devices
- Use webhook for automation (optional)
---
## 💡 Pro Trading Tips
### **Maximize Win Rate:**
1. **Wait for confluence** - Best trades have 3+ indicators aligned
2. **Respect the dashboard** - Check WHY it's signaling (which indicators)
3. **Volume is king** - Signals with volume spikes are significantly more reliable
4. **Use BB Squeeze** - When squeeze + signal = explosive directional move
5. **SuperTrend flips** - Major trend change confirmations, very powerful
6. **Watch for divergences** - Diamond markers = hidden reversal opportunities
### **Common Mistakes to Avoid:**
❌ Trading every signal (be selective)
❌ Ignoring volume (volume confirms everything)
❌ Fighting the higher timeframe trend
❌ Oversizing positions on moderate signals
❌ Holding weekly options too long (theta decay)
❌ Trading during lunch hour (11:30-1:30 EST)
### **Advanced Techniques:**
- **Divergence + Support/Resistance** = Highest probability reversals
- **BB Squeeze + EMA alignment** = Explosive trend continuations
- **SuperTrend flip + Volume spike** = Major trend change entries
- **Multiple timeframe analysis** - Check 5m signal on 1m chart for precision entries
---
## 📊 Indicator Components Explained
### **RSI (Relative Strength Index)**
- Measures momentum and overbought/oversold conditions
- Divergences signal potential reversals before they happen
- Score: 2-3 points for extremes and divergences
### **Stochastic Oscillator**
- Confirms momentum extremes
- Crossovers provide entry timing
- Score: 1-2 points
### **MACD (Moving Average Convergence Divergence)**
- Trend following momentum indicator
- Crossovers signal momentum shifts
- Score: 1-3 points based on signal strength
### **EMA System (9/21/50)**
- Dynamic support and resistance
- Alignment shows trend strength
- Price position relative to EMAs scores 1-2 points
### **SuperTrend**
- Volatility-based trend indicator
- Reduces whipsaws in choppy conditions
- Trend flips are major signals (2 points)
### **Bollinger Bands**
- Volatility measurement
- Squeeze = calm before the storm
- Breakouts = directional move initiation (2 points)
### **Volume Analysis**
- Confirms price movement legitimacy
- Spikes validate signals (2 points)
- OBV divergences predict reversals (2 points)
### **Order Flow**
- Buy vs sell pressure measurement
- Institutional footprint detection
- Score: 2 points for strong imbalances
---
## 🎓 Learning Path
### **Beginner (Week 1-2):**
- Use STRONG signals only
- Focus on high-volume stocks (SPY/QQQ)
- Trade only first hour of market
- Use paper trading first
### **Intermediate (Week 3-4):**
- Add moderate signals to your arsenal
- Learn to read the dashboard
- Understand why each signal triggers
- Start combining with support/resistance
### **Advanced (Month 2+):**
- Use divergence signals
- Trade BB squeeze breakouts
- Optimize settings for your style
- Develop your own confluence rules
---
## ⚙️ Customization Guide
### **Adjustable Parameters:**
**Momentum Settings:**
- RSI Length (default: 14)
- RSI Oversold/Overbought levels (30/70)
- Stochastic Length (14)
**Trend Settings:**
- EMA periods (9/21/50)
- SuperTrend ATR Length (10)
- SuperTrend Multiplier (3.0)
**Volume Settings:**
- Volume MA Length (20)
- Volume Spike Threshold (1.5x)
**Advanced Settings:**
- Bollinger Band Length (20)
- BB Standard Deviation (2.0)
- Pivot Lookback (10)
**Signal Thresholds:**
- Strong Signal Score (default: 6)
- Moderate Signal Score (default: 4)
**Risk Management:**
- ATR Length (14)
- Stop Loss Multiplier (1.5)
- Risk:Reward Ratio (2.0)
---
## 📈 Performance Optimization
### **For Volatile Markets (VIX > 25):**
- Increase SuperTrend multiplier to 4.0
- Raise signal thresholds (+1 point)
- Tighten stop losses (1.0-1.2 ATR)
### **For Ranging Markets:**
- Focus on RSI extremes and divergences
- Use BB squeeze signals
- Ignore moderate signals
- Wait for support/resistance confirmation
### **For Trending Markets:**
- Follow SuperTrend direction religiously
- Use EMA alignment signals
- Allow wider stops (2.0 ATR)
- Take partial profits, let winners run
---
## 🔍 Troubleshooting
**Too Many Signals:**
- Increase signal thresholds to 7/5
- Enable multi-timeframe filter
- Trade only STRONG signals
**Missing Signals:**
- Decrease thresholds to 5/3
- Disable multi-timeframe filter
- Check that all features are enabled
**Whipsaw in Choppy Markets:**
- Increase SuperTrend multiplier
- Require volume spike confirmation
- Avoid trading 11:30 AM-1:30 PM EST
---
## 🏆 Best Practices
✅ **Always check:**
1. Dashboard shows why signal triggered
2. Volume confirms the move
3. Not during news events
4. Adequate time until expiration
✅ **Risk Management:**
1. Never risk more than 2% per trade
2. Use stops religiously
3. Take profits at targets
4. Don't revenge trade
✅ **Journal Your Trades:**
1. Entry price and signal strength
2. Which indicators triggered
3. Exit price and profit/loss
4. What worked and what didn't
---
## 📞 Support & Updates
This indicator is designed to evolve with market conditions. Recommended to:
- Review settings monthly
- Backtest on your favorite instruments
- Adjust thresholds based on your risk tolerance
- Keep a trading journal to track performance
---
## ⚠️ Disclaimer
This indicator is a tool for technical analysis and should not be used as the sole basis for trading decisions. Options trading involves substantial risk and is not suitable for all investors. Past performance does not guarantee future results. Always:
- Do your own research and due diligence
- Never invest more than you can afford to lose
- Consider consulting with a financial advisor
- Practice with paper trading before using real money
- Understand options Greeks (Delta, Theta, Gamma, Vega)
- Be aware of earnings dates and major news events
**No indicator is 100% accurate. Use proper risk management and trade responsibly.**
---
## 📊 Version History
**v1.0 - Initial Release**
- Multi-signal confluence system
- 10+ technical indicators
- Advanced dashboard
- ATR-based risk management
- Comprehensive alert system
---
## 🎯 Final Thoughts
**Apex Options Sniper** transforms complex technical analysis into clear, actionable signals. By combining multiple proven indicators with sophisticated scoring logic, it helps traders identify high-probability setups while managing risk effectively.
**Success Keys:**
- Quality over quantity (be selective)
- Risk management is everything
- Volume confirms the signal
- Confluence increases probability
- Discipline beats emotion
**Trade smart. Trade with confidence. Trade with Apex Options Sniper.**
---
*For questions, suggestions, or to share your success stories, please comment below or send a message.*
**Happy Trading! 🚀📈**






















