Cup & Handle Finder [theUltimator5]Cup & Handle Finder automatically scans your chart for Cup and Cup & Handle patterns—both bullish and bearish—and draws the structure when it meets quality rules. By default, the pattern detection is extremely strict, so it is very likely that no patterns will plot. This is intentional to reduce noise.
This indicator uses a unique cup detection algorithm that creates an ideal "cup" pattern algorithmically then checks whether or not the chart pattern fits within the ideal pattern with a margin of error that is user defined.
Think of it as two curves - an upper bound and a lower bound. If the chart stays between the upper and lower bound curves (and some other extra checks), it gets identified as a cup.
Once a cup is detected, it starts looking for a handle, which uses a secondary set of criteria. If all the criteria for the handle are met, then the cup and handle is confirmed, and a green arrow plots at the entry point.
If a handle starts to form and then doesn't confirm, a label is plotted that shows it was a failed cup and handle pattern.
If the handle confirms, a label plots that shows it was a confirmed pattern, plus the green arrow.
By default, cup patterns don't plot. You can toggle on cup patterns (cups that didn't continue into a handle pattern)
Key inputs
Minimum / Maximum Lookback: Controls the cup sizes (in bars) the scanner searches.
Breakout Source (Close vs High/Low): Close = stricter; High/Low = more sensitive.
Contained Bar Rate %: Main quality filter. Higher = fewer, cleaner patterns.
Show toggles: Cups, Cup & Handles, Failed Handles, Confirmation Triangles.
Direction filters: Enable Bullish Cups / Enable Bearish Cups.
Colors: Separate styling for bullish/bearish cups, handles, and confirmed/rejected states.
Alerts
Bullish/Bearish Cup Found
Bullish/Bearish Cup & Handle Detected
Bullish/Bearish Cup & Handle Confirmed
Use as a structure/scan tool and pair with your own confirmation and risk management
Formacje wykresów
Clean EMA VWAP Trend Pullback - SrPyeA clean, confirmation-based trend pullback indicator using EMA and VWAP alignment.
Designed to reduce noise and highlight high-probability continuation setups.
Best used on 1–2 minute charts during high-liquidity sessions.
This indicator is designed as a confirmation tool, not a standalone trading system.
Good For NY Session 9:30am - 11:00am - After Lunch 1:00pm- 3:00pm
OR Optional Alerts
- Sr.Pye
Previous HTF Candle Dashboard by UpendraDisplays selected time frames previous closed candle status.. contact me if you need any other information....
Harmonic & Candle Confluence [Trader-Alex]Overview
This indicator is a comprehensive Price Action system designed to validate trade setups through Candlestick Patterns and Real-Time RSI Divergence.
While it is optimized to work as the perfect companion for my Ultimate Auto Harmonic Pattern indicator, it functions fully as a standalone tool for any trader looking to combine specific market structures with precise entry timing.
Design Philosophy
Harmonics define the "Where": The Auto HP indicator (seen in screenshots) locates the reversal structure.
Candles define the "When": This indicator validates the reversal with specific candlestick patterns and RSI divergence.
Key Features
1. Smart Candle Coloring (Reversal & Continuation)
Aqua (Bullish) / Fuchsia (Bearish): Highlights high-probability reversal patterns (Engulfing, Hammer/Star, Morning/Evening Star) specifically filtered by RSI extremes.
Yellow (Continuation/Indecision): Identifies strong momentum candles (RSI 40-60 break) or neutral Dojis, helping you stay in the trend or wait for clarity.
Note: Includes a 0.01% tolerance logic to adapt to Crypto market fluctuations.
2. Real-Time MTF Divergence Dashboard
A dashboard in the top-right corner monitors RSI Divergence across 4 timeframes (5m, 15m, 1H, 4H) simultaneously.
Status Indicators:
Warning: Divergence structure formed, but RSI hasn't hooked yet (Early sign).
Confirmed: RSI has hooked, validating the divergence (Entry signal).
3. One-Click Theme Switcher
Built-in "Dark Mode" and "Light Mode" switch in settings to instantly adapt colors to your chart background.
How to Use with Harmonic Patterns
1. Wait for the PRZ: Let the Ultimate Auto Harmonic Pattern indicator complete a pattern (e.g., Gartley, Bat, Shark).
2. Watch for Color: Wait for a Fuchsia (Bearish) or Aqua (Bullish) candle to close inside or near the PRZ.
3. Check the Dashboard: Look for a "Confirmed" divergence signal on the current or higher timeframe to increase win rate.
⚠️ Important Note The Harmonic Patterns (Gartley, Crab, Shark, etc.) shown in the screenshots are generated by the "Ultimate Auto Harmonic Pattern ". This script ("Harmonic & Candle Confluence") contains the Candle Coloring and the MTF Table only. It is intended to be used as an auxiliary tool to validate harmonic setups.
--------------------------------------------------------------------------------------------
Harmonic & Candle Confluence (諧波K線共振系統)
簡介
這是一個綜合性的價格行為(Price Action)交易系統,旨在透過 K線型態識別 與 即時 RSI 背離偵測 來驗證交易機會。
雖然此指標特別優化作為 "Ultimate Auto Harmonic Pattern" 的輔助確認工具,但它完全具備獨立運作的能力,適合任何希望結合「關鍵價位」與「精確進場時機」的交易者使用。
設計核心
諧波負責「空間 (Where)」: 由主指標負責尋找蝴蝶、蝙蝠等型態。
本指標負責「時機 (When)」: 利用K線型態與背離,確認反轉已經發生。
核心功能
1. 智慧 K 線染色 (反轉與中繼)
淺藍 (看多) / 洋紅 (看空): 標記高勝率的反轉 K 線組合(如吞噬、錘頭、晨星/暮星)。系統內建 RSI 過濾與容錯機制,過濾無效雜訊。
黃色 (中繼/猶豫): 標記趨勢延續的大實體 K 線(RSI 強勢區)或中性十字線,協助判斷是該加碼還是觀望。
2. 即時多週期背離儀表板 (MTF Dashboard)
圖表右上角表格即時監控 5分、15分、1小時、4小時 的 RSI 背離狀態。
狀態區分:
徵兆 (Warning): 價格創新高/低,但 RSI 尚未反轉(預警訊號)。
確立 (Confirmed): RSI 已勾頭,背離確認生效(進場訊號)。
3. 一鍵主題切換
設定中內建「深夜模式」與「明亮模式」開關,一鍵切換所有配色以適應您的看盤環境。
搭配諧波型態的實戰用法
1. 等待 PRZ: 當主指標 (Ultimate Auto HP) 繪製出諧波型態(如 Gartley, Bat, Shark)。
2. 確認 K 線: 觀察價格是否在 PRZ 內出現 洋紅色 (看空) 或 淺藍色 (看多) 的 K 線訊號。
3. 儀表板共振: 檢查右上角表格,確認是否出現該週期或更大週期的「背離確立」訊號,達成共振即可進場。
⚠️ 重要說明 說明圖中顯示的諧波型態連線(Gartley, Crab 等)來自 "Ultimate Auto Harmonic Pattern "。 本腳本 ("Harmonic & Candle Confluence") 僅包含 K 線染色與背離表格功能。 它是為了輔助確認諧波交易訊號而設計的專用工具。
TAPDA Hourly Open Lines (Candle Body Box)(2)This indicator is designed for traders who follow ICT (Inner Circle Trader) or SMC (Smart Money Concepts) principles, specifically focusing on "TAPDA" hours. It helps visualize key liquidity and session opening levels by drawing horizontal lines based on the candle body (Open and Close) at specific times of the day.
📘 Indicator Description
The TAPDA Hourly Open Lines script acts as an automated "Session Marker." Instead of just marking a single price point, it captures the Candle Body Box—the range between the opening price and the closing price of the first candle of a specific hour.
Key Features:
Automatic Levels: Automatically plots lines for Midnight, 2:00 AM (London Open), 9:00 AM, 9:30 AM (NYSE Open), 2:00 PM (PM Session), and 4:00 PM (Market Close).
Visual Range: It draws two lines (Top and Bottom) for every timeframe, effectively showing you the "body" of that opening candle.
Clean Charts: Uses an array-based system to automatically delete old lines, ensuring your chart doesn't become cluttered with historical data.
Customization: You can toggle specific times on/off, change colors, adjust line thickness, and modify the label text to fit your personal trading style.
🛠 How to Apply the Indicator
Follow these steps to get the script running on your TradingView chart:
1. Copy the Script
Copy the Full Corrected Script provided in the previous message.
2. Open the Pine Editor
At the bottom of your TradingView screen, click on the Pine Editor tab.
If there is existing code there, click Open -> New Blank Indicator and delete everything inside.
3. Paste and Save
Paste the code into the editor.
Click the Save button in the top right. Give it a name like "TAPDA Hourly Open Lines."
4. Add to Chart
Click the Add to Chart button next to the Save button.
The lines should now appear on your price action.
⚠️ Important Usage Notes
To ensure the indicator works correctly, pay attention to these two settings:
A. The Timeframe Requirement
Because the script checks for specific minutes (like 9:30 AM), you must be on a lower timeframe for all lines to show up.
If you are on a 1-Hour chart, the 9:30 AM line will not appear because there is no 9:30 candle.
Recommended Timeframes: 1m, 5m, or 15m.
B. Adjusting the "Manual Time Offset"
The script uses a GMT offset to calculate New York time. If the lines are appearing at the wrong hours:
Open the indicator Settings (gear icon next to the indicator name).
Find Manual Time Offset.
Change this number (e.g., -4, -5, or -7) until the "9:30 AM" label actually aligns with the 9:30 AM candle on your chart.
Note: This usually changes when Daylight Savings Time begins or ends.
C. Max Lines
By default, the script shows the last 10 sets of lines. If you want to see more historical levels, increase the Max Lines to show setting in the inputs.
EMA Crossover Candle Color - 9/21A simple visual trend highlighter for intraday/day trading. This overlay indicator plots a fast 9-period EMA (orange) and a slower 21-period EMA (blue). Candles turn green on the exact bar where the 9 EMA crosses above the 21 EMA (bullish momentum shift), and red when the 9 EMA crosses below the 21 EMA (bearish shift). Otherwise, candles remain default. Great for spotting quick trend changes, momentum entries, or filtering chop on 5-min charts (or any timeframe). Pairs well with VWAP, volume, or price action for confluence.
XAUUSD Prop Based IndicatorThis is a trend-following pullback strategy designed for XAUUSD on the 4H timeframe, with built-in prop firm risk management.
The system combines dual EMA trend filtering with higher timeframe confirmation, ADX strength validation, and volatility filtering to ensure trades are taken only in strong market conditions.
Entries are based on pullbacks to the 34 EMA within established trends, supported by RSI stabilization.
Risk management is the core of this strategy. Each trade uses ATR-based dynamic stop loss with fixed dollar and percentage risk caps. Daily drawdown limits, total drawdown protection, and maximum trades per day are included to prevent account violations.
The exit system uses partial profit-taking at 1.5R and 3R levels, allowing early risk reduction while letting winners run.
Recommended for disciplined traders and prop firm challenges on XAUUSD 4H.
This is a risk-controlled swing trading strategy designed for XAUUSD (Gold) on the 4H timeframe.
Key Features:
- Dual EMA + Higher Timeframe Trend Filter
- RSI Pullback Entries
- ADX + Volatility Filter
- ATR-Based Dynamic Stop Loss
- Fixed Dollar Risk Per Trade
- Prop Firm Style Drawdown Protection
- Daily Trade & Loss Limits
- Partial Profit Taking
Recommended Settings:
Symbol: XAUUSD
Timeframe: 4H
Higher TF: Daily
Risk Disclaimer:
This script is for educational purposes only. Trading involves risk and past performance does not guarantee future results.
Fractal Supply & Demand + Smart AdvisorAutomate your Price Action analysis with the ultimate Multi-Timeframe (MTF) alignment tool.
This indicator is designed for traders who follow Smart Money Concepts (SMC) and Supply & Demand methodologies. Unlike standard indicators that repaint or lag, this script focuses on "Fractal Alignment"—identifying high-probability zones where institutional orders are stacked across multiple timeframes.
Key Features:
💎 God Mode Zones: Automatically highlights 15m/5m zones that overlap perfectly with H1, H4, or Daily zones. These are your highest probability reversal points.
🏦 King Zones: Displays specific "Bank Levels" derived from high-timeframe structural pivots.
🌊 Smart Trend Filter: Built-in 200 EMA and VWAP integration to enforce the "Golden Rule" of trend following (No longs below 200 EMA).
🧠 Smart Advisor Panel: A real-time HUD that analyzes market structure (Strong Bull/Bear) and suggests the best action (Pullback Buy, Premium Sell, or Wait).
⚡ Breaker Blocks: Automatically detects failed Supply/Demand zones and flips them into Breaker blocks for retest entries.
How to Trade:
Trend Continuation: When the panel says "STRONG BULL", wait for price to pull back to the 200 EMA and form a valid Demand zone.
The Sniper Entry: Wait for price to tap a Lime Green "God Mode" Zone. Enter on the first valid reversal candle (Engulfing or Pinbar) inside the zone.
Risk Management: Zones are drawn based on ATR Impulse logic. Place stops just outside the distal line (wick).
Settings:
Fully customizable colors for Supply, Demand, and HTF overlays.
Toggle signals, EMA filters, and dashboard visibility to keep your chart clean.
Order Blocks propres M15 (BOS + FVG proche)Order Blocks propres M15 (BOS + FVG proximity)
This indicator is designed to identify high-quality Order Blocks on the M15 timeframe by combining structural breaks and Fair Value Gap context.
The logic focuses on:
– Break of Structure (BOS) detected via wicks, not candle closes
– Fair Value Gaps based on a 3-candle imbalance model
– Order Block validation only when BOS and nearby FVG align
– Minimum Order Block size filtered using ATR to avoid weak or noisy zones
The goal of this script is to reduce false Order Blocks by filtering out areas that lack structural intent or liquidity displacement.
This tool is intended for discretionary traders using price action, market structure, and liquidity concepts (ICT / SMC-style), not for automated signals.
Best used as a contextual confluence tool for entries, stop placement, and trade management on intraday setups.
Noise Filtererwhere is the money following/reallocating? Filterers out noise from other currencies. for example if USD is dominating, you can remove it and compare the others.
Level 2 Order Flow Oracle# 🔮 Level 2 Order Flow Oracle™
## Overview
The Level 2 Order Flow Oracle is an institutional-grade predictive indicator that analyzes market microstructure, order flow dynamics, and institutional footprints to generate high-probability trading signals. Unlike traditional indicators that only show historical data, this system predicts future price movements with confidence-scored projections and locks predictions to prevent whipsaw signals.
## 🎯 Core Features
### 1. **Advanced Order Flow Analysis**
- **Delta Tracking**: Real-time cumulative buy vs. sell volume
- **Aggressive Order Detection**: Identifies large absorption zones via wick analysis
- **Delta Divergence**: Detects when buying/selling pressure diverges from price action
- **Bidirectional Flow Measurement**: Tracks momentum shifts in real-time
### 2. **Bid/Ask Imbalance Detection**
- **Close Position Analysis**: Proxy for Level 2 bid/ask pressure
- **Imbalance Scoring**: EMA-smoothed pressure indicators
- **Strong Imbalance Alerts**: Triggered on high-volume confirmations
- **Market Depth Simulation**: Replicates order book behavior
### 3. **Volume Profile (VPOC)**
- **Automatic VPOC Calculation**: Finds price levels with highest volume concentration
- **Price Magnetism**: Identifies levels where price gravitates
- **Distance Tracking**: Shows percentage distance from key volume nodes
- **Support/Resistance Zones**: Volume-based S/R levels
### 4. **Institutional Footprint Detection**
- **Whale Detection**: Identifies 3x+ average volume with directional bias
- **Iceberg Order Recognition**: Detects hidden institutional orders
- **Absorption Analysis**: High volume + low price movement = big players
- **Smart Money Divergence**: Distribution/accumulation detection
### 5. **Order Block Tracking**
- **Bullish Order Blocks**: Marks institutional support zones
- **Bearish Order Blocks**: Identifies institutional resistance levels
- **Order Block Tests**: Alerts when price retests these critical levels
- **Visual Markers**: Dotted lines showing active order blocks
### 6. **Prediction Lock Mechanism**
- **Stable Predictions**: Locks signals for 10 bars (configurable) to prevent flip-flopping
- **Confidence-Based**: Only updates on 15%+ confidence improvement
- **Countdown Timer**: Shows bars remaining on current prediction
- **Risk/Reward Filter**: Only displays signals with 2:1+ R:R ratio
### 7. **Multi-Factor Scoring System (0-100%)**
Combines 8 analysis layers with weighted scoring:
- **Trend Analysis (20%)**: Multi-timeframe EMA alignment
- **Order Flow (25%)**: Delta, aggressive orders, cumulative flow
- **Bid/Ask Imbalance (15%)**: Level 2 pressure indicators
- **Institutional Activity (20%)**: Whale detection, iceberg orders
- **Volume Profile (10%)**: VPOC positioning
- **Absorption (10%)**: Order absorption events
- **Pattern Recognition (10%)**: Exhaustion, continuation, reversal patterns
- **Momentum (10%)**: RSI, MACD, Money Flow Index
### 8. **Compact Dashboard**
Minimal screen space with maximum information:
- Signal direction (BULL/BEAR/WAIT)
- Confidence percentage
- Lock countdown timer
- Target & Stop prices
- Risk/Reward ratio
- Delta (order flow balance)
- Bid/Ask imbalance status
- Institutional activity alerts
- Absorption detection
- VPOC distance
- Order block tests
- Volume status
- RSI & MFI values
## 📊 How It Works
### Signal Generation Process:
1. **Data Collection**: Analyzes price, volume, and order flow across 8 dimensions
2. **Scoring**: Each factor contributes to bullish/bearish score (0-100)
3. **Confidence Calculation**: Normalizes scores to probability percentage
4. **Lock Mechanism**: Prediction locks when confidence threshold met
5. **Risk Validation**: Ensures minimum 2:1 Risk/Reward ratio
6. **Signal Display**: Shows entry with confidence % and R:R ratio
### Prediction Lock Logic:
- Predictions lock for specified period (default: 10 bars)
- Only updates if new signal has 15%+ higher confidence
- Prevents signal flip-flopping in choppy conditions
- Countdown shows bars remaining on current prediction
## 🎓 How to Use
### **Best Timeframes:**
- **1-minute**: For scalping with 10-minute predictions
- **5-minute**: For day trading with 50-minute predictions
- **15-minute**: For swing entries with 2.5-hour predictions
### **Entry Rules:**
✅ Wait for 🚀 **STRONG BUY** or ⚠️ **STRONG SELL** signal
✅ Check CONF is 65%+ (higher = better)
✅ Verify R:R ratio is 2:1 or better
✅ Confirm with dashboard metrics:
- DELTA should align with signal direction
- INSTIT showing whale activity in same direction
- VOL should be ↑ or 🔥 (not ❄️ LOW)
- RSI not in extreme overbought/oversold
✅ Enter immediately after signal appears
### **Exit Rules:**
✅ **Take Profit**: At TARGET price shown in dashboard
✅ **Stop Loss**: At STOP price (typically 1x ATR)
✅ **Early Exit**: If opposite signal appears
✅ **Confidence Drop**: If CONF falls below 60% mid-trade
### **Dashboard Interpretation:**
| Metric | Meaning |
|--------|---------|
| **SIGNAL** | Current prediction: 📈 BULL / 📉 BEAR / ⏸ WAIT |
| **CONF** | Prediction confidence (aim for 70%+) |
| **LOCK** | Bars remaining before prediction can change |
| **TARGET** | Take profit price level |
| **STOP** | Stop loss price level |
| **R:R** | Risk/Reward ratio (minimum 2:1) |
| **DELTA** | Order flow balance (+ = buying, - = selling) |
| **IMBALNC** | 🔵 BID = strong buying / 🔴 ASK = strong selling |
| **INSTIT** | 🐋 BUY/SELL = institutional orders detected |
| **ABSORB** | ✓ = Large orders being absorbed |
| **VPOC** | Distance from high-volume price magnet |
| **OB TEST** | Testing bullish/bearish order block |
| **VOL** | 🔥 High / ↑ Above avg / ━ Normal / ↓ Low |
| **RSI** | Momentum (>70 overbought / <30 oversold) |
| **MFI** | Money flow (>70 distribution / <30 accumulation) |
### **Signal Strength Levels:**
**🚀 STRONG BUY** (Green label):
- 5+ confirmations aligned
- High confidence (65%+)
- Volume confirmation
- R:R ratio met
- Best entries!
**⚠️ STRONG SELL** (Red label):
- 5+ confirmations aligned
- High confidence (65%+)
- Volume confirmation
- R:R ratio met
- Best entries!
## ⚙️ Settings
### **Prediction Engine:**
- **Prediction Horizon**: Number of bars to predict (5-20, default: 10)
- **Min Confidence %**: Threshold for signal generation (50-90%, default: 65%)
- **Lock Period**: Bars to lock prediction (5-20, default: 10)
### **Level 2 Analysis:**
- **Order Flow Analysis**: Enable/disable delta tracking
- **Volume Profile (VPOC)**: Enable/disable VPOC calculation
- **Institutional Footprints**: Enable/disable whale detection
- **Order Absorption Detection**: Enable/disable absorption analysis
- **Bid/Ask Imbalance**: Enable/disable imbalance tracking
### **Display:**
- **Dashboard**: Show/hide metrics panel
- **Order Blocks**: Show/hide order block lines
- **Signals**: Show/hide buy/sell labels
- **Font Size**: tiny / small / normal (affects dashboard only)
## 🎯 Best Practices
### **DO:**
✅ Use on liquid markets (stocks, forex, crypto with good volume)
✅ Trade only when confidence >70% for better win rate
✅ Respect the stop loss (typically 1x ATR)
✅ Check multiple dashboard metrics before entry
✅ Use during active market hours (avoid low volume periods)
✅ Wait for prediction to lock before entering
✅ Combine with support/resistance analysis
### **DON'T:**
❌ Trade during sideways/choppy markets
❌ Ignore the risk/reward ratio (never <2:1)
❌ Enter when VOL is ❄️ LOW
❌ Override the stop loss
❌ Trade against strong INSTIT signals
❌ Enter when LOCK is about to expire (wait for new signal)
❌ Use on extremely low timeframes (<1 min) or high timeframes (>1D)
## 📈 Strategy Examples
### **Scalping Strategy (1-min chart):**
1. Wait for 🚀 signal with 70%+ confidence
2. Enter immediately
3. Exit at TARGET or within 10 bars
4. Use tight stops (1x ATR)
### **Day Trading Strategy (5-15 min chart):**
1. Wait for 🚀 signal with 65%+ confidence
2. Confirm with DELTA + INSTIT alignment
3. Enter on confirmation
4. Hold to TARGET or opposite signal
5. Trail stop after 1:1 R:R achieved
### **Swing Trading Strategy (1H-4H chart):**
1. Wait for 🚀 signal with 75%+ confidence
2. Confirm with multiple order block tests
3. Check VPOC alignment
4. Enter with wide stops (2x ATR)
5. Hold to TARGET or opposite signal on higher TF
## 🔔 Alerts Available
Set up these alerts for automated notifications:
- 🚀 **L2 Buy Signal**: Strong bullish prediction locked
- ⚠️ **L2 Sell Signal**: Strong bearish prediction locked
- 🐋 **Whale Buy**: Institutional buying detected
- 🐋 **Whale Sell**: Institutional selling detected
- 📊 **Absorption**: Large order absorption event
- ✅ **Bull OB Test**: Price testing bullish order block
- ❌ **Bear OB Test**: Price testing bearish order block
## ⚠️ Important Notes
### **Limitations:**
- This is a **predictive tool**, not a crystal ball
- No indicator is 100% accurate - always use risk management
- Works best in **trending or volatile markets**
- Less effective during **low volatility** or **sideways consolidation**
- Requires **adequate volume** for institutional detection
### **Risk Management:**
- Never risk more than 1-2% of capital per trade
- Always use the provided stop loss
- Consider using smaller position sizes when confidence <75%
- Avoid trading during news events or low liquidity periods
### **Backtesting Recommended:**
- Test on your specific market/timeframe for 2+ weeks
- Paper trade before using real capital
- Track win rate, average R:R, and drawdowns
- Adjust confidence threshold based on results
## 🏆 Ideal For:
✅ Day traders seeking high-probability setups
✅ Scalpers who need quick, stable predictions
✅ Swing traders looking for institutional confirmation
✅ Order flow traders transitioning from Level 2 platforms
✅ Traders who want multi-confirmation signals
✅ Anyone tired of flip-flopping indicators
## 📚 Technical Details
- **Pine Script Version**: v5
- **Chart Type**: Overlay indicator
- **Max Lines**: 500 (for order blocks and predictions)
- **Max Labels**: 100 (for signals)
- **Calculation Method**: Real-time tick-by-tick analysis
- **Repainting**: NO - predictions lock and do not repaint
## 💡 Pro Tips
1. **Higher confidence = Higher win rate**: Be patient for 75%+ signals
2. **Volume is king**: Never trade on ❄️ LOW volume
3. **Institutional confirmation**: Best trades have 🐋 activity
4. **VPOC as magnet**: Price often returns to VPOC
5. **Order block tests**: Some of the highest probability setups
6. **Lock period matters**: Longer locks = more stable predictions
7. **Dashboard tells the story**: Learn to read all 18 metrics quickly
## 🤝 Support & Updates
This indicator is actively maintained. Future updates may include:
- Additional pattern recognition
- Machine learning prediction layer
- Multi-timeframe analysis
- Custom alert messages
- Heatmap visualization
---
## ⚖️ Disclaimer
This indicator is for educational and informational purposes only. It does not constitute financial advice. Trading involves substantial risk of loss. Past performance does not guarantee future results. Always conduct your own research and consult with a licensed financial advisor before making trading decisions.
---
**Version**: 1.0
**Author**:
**License**: Mozilla Public License 2.0
**Category**: Order Flow Analysis, Predictive Indicators
**Tags**: order flow, level 2, institutional, prediction, volume profile, VPOC, delta, whale detection
---
If you find this indicator valuable, please give it a 👍 boost and leave a comment with your feedback!
```
---
## 📝 **Release Notes (for version updates):**
```
VERSION 1.0 - Initial Release
✨ New Features:
- Advanced order flow delta tracking
- Institutional footprint detection (whale orders, iceberg orders)
- Volume Profile (VPOC) calculation
- Bid/Ask imbalance analysis
- Order block marking and testing
- Prediction lock mechanism (10 bars)
- Multi-factor scoring system (8 layers)
- Compact 18-metric dashboard
- Risk/Reward ratio filtering
- 7 customizable alerts
- Arrow-style prediction line
🎯 Optimized For:
- Stocks, Forex, Crypto, Futures
- Timeframes: 1m to 4H
- Active market hours
- Trending and volatile conditions
gilgamesh v8A simple strategy indicator ,works based on orb and other confluence ,to be traded at newyork open ,the session is from 9:30 - 11: 15
BUY SIGNAL - Green candle + Green arrow
SELL SIGNAL - Red candle + Red arrow
is momentum and impulse based day trading so tight sl and short targets but feel free to mess around or find your own edge or approach ,during development 20 pips sl , 1: 2 target (40 pips tp) looked good on GBPUSD but yet to backtest, and since it is based on Ny open should work good on indices too
NOTE
candle is always green and red above or below range and arrow always show when there is volume and momentum so taking 1 trade at a time ,adding to winner and all is up to you, its
momentum based so choppy market conditions will to rough bad days but depending on utilization the edge and setup is actually profitable
ORB - BO-RT-ENThis script is designed for the Opening Range Breakout (ORB) trader who seeks high-probability entries through price action confirmation. Unlike standard breakout tools that trigger on the first touch, this indicator requires a three-step validation process: Breakout, Retest, and Momentum Confirmation.
High-Level Summary
The script identifies the high and low of the first 5 minutes of the trading session (adjustable via inputs). It then monitors price action to find a confirmed breakout outside this range. To filter out "fakeouts," the script requires the price to return and touch the broken level (the retest) before signaling an entry. If at any point the price closes back inside the opening range before the setup is complete, the trade is invalidated and the sequence resets.
Core Features
Sequential Signal Logic: Tracks the BO → RT → ENTRY process across distinct candles to prevent early entries.
Momentum Confirmation: Entry arrows only trigger after a user-defined candle delay and a close in the trend direction.
Visual Clarity: Plots high-visibility 5-minute range lines that persist until the market close.
Advanced Invalidation: Automatically cancels setups if a "stop-run" or fakeout closes price back within the range.
Scanner Ready: Includes specific alertcondition calls for Breakouts, Retests, and Entries, making it compatible with the TradingView Stock Screener.
How to Use the Script (Steps to Play)
1. Setup the Timeframe
Apply the indicator to a 1-minute chart. While the opening range is calculated based on the first 5 minutes, the entry logic requires the granularity of the 1-minute timeframe to detect precise retests.
2. Define the Range
By default, the script calculates the range from 09:30 to 09:35 EST. If you trade a different market (e.g., London Open or Crypto), adjust the "Opening Range Period" in the settings.
3. Monitor for the Breakout (BO)
Wait for a 1-minute candle to close above the High or below the Low. A label marked "BO" will appear on your chart.
4. The Retest (RT)
After the breakout, look for the price to "wick" or touch the breakout line. A triangle marked "RT" will appear.
Note: If the price closes back inside the range during this phase, the labels will disappear, signaling an invalid setup.
5. Execution (ENTRY)
Once the retest is complete, wait for the "ENTRY" arrow. This triggers when:
The user-defined candle delay (default: 1 bar) has passed since the retest.
The candle closes in the direction of the breakout (Green for Long / Red for Short).
6. Exit Strategy
Following the original strategy parameters, place your Stop Loss at the opposite end of the 5-minute opening range and set your Take Profit at a 2.0 Risk-to-Reward (2R) ratio from your entry price.
Gap Boxes extended_customizableSimple indicator denoting gaps on the chart, along with option to have labels according to the percentage of the gap up or gap down. Enjoy
Candle Close CounterThis indicator counts how many candles have closed above, below, or exactly at a user-defined price level
starting from a specified time. It provides real-time statistics to help traders analyze price behavior
around key levels.
HOW IT WORKS:
The indicator begins counting at your chosen start time and tracks each candle's closing price relative
to your specified price level. It maintains running totals of candles that close above, below, and at
the price level, displaying this information both in a chart label and a statistics table.
PRACTICAL APPLICATIONS:
1. CONSOLIDATION ANALYSIS:
Use this tool to identify and measure consolidation patterns by placing the price level at the midpoint
of a trading range. A balanced count of candles closing above and below the midpoint suggests genuine
consolidation with no directional bias.
2. RANGE MIDPOINT MONITORING:
During consolidation phases, set the price level to the 50% retracement of the range midpoint between
the high and low. Monitor how price interacts with this level over time.
3. SUPPORT/RESISTANCE VALIDATION:
Place the price level at a key support or resistance zone and start counting from a significant market
event (news release, session open, etc.). The distribution of closes helps validate whether the level
is holding or weakening.
4. SESSION ANALYSIS:
Set the start time to the beginning of a trading session (e.g., 9:30 AM ET for regular hours) and place
the level at the opening price or previous day's close.
Uptrick: Price Memory Trend StrategyHere are clear, structured notes explaining the Pine Script code — the simplified "LSTM-like" trend predictor you were given earlier.
Overall Purpose of the Script
The script tries to imitate LSTM memory behavior (long-term memory + selective forgetting/updating) using only Pine Script's basic math and variables — because real LSTM neural networks (with matrices, multiple gates, backpropagation) are not possible in Pine.
It creates a persistent memory line that:
slowly forgets old information,
selectively accepts new price information,
tries to act as a trend-following / regime-detecting centerline.
Then it uses momentum of this memory line + deviation size to decide whether the market is in an uptrend or downtrend.
Key Sections Explained
1. Inputs (tunable parameters)
pinescriptmemoryStrength = input.float(0.14, "Forget Gate strength (like 1-f)", step=0.01, minval=0.01, maxval=0.99)
inputGate = input.float(0.22, "Input Gate strength", step=0.01, minval=0.01, maxval=1.0)
cellDecay = input.float(0.965, "Cell state decay", step=0.001, minval=0.8, maxval=0.999)
lookback = input.int(21, "Lookback for momentum", minval=5)
sensitivity = input.float(1.35, "Trend sensitivity multiplier", step=0.05)
ParameterWhat it controlsTypical effectHigher value means…memoryStrengthHow aggressively old memory is forgottenControls "forget gate" strengthForgets faster, more responsiveinputGateHow much new price is allowed into memoryControls how much price influences cellMemory follows price more closelycellDecayNatural fading of long-term memory per barPrevents memory from living foreverLower = memory fades fasterlookbackPeriod for momentum and deviation calculationSmoothness of trend detectionLonger = smoother, fewer signalssensitivityHow strong momentum must be to flip trendFinal trigger strictnessHigher = fewer but stronger signals
2. Memory Variables (the "LSTM core")
pinescriptvar float cell = na // long-term memory ≈ cell state C
var float hidden = na // short-term state ≈ hidden state h
if bar_index == 0
cell := price
hidden := price
cell → tries to act like LSTM cell state (long memory)
hidden → tries to act like LSTM hidden state (what we actually observe/use)
3. Simplified Gates
pinescriptforget = math.tanh(hidden * memoryStrength)
i_gate = math.tanh(price * inputGate)
candidate = price - hidden
forget — value between -1 and +1, but we treat higher positive = forget more
i_gate — how much new info we want to accept
candidate — the new information we could add (difference from current hidden)
Very crude approximation — real LSTM uses sigmoid + learned weights.
4. Core LSTM-like Update Rule
pinescriptcell := cell * (1 - forget) + candidate * i_gate
cell := cell * cellDecay
hidden := cell * 0.65 + price * 0.35
This is the heart of the "fake LSTM":
Keep (1 – forget) of old cell
Add a portion (i_gate) of the candidate change
Apply slow exponential decay (cellDecay < 1)
Hidden state = mix between long memory and current price
→ base = hidden becomes our smoothed, memory-aware centerline.
5. Trend Detection Logic
pinescriptmom = ta.change(base, lookback) // how much did memory move in last N bars?
dev = math.abs(price - base) // how far is price from memory center?
avgDev = ta.ema(dev, lookback * 2) // smoothed deviation size
trendScore = (mom / avgDev) * sensitivity // normalized momentum × sensitivity
Normalizes momentum by current volatility/deviation
High positive → strong upward memory movement → likely uptrend
High negative → strong downward memory movement → likely downtrend
6. Trend State Machine (non-repainting flip)
pinescriptvar int trend = 0 // 1 = Up, -1 = Down, 0 = Neutral
bullCondition = trendScore > 1.0 and trendScore <= 1.0
bearCondition = trendScore < -1.0 and trendScore >= -1.0
if bullCondition
trend := 1
else if bearCondition
trend := -1
else
trend := nz(trend )
Only changes trend when crossing the threshold from the other side
Prevents flickering / frequent flipping
Persistent until strong opposite signal appears
7. Visualization Summary
Background tint (light green/red)
Thick memory line (changes color with trend)
Dashed ±1.6× deviation bands
Big up/down labels on trend flips
Alert conditions on every new trend direction
Quick Tuning Guide
GoalSuggestionFewer but stronger signals↑ sensitivity (1.6–2.2), ↑ lookback (30–60)More responsive / earlier entries↑ inputGate, ↓ cellDecay, ↓ memoryStrengthSmoother memory line↓ inputGate, ↑ cellDecay (0.98+)Better in choppy markets↑ lookback, ↑ sensitivityBetter in trending markets↓ lookback, moderate sensitivity (~1.2–1.5)
Most Important Takeaway
This is not a real LSTM — it's a hand-crafted, analog-style memory filter inspired by LSTM ideas.
It tries to combine:
slow-adapting memory (like EMA but with forgetting control)
selective update depending on current deviation
momentum-of-memory as trend strength
Many traders find this kind of memory line more "intelligent" than simple moving averages when tuning the forget/input/decay parameters to match the market personality.
London Breakout Optimized PFBest Practices:
Only take trades in trend and above/below VWAP
Avoid trading in low-volume or sideways markets
Use it for intraday 5-min charts (15-min for trend confirmation)
Track trades in a Trading Journal → improves discipline
Entry Rules:
Long (Buy):
Price above EMA21 & VWAP → bullish trend
EMA slope positive → strong trend confirmation
Pullback to entry zone OR breakout above resistance
Volume above 1.3× average → avoids weak moves
Short (Sell):
Price below EMA21 & VWAP → bearish trend
EMA slope negative → strong downtrend
Pullback to entry zone OR breakout below support
Volume above 1.3× average
Exit Rules:
Stop-Loss: ATR-based, dynamic (tight for fewer losses)
Take Profit: Risk × 3 (3:1 R:R)
Automatically handled by the strategy (strategy.exit)
N Option Selling 2
---
## 📌 Script Description
**NIFTY Weekly Option Seller – Regime-Based Risk-Controlled System**
This indicator is designed for **systematic weekly option selling on NIFTY**, using a **rule-based regime and scoring framework** to decide **what to sell, how aggressively to sell, and when to defend or harvest**.
The script does **not generate buy/sell signals**.
Instead, it acts as a **decision and risk-management engine** for option sellers.
---
## 🔹 Core Idea
The market is always in one of three regimes:
1. **Iron Condor (IC)** → Range / mean-reverting market
2. **Put Credit Spread (PCS)** → Bullish trending market
3. **Call Credit Spread (CCS)** → Bearish trending market
This script **scores all three regimes (0–5)** on the current chart timeframe and automatically selects the **dominant regime**.
---
## 🔹 How Scoring Works (High Level)
Each regime score is built using **price structure + volatility + momentum context**:
### PCS (Bullish bias)
* EMA alignment (8 > 13 > 34)
* ADX trend strength
* Price above VWAP
* CPR breakout
* RSI sanity checks (size is reduced in extremes)
* Daily trend confirmation
### CCS (Bearish bias)
* EMA alignment (8 < 13 < 34)
* ADX trend strength
* Price below VWAP
* CPR breakdown
* RSI sanity checks (size is reduced in extremes)
* Daily trend confirmation
### IC (Range bias)
* Low ADX (both intraday & daily)
* Price inside CPR
* Price near VWAP
* Price inside Camarilla H3–L3
* RSI near equilibrium (45–55)
A **cross-penalty system** ensures that strong trends suppress IC scores and vice-versa, preventing conflicting signals.
Scores are **smoothed** to reduce noise and avoid over-trading.
---
## 🔹 Regime Selection Logic
* The regime with the **highest score** is selected.
* If scores tie:
* **Trending markets → PCS / CCS**
* **Non-trending markets → IC**
This ensures **trend takes priority over range** when volatility expands.
---
## 🔹 Strike Selection (ATR-Based)
The script suggests **volatility-adjusted strike distances** using ATR:
* **Iron Condor:** ±1.0 × ATR
* **PCS / CCS:** ±1.25 × ATR
This adapts automatically to changing volatility instead of using fixed point distances.
---
## 🔹 Risk-First Trade Management
The script provides **three actionable alerts only**:
### 🔴 DEFEND
Triggered when:
* Price approaches short strike
* Trend breaks beyond Camarilla levels
* Volatility expansion threatens the position
→ Signals the need to **roll, widen, or convert**
### 🟢 HARVEST
Triggered when:
* Adequate price cushion exists
* Market remains range-bound or stable
→ Signals opportunity to **book profits or roll closer**
### 🔵 REGIME CHANGE
Triggered when:
* Market structure flips decisively
→ Signals need to **switch strategy bias**
A **cooldown system** prevents alert spam.
---
## 🔹 Position Sizing Philosophy
* Scores determine **directional conviction**
* RSI-based **size multiplier** automatically reduces exposure in extreme momentum conditions
* Optional **minimum lot floor** ensures participation without over-risking
* Designed to support **Risk:Reward frameworks (1:2 or 1:3)** through premium-based stop discipline
---
## 🔹 Visual & UX Features
* Background color reflects active regime and conviction
* On-chart panel displays:
* Active strategy
* Scores (IC / PCS / CCS)
* ADX & RSI
* VWAP, CPR, Camarilla levels
* Clean, non-repainting levels (previous day data)
---
## 🔹 Intended Use
* Weekly option selling (IC / PCS / CCS)
* Works best on **30m–1h charts**
* Designed for **rule-based traders**, not discretionary scalpers
* Focused on **capital preservation, consistency, and disciplined adjustments**
---
## ⚠️ Disclaimer
This script is **not financial advice**.
It is a **decision-support and risk-management tool** for experienced option sellers who already understand spreads, adjustments, and margin dynamics.
ICT: Silver Box Reversion DOOLMEDIA🧪 STRATEGY STATEMENT – “ ”
Author: | Published: 2026-01-24 | Version: 1.0
Universe & Instruments
• BTCUSDT, ETHUSDT, SOLUSDT, XAUUSD (spot or perpetual).
• 15 min chart as master; 5 min for fine entry.
Core Logic
• Hybrid mean-reversion + micro-momentum.
• Long only when 15 min RSI(14) ≤ 35 AND 5 min RSI(6) crosses above 45.
• Short only when 15 min RSI ≥ 70 AND 5 min RSI crosses below 55.
• Gold filter: only trade long if 10-period correlation with DXY < –0.25.
Risk & Money Management
• Fixed 0.5 % equity risk per trade (ATR-based stop).
• Max 8 concurrent positions; 25 % capital per symbol.
• Hard portfolio stop: –5 % daily / –10 % weekly equity draw-down → flat all.
Targets & Exits
• TP = 1.5 R (risk-multiple) OR opposing RSI level.
• SL = 1.0 ATR(14) below/above entry candle low/high.
• Weekend flat for crypto; gold positions carry with 0.25 % gap insurance.
Back-test Highlights (2019-01-01 → 2026-01-20)
• Net return +4 215 USDT (+422 %) on 100 USDT start.
• Max equity draw-down 5.02 %.
• 1 433 trades, 92.11 % winners, Profit-Factor 2.59.
• Average winner +0.93 %, average loser –0.44 %.
Assumptions & Disclaimers
• 0.05 % round-trip commission, 0.5 point spread on XAUUSD.
• No re-quote or slippage modeled – live results may underperform.
• Hypothetical performance; not investment advice. Trade at your own risk.
How to Use
• Add strategy to your chart, set “Order size” = 10 % equity, pyramiding = 8.
• Alerts are pre-coded: “LongEntry”, “ShortEntry”, “ExitAll”.
• For auto-trading connect via webhook to API; use sub-account with ≤10 % of total capital.
Changelog
v1.0 – initial release.
Universal Auto CPR + R1-R5 S1-S5 +Smoothed Heikin AshiWhat this script is doing :
✅ Part A: Smoothed Heikin Ashi candles (visual overlay)
It calculates Heikin Ashi OHLC
Then applies EMA smoothing to HA values (shaLen)
Finally plots the HA candles using plotcandle()
👉 Important: This HA overlay is ONLY for view.
It does not change CPR / pivot levels,
✅ Part B : Auto CPR timeframe selection
It automatically decides which higher timeframe to use for CPR based on chart timeframe:
Rule inside autoTF:
Chart timeframe CPR timeframe used
seconds or minutes < 60 Daily (D)
minutes ≥ 60 Weekly (W)
daily Monthly (M)
weekly/monthly Yearly (12M)
✅ Recommendation : Add colors + widths to make CPR readable
Currently all plots are default color.
You can set:
Pivot as yellow
TC/BC as blue
R levels red
S levels green
Midlines faded
(only visual improvement)
Happy trading
Teemo Support and Demand ZoneTeemo Support and Demand Zone
Description:
The Teemo Support and Demand Zone indicator is a powerful tool designed to automatically identify and visualize key market structure levels. By detecting significant swing highs and lows, it draws Supply (resistance) and Demand (support) zones on your chart, helping traders spot potential reversal or continuation areas with precision.
This indicator is part of the Teemo™ Trading Systems suite, featuring a clean, professional visual style and robust logic optimized for real-time trading.
Key Features:
Automated Zone Detection: Automatically plots Supply and Demand zones based on customizable swing lengths.
Dynamic Zone Extension: Active zones extend to the current time, ensuring you always see relevant levels.
BOS (Break of Structure) Tracking: When a zone is broken by price action, it is visually marked as a "Break of Structure," helping you track market momentum changes.
ZigZag Visualization (Optional): Overlay ZigZag lines to clearly see market waves and trends.
Market Structure Labels (Optional): Displays HH (Higher High), LH (Lower High), HL (Higher Low), and LL (Lower Low) labels for detailed price action analysis.
Teemo Color System: Uses a standardized, professional color palette (Teemo Mint for Demand, Teemo Purple for Supply) for a consistent and clean look.
Optimized Performance: Built with Pine Script v6, utilizing efficient array management and drawing limits for smooth performance on all timeframes.
How to Use:
Supply Zones (Purple): These areas represent potential resistance where selling pressure may increase. Look for bearish reversal signals or price rejection when the price enters these zones.
Demand Zones (Mint): These areas represent potential support where buying interest may rise. Look for bullish reversal setups or bounces when the price approaches these zones.
Break of Structure: When a zone is invalidated (broken), it indicates a potential shift in trend or momentum. The indicator will automatically update the zone to reflect this break.
Customization: Adjust the "Swing Length" to tune the sensitivity of zone detection. Increase "Zone Width Factor" to adjust the vertical size of the zones based on ATR.
Settings:
Swing Length: Determines the lookback period for identifying pivot points (default: 10).
Max History Zones: Sets the maximum number of past zones to keep on the chart (default: 20).
Zone Width Factor: Multiplier for ATR to calculate the height of the zones (default: 2.5).
Visual Styles: Toggle ZigZag lines and HH/LL labels on or off according to your preference.
Teemo Support and Demand Zone
설명:
Teemo Support and Demand Zone 지표는 시장의 주요 구조적 레벨을 자동으로 식별하고 시각화해 주는 강력한 도구입니다. 의미 있는 스윙 고점과 저점을 감지하여 차트에 공급(저항) 구간과 수요(지지) 구간을 그려줌으로써, 트레이더가 잠재적인 반전이나 추세 지속 지점을 정확하게 포착할 수 있도록 돕습니다.
이 지표는 Teemo™ Trading Systems 제품군의 일부로, 깔끔하고 전문적인 시각 스타일과 실전 트레이딩에 최적화된 견고한 로직을 자랑합니다.
주요 기능:
자동 구간 감지: 설정 가능한 스윙 길이를 기반으로 공급 및 수요 구간을 자동으로 표시합니다.
동적 구간 확장: 현재 유효한 구간은 현재 시점까지 자동으로 확장되어, 항상 최신의 레벨을 확인할 수 있습니다.
BOS (구조 돌파) 추적: 가격 움직임에 의해 구간이 돌파되면 해당 지점을 "구조 돌파(Break of Structure)"로 시각적으로 표시하여 모멘텀 변화를 추적합니다.
ZigZag 시각화 (옵션): ZigZag 라인을 오버레이하여 시장의 파동과 추세를 명확하게 볼 수 있습니다.
시장 구조 라벨 (옵션): HH(고점 갱신), LH(고점 하락), HL(저점 상승), LL(저점 갱신) 라벨을 표시하여 상세한 프라이스 액션 분석을 지원합니다.
Teemo 컬러 시스템: 표준화된 전문 컬러 팔레트(수요 구간: 티모 민트, 공급 구간: 티모 퍼플)를 사용하여 일관되고 깔끔한 차트 환경을 제공합니다.
최적화된 성능: Pine Script v6로 제작되었으며, 효율적인 배열 관리와 드로잉 한도 설정을 통해 모든 타임프레임에서 부드러운 성능을 보장합니다.
사용 방법:
공급 구간 (보라색): 매도 압력이 증가할 수 있는 잠재적 저항 영역입니다. 가격이 이 구간에 진입할 때 하락 반전 신호나 거부 반응을 주시하세요.
수요 구간 (민트색): 매수세가 유입될 수 있는 잠재적 지지 영역입니다. 가격이 이 구간에 접근할 때 상승 반전 셋업이나 반등을 확인하세요.
구조 돌파 (BOS): 구간이 무효화(돌파)되면 추세나 모멘텀의 변화를 암시합니다. 지표는 이러한 돌파를 반영하여 자동으로 구간 표시를 업데이트합니다.
사용자 설정: "Swing Length"를 조절하여 구간 감지의 민감도를 설정할 수 있습니다. "Zone Width Factor"를 통해 ATR 기반의 구간 높이를 조절하세요.
설정 항목:
Swing Length (스윙 길이): 피벗 포인트를 식별하기 위한 기간을 설정합니다 (기본값: 10).
Max History Zones (히스토리 유지 개수): 차트에 유지할 과거 구간의 최대 개수를 설정합니다 (기본값: 20).
Zone Width Factor (구간 너비 계수): ATR을 기반으로 구간의 높이를 계산하는 배수입니다 (기본값: 2.5).
Visual Styles (시각 효과): ZigZag 라인과 HH/LL 라벨 표시 여부를 켜거나 끌 수 있습니다.
Mayank algo v1.5The concept of having a strategy that is always long or
short may be scary, particularly in today’s market where you don’t know what
is going to happen as far as risk on any one market. But a lot of traders
believe that the concept is still valid, especially for those of traders who
do their own research or their own discretionary trading.
This version uses crossover of moving average and its exponential moving average.
Strategy parameters:
Take Profit % - when it receives the opposite signal
Stop Loss % - when it receives the opposite signal
LuxAlgo Swing Breakout Sequence modified by Burdy TraderSwing Breakout Sequence - Modified with Doji Detection
📊 OVERVIEW
This modified version of LuxAlgo's Swing Breakout Sequence indicator enhances the original pattern detection with an advanced Doji candlestick detection feature. The indicator identifies 5-point swing sequences (A, B, 1, 2, 3) and optionally extends to detect points 4 and 5 for complete breakout patterns.
🔍 KEY FEATURES
Automatic Swing Detection: Identifies bullish and bearish swing sequences based on customizable pivot length
Visual Sequence Mapping: Clear labeling of all sequence points (A, B, 1, 2, 3, 4, 5)
Doji Detection System (NEW): Detects doji candles forming outside the A-B range after point 2 is confirmed
Smart Timeout Logic: Automatically marks failed doji signals with red ✕ if point 3 doesn't confirm within 5 candles
Flexible Display Options: Toggle boxes, lines, paths, and customize colors
Strict/Relaxed Modes: Choose between strict equal H/L requirements or relaxed threshold-based matching for point 5
⚙️ CUSTOMIZATION
Swing Length: Adjust pivot detection sensitivity (default: 5)
Point 4 Beyond Point 2: Enable stricter point 4 placement rules
Show Point 5: Toggle double top/bottom detection
Doji Threshold: Control doji sensitivity (0.1 = 10% body-to-range ratio)
Auto/Manual Coloring: Smart color adaptation or custom scheme
💡 HOW TO USE
Bullish sequences form when price creates lower swing points that stay within defined ranges
Bearish sequences form when price creates higher swing points within ranges
Blue dots indicate potential continuation when doji appears outside A-B range
Red ✕ marks indicate doji signals that failed to confirm within 5 bars
Use confirmed sequences (points 1-4) for potential reversal/continuation setups
📈 TRADING APPLICATIONS
Identify potential reversal zones at point 5 (double top/bottom)
Spot early continuation signals via doji detection after point 2
Track multi-swing price structures for better context
Combine with volume/momentum indicators for confirmation
👍 SUPPORT THIS WORK
If you find this indicator helpful, please:
Like this script to show your appreciation
Follow me for more trading tools and updates
Share your feedback and suggestions in the comments
Your support helps me continue developing free tools for the trading community!
© CREDITS
Original indicator: Swing Breakout Sequence by LuxAlgo
Modified by:
This work is licensed under Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)
creativecommons.org
⚠️ DISCLAIMER
This indicator is for educational and informational purposes only. It is NOT financial advice. Trading involves substantial risk of loss and is not suitable for all investors. Past performance does not guarantee future results. Always conduct your own research and consult with a qualified financial advisor before making any trading decisions. The author and LuxAlgo assume no responsibility for any losses incurred from using this indicator.






















