Candlestick analysis
EdgeXplorer – Smart Money StructureEdgeXplorer – Smart Money Structure
A full-spectrum price action tool built to track BOS/CHoCH, swing pivots, order blocks, and institutional liquidity zones — all on one clean chart.
Designed for serious price action traders, this engine gives you a real-time visual breakdown of market structure the way smart money sees it. Whether you’re a scalper, intraday trader, or swing strategist — this tool helps you track momentum shifts, trend flips, and liquidity traps with clarity.
⸻
🧠 What It Does
EdgeXplorer – Smart Money Structure detects and visualizes:
• Break of Structure (BOS) and Change of Character (CHoCH) patterns
• Swing vs. Internal trend structure
• Order blocks with mitigation tracking
• Liquidity points (Equal Highs & Lows)
• Fair Value Gaps (FVGs) and price imbalances
• Premium/Discount zones based on range extremes
All of this is plotted live with customizable visual styles, trend logic, and alert support — no repainting, no guessing.
⸻
⚙️ How It Works (Plain English)
The script uses pivot highs/lows to define structural points on the chart. From there:
• A BOS marks a continuation of the current trend (price breaks the most recent high/low in trend direction).
• A CHoCH flags a potential reversal (price breaks against the current trend direction).
• Structure is tracked internally (short-term pivots) and on a swing basis (larger moves).
• Order blocks are identified at structural breaks using volatility filtering (ATR or Range logic), then highlighted and monitored for mitigation.
• You can also display liquidity pools (Equal Highs/Lows) and FVG zones for imbalance-based setups.
• Optional trend coloring lets you visually follow directional bias.
⸻
📈 Visual Elements Breakdown
Element Meaning
🟢/🔴 BOS or CHoCH Labels Show trend continuation or reversal (internal + swing)
🔷 Zones Order Blocks (bullish/bearish, internal or swing, with mitigation filter)
🔺 HH / HL / LH / LL High/low swing labels based on pivot relationships
🔲 Gray Zones Mitigated order blocks (already tapped)
📊 Background Color Optional trend-based candle coloring
⚪ Fair Value Gaps Imbalance zones between candles
📍 EQH/EQL Equal High / Equal Low liquidity zones
⸻
🔧 Inputs & Settings
🧭 Structure Modes:
• Historical = Plots all historical BOS/CHoCH events
• Present = Keeps the chart clean by only showing the latest active structure
🔁 Internal vs Swing:
• Internal Structure = Short-term pivots (fast reaction, more signals)
• Swing Structure = Higher timeframe trend (stronger confirmation)
🎯 Order Block Filters:
• Choose between ATR-based (volatility-adjusted) or Cumulative Range (fixed width)
• Define how many OB zones to display per structure type
• Enable/disable mitigated OB highlights
💡 Visual Customization:
• Toggle colored vs. monochrome labels
• Turn on/off trend-based candle coloring
• Set custom colors for all bullish/bearish elements
🔍 Liquidity Tools:
• Show Equal High/Low zones with sensitivity threshold
• Display Fair Value Gaps with optional auto-filtering
• Highlight premium/discount zones relative to swing range
⸻
🧠 How to Interpret the Chart
Use BOS/CHoCH for:
• Spotting trend reversals (CHoCH = possible flip)
• Confirming momentum continuation (BOS = trend intact)
Use Order Blocks for:
• Entry areas after a break — especially if price retraces to an unmitigated OB
• Smart money footprints — these zones often align with institutional volume
Use Liquidity Zones for:
• Fade or trap setups — EQH/EQL often precede false breakouts
• Confirming areas where smart money may engineer stops or reactions
Use Premium/Discount Zones to:
• Avoid chasing — enter where price is undervalued (discount) or take profit where it’s overvalued (premium)
⸻
📊 Strategy Tips
• Scalpers: Focus on internal CHoCH + OB zones on 1m–15m
• Swing traders: Watch for swing CHoCH + OB alignment on 1h–4h
• Breakout traders: Use BOS labels with EQH/EQL sweep confirmation
• Confluence traders: Stack internal + swing + OB + FVG for high-probability setups
⸻
📣 Alerts Included:
✅ Internal BOS / CHoCH
✅ Swing BOS / CHoCH
Get notified instantly when structure shifts — no need to babysit the chart.
Black-Scholes + Smart Money StrategyAn AI Test script.
The Black-Scholes option pricing model to extract institutional sentiment and implied volatility signals, empowering Smart Money-style entries.
Consolidation Zones - Working (v5)Updated from v4 to v5
need to write and entry strategy for breakouts
Chiaroscuro Scalp Model A [Signal + Visuals]This indicator is based on the Chiaroscuro Scalp Model A — a precision-based scalping system that identifies high-probability trade setups during the London and New York sessions. It combines daily range expansion, order blocks, fair value gaps, and W/M reversal patterns to generate 20-pip scalping opportunities with clearly plotted stop loss and take profit levels. Ideal for intraday traders seeking structured, rule-based entries.
GG ADRGG ADR Indicator
A compact volatility and price position table displaying key daily metrics:
• ADR% – Average Daily Range Percentage over a custom period
• ATR – Average True Range (daily), measuring market volatility
• LoD Dist – Distance from the current close to the Daily Low, expressed as a % of the ATR
• 8 EMA Distance – % distance from the current price to the 8-day EMA (based on daily timeframe only)
Customize visibility of each metric using the built-in input toggles. Ideal for tracking intraday positioning relative to historical ranges and key dynamic levels.
Based on ADR Indicator by © ArmerSchlucker
Silver Bullet ICT – Sweep + FVG + OB🧠 Silver Bullet ICT – Sweep + FVG + OB (Smart Money Tool)
✅ Works on:
NASDAQ / US100
SPX500 / DAX / FX majors
BTC/USD and other crypto
Any asset with high liquidity and volatility during the New York PM session
📊 Strategy Flow:
“We observe what the 4H candle at 16:00 CET produces – then execute the trade on the 5-minute chart if a sweep is confirmed.”
🎯 Logic Breakdown:
Session Timeframe:
Defined between 16:00–17:00 CET – configurable in settings.
Wait for Sweep:
A liquidity grab above previous high (or below previous low) during session.
Marked with triangle (▲ red for high, ▼ green for low).
Confirmed Signal:
A candle closes against the sweep direction.
Volume (optional) is above 20-SMA.
Triggers BUY (green label) or SELL (red label).
Entry Execution:
After the first 4H candle closes at 16:00 CET, look for a confirmed signal on 5-minute chart.
Rozegranie sygnału tylko, gdy zamknie się świeca potwierdzająca sweep.
Confluence:
OB (Order Blocks) and FVG (Fair Value Gaps) help refine targets and context.
Additional box is drawn to visualize session range.
🕊️ Notes:
Does not repaint sweep confirmations
Built-in alerts for sweep and entry signals
Customizable volume filter, box visuals, and session times
Gradient Candles + MACD + EMAs + WMA + EMA CrossGradient candles that change color based on MACD values selected under custom settings. Also display of the moving averages I use the most. EMA and MACD crosses can be displayed or turned off.
Volume Scanner (Spikes & Drops) [Context]
💡 In many trading strategies, volume is used as a filter — but not all volume matters.
What really counts are moments when volume suddenly spikes or drops — these are the bars where something important might be happening: a large player enters the market, a fakeout occurs, or a trend shift begins.
🎯 What this indicator does:
This script highlights only the most significant volume anomalies, filtering out the noise and focusing on real movement:
🔺 Green background = Volume Spike (sudden increase)
🔻 Red background = Volume Drop (sudden decrease)
📊 Optional contextual filter:
Enable price context to show signals only when volume shifts occur alongside a breakout of recent high/low.
Fully customizable: control the strength of spikes/drops, the lookback period, and the minimum gap between signals.
📦 Great for:
Adding a clean volume filter to price action strategies
Quickly spotting key volume bars in real time
Works on any timeframe and market (crypto, forex, stocks, indices)
Ultimate Poker Bluff Strategy🎲 Ultimate Poker Bluff Strategy (Intraday Trading)
This strategy integrates multiple sophisticated concepts into a dynamic intraday trading system designed to identify and capitalize on short-term market inefficiencies (fake pumps and fakeouts).
The fake pump indicator can be found here:
📌 Core Concepts & Logic
This TradingView (Pine Script) strategy combines:
Poker principles:
Pot Odds: Ensures a positive risk-reward ratio (at least 2:1).
Bluff Detection: Identifies fake pumps or unnatural price movements using arbitrage detection methods relative to a benchmark (e.g., DXY).
Blackjack "Forbidden Strategy" principles:
Dynamically adjusts the position size based on the profitability of recent trades, scaling up slightly after wins and scaling down after losses.
Devil’s Game (Risk Management):
Implements strict capital protection rules by capping the maximum allowed position size, safeguarding your capital against rare and extreme market events.
⚙️ Detailed Explanation of Parameters
🎛 Strategy Inputs
Basis Risk % per Trade (baseRiskPercent): The baseline percentage of capital risked per trade (default is 1%).
TP ATR Multiplier (atrTPMultiplier = 3.0): Defines the profit target as a multiple of the ATR (Average True Range).
SL ATR Multiplier (atrSLMultiplier = 0.5): Defines the stop-loss level as a multiple of ATR. A tight SL ensures high Reward/Risk.
ATR Length (atrLength = 10): Period for ATR calculation to measure volatility.
Max Position per Trade ($) (maxAbsolutePosition): Maximum allowed position size in USD to protect from catastrophic losses (default is $100,000).
Fake Pump Scale (k) (k = 0.25): Sensitivity setting for detecting unusual price discrepancies (fake pumps).
Benchmark Asset (benchmarkTicker = "DXY"): The asset used as a reference benchmark for arbitrage detection.
📈 Indicators & Calculations
Volatility Measurement (ATR)
Uses the ATR indicator to set dynamic take-profit and stop-loss levels:
Take Profit = current price + (ATR × 3)
Stop Loss = current price − (ATR × 0.5)
Fake Pump Detection (Arbitrage Indicator)
Measures deviations from expected asset price based on a constant relation with a benchmark (e.g., DXY).
Generates EMAs (arb_ema_fast and arb_ema_slow) to detect abnormal short-term movements.
Defines upper and lower thresholds (arb_threshold) to identify potential fake pumps or unsustainable price spikes.
Gamma Stability Check
Ensures stable market conditions by confirming that the difference between fast and slow EMAs (arb_ema_fast and arb_ema_slow) remains small. Trades are entered only during stable conditions to avoid high volatility periods.
🔄 Dynamic Blackjack Position Sizing
Adjusts position sizing dynamically based on previous trade results:
Profitable last trade → Increase risk slightly (up to a cap of 3%).
Losing last trade → Reduce risk to 75% of base risk, enhancing capital protection.
🚨 Entry & Exit Logic
Long Entry Conditions:
Fast EMA crosses above Slow EMA (bullish crossover).
Market is stable (gamma_stable condition true).
Previous candle indicated a downward fake pump (isFakePumpDown ).
Short Entry Conditions:
Fast EMA crosses below Slow EMA (bearish crossover).
Market is stable (gamma_stable condition true).
Previous candle indicated an upward fake pump (isFakePumpUp ).
Risk-Reward Validation: Only enters trades when the risk-reward ratio is at least 2:1.
🛡️ Capital Protection (Devil’s Game Principle)
Ensures no single trade exceeds the absolute maximum allowable position size, providing protection against rare, catastrophic events.
🖥️ Visual Plots for Analysis
Triangles: Visual indications of detected fake pumps:
🔻 Red down arrow: Potential fake upward spike.
🔺 Green up arrow: Potential fake downward spike.
🎯 Strategy Goals & Benefits
Identifies high-probability intraday trades using a rigorous probabilistic framework inspired by professional gambling strategies.
Limits exposure effectively, scaling position size strategically to capitalize on profitable sequences and minimize the impact of losing streaks.
Ensures long-term capital growth with disciplined risk and reward management.
This is just an experiment on how to identify fake moves in the market which works especially in lower timeframe. This is not financial advice.
Fair Value Gap Profiles [AlgoAlpha]🟠 OVERVIEW
This script draws and manages Fair Value Gap (FVG) zones by detecting unfilled gaps in price action and then augmenting them with intra-gap volume profiles from a lower timeframe. It is designed to help traders find potential areas where price may return to fill liquidity voids, and to provide extra detail about volume distribution inside each gap to assess strength and likely mitigation. The script automatically tracks each gap, updates its state over time, and can show which gaps are still unfilled or have been mitigated.
🟠 CONCEPTS
A Fair Value Gap is a zone between candles where no trades occurred, often seen as an inefficiency that price later revisits. The script checks each bar to see if a bullish (low above 2-bars-ago high) or bearish (high below 2-bars-ago low) gap has formed, and measures whether the gap’s size exceeds a threshold defined by a volatility-adjusted multiplier of past gap widths (to only detect significantly large gaps). Once a qualified gap is found, it gets recorded and visualized with a box that can stretch forward in time until filled. To add more context, a mini volume profile is built from a lower timeframe’s price and volume data, showing how volume is distributed inside the gap. The lowest-volume subzone is also highlighted using a sliding window scan method to visualise the true gap (area with least trading activity)
🟠 FEATURES
Visual gap boxes that appear automatically when bullish or bearish fair value gaps are detected on the chart.
Color-coded zones showing bullish gaps in one color and bearish gaps in another so you can easily see which side the gap favors.
Volume profile histograms plotted inside each gap using data from a lower timeframe, helping you see where volume concentrated inside the gap area.
Highlight of the lowest-volume subzone within each gap so you can spot areas price may target when filling the gap.
Dynamic extension of the gap boxes across the chart until price comes back and fills them, marking them as mitigated.
Customizable colors and transparency settings for gap boxes, profiles, and low-volume highlights to match your chart style.
Alerts that notify you when a new gap is created or when price fills an existing gap.
🟠 USAGE
This indicator helps you find and track unfilled price gaps that often act as magnets for price to revisit. You can use it to spot areas where liquidity may rest and plan entries or exits around these zones.
The colored gap boxes show you exactly where a fair value gap starts and ends, so you can anticipate potential pullbacks or continuations when price approaches them.
The intra-gap volume profile lets you gauge whether the gap was created on strong or thin participation, which can help judge how likely it is to be filled. The highlighted lowest-volume subzone shows where price might accelerate once inside the gap.
Traders often look for entries when price returns to a gap, aiming for a reaction or reversal in that area. You can also combine the mitigation alerts with your trade management to track when gaps have been closed and adjust your bias accordingly. Overall, the tool gives a clear visual reference for imbalance zones that can help structure trades around supply and demand dynamics.
Pullback Pro Dow Strategy v7 (ADX Filter)
### **Strategy Description (For TradingView)**
#### **Title:** Pullback Pro: Dow Theory & ADX Strategy
---
#### **1. Summary**
This strategy is designed to identify and trade pullbacks within an established trend, based on the core principles of Dow Theory. It uses market structure (pivot highs and lows) to determine the trend direction and an Exponential Moving Average (EMA) to pinpoint pullback entry opportunities.
To enhance trade quality and avoid ranging markets, an ADX (Average Directional Index) filter is integrated to ensure that entries are only taken when the trend has sufficient momentum.
---
#### **2. Core Logic: How It Works**
The strategy's logic is broken down into three main steps:
**Step 1: Trend Determination (Dow Theory)**
* The primary trend is identified by analyzing recent pivot points.
* An **Uptrend** is confirmed when the script detects a pattern of higher highs and higher lows (HH/HL).
* A **Downtrend** is confirmed by a pattern of lower highs and lower lows (LH/LL).
* If neither pattern is present, the strategy considers the market to be in a range and will not seek trades.
**Step 2: Entry Signal (Pullback to EMA)**
* Once a clear trend is established, the strategy waits for a price correction.
* **Long Entry:** In a confirmed uptrend, a long position is initiated when the price pulls back and crosses *under* the specified EMA.
* **Short Entry:** In a confirmed downtrend, a short position is initiated when the price rallies and crosses *over* the EMA.
**Step 3: Confirmation & Risk Management**
* **ADX Filter:** To ensure the trend is strong enough to trade, an entry signal is only validated if the ADX value is above a user-defined threshold (e.g., 25). This helps filter out weak signals during choppy or consolidating markets.
* **Stop Loss:** The initial Stop Loss is automatically and logically placed at the last market structure point:
* For long trades, it's placed at the `lastPivotLow`.
* For short trades, it's placed at the `lastPivotHigh`.
* **Take Profit:** Two Take Profit levels are calculated based on user-defined Risk-to-Reward (R:R) ratios. The strategy allows for partial profit-taking at the first target (TP1), moving the remainder of the position to the second target (TP2).
---
#### **3. Input Settings Explained**
**① Dow Theory Settings**
* **Pivot Lookback Period:** Determines the sensitivity for detecting pivot highs and lows. A smaller number makes it more sensitive to recent price swings; a larger number focuses on more significant, longer-term pivots.
**② Entry Logic (Pullback)**
* **Pullback EMA Length:** Sets the period for the Exponential Moving Average used to identify pullback entries.
**③ Risk & Exit Management**
* **Take Profit 1 R:R:** Sets the Risk-to-Reward ratio for the first take-profit target.
* **Take Profit 1 (%):** The percentage of the position to be closed when TP1 is hit.
* **Take Profit 2 R:R:** Sets the Risk-to-Reward ratio for the final take-profit target.
**④ Filters**
* **Use ADX Trend Filter:** A master switch to enable or disable the ADX filter.
* **ADX Length:** The lookback period for the ADX calculation.
* **ADX Threshold:** The minimum ADX value required to confirm a trade signal. Trades will only be placed if the ADX is above this level.
---
#### **4. Best Practices & Recommendations**
* This is a trend-following system. It is designed to perform best in markets that exhibit clear, sustained trending behavior.
* It may underperform in choppy, sideways, or strongly ranging markets. The ADX filter is designed to help mitigate this, but no filter is perfect.
* **Crucially, you must backtest this strategy thoroughly** on your preferred financial instrument and timeframe before considering any live application.
* Experiment with the `Pivot Lookback Period`, `Pullback EMA Length`, and `ADX Threshold` to optimize performance for a specific market's characteristics.
---
#### **DISCLAIMER**
This script is provided for educational and informational purposes only. It does not constitute financial advice. All trading involves a high level of risk, and past performance is not indicative of future results. You are solely responsible for your own trading decisions. The author assumes no liability for any financial losses you may incur from using this strategy. Always conduct your own research and due diligence.
The Price ModelOpening Range Breakout
Focuses on taking advantage of the New York Opening High volatility
Main goal is to catch simple and straight forward trades with Strict rules
Recommend Targeting 1:1 first, and then setting stop to breakeven after 1:1 is hit
Can use 5 Min ORB 1:1 as a second TP after entering on the prior 1min ORB.
EdgeXplorer - Battle of the BullsEdgeXplorer – Battle of the Bulls
Momentum isn’t a mystery. It’s a battle. And this tool shows you who’s winning.
Battle of the Bulls is a momentum visualizer built for traders who want to track the tug-of-war between bullish and bearish pressure — in real time. It blends raw market energy with simple visuals to help you interpret power shifts, confirm trends, or anticipate reversals.
⸻
🔍 What It Tracks:
At its core, this tool calculates two things on every candle:
• Bull Power = High − EMA
• Bear Power = Low − EMA
These two values are added together to create a net momentum reading — giving you a unique view of pressure on both ends of the candle. The more aggressively price moves above or below the EMA, the stronger the histogram prints in that direction.
This approach allows you to see not just price movement, but the intensity behind it.
⸻
📊 Visual Breakdown:
• Momentum Histogram:
Colored bars show bullish vs. bearish pressure:
• Green bars = bullish net pressure (momentum > 0)
• Red bars = bearish net pressure (momentum < 0)
• Zero Line:
This baseline acts as a key decision zone. Crosses above zero often signal increasing bullish pressure, while crosses below zero can flag incoming bearish strength.
• Raw Momentum Line (optional):
Toggle this ON if you prefer to see a smoother visual of momentum shifts layered over the histogram. It’s helpful for those who like cleaner entries based on slope or curve behavior.
• Background Tinting:
To keep the screen minimal yet informative, a light red or green background tint reflects the prevailing momentum bias without being visually overwhelming.
⸻
🧠 How to Use It:
1. Confirming Trend Strength:
Use the histogram to validate whether a move is driven by real strength or just noise. A strong uptrend with fading green bars? Momentum might be weakening. Choppy range but rising bars? Breakout may be brewing.
2. Spotting Momentum Shifts Early:
The zero line crossover can be used as an early signal for trend reversals or new legs forming. Pair with your existing structure or pattern analysis for high-conviction entries.
3. Filtering False Breakouts:
Sometimes price breaks a level but momentum doesn’t support it — Battle of the Bulls can help you avoid those traps. If the histogram is neutral or fading while price breaks out, caution may be warranted.
4. Scalping Short-Term Swings:
Scalpers can track short bursts of power, riding histogram pulses in one direction. Set the EMA lookback lower (e.g. 5–8) for ultra-sensitive setups, or go higher (20+) for smoother confirmation.
⸻
⚙️ Customizable Inputs:
• Lookback Length – Controls the EMA length used in calculating momentum.
• Lower = more sensitive.
• Higher = more stable.
• Color Inputs – Change bullish and bearish histogram colors to fit your theme.
• Raw Line Option – Toggle for smoother, minimal overlay of momentum data.
⸻
🔔 Built-In Alerts:
We’ve added alert conditions for both:
• Bullish Cross (Momentum > 0)
• Bearish Cross (Momentum < 0)
So whether you want to automate notifications for scalping, swing confirmations, or divergence watching, this script has you covered.
⸻
🔚 Final Notes:
This script is minimal by design — no clutter, no distractions — just the heartbeat of market pressure visualized in a way you can actually trade. Whether you’re using it for confluence, confirmation, or clean pulse reads, Battle of the Bulls gives you insight without overcomplication.
Institutional Sessions Overlay (Asia/London/NY)Institutional Sessions Overlay is a professional TradingView indicator that visually highlights the main trading sessions (Asia, London, and New York) directly on your chart.
Customizable: Easily adjust session start and end times (including minutes) for each market.
Timezone Alignment: Shift session boxes using the timezone offset parameter so sessions match your chart’s timezone exactly.
Clear Visuals: Colored boxes and optional labels display session opens and closes for fast institutional market structure reference.
Toggle Labels: Show or hide session open/close labels with a single click for a clean or detailed look.
Intuitive UI: User-friendly grouped settings for efficient configuration.
This tool is designed for day traders, institutional traders, and anyone who wants to instantly recognize global session timing and ranges for SMC, ICT, and other session-based strategies.
How to use:
Set your chart to your local timezone.
Use the "Session timezone offset" setting if session boxes do not match actual session opens on your chart.
Adjust the hours and minutes for each session as needed.
Enable or disable labels in the “Display” settings group.
Tip: Use the overlay to spot session highs and lows, volatility windows, and institutional liquidity sweeps.
Quarterly Theory Levels - Period BasedOpen, true open, market close for daily weekly, monthly, quarterly, yearly.
Enhanced Neowave Wave 1 Finder with ZigZagThis script is an advanced technical analysis indicator for the TradingView platform, written in Pine Script version 5. Its primary goal is to identify potential Elliott Wave "Wave 1" patterns, enhanced with principles from Neowave theory and a custom ZigZag indicator for more accurate pivot detection. The script is designed to be overlaid on the main price chart.
Core Functionality: Blending ZigZag and Neowave
The indicator's methodology is a two-part process. First, it identifies significant price swings using a robust ZigZag indicator. Then, it analyzes these swings based on a set of rules derived from Neowave and classic technical analysis to validate them as potential Wave 1 patterns.
Part 1: ZigZag Integration
The first major component is a comprehensive ZigZag indicator that forms the foundation for all subsequent analysis.
Pivot Detection: The pivots() function is the engine of the ZigZag. It scans the historical price data for significant high and low points (pivots) over a user-defined Length.
Segment Drawing: Once pivots are identified, the script draws lines connecting them, creating the classic ZigZag pattern on the chart.
Extended Direction & Ratios: This is an enhanced feature. The script doesn't just identify highs and lows; it categorizes them as:
Higher High (HH) or Lower High (LH)
Lower Low (LL) or Higher Low (HL)
This classification is crucial for understanding the market structure. It also calculates the price ratio of the most recent ZigZag leg relative to the previous one, which is used later for pattern validation.
Dynamic Updates: The ZigZag is not static. On each new bar, it can update its most recent pivot point if a new, more extreme price (a higher high or a lower low) is printed before the direction officially changes. This ensures the ZigZag is always reflecting the most current and significant price action.
Part 2: Neowave Wave 1 Finder
With the market structure defined by the ZigZag, the second part of the script applies a rigorous set of rules to identify potential Wave 1 patterns. A Wave 1 is the initial move of a new trend in Elliott Wave theory.
Key Validation Criteria
For a price move between two ZigZag pivots to be considered a valid Wave 1, it must pass a series of checks:
Significance: The move must have a minimum percentage change (Minimum Wave Length) and last for a minimum number of bars, filtering out insignificant noise.
Volume Confirmation: A genuine impulse wave is typically supported by increasing volume. The script checks if the volume during the potential Wave 1 is significantly higher than the recent average (Volume Increase Threshold).
Momentum Alignment: The direction of the wave must be confirmed by momentum indicators.
For a bullish (upward) Wave 1, the Relative Strength Index (RSI) must be in a bullish regime (above 50) and the MACD line must be above its signal line.
For a bearish (downward) Wave 1, the RSI must be below 50 and the MACD line must be below its signal line.
Structural Analysis (Impulse vs. Diagonal): The script attempts to differentiate between two types of Wave 1:
Impulse Wave: A strong, clean, and direct move.
Diagonal Wave: A more complex, overlapping, and often wedge-shaped pattern. This is identified by analyzing the time and price complexity of the move, along with the ZigZag leg ratios.
Wave 2 Retracement Check: A critical Neowave rule is that a valid Wave 1 must be followed by a valid Wave 2 retracement. The script looks at the next ZigZag leg to ensure it doesn't retrace more than 100% of the potential Wave 1. It also uses the ZigZag ratios to confirm the retracement falls within typical Fibonacci levels (e.g., 38.2% to 78.6%).
Display and User Interface
The script provides a rich visual experience to aid the trader in their analysis.
Wave Labels and Boxes: When a valid Wave 1 is detected, it is highlighted with a colored line (green for bullish, red for bearish) and a shaded background box. A label clearly marks it as "Wave 1 IMPULSE" or "Wave 1 DIAGONAL".
Fibonacci Retracement Levels: Upon detection of a Wave 1, the script automatically draws key Fibonacci retracement levels (38.2%, 50%, 61.8%, 78.6%). These levels are potential targets for the end of the subsequent Wave 2, offering potential entry points for a Wave 3 trade.
Information Labels: Additional labels provide at-a-glance confirmation of the conditions, showing whether volume and momentum criteria were met.
Customizable Inputs: Users have extensive control over the indicator's parameters, including the ZigZag length, volume thresholds, RSI levels, and the colors of all visual elements.
Alerts: The indicator can be configured to generate an alert whenever a new bullish or bearish Wave 1 pattern is confirmed, allowing traders to be notified of potential opportunities in real-time.
High Freq Buy The Dips Bull Market [Quant Trading]STRATEGY OVERVIEW
This is a significantly enhanced and optimized version of the original "Buy The Dips in Bull Market" strategy from Coinrule (2020). The strategy has been completely rewritten in Pine Script v6 with substantial improvements in performance, risk management, and functionality. Based on extensive analysis of 2+ years of BTC hourly data, this optimized version delivers 312.6% better returns with a 74.8% win rate compared to the original implementation.
Key Philosophy: The strategy capitalizes on temporary price dips during bull market conditions by entering long positions when RSI indicates oversold conditions while maintaining a bullish market structure, then exiting when price recovers above key moving averages.
HOW IT WORKS
Entry Logic
The strategy enters long positions when ALL of the following conditions are met:
RSI Oversold Condition: RSI drops below the configurable threshold (default: 45)
Bull Market Structure: Long-term MA (150) is below the slow MA (40), indicating overall bullish momentum
Within Date Range: Trade occurs within the specified backtesting period
Exit Logic
Positions are closed when BOTH conditions are satisfied:
Price Recovery: Current price moves above the fast MA (15-period)
MA Alignment: Fast MA crosses above slow MA, confirming trend continuation
Optional Short Trading
When enabled, the strategy can also trade short positions using inverse logic:
Short Entry: RSI overbought (above 55 by default) + bearish market structure
Short Exit: Price decline below fast MA + bearish MA alignment
KEY IMPROVEMENTS OVER ORIGINAL
1. Enhanced Risk Management
ATR-Based Stop Loss/Take Profit: Dynamic risk levels based on market volatility
Configurable Risk-Reward Ratio: Default 2:1 ratio with full customization
Alternative Percentage-Based Risk: Option to use fixed percentage stops instead of ATR
2. Optimized Parameters
RSI Period: Increased to 14 (from original) for more reliable signals
RSI Buy Signal: Optimized to 45 (from 35) reducing false signals
Fast MA: Shortened to 15 periods (from 9) for quicker response
Slow MA: Reduced to 40 periods (from 50) for improved trend detection
Long MA: Reduced to 150 periods (from 200) for better bull market identification
3. Advanced Features
Bi-directional Trading: Optional short selling capability
Comprehensive Visualization: Enhanced plotting with risk level displays
Flexible Date Range: Improved backtesting controls with visual indicators
Modern Pine Script v6: Complete rewrite using latest Pine Script features
DEFAULT PARAMETERS EXPLAINED
RSI Settings
RSI Period: 14 bars - Standard period providing balanced sensitivity
RSI Buy Signal: 45 - Optimized threshold for bull market dip buying
Moving Average Settings
Fast MA Length: 15 - Quick-response average for exit signals
Slow MA Length: 40 - Medium-term trend confirmation
Long MA Length: 150 - Long-term bull market structure identification
Risk Management (ATR-Based)
ATR Period: 14 - Standard volatility measurement period
ATR Stop Loss Multiplier: 2.0 - Conservative stop loss distance
Risk Reward Ratio: 2.0 - Take profit at 2x the risk amount
Alternative Risk Management (Percentage-Based)
Stop Loss: 5% - Fixed percentage stop loss
Take Profit: 10% - Fixed percentage take profit target
Trading Configuration
Initial Capital: $1,000
Position Size: 100% of equity per trade
Commission: 0.1% per trade
Slippage: 3 ticks
STRATEGY PERFORMANCE CHARACTERISTICS
Strengths
High Win Rate: 74.8% successful trades based on optimization analysis
Bull Market Focused: Designed specifically for uptrending market conditions
Volatility Adaptive: ATR-based risk management adjusts to market conditions
False Signal Reduction: Optimized parameters minimize whipsaws
Considerations
Bull Market Dependency: Performance may decline in prolonged bear markets
Trend Following Nature: May experience drawdowns during strong trend reversals
High Frequency: Generates multiple signals requiring active monitoring
RISK WARNINGS
Past performance does not guarantee future results. This strategy is optimized for bull market conditions and performance may vary significantly in different market environments. Always use appropriate position sizing and risk management. Real trading results may differ due to execution costs, slippage, and market conditions.
RECOMMENDED USAGE
Optimal Market Conditions
Bull market or strong uptrending conditions
Medium to high volatility environments
Markets with clear trend structure
Timeframes
Optimized for hourly charts
Can be adapted for other timeframes with parameter adjustment
Asset Classes
Originally optimized for Bitcoin
Suitable for other trending cryptocurrencies and traditional assets
Test parameters on specific assets before live implementation
TECHNICAL REQUIREMENTS
Pine Script Version: v6
Strategy Type: Long/Short (configurable)
Overlay: Yes - plots directly on price chart
Real-time Alerts: Compatible with TradingView alert system
This strategy represents a substantial evolution of the original concept, incorporating modern risk management techniques, optimized parameters based on extensive backtesting, and enhanced functionality while maintaining the core "buy the dips" philosophy that made the original strategy popular.
NY Open Breakout [ATR-5000]# **New York Open Breakout Indicator **
## **📌 Overview**
This **Pine Script** indicator identifies high-probability breakout opportunities at the **New York market open (13:30 UTC)** based on **volatility filters** using **customizable ATR periods and thresholds**.
### **🔹 Key Features**
✅ **Fully Customizable ATR Periods** (2 to **5000** bars)
✅ **Adjustable Thresholds** (0.01% to 5.00%)
✅ **Opening Range (OR) Filter** (0.01% to 5.00%)
✅ **Clean Visuals** – Only highlights the **13:30 UTC candle** when conditions are met
✅ **Real-Time Info Panel** – Displays current ATR & threshold settings
✅ **Automatic Daily Reset** – Fresh signals every trading day
---
## **📊 How It Works**
### **1️⃣ Volatility Check (13:25 UTC)**
- Calculates **two ATR values** (user-defined periods)
- Compares them against **custom % thresholds**
- Only proceeds if **both ATRs exceed** their required volatility levels
### **2️⃣ Opening Range Confirmation (13:30 UTC)**
- Measures the **high-low range** of the 13:30 candle
- Validates if the range meets the **minimum % threshold**
- If all conditions pass → **Highlights the candle** in your chosen color
### **3️⃣ Visual Feedback**
- **🟣 Colored Candle** → Valid breakout signal
- **📊 Info Table** → Shows current ATR settings & thresholds
---
## **⚙️ Customization Options**
| **Setting** | **Default** | **Adjustable Range** |
|---------------------------|------------|----------------------|
| **First ATR Period** | 14 | **2–5000** bars |
| **Second ATR Period** | 161 | **2–5000** bars |
| **First ATR Threshold** | 0.42% | **0.01%–5.00%** |
| **Second ATR Threshold** | 0.40% | **0.01%–5.00%** |
| **OR Range Threshold** | 0.42% | **0.01%–5.00%** |
| **Candle Color** | Purple | **Any color** |
---
## **📈 Best Use Cases**
✔ **Forex (EURUSD, GBPUSD)** – Captures NY session momentum
✔ **Indices (SPX, NASDAQ)** – Works well with opening volatility
✔ **Commodities (Gold, Oil)** – Filters out low-energy days
---
## **🔧 How to Adjust Settings**
1. **Click the gear icon (⚙️)** on your TradingView chart
2. **Modify ATR periods & thresholds** as needed
3. **Change the candle color** for better visibility
---
## **🚀 Why This Indicator?**
- **No repainting** – Signals lock in after candle close
- **No clutter** – Only marks valid 13:30 candles
- **Adaptable** – Works on **any market & timeframe**
- **Fully automated** – No manual adjustments needed
---
### **📥 Apply & Start Trading!**
Simply **load the script** on TradingView and customize it to fit your strategy! 🚀
NY Open Breakout [ATR-5000]# **New York Open Breakout Indicator **
## **📌 Overview**
This **Pine Script** indicator identifies high-probability breakout opportunities at the **New York market open (13:30 UTC)** based on **volatility filters** using **customizable ATR periods and thresholds**.
### **🔹 Key Features**
✅ **Fully Customizable ATR Periods** (2 to **5000** bars)
✅ **Adjustable Thresholds** (0.01% to 5.00%)
✅ **Opening Range (OR) Filter** (0.01% to 5.00%)
✅ **Clean Visuals** – Only highlights the **13:30 UTC candle** when conditions are met
✅ **Real-Time Info Panel** – Displays current ATR & threshold settings
✅ **Automatic Daily Reset** – Fresh signals every trading day
---
## **📊 How It Works**
### **1️⃣ Volatility Check (13:25 UTC)**
- Calculates **two ATR values** (user-defined periods)
- Compares them against **custom % thresholds**
- Only proceeds if **both ATRs exceed** their required volatility levels
### **2️⃣ Opening Range Confirmation (13:30 UTC)**
- Measures the **high-low range** of the 13:30 candle
- Validates if the range meets the **minimum % threshold**
- If all conditions pass → **Highlights the candle** in your chosen color
### **3️⃣ Visual Feedback**
- **🟣 Colored Candle** → Valid breakout signal
- **📊 Info Table** → Shows current ATR settings & thresholds
---
## **⚙️ Customization Options**
| **Setting** | **Default** | **Adjustable Range** |
|---------------------------|------------|----------------------|
| **First ATR Period** | 14 | **2–5000** bars |
| **Second ATR Period** | 161 | **2–5000** bars |
| **First ATR Threshold** | 0.42% | **0.01%–5.00%** |
| **Second ATR Threshold** | 0.40% | **0.01%–5.00%** |
| **OR Range Threshold** | 0.42% | **0.01%–5.00%** |
| **Candle Color** | Purple | **Any color** |
---
## **📈 Best Use Cases**
✔ **Forex (EURUSD, GBPUSD)** – Captures NY session momentum
✔ **Indices (SPX, NASDAQ)** – Works well with opening volatility
✔ **Commodities (Gold, Oil)** – Filters out low-energy days
---
## **🔧 How to Adjust Settings**
1. **Click the gear icon (⚙️)** on your TradingView chart
2. **Modify ATR periods & thresholds** as needed
3. **Change the candle color** for better visibility
---
## **🚀 Why This Indicator?**
- **No repainting** – Signals lock in after candle close
- **No clutter** – Only marks valid 13:30 candles
- **Adaptable** – Works on **any market & timeframe**
- **Fully automated** – No manual adjustments needed
---
### **📥 Apply & Start Trading!**
Simply **load the script** on TradingView and customize it to fit your strategy! 🚀