Market SessionsMarket Sessions (Asian, London, NY, Pacific)
Summary
This indicator plots the main global market sessions (Asian, European, American, Pacific) as boxes on your chart, complete with dynamic high/low tracking.
It's an essential tool for intraday traders to track session-based volatility patterns and visualize key support/resistance levels (like the Asian Range) that often define price action for the rest of the day.
Who it’s for
Intraday traders, scalpers, and day traders who need to visualize market hours and session-based ranges. If your strategy depends on the London open, the New York close, or the Asian range, this script will map it out for you.
What it shows
Customizable Session Boxes: Four fully configurable boxes for the Asian, European (London), American (New York), and Pacific (Sydney) sessions.
Session High & Low: The script tracks and boxes the highest high and lowest low of each session, dynamically updating as the session progresses.
Session Labels: Clear labels (e.g., "AS", "EU") mark each session, anchored to the start time.
Key Features
Powerful Timezone Control: This is the core feature.
Use Exchange Timezone (Default): Simply enter session times (e.g., 8:00 for London) relative to the exchange's timezone (e.g., "NASDAQ" or "BINANCE").
Use UTC Offset: Uncheck the box and enter a UTC offset (e.g., +3 or -5). Now, all session times you enter are relative to that specific UTC offset. This gives you full control regardless of the chart you're on.
Fully Customizable: Toggle any session on/off.
Style Control: Change the fill color, border color, transparency, border width, and line style (Solid, Dashed, Dotted) for each session individually.
Smart Labels: Labels stay anchored to the start of the session (no "sliding") and float just above the session high.
Why this helps
Track Volatility & Market Behavior: Visually identify the "personality" of each session. Some sessions might consistently produce powerful pumps or dumps, while others are prone to sideways "chop" or accumulation. This indicator helps you see these repeating patterns.
Find Key Support/Resistance Levels: The High and Low of a session (e.g., the Asian Range) often become critical support and resistance levels for the next session (e.g., London). This script makes it easy to spot these "session-to-session" S/R flips and reactions.
Aid Statistical Analysis: The script provides the core visual data for your statistical research. You can easily track how often the London session breaks the Asian high, or which session is most likely to reverse the trend, helping you build a robust trading plan.
Context is King: Instantly see which market is active, which are overlapping (like the high-volume London-NY overlap), and which have closed.
Quick setup
Go to Timezone Settings.
Decide how you want to enter times:
Easy (Default): Leave Use Exchange Timezone checked. Enter session times based on the chart's native exchange (e.g., for BTC/USDT on Binance, use UTC+0 times).
Manual (Pro): Uncheck Use Exchange Timezone. Enter your UTC Offset (e.g., +2 for Berlin). Now, enter all session times as they appear on the clock in Berlin.
Go to each session tab (Asian, European...) to enable/disable it and set the correct start/end hours and minutes.
Style the colors to match your chart theme.
Disclaimer
For educational/informational purposes only; not financial advice. Trading involves risk—manage it responsibly.
Titik pangsi dan tahap
Lateral Market DetectorOverview
The Lateral Market Detector is a TradingView indicator designed to identify and highlight range-bound market conditions (sideways movement) where price oscillates between defined support and resistance levels with minimal overall movement.
How It Works
The indicator analyzes price action using a dynamic range detection algorithm:
Range Calculation: Examines the last N candlesticks (default 50, adjustable 20-200) and calculates the difference between the highest high and lowest low within this period.
Laterality Detection: Compares the calculated range against a configurable tolerance threshold (in pips). If the range is smaller than the tolerance, the market is identified as laterally moving.
Confirmation Logic: Counts consecutive candlesticks that remain within the detected range. The indicator only confirms a lateral condition when the minimum number of consecutive candlesticks has been reached (default 15).
Visual Representation: Once confirmed, displays a colored rectangle (box) spanning from the range's start point to the current bar, with horizontal dashed lines marking the high and low levels.
Dynamic Update: Continuously updates the rectangle as new candlesticks form, adjusting the top and bottom boundaries if price remains within the lateral zone.
Key Features
Multi-Timeframe Optimization
Automatic timeframe adaptation using square root scaling
When enabled, parameters adjust proportionally based on the current timeframe (M1, M5, M15, M30, H1, D1, W1, MN)
Prevents the need for manual parameter adjustments across different timeframes
Formula: Adjusted_Tolerance = Base_Tolerance × √(Timeframe_Multiplier)
Customizable Parameters
Tolerance Pip (M1): Sets the maximum range width to identify laterality
Minimum Candlesticks: Minimum consecutive candles required to confirm a lateral zone
Candlesticks to Analyze: Lookback period for range calculation
Breakout Sensitivity: Controls the threshold for identifying range breakouts
Full Visual Customization
Rectangle color and transparency
High/Low line color and thickness
Automatic status display showing current timeframe, lateral confirmation, and active parameters
Use Cases
Range Trading: Identify optimal entry and exit points at support/resistance
Breakout Trading: Visual confirmation before entering breakout trades
Trend Analysis: Distinguish between trending and consolidating markets
Risk Management: Define clear stop-loss levels based on range boundaries
Technical Specifications
Indicator Type: Overlay
Maximum Boxes: 100 (prevents performance degradation)
Supported Assets: Forex, CFDs, Stocks, Cryptocurrencies
Pine Script Version: v5
Chart Display: Real-time updates on each new candlestick
Trend Pullback System```{"variant":"standard","id":"36492","title":"Trend Pullback System Description"}
Trend Pullback System is a price-action trend continuation model that looks to enter on pullbacks, not breakouts. It’s designed to find high-quality long/short entries inside an already established trend, place the stop at meaningful structure, trail that stop as structure evolves, and warn you when the trade thesis is no longer valid.
Developed by: Mohammed Bedaiwi
---------------------------------
HOW IT WORKS
---------------------------------
1. Trend Detection
• The strategy defines overall bias using moving averages.
• Bullish environment (“uptrend”): price above the slower MA, fast MA above slow MA, and the slow MA is sloping up.
• Bearish environment (“downtrend”): price below the slower MA, fast MA below slow MA, and the slow MA is sloping down.
This prevents trading against chop and focuses on continuation moves in the dominant direction.
2. Pullback + Re-entry Logic
• The script waits for price to pull back into structure (support in an uptrend, resistance in a downtrend), and then push back in the direction of the main trend.
• That “push back” is the setup trigger. We don’t chase the first breakout candle — we buy/sell the retest + resume.
3. Structural Levels (“Diamonds”)
• Green diamond (below bar): bullish pivot low formed while the trend is bullish. This marks defended support.
- Use it as a re-entry zone for longs.
- Use it to trail a stop higher when you’re already long.
- Shorts can take profit here because buyers stepped in.
• Red diamond (above bar): bearish pivot high formed while the trend is bearish. This marks defended resistance.
- Use it as a re-entry zone for shorts.
- Use it to trail a stop lower when you’re already short.
- Longs can take profit here because sellers stepped in.
4. Entry Signals
• BUY arrow (green triangle up under the candle, text like “BUY” / “BUY Zone”):
- LongSetup is true.
- Trend is bullish or turning bullish.
- Price just bounced off recent defended support (green diamond) and reclaimed short-term momentum.
Meaning: enter long here or cover/exit shorts.
• SELL arrow (red triangle down above the candle):
- ShortSetup is true.
- Trend is bearish or turning bearish.
- Price just rolled down from defended resistance (red diamond) and lost short-term momentum.
Meaning: enter short here or take profit on longs.
These are the primary trade entries. They are meant to be actionable.
5. Weak Setups (“W” in yellow)
• Yellow triangle with “W”:
- A possible long/short idea is trying to form, BUT the higher-timeframe confirmation is not fully there yet.
- Think of it as early pressure / early caution, not a full signal.
• You usually watch these areas rather than jumping in immediately.
6. Exit Warning (orange “EXIT” label above a bar)
• The strategy will raise an EXIT marker when you’re in a trade and the *opposite* side just produced a confirmed setup.
- You’re short and a valid longSetup appears → EXIT.
- You’re long and a valid shortSetup appears → EXIT.
• This is basically: “Close or reduce — the other side just took control.”
• It’s not just a trailing stop hit; it’s a regime flip warning.
7. Stop, Target, and Trailing
• On every new setup, the script records:
- Initial stop: recent swing beyond the defended level (below support for longs, above resistance for shorts).
- Initial target: recent opposing swing.
• While you’re in position, if new confirming diamonds print in your favor, the stop can trail toward the new defended level.
• This creates structure-based risk management (not just fixed % or ATR).
8. Reference Levels
• The strategy also plots prior higher-timeframe closes (last week’s close, last month’s close, last year’s close). These can behave as magnets or stall points.
• They’re helpful for take-profit timing and for reading “are we trading above or below last month’s close?”
9. Momentum Panel (hidden by default)
• Internally, the script calculates an SMI-style momentum oscillator with overbought/oversold zones.
• This is optional visual confirmation and does not drive the core entry/exit logic.
---------------------------------
WHAT A TRADE LOOKS LIKE IN REAL PRICE ACTION
---------------------------------
Early warning
• Yellow W + red diamonds + red down arrows = “This is getting weak. Short setups are here.”
• You may also see something like “My Short Entry Id.” That’s where the short side actually engages.
Bearish follow-through, then exhaustion
• Price bleeds down.
• Then the orange EXIT appears.
→ Translation: “If you’re still short, close it. Buyers are stepping in hard. Risk of reversal is now high.”
Regime flip
• Right after EXIT, multiple green BUY arrows fire together (“BUY”, “BUYZone”).
• That’s the true long trigger.
→ This is where you either enter long or flip from short to long.
Expansion leg
• After that flip, price rips up for multiple candles / days / weeks.
• While it runs:
- Green diamonds appear under pullbacks → “dip buy zones / trail stop up here.”
- More BUY arrows show on minor pullbacks → continuation long / scale adds.
Distribution / topping
• Later, you start seeing new yellow W triangles again near local highs. That’s your “careful, this might be topping” warning.
• You finally get a hard red candle, and green diamonds stop stacking.
→ That’s where you tighten risk, scale out, or assume the move is mature.
In plain terms, the model is doing the following for you:
• It puts you short during weakness.
• It tells you when to get OUT of the short.
• It flips you long right as control changes.
• It gives you a structure-based trail the whole way up.
• It warns you again when momentum at the top starts cracking.
That is exactly how the logic was designed.
---------------------------------
QUICK INTERPRETATION CHEAT SHEET
---------------------------------
🔻 Red triangle + “Short Entry” near a red diamond
→ Short entry zone (or take profit on a long).
🟥 Red diamond above bar
→ Sellers defended here. Treat it as resistance. Good place to trail short stops just above that level. Avoid chasing longs straight into it.
🟨 Yellow W
→ Attention only. Early pressure / possible turn. Not fully confirmed.
🟧 EXIT (orange label)
→ The opposite side just printed a real setup. Close the old idea (cover shorts if you’re short, exit longs if you’re long). Thesis invalid.
🟩 Burst of green BUY triangles after EXIT
→ Long entry. Also a “cover shorts now” alert. This is the core money entry in bullish reversals.
💎 Green diamond below bar
→ Bulls defended that level. Good for trailing your long stop up, and good “buy the dip in trend” locations.
📈 Blue / teal MAs stacked and rising
→ Confirmed bullish structure. You’re in trend continuation mode, so dips are opportunities, not automatic exits.
---------------------------------
COLOR / SHAPE KEY
---------------------------------
• Green triangle up (“BUY”, “BUY Zone”):
Long entry / cover shorts / continuation long trigger.
• Red triangle down:
Short entry / take profit on longs / continuation short trigger.
• Orange “EXIT” label:
Opposite side just fired a real setup. The previous trade thesis is now invalid.
• Green diamond below price:
Bullish defended support in an uptrend. Use for dip buys, trailing stops on longs, and objective cover zones for shorts.
• Red diamond above price:
Bearish defended resistance in a downtrend. Use for re-entry shorts, trailing stops on shorts, and objective scale-out zones for longs.
• Yellow “W”:
Weak / early potential setup. Watch it, don’t blindly trust it.
• Moving average bands (fast MA, slow MA, Hull MA):
When stacked and rising, bullish control. When stacked and falling, bearish control.
---------------------------------
INTENT
---------------------------------
This system is built to:
• Trade with momentum, not against it.
• Enter on pullbacks into proven structure, not chase stretched breakouts.
• Automate stop/target logic around actual defended swing levels.
• Warn you when the other side takes over so you don’t give back gains.
Typical usage:
1. In an uptrend, wait for price to pull back, print a green diamond (support proved), then take the first BUY arrow that fires.
2. In a downtrend, wait for a bounce into resistance, print a red diamond (sellers proved), then take the first SELL arrow that fires.
3. Respect EXIT when it appears — that’s the model saying “this trade is done.”
---------------------------------
DISCLAIMER
---------------------------------
This script is for educational and research purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any security, cryptoasset, or derivative. Markets carry risk. Past performance does not guarantee future results. You are fully responsible for your own decisions, position sizing, risk management, and compliance with all applicable laws and regulations.
ORB Detection and LabelsOverview
ORB Detection and Labels is a comprehensive Opening Range Breakout (ORB) indicator designed for Indian market traders focusing on indices and stocks. This advanced tool automatically calculates critical trading levels based on the first 15 minutes of trading (09:15-09:30 IST) and provides precise entry, target, and stop-loss levels.
Key Features
Dual Operating Modes:
Auto Mode: Automatically detects and calculates ORB during market hours on 1/3/5/15-minute charts
Manual Mode: Allows custom ORB input for any timeframe including daily, weekly, and higher timeframes
Precision Trading Levels:
2 Buy Entry Levels
2 Sell Entry Levels
Dynamic Stop Loss levels
3 Target levels per direction
Visual Clarity:
Color-coded horizontal lines for instant recognition
Customizable label positioning to avoid chart clutter
Real-time info panel displaying all critical levels and status
Clean, professional interface with adjustable colors
Smart Alert System:
Configurable alerts for entry levels, stop losses, and targets
Non-repainting alerts that fire on bar close
Separate toggles for entry, target, and SL alerts
How It Works
ORB Calculation: During 09:15-09:30 IST, the indicator tracks the high and low to establish the Opening Range
Level Generation: After 09:30, it calculates buy/sell entries, stop losses, and targets using proprietary Fibonacci ratios
Visual Display: Lines extend across the chart with labels positioned for easy reading
Daily Reset: Automatically resets each trading day for fresh analysis
Ideal For
Intraday traders
Swing traders using manual ORB input on daily charts
Traders following opening range breakout strategies
Those seeking clear, mechanical entry and exit levels
Technical Specifications
Works on all symbols
Best suited for 1, 3, 5, and 15-minute timeframes in Auto mode
Manual mode supports all timeframes
Timezone: GMT+5:30 (IST)
Unique Advantages
✅ No repainting - all calculations finalize after ORB session closes
✅ Customizable colors and label positions
✅ Built-in risk management with defined SL levels
✅ Multiple profit targets for partial exit strategies
✅ Works across timeframes with manual override option
✅ Professional info panel with real-time status updates
Settings
ORB session timing (default: 09:15-09:30, 15 minutes)
Manual ORB high/low inputs
Label offset adjustment
Toggle targets, labels, info table
Alert preferences
Complete color customization
Perfect for traders who value precision, clarity, and systematic trading approaches based on proven ORB methodology.
This Script is Just for Educational Purpose. Please test it as per your risk. This is not a recommendation.
AEON | Liquidity HunterA visual tool for identifying high-probability liquidity zones across multiple timeframes and sessions.
Overview
Liquidity Hunter is a multi-timeframe, all market tool designed to help traders visualise areas where price may be drawn in search of resting liquidity. These liquidity zones often align with swing highs and lows, session extremes, or significant higher-time-frame reference points.
Rather than producing entry or exit signals, this indicator aims to support market behaviour analysis and contextual awareness.
Core Functions
The indicator identifies potential liquidity areas using four optional methods:
1. Current Time Frame Analysis – Automatically locates swing highs and lows based on a customisable setting for sensitivity and lookback depth.
2. Higher Time Frame Analysis – Uses the same logic as above, but projects liquidity zones from a selected higher time frame (HTF).
3. Session Highs & Lows – Highlights the Asian, London, New York, or user-defined session extremes where liquidity commonly pools.
4. Time-Based Highs & Lows – Marks the final bar of any higher time frame (for example, the last H4 or D1 candle) to show potential liquidity reference points.
Each method can be enabled or disabled independently and visually customised, allowing traders to tailor the display to their preferred style and time frame.
How to Use
When applied, the indicator plots horizontal levels representing potential liquidity pools. These levels persist until price engages with or mitigates them, at which point users can opt to modify their visual style or delete them as preferred.
Adjusting the sensitivity of the current and higher time frame levels may reflect the market's likelihood of treating them as targets or reversal points.
Many traders combine these levels with concepts such as market structure shifts, displacement, or fair-value gaps to build a narrative around price behaviour.
Disclaimer
This indicator is provided for educational and informational purposes only. It does not constitute financial advice or a trade signal. Past performance or visual confluence does not guarantee future results.
---
About the Author
Created by a passionate developer focused on algorithmic and quantitative concepts.
Wave Conflict DetectorWave Conflict Detector
Wave Conflict Detector: Identifying Pivot Conditions Through Wave Interference Analysis
Wave Conflict Detector applies wave interference principles from physics to dual-EMA analysis, identifying potential pivot conditions by measuring phase relationships and amplitude states between two moving average waves. Unlike traditional EMA crossover systems that signal on wave intersection, this indicator measures the directional alignment (phase) and interaction strength (interference amplitude) between wave states to identify conditions where wave mechanics suggest potential reversal zones.
The indicator combines two analytical components: velocity-based phase difference calculation that measures whether waves are moving in the same or opposite directions, and normalized interference amplitude that quantifies the degree of wave reinforcement or cancellation. This creates a regime-classification system with visual feedback showing when waves are aligned (constructive state) versus opposed (destructive state).
What Makes This Approach Different
Phase Relationship Measurement
The core analytical method is extracting phase alignment from wave velocities rather than simply measuring EMA separation. The system calculates the first derivative (bar-to-bar change) of each EMA, creating velocity measurements: v₁ = ψ₁ - ψ₁ and v₂ = ψ₂ - ψ₂ . These velocities are combined through normalized correlation: Φ = (v₁ × v₂) / |v|², producing an alignment value ranging from -1 (perfect opposition) to +1 (perfect alignment).
This alignment value is smoothed using EMA and converted to angular degrees: Δφ = (1 - Φ) × 90°, creating a phase difference measurement from 0° to 180°. This quantifies how much the waves are "fighting" each other directionally, independent of their separation distance. Two EMAs can be far apart yet moving in harmony (low phase difference), or close together yet moving in opposition (high phase difference).
This directional correlation approach differs from standard dual-EMA analysis by focusing on velocity alignment rather than positional crossovers.
Interference Amplitude Calculation
The interference formula implements wave superposition principles: I = (|ψ₁ + ψ₂|² - |ψ₁ - ψ₂|²) × Gain, which mathematically simplifies to I = 4 × ψ₁ × ψ₂ × Gain. This measures the product of both waves—when both are positive and large, interference is maximally constructive; when they have opposite signs or differing magnitudes, interference weakens.
The raw interference value is then normalized using adaptive statistical bounds calculated over a rolling window (default 100 bars). The system computes mean (μ) and standard deviation (σ) of raw interference, then applies bounds of μ ± 2σ, and normalizes to a 0-1 range. This creates a scale-invariant measurement that adapts automatically to different instruments and volatility regimes without requiring manual recalibration.
The combination of phase measurement and normalized amplitude creates a two-dimensional state space for classifying market conditions.
Dual-Mode Detection Architecture
The system offers two detection approaches that can be selected based on market conditions:
Interference Mode: Detects pivot conditions when normalized interference amplitude forms local peaks or troughs (current bar is higher/lower than both adjacent bars) AND exceeds the configured threshold. This identifies extremes in wave interaction strength.
Phase Mode: Detects pivot conditions when phase alignment reverses (crosses from positive to negative or vice versa) AND absolute phase difference exceeds the threshold. This identifies directional relationship changes between waves.
Both modes require price structure confirmation (traditional pivot high/low patterns) and minimum bar spacing to prevent over-signaling. This architecture allows traders to match detection sensitivity to market character—interference mode for amplitude-driven markets, phase mode for directional trend shifts.
Multi-Layer Visual System
The visualization approach uses hierarchical layers to display wave state information:
Foundation Layer: The two EMA waves (ψ₁ and ψ₂) plotted directly on the price chart, showing the underlying wave states being analyzed.
Background Layer: Color-coded zones showing regime state—green tint when phase alignment is positive (constructive interference), red tint when phase alignment is negative below -0.3 (destructive interference).
Dynamic Ribbon: A band centered on the wave average with width proportional to |ψ₁ - ψ₂| × (0.5 + interference_norm). This creates an adaptive channel that expands with interference strength and contracts during low-energy states.
Phase Field: Multi-frequency harmonic oscillations generated using three phase accumulators driven by interference amplitude, phase alignment, and accumulated phase rotation. Multiple sine-wave layers create visual texture that becomes erratic during wave conflict conditions and smooth during aligned states.
Particle System: Floating symbols whose density is proportional to interference amplitude, creating a visual intensity indicator.
Each visual component displays non-redundant information about the wave state system.
Core Calculation Methodology
Wave State Generation
Two exponential moving averages are calculated using configurable lengths (default 8 and 21 bars):
- ψ₁ = EMA(close, fastLen) — fast wave component
- ψ₂ = EMA(close, slowLen) — slow wave component
These serve as the base wave functions for all subsequent analysis.
Velocity Extraction
First derivatives are computed as simple bar-to-bar differences:
- psi1_velocity = ψ₁ - ψ₁
- psi2_velocity = ψ₂ - ψ₂
These represent the "motion" of each wave through price-time space.
Phase Alignment Calculation
The velocity product and magnitude are calculated:
- velocity_product = v₁ × v₂
- velocity_magnitude = √(v₁² + v₂²)
Phase alignment is computed as:
- phase_alignment = velocity_product / (velocity_magnitude²)
This is smoothed using EMA of configurable length (default 5) and converted to degrees:
- phase_degrees = (1 - phase_alignment_smooth) × 90
Interference Amplitude Processing
Raw interference is calculated:
- interference_raw = (constructive_amplitude - destructive_amplitude) × gain
- where constructive_amplitude = (ψ₁ + ψ₂)²
- and destructive_amplitude = (ψ₁ - ψ₂)²
Statistical normalization is applied:
- interference_mean = SMA(interference_raw, normalizationLen)
- interference_std = StdDev(interference_raw, normalizationLen)
- upper_bound = mean + 2 × std
- lower_bound = mean - 2 × std
- interference_norm = (interference_raw - lower_bound) / (upper_bound - lower_bound), clamped to
State Classification
Three regime states are identified:
- Constructive: phase_alignment_smooth > 0 (waves moving in same direction)
- Destructive: phase_alignment_smooth < -0.3 (waves moving in opposite directions)
- Neutral: phase_alignment between -0.3 and 0 (weak directional correlation)
Pivot Detection Logic
In Interference Mode:
- High pivots: interference_norm > interference_norm AND interference_norm > interference_norm AND interference_norm > threshold AND price forms pivot high AND spacing requirement met
- Low pivots: interference_norm shows local trough using opposite conditions
In Phase Mode:
- Pivots: phase alignment reverses sign AND absolute phase_degrees > threshold AND price forms pivot high/low AND spacing requirement met
All conditions must be true for a signal to generate.
Dashboard Metrics System
The dashboard displays real-time calculations:
- I (Interference): Normalized amplitude shown as bar gauge and percentage
- Δφ (Phase): Phase difference shown as bar gauge and degrees
- ψ₁ and ψ₂: Current wave values in price units
- Wave Separation: |ψ₁ - ψ₂| with directional indicator
- STATE: Current regime classification (CONSTRUCTIVE/DESTRUCTIVE/NEUTRAL)
- PIVOT Probability: Composite score calculated as interference_norm × (phase_degrees/180) × 100
The interference matrix shows historical heatmap data across four metrics (interference amplitude, phase difference, constructive flags, destructive flags) over the configurable number of bars.
How to Use This Indicator
Initial Configuration
Apply the indicator to your chart with default settings. The fast wave length (default 8) should be adjusted to match short-term price swings for your instrument and timeframe. The slow wave length (default 21) should be 2-4 times the fast length to create adequate wave separation. Enable the dashboard (recommended position: top right) to monitor regime state and metrics in real-time.
Signal Interpretation
High Pivot Marker (▼ Red Triangle): Appears above price bars when a bearish pivot condition is detected. This indicates that price formed a swing high, the selected detection criteria were met (interference peak or phase reversal depending on mode), threshold requirements were satisfied, and the minimum spacing filter passed. This represents a potential reversal zone where wave mechanics suggest downward directional change conditions.
Low Pivot Marker (▲ Green Triangle): Appears below price bars when a bullish pivot condition is detected. This indicates that price formed a swing low and all detection criteria aligned. This represents a potential reversal zone where wave mechanics suggest upward directional change conditions.
Dashboard STATE Reading
The STATE field shows current wave relationship:
- "🟢 CONSTRUCTIVE": Waves are moving in the same direction (phase alignment positive). This suggests trend continuation conditions where waves are reinforcing each other.
- "🔴 DESTRUCTIVE": Waves are moving in opposite directions (phase alignment below -0.3). This suggests reversal-prone conditions where waves are conflicting.
- "🟡 NEUTRAL": Weak directional correlation between waves. This suggests ranging or transitional conditions.
Use STATE for regime awareness rather than specific entry signals.
Interference and Phase Metrics
Monitor the I (Interference) percentage:
- Above 70%: High amplitude state, significant wave interaction
- 40-70%: Moderate amplitude state
- Below 40%: Low amplitude state, weak interaction
Monitor the Δφ (Phase) degrees:
- Above 120°: Significant wave opposition (destructive conditions)
- 60-120°: Transitional phase relationship
- Below 60°: Wave alignment (constructive conditions)
The PIVOT probability metric combines both: high values (>70%) indicate conditions where both amplitude and phase suggest elevated pivot formation potential.
Trading Workflow Example
Step 1 - Regime Check: Observe dashboard STATE to understand current wave relationship. CONSTRUCTIVE states favor trend-following approaches, DESTRUCTIVE states suggest reversal-prone conditions.
Step 2 - Metric Monitoring: Watch I% and Δφ values. Rising interference with high phase difference indicates building wave conflict.
Step 3 - Visual Confirmation: Observe amplitude ribbon width (expanding = active state) and phase field texture (chaotic = conflict conditions, smooth = aligned conditions).
Step 4 - Signal Wait: Wait for confirmed pivot marker (▼ or ▲) rather than anticipating based on metrics alone. The marker indicates all detection criteria have aligned.
Step 5 - Entry Decision: Use pivot markers as potential reversal zones. Combine with other analysis methods such as support/resistance levels, volume confirmation, and higher timeframe bias for entry decisions.
Step 6 - Risk Management: Place stops beyond recent swing structure or ribbon edges. Monitor dashboard STATE—if it flips to CONSTRUCTIVE in trade direction, the reversal may be confirmed; if PIVOT% drops significantly, conditions may be weakening.
Step 7 - Exit Criteria: Consider exits when opposite pivot marker appears, STATE changes unfavorably, or standard technical targets are reached.
Parameter Optimization Guidelines
Fast Wave Length: Adjust to match short-term swing frequency. Shorter values (5-8) for active trading on lower timeframes, longer values (13-20) for swing trading on higher timeframes.
Slow Wave Length: Should maintain 2-4x ratio with fast length. Shorter values create more interference cycles, longer values create more stable baseline.
Phase Detection Length: Smoothing for phase alignment. Lower values (3-5) for responsive detection, higher values (8-12) for stable readings with less sensitivity.
Interference Gain: Amplification multiplier. Lower values (0.5-1.0) for conservative detection, higher values (1.5-2.5) for more sensitive detection.
Normalization Period: Rolling window for statistical bounds. Shorter periods (50-100) adapt quickly to volatility changes, longer periods (150-300) provide more stable normalization.
Interference Threshold: Minimum amplitude to trigger signals. Lower values (0.50-0.60) generate more signals, higher values (0.70-0.85) are more selective.
Phase Threshold: Minimum phase difference in degrees. Lower values (90-110) are more permissive, higher values (140-170) require stronger opposition.
Min Pivot Spacing: Bars between signals. Match to average swing duration on your timeframe—tighter spacing (3-8 bars) for scalping, wider spacing (15-30 bars) for swing trading.
Best Performance Conditions
This approach works better in markets with:
- Clear swing structure where EMA-based wave analysis is meaningful
- Sufficient volatility for wave separation to develop
- Periodic oscillation between trending and ranging states
- Liquid instruments where EMAs reflect true price flow
This approach may be less effective in:
- Extremely choppy conditions with no directional persistence
- Very low volatility environments where wave separation is minimal
- Gap-heavy instruments where price discontinuities disrupt wave continuity
- Parabolic moves where waves cannot keep pace with price velocity
The system adapts by reducing signal frequency in poor conditions—when interference stays below threshold or phase alignment remains neutral, pivot markers will not appear.
Visual Performance Optimization
The phase field and particle systems are computationally intensive. If experiencing chart lag:
- Reduce Phase Field Layers from 5 to 2-3 (significant performance improvement)
- Lower Particle Density from 3 to 1 (reduces label creation overhead)
- Disable Phase Field entirely (removes most intensive calculations)
- Decrease Matrix History Bars to 15-20 (reduces table computation load)
The core wave analysis and pivot detection continue to function with all visual elements disabled.
Important Disclaimers
This indicator is an analytical tool that measures phase relationships and interference amplitude between two exponential moving averages. It identifies conditions where these wave mechanics suggest potential pivot zones based on historical price data analysis. It should not be used as a standalone trading system.
The phase and interference calculations are deterministic mathematical formulas applied to EMA values. These measurements describe current and historical wave relationships but do not predict future price movements. Past wave patterns and pivot markers do not guarantee future market behavior will follow similar patterns.
All trading involves risk. The pivot markers represent analytical conditions where wave mechanics align with specific thresholds, not certainty of directional change. Use appropriate risk management, position sizing, and combine with additional confirmation methods such as support/resistance analysis, volume patterns, and multi-timeframe alignment. No indicator can eliminate false signals or guarantee profitable trades.
The spacing filter and threshold requirements are designed to reduce noise and over-signaling, but market conditions can change rapidly and render any analytical signal invalid. Always use stop losses and never risk capital you cannot afford to lose.
Technical Implementation Notes
All calculations execute on closed bars only—there is no repainting of signals or values. The normalization system requires approximately 100 bars of historical data to establish stable statistical bounds; values in the first 50-100 bars may be unstable as the rolling statistics converge.
Phase field arrays are fixed-size based on the complexity setting. Particle labels are capped at 80 total to prevent excessive memory usage. Dashboard and matrix tables update only on the last bar to minimize computational overhead. Particle generation is throttled to every 2 bars for performance. Phase accumulators use modulo arithmetic (% 2π) to prevent numerical overflow during extended operation.
The indicator has been tested across multiple timeframes (5-minute through daily) and multiple asset classes (forex, stocks, crypto, indices). It functions identically across all instruments due to the adaptive normalization approach.
Swing High/Low (Adaptive)Swing High/Low (Adaptive)
Overview
The Indicator is a pivot point detection tool that identifies swing highs and lows with invalidation tracking. The key differentiator of this indicator is its adaptive invalidation system . Most pivot indicators simply mark every detected pivot without considering whether subsequent price action has made earlier pivots less relevant.
How It Works
The indicator uses Pine Script's native ta.pivotlow() and ta.pivothigh() functions combined with custom logic to detect swing points. The adaptive algorithm evaluates each potential pivot against the following criteria:
For Low Pivots:
Confirms a new low pivot when it's the next expected pivot type in the swing sequence
If consecutive lows occur, only accepts a new low if it's lower than the previous low
Marks the previous low as invalidated when a stronger low is detected
For High Pivots:
Confirms a new high pivot when it's the next expected pivot type in the swing sequence
If consecutive highs occur, only accepts a new high if it's higher than the previous high
Marks the previous high as invalidated when a stronger high is detected
This approach ensures that the indicator maintains clean swing structure and automatically adjusts when price action creates stronger pivots, providing a more realistic view of support and resistance levels.
Settings
Pivot Settings:
Left Bars : Number of bars to the left required for pivot confirmation (default: 5)
Right Bars : Number of bars to the right required for pivot confirmation (default: 5)
Pivot Display Settings:
Toggle visibility for low and high pivots independently
Customizable colors for valid pivot markers
Low pivots marked with upward triangle (▲)
High pivots marked with downward triangle (▼)
Invalid Pivot Settings:
Optional display of invalidated pivots
Separate color customization for invalid low and high pivots
Helps visualize where market structure expectations changed
ZigZag Settings:
Toggle ZigZag line display on/off
Separate colors for upward and downward price swings
Adjustable line width
Use Cases
1. Market Structure Analysis
Identify key swing points to understand the current market structure and trend direction. The adaptive invalidation feature ensures you're always looking at the most relevant pivots.
2. Support and Resistance Identification
Use confirmed swing highs and lows as potential support and resistance levels for entry and exit planning.
3. Trend Confirmation
The ZigZag visualization helps confirm trends by showing the sequence of higher highs and higher lows (uptrend) or lower highs and lower lows (downtrend).
Disclaimer
This indicator is designed as a technical analysis tool and should be used in conjunction with other forms of analysis and proper risk management. Past performance does not guarantee future results, and traders should thoroughly test any strategy before implementing it with real capital.
BrianDayTrades IBThis indicator plots the Initial Balance for the NY Open. This takes the high and low of the first hour between 9:30am and 10:30am New York time.
You can adjust which lines and labels are shown.
The Initial Balance high and low are shown with 25%, 50%, 75% lines; as well as 50% and 100% above and below the IB range for targets to use as take profits.
Algoritmictrader2025 ALGO System profitability works with a minimum profit margin of 75% and the maximum profit margin per share is around 95%. The software costs $150 per month.
Narratives [Pro+]Narratives - Release
Narratives is a comprehensive trading indicator designed to help traders build a structured narrative around price action. Built on the concepts of Inner Circle Trader, GxT Profiling, and HTF Analysis, It integrates advanced Smart Money concepts such as Fair Value Gaps, SMT Divergence, Liquidity Sweeps, Precision Swing Points, and Session Levels — all within one cohesive and adaptive system. Explore the features below:
Fair Value Gaps (FVG)
- Automatically detects and displays bullish and bearish Fair Value Gaps with dynamic invalidation
- Customizable colors, box limits, and extension behavior until price closes through the gap
- Automatically removes invalidated gaps for a cleaner view
Smart Money Technique (SMT) Divergence
- Detects divergence between correlated assets at Previous Day High/Low levels
- Automatic preset detection for major markets including Indices, Forex, Metals, Energy, and Crypto
- Inversion SMT detection when correlated assets sweep levels while the primary asset does not
- Labels display which specific assets are in divergence
Candle Sweep Detection
- Identifies C2 sweep patterns where Candle 2 sweeps Candle 1’s high or low and closes back
- Detects C3 closure patterns
- Dynamic detection removes sweep lines if subsequent price action invalidates the pattern
- Configurable maximum sweeps and optional bias filtering
Precision Swing Point (PSP)
- Detects swing highs and lows that occur with correlated asset divergence
- Two display modes:
- PSP Only – shows confirmed swing points with divergence
- All Precision Candles – highlights every divergence candle
- Supports up to three correlated assets with both manual and automatic preset modes
Previous Day High/Low (PDH/PDL)
- Plots previous day’s high and low across all intraday timeframes
- Dynamic mitigation stops line extension when levels are swept
- Customizable line styles for active and mitigated states
- Status tracking shows Intact or Swept in the information table
Previous Week High/Low (PWH/PWL)
- Plots previous week’s high and low with automatic detection across all intraday timeframes
- Dynamic mitigation stops line extension when levels are swept
- Customizable line styles for active and mitigated states
- Status tracking shows Intact or Swept in the information table
Premium / Discount Zones
- Automatically calculates and displays Premium and Discount ranges based on current structure
- Helps visualize optimal trade zones within equilibrium
- Optional midpoint (Equilibrium) line
- Fully customizable colors and fill styles
Killzone Levels
- Tracks Asia and London session highs and lows with automatic timezone conversion
- Levels extend until mitigated with optional line removal
- Session-based detection resets daily
Timeline Markers
- Four customizable vertical lines mark key trading times
- Default setup includes major market opens in New York timezone
- Optional display on lower timeframes
Quarterly Theory
- Plots vertical lines marking quarterly cycles across multiple timeframes
- 15M charts: 90m quarters
- 30M charts: Daily quarters (6-hour cycles from 6PM)
- 1H charts: Weekly quarters
- 4H charts: Monthly quarters
- Daily charts: Yearly quarters
Information Table
- Displays current bias, timeframe, PDH/PDL status, and timezone
- Customizable position, colors, font size, and individual element toggles
- Includes Ticker and Timeframe for quick reference
Alpha ORB Key LevelsCompanion App for Alpha ORB Trader. Highlights Several key levels used by Traders daily. Key levels that could be used as Support and Resistance Levels. Profit targets or Stop loss targets.
FUTURA ORB.o3 Stategy (Gap + Dynamic Risk)ORB Strategy
Includes Mini & Micro Futures
Dynamic Risk based position sizing
Adjustable RR Levels
Gap Detection
Default settings are for NQ & MNQ.
Adjust as needed for different futures.
Camarilla D/W/M, Alerts, TP/SL, ADX, EMA, Volume# Camarilla Levels Pro - Advanced Trading Indicator
## 📊 **Overview**
A sophisticated Camarilla levels indicator with multiple timeframe support, advanced filtering, and comprehensive trading statistics. Designed for professional traders seeking precise entry/exit points with robust risk management.
## 🎯 **Key Features**
### **Multi-Timeframe Camarilla Levels**
- **D/W/M Timeframes**: Calculate levels from Daily, Weekly, or Monthly data
- **Accurate Calculations**: Uses previous period's High, Low, Close for precise level calculation
- **6 Key Levels**: H3, H4, H5 (Resistance) and L3, L4, L5 (Support)
### **Advanced Entry Signals**
- **4 Trading Scenarios**:
- LONG 1: Price crosses above H4 with stop at H3, target at H5
- LONG 2: Price crosses above L3 with stop at L4, target at H3
- SHORT 1: Price crosses below L4 with stop at L3, target at L5
- SHORT 2: Price crosses below H3 with stop at H4, target at L3
### **Smart Filtering System**
- **ADX Filter**: Confirms trend strength (configurable threshold)
- **Volume Filter**: Ensures significant volume participation
- **EMA Filter**: Aligns with trend direction (50-period default)
- **Flexible Combination**: Use any combination of filters
### **Non-Repainting Signals**
- **Signal Protection**: Once triggered, signals don't disappear or repaint
- **Executed Signal Tracking**: Historical record of all filled positions
- **Visual Confirmation**: Clear distinction between potential and executed trades
### **Comprehensive Alert System**
- **Entry Alerts**: Buy/Sell signals with level information
- **Exit Alerts**: TP/SL notifications with profit/loss data
- **Customizable**: Set alerts for specific conditions only
### **Professional Risk Management**
- **Auto TP/SL**: Automatic take-profit and stop-loss levels
- **Position Tracking**: Monitors active trades with real-time P/L
- **Single Position**: Prevents over-trading with one active position rule
### **Advanced Statistics**
- **Trade Analytics**: Total trades, win rate, profitability
- **Performance Metrics**: Total profit %, average trade performance
- **Real-time Monitoring**: Current position status and filter status
- **Visual Table**: Clean statistics display in corner
## ⚙️ **Customization Options**
### **Display Settings**
- Toggle level labels, signals, TP/SL markers, and statistics
- Adjust visual styles and sizes for clarity
- Right-positioned labels to avoid chart clutter
### **Filter Configuration**
- **ADX**: Length (14) and threshold (20) settings
- **Volume**: Period (20) and multiplier (1.2x) adjustment
- **EMA**: Customizable period (50 default)
### **Timeframe Selection**
- Daily levels for intraday trading
- Weekly levels for swing trading
- Monthly levels for position trading
## 📈 **Trading Strategy**
### **Entry Logic**
1. **Breakout Confirmation**: Price must cross and hold beyond level
2. **Filter Validation**: All active filters must pass conditions
3. **Single Position**: No new entries while position is active
### **Exit Logic**
- **Take Profit**: Automatic at calculated target levels
- **Stop Loss**: Automatic at calculated risk levels
- **Visual Feedback**: Green circles for TP, Red X for SL
### **Risk Management**
- Pre-defined risk/reward ratios based on Camarilla mathematics
- No pyramiding or multiple position risks
- Clear visual tracking of active trade parameters
## 🎨 **Visual Features**
- **Clean Level Display**: Gray circles for unobtrusive level marking
- **Signal Markers**: Tiny triangles for executed entries
- **Exit Markers**: Tiny circles (TP) and X (SL) for clear exits
- **Statistics Table**: Professional performance monitoring
- **Right-Aligned Labels**: Prevents chart congestion
## 🔔 **Alert Conditions**
- **Buy Signals**: LONG 1 or LONG 2 conditions met
- **Sell Signals**: SHORT 1 or SHORT 2 conditions met
- **Exit Alerts**: TP or SL hit for both long and short positions
## 💡 **Professional Use Cases**
- **Day Trading**: Use Daily levels with volume filter
- **Swing Trading**: Use Weekly levels with ADX trend confirmation
- **Position Trading**: Use Monthly levels with EMA trend alignment
- **Strategy Testing**: Comprehensive statistics for backtesting
This indicator provides institutional-grade Camarilla analysis with professional risk management tools, making it suitable for traders of all experience levels seeking systematic trading approaches with clear entry/exit rules.
ATRThis script displays the Average True Range (ATR) value and the ATR as a percentage of the current closing price directly on the main chart as a clean table, with no lines or plots. It allows users to easily monitor both absolute volatility and its relative magnitude, making comparisons across different assets intuitive. The display position is customizable, offering flexibility for personal chart layouts. Ideal for traders seeking quick volatility insights, risk management guidance, or portfolio-wide comparisons.
Auto Session Fib/Open LevelsThis indicator automatically plots fib levels and key opening levels so you don't have to (:
Default levels are set to Longhorn Trades (Peter Kennedy) fib settings and two key openings of my liking.
Sultan_Mstrading Dynamic Levels (Auto-Market Final Version)The Sultan_Mstrading Dynamic Levels indicator automatically generates dynamic support and resistance levels based on the market type or trading symbol (such as Gold, Bitcoin, Indices, Oil, or Forex pairs).
It plots multiple levels above and below the current price with adjustable spacing, and automatically highlights the nearest level to the current price for quick visual reference
Liquidity Levels - PMH/PWH/PDH/HODWhat is it?
An indicator that tracks the main liquidity levels on TradingView, displaying the highs and lows of reference for month, week, previous day and current day.
What's it for?
It identifies price zones where there are many pending orders (liquidity). Traders use it to:
Find support and resistance points
Identify areas where price could bounce or break through
Receive alerts when price touches or breaks these levels
Which levels does it show?
LevelDescriptionColorLinePMH/PMLPrevious month's high and lowPurpleSolidPWH/PWLPrevious week's high and lowBlueSolidPDH/PDLPrevious day's high and lowOrangeSolidHOD/LODCurrent day's high and lowGrayDotted
How to use it?
Apply the indicator to your chart
Customize colors and enable/disable the levels you prefer
Set alerts to receive notifications when price touches or breaks levels
Use the levels to make trading decisions (entry, exit, stop loss)
Perfect for: Scalping, Day Trading, Swing Trading on any asset (forex, crypto, stocks)
BTC OI Delta (binance, okx, bybit, htx, bitget, deribit)📊 BTC Open Interest (OI) Delta (Binance, OKX, Bybit, HTX, Bitget, Deribit)
📝 Overview
This Pine Script indicator tracks and visualizes the changes (delta) in Bitcoin (BTC) open interest (OI) for perpetual futures across multiple major crypto exchanges: Binance, OKX, Bybit, Bitget, HTX, and Deribit. It calculates the total net delta by summing the OI delta from each exchange and displays positive (OI increase) and negative (OI decrease) deltas as separate column charts. Users can choose which exchanges to include or exclude and utilize the spike highlight feature to differentiate delta intensity with color based on user-defined thresholds.
⚡ Key Features
🌐 Multi-exchange OI delta tracking
Fetches and calculates BTC perpetual futures OI delta individually from Binance, OKX, Bybit, Bitget, HTX, and Deribit.
📈 Total net delta calculation
Sums the OI delta from all selected exchanges to represent overall market open interest changes.
🎨 Visualization
Column plots: Displays net OI increases (positive delta) and decreases (negative delta) as separate column charts for intuitive trend analysis.
Spike highlights: Changes in OI delta are color-coded according to user-defined thresholds to make significant moves easily identifiable.
⚙️ User settings
Users can select which exchanges to display, enable/disable spike highlights, and set thresholds for “strong” and “very strong” OI delta changes.
🛠 Input Settings
Show Zero Line (bool, default: true): Show a zero baseline on the chart.
Highlight Spikes (bool, default: true): Enable color highlighting based on OI delta intensity.
Strong Threshold (int, default: 1000): Delta value considered a “strong” change (in BTC).
Very Strong Threshold (int, default: 2000): Delta value considered a “very strong” change (in BTC).
Show Binance (bool, default: true): Include Binance OI delta.
Show OKX (bool, default: true): Include OKX OI delta.
Show Bybit (bool, default: true): Include Bybit OI delta.
Show Bitget (bool, default: true): Include Bitget OI delta.
Show HTX (bool, default: true): Include HTX OI delta.
Show Deribit (bool, default: true): Include Deribit OI delta.
🔢 Calculation Method
🧮 Individual OI request
Uses request.security() to fetch OI data from each exchange.
➕ Delta calculation
Current bar OI minus previous bar OI (oi - oi ).
❌ Handling na values
If OI data is missing (exchange disabled or no data), the delta is treated as 0 to avoid sum errors.
🔗 Total net delta
Sums all selected exchange deltas as totalCombinedDelta.
↔️ Separate net increase/decrease
Positive (netIncreaseCombined) and negative (netDecreaseCombined) parts of total delta are split.
🎨 Color determination
getNetDeltaHighlightedColor function dynamically sets column colors based on highlightSpike and threshold settings.
🎨 Color Scheme
Highlight disabled:
Positive delta: teal shades
Negative delta: red shades
Highlight enabled:
Positive delta (normal): dark teal (#026628)
Positive delta (strong): bright teal (#00ff95)
Positive delta (very strong): yellow (#eeff00)
Negative delta (normal): dark red (#6b0d0d)
Negative delta (strong): bright red (#ff1044)
Negative delta (very strong): pink (#ff00ea)
📊 Usage
💹 Market sentiment analysis
Total net OI delta increase → capital inflow and position building
Total net OI delta decrease → capital outflow and position liquidation
⚖️ Position interpretation
BTC rising + positive OI delta → increasing long positions
BTC falling + negative OI delta → decreasing long positions
BTC falling + positive OI delta → increasing short positions
BTC rising + negative OI delta → decreasing short positions
📈 Trend confirmation
Sustained positive delta → bullish signal
Sustained negative delta → bearish signal
🌪 Volatility prediction
“Strong” or “very strong” spikes may indicate increased price volatility.
🏦 Exchange-specific impact
Enable/disable exchanges to analyze how each exchange’s OI changes affect the overall market.
Pitchfork-Trading Friendsuses the pitchfork to give entry and exit zones, and gives a net overall summary for a beginner trader to enter into.
THAIT Moving Averages Tight within # ATR EMA SMA convergence
THAIT(tight) indicator is a powerful tool for identifying moving average convergence in price action. This indicator plots four user-defined moving averages (EMA or SMA). It highlights moments when the MAs converge within a user specified number of ATRs, adjusted by the 14-period ATR, signaling potential trend shifts or consolidation.
A convergence is flagged when MA1 is the maximum, the spread between MAs is tight, and the price is above MA1, excluding cases where the longest MA (MA4) is the highest. The indicator alerts and visually marks convergence zones with a shaded green background, making it ideal for traders seeking precise entry or exit points.
AIBTC Automated Trading Strategy🧠 AIBTC Automated Trading Strategy
Overview:
The AIBTC Automated Trading Strategy is a fully autonomous system designed for 4-hour timeframes (4H). It dynamically identifies support and resistance levels based on price action, and automatically executes trades when valid breakouts occur above resistance or below support. The system adapts in real time to changing market volatility, ensuring stable performance across different market conditions.
⚙️ Strategy Logic
Dynamic Support & Resistance Detection
The strategy uses an adaptive Pivot Point algorithm that adjusts parameters according to market volatility (ATR) and price deviation (Standard Deviation).
When volatility increases, the algorithm automatically widens its detection range and recalibrates channel width for better accuracy.
All support and resistance levels are detected dynamically — no manual configuration is required.
Trend & Volatility Filtering
The system applies ADX (Average Directional Index) to measure trend strength.
When ADX > 25, only strong levels are considered valid to avoid noise during weak trends.
ATR-based volatility adjustments automatically optimize lookback periods and detection sensitivity.
Breakout Signal Detection
A long position is triggered when price breaks above resistance with a valid breakout margin (default filter: 0.1%).
A short position is triggered when price breaks below support with the same breakout filter applied.
This breakout filter effectively minimizes false breakouts and improves signal quality.
Fully Automated Execution
The system is designed for both backtesting and live simulation.
All buy/sell entries are executed automatically without manual input once conditions are met.
🕒 Recommended Timeframe
4-hour (4H) candles
Suitable for short-to-medium term swing trading, balancing signal precision and trade frequency.
📊 Key Features
✅ Fully Automated — Executes long/short positions on valid breakouts
✅ Adaptive Parameters — Automatically adjusts to changing volatility
✅ Trend-Aware Filtering — Uses ADX to avoid false signals in ranging markets
✅ Multi-Asset Compatibility — Works on BTC, ETH, or any high-liquidity instrument
⚠️ Disclaimer
This strategy is a technical and algorithmic tool, not financial advice.
Always backtest and simulate before using it on live markets.
During periods of extreme volatility, signals may delay or show false breakouts — consider using stop-loss mechanisms accordingly.
Enhanced Level Breakout Strategy ProEnhanced Level Breakout Strategy Pro — Executive Summary
Level-driven breakout engine with single-position governance, three staged targets, and live USD/INR currency awareness. It operationalizes last session levels and swing structure to generate actionable entries only when price confirms and volume validates.
What it does
Surfaces breakouts of previous day and previous week high/low/open/close.
Confirms with optional volume expansion.
Enters one position at a time. Manages SL + TP1/TP2/TP3 and auto-expires after time.
Tracks outcomes and KPIs, including a rolling 30-day dashboard.
Auto-detects INR vs USD charts and handles live USD/INR conversion for capital displays.
How trades are found
Levels
Uses completed prior Daily and Weekly OHLC as reference rails.
Breakout up: close > prior high/open/close.
Breakout down: close < prior low/open/close.
Volume filter (optional)
Current volume > 20-SMA(volume) × threshold.
Swing context (visual only)
Marks most recent 3–4-bar swing high/low to show nearby structure.
Entry logic
Long if any daily/weekly upside breakout confirms on the closed bar and volume filter passes.
Short if any downside breakout confirms with the same gating.
Single-trade mode by default. You can allow new trades before completion if required.
Risk model and exits
Stop-loss
Long: min(low , low )
Short: max(high , high )
Targets
TP1 = 1.5R, TP2 = 2R, TP3 = 3R.
Hitting TP3 implies TP2 and TP1 are counted as achieved.
Time exit
Force close after 50 bars if no TP/SL.
Labels/lines
Entry, SL, TP1/2/3 plotted only while the trade is active.
Capital and currency enablement
Initial Capital and Risk % per trade drive the on-chart capital panel.
Auto-detects chart currency (INR for NSE/BSE tickers, else USD).
Live USD/INR pull with fallback to manual rate.
Shows position size (float units), investment amount, and risk amount in the selected display currency.
On-chart UX
Level rails
Daily levels on the left (custom color).
Weekly levels on the right (custom color).
Swing tags: SH / SL at the latest swing points.
Signal markers: Entry labels on the confirmation bar.
Two tables
Performance (top-right): trades, win rate, average P/L, TP1/2/3 hit counts and accuracies, 30-day counts and average TP profits, SL stats, configuration flags.
Capital (bottom-left): capital, risk/trade, position size, investment, stop distance, R:R set, conversion rate and source.
KPIs tracked
All-time: total trades, win rate, average P/L, TP1/TP2/TP3 accuracy and average profit, SL accuracy.
Last 30 days: number of trades hitting TP1/TP2/TP3 or SL, plus average TP1/TP2/TP3 profit across those hits.
Configuration levers
Currency: Auto / INR / USD, live or manual USD/INR rate.
Components: toggle daily/weekly levels and entry generation.
Swing: lookback 2–10, show/hide.
Risk: initial capital, risk % per trade.
Filters: volume on/off and threshold.
Display: TP/SL lines, labels, transparent tables, one-trade policy, wait-for-completion.
Styling: independent colors and thickness for daily/weekly/swing levels.
Governance and constraints
One active position unless you opt out.
Entries trigger on bar close to avoid repaint.
Level references are always previous completed sessions.
Arrays capped to manage memory; stats keep recent history efficiently.
Operating procedure
Select timeframe. Add to chart.
Set capital and risk %. Confirm currency mode.
Optional: enable volume filter and set threshold.
Monitor left/right level rails. Trade fires on confirmed breaches.
Manage optional discretion using swing markers and stop distance readout.
Review top-right KPIs for continuous improvement. Iterate thresholds as needed.
Tips
Use higher timeframes for fewer but higher-quality signals.
Keep volume filter on during trend days to avoid weak breaks.
For INR equities, prefer AUTO currency with Live conversion enabled for cleaner dashboards.
If you scale manually, keep single-trade mode enabled to avoid overlapping signals.






















