Advanced Pattern Detection System [50+ Patterns]【Advanced Pattern Detection System - Auto-detects 50+ Chart Patterns】
Introducing the most powerful pattern detection indicator for TradingView!
◆ What is this?
An automated tool that finds and displays over 50 chart patterns on your charts. It detects all the patterns professional traders use - Double Tops, Triangles, Head & Shoulders, and more - all in ONE indicator.
◆ Main Features
・Detects 50+ patterns in real-time
・Shows visual explanation of WHY each pattern was identified
・Automatically calculates theoretical target prices
・Displays confidence levels in % (60-95%)
・Choose panel position from 9 locations
・Works on all timeframes (1min to Monthly)
◆ Detectable Patterns
1. Classic Patterns (Double Top/Bottom, Head & Shoulders, etc.)
2. Triangle Patterns (Ascending, Descending, Symmetrical, Expanding)
3. Continuation Patterns (Flags, Pennants, Wedges, etc.)
4. Harmonic Patterns (Gartley, Butterfly, Bat, etc.)
5. Price Action (Pin Bar, Engulfing, Hammer, etc.)
6. Special Patterns (Cup & Handle, V-formations, etc.)
◆ What Makes It Different
・Not just detection - shows the reasoning behind it
・Auto-draws pivot points and necklines
・Displays target prices with % gain/loss from current price
・Detects multiple patterns simultaneously, sorted by confidence
・Available in both Japanese and English versions
◆ Perfect For
✓ Anyone tired of using multiple indicators
✓ Beginners wanting to learn pattern trading
✓ Traders who don't want to miss entry points
✓ Those looking to improve discretionary trading accuracy
◆ How to Use (Easy 3 Steps)
1. Open TradingView and paste code in Pine Editor
2. Click "Add to Chart"
3. Enable only the patterns you need in settings
◆ Color Meanings
Green → Bullish potential (Buy signal)
Red → Bearish potential (Sell signal)
Yellow → Neutral direction (Wait and see)
◆ Recommended Settings
Scalping: Detection period 20, Sensitivity 0.0025
Day Trading: Detection period 50, Sensitivity 0.002
Swing Trading: Detection period 100, Sensitivity 0.0015
◆ Real Trading Example
"Detects Double Bottom → 85% confidence → Enter on neckline break → Take profit at displayed target price"
This is how you can use it in practice.
◆ Important Notes
・This is an analysis tool, not investment advice
・Always combine with other indicators
・Always set stop losses
・Practice on demo account before live trading
◆ Performance
If running slow, turn OFF unused pattern categories. Reducing max display count to 3 also helps.
◆ Summary
This single tool provides functionality that would normally require multiple paid indicators (worth $100-200 total). It's the ultimate pattern detection system recommended for all traders, from beginners to professionals.
Give it a try if interested! Feel free to ask questions in the comments.
Candlestick analysis
Ai Golden Support and Resistance Adaptive Support & Resistance (ADR-scaled ABCD + Breakout/Retest Zones)
What it does
This indicator detects actionable support/resistance zones from swing structure and breakout events, then keeps each zone active until it’s invalidated by price. It adapts zone sensitivity using Average Daily Range (ADR) so the same rules scale across symbols and vol regimes.
Core Logic (high level)
Swing & ABCD pattern seed
Detects alternating pivots (high–low–high–low or low–high–low–high) using a user-selected lookback.
Validates basic AB–BC–CD proportions: BC must retrace a portion of AB; CD must extend BC within a set range.
From a valid sequence, sets a candidate level (top for bearish, bottom for bullish).
Breakout confirmation
A level becomes confirmed when price closes beyond it (crossover/crossunder).
On confirmation, the script draws a dotted reference line and records how many bars elapsed from the seed pivot to breakout. That count defines the lookback window used for local extremes.
Zone construction
Supply (bearish): builds a box around the most recent local range near the bearish seed;
Demand (bullish): builds a box around the most recent local range near the bullish seed.
Each zone’s height is derived from nearby extremes and the seed swing, so boxes reflect local structure rather than fixed pip widths.
Volatility normalization (ADR%)
ADR is computed from daily candles.
The Risk Profile input (“High/Medium/Low”) scales required move sizes using ADR%, and adjusts pivot sensitivity (fewer/more bars).
Higher risk → more sensitive (smaller ADR %, tighter pivot lookback).
Lower risk → stricter filters (larger ADR %, wider pivot lookback).
Explosive-move filter (streak logic)
Searches the seeded lookback for consecutive same-color candles (config via the risk profile).
Requires the cumulative % move of that streak to exceed an ADR-scaled threshold.
When found, the zone is tagged as originating from an “explosive” move (potentially higher reaction probability).
Zone persistence & invalidation
Zones persist and auto-extend to the right until invalidated.
Invalidation occurs when price closes through a rule-based threshold derived from the seed structure (stored per zone).
Once invalidated, the zone is marked inactive and stops updating.
Inputs & Controls
Risk Profile: High / Medium / Low (sets pivot lookback, streak length, and ADR% thresholds).
Labels & Visuals: Toggle labels and level lines; set line width.
Colors/Boxes: Supply (red), Demand (green); dotted breakout references.
No broker/session settings are required; the script adapts per symbol via ADR.
On-Chart Elements
Dotted breakout lines at confirmed levels (with measured bars-to-breakout).
Supply/Demand boxes that extend until invalidation.
Optional labels for clarity; minimal clutter by default.
How to Use
Context: Use higher-TF context for bias; apply zones on your trading TF.
Confluence: Combine zones with your own triggers (structure breaks, rejection wicks, momentum shifts).
Invalidation: If price closes beyond a zone’s invalidation threshold, treat that zone as inactive.
Sensitivity: If too many zones appear, switch to Medium/Low Risk (stricter ADR% & pivots); if too few, use High Risk.
Notes & Limitations
Logic is rule-based; there is no machine learning.
Daily ADR is computed from D timeframe, so intraday charts inherit daily volatility context.
Results vary by symbol and timeframe; validate settings per market.
This is an indicator (no orders or P/L).
FVG SuiteSupercharge your charts with FVG Suite! Detect Smart Money structures, Fair Value Gaps, and key Multi-Timeframe levels—all in one powerful indicator. Perfect for both intraday and swing traders.
⚡ Highlights:
📈 Smart Money Structure: BoS & CHoCH signals with customizable colors and sensitivity.
💎 Fair Value Gaps: Bullish & Bearish FVGs with filters, max extension, and automatic cleanup.
🕒 Multi-Timeframe Levels: Daily, Weekly, and Monthly Highs & Lows with solid/dashed/dotted lines.
📊 Volume Activity: Real-time 4H & 24H volume analysis in a neat table.
🎨 Fully Customizable: Colors, transparency, and labels for a clean, easy-to-read chart.
Make smarter trade decisions with clear market structure insights and gap detection! 🚀
BTC/USD 3分バイナリー予測【完全修正版v7.2】## BTC/USD 3-Minute Binary Prediction Indicator v7.2 Documentation
### Overview
This indicator predicts whether BTCUSD price will move ±$25 or more within 3 minutes using a 5-layer filter system and pattern recognition. Designed for 30-second timeframe analysis with statistical tracking.
### ⚠️ Critical Warnings
- **This is a prediction tool, NOT a profit guarantee**
- **30-second timeframe ONLY** (Will not function correctly on other timeframes)
- **BTCUSD pair ONLY**
- **Past performance does not guarantee future results**
- **Test thoroughly in demo before live trading**
- **You can lose your entire investment**
### Core Components
#### 1. Five-Layer Filter System
```
Layer 1: Trend Alignment (25 points) - EMA configuration analysis
Layer 2: Indicator Confluence (25 points) - RSI + MACD confirmation
Layer 3: Volume Analysis (20 points) - Abnormal volume detection
Layer 4: Key Levels (15 points) - Support/Resistance proximity
Layer 5: Momentum (15 points) - Price acceleration measurement
```
#### 2. Pattern Recognition Engine
- Double Top/Bottom formations
- Triangle patterns (Symmetrical, Ascending, Descending)
- Channel patterns
- Candlestick patterns (Engulfing, Hammer, Hanging Man)
#### 3. Performance Tracking
- Overall win rate
- Hourly performance
- Daily performance
- Real-time statistics
### Input Parameters
#### Basic Settings
- `Range Width ($)`: Target price movement (Default: $50 = ±$25)
- `Minimum Confidence (%)`: Required confidence for entry (Default: 75%)
- `Max Daily Trades`: Overtrading prevention (Default: 5)
#### Filter Settings
- `Trend Filter`: EMA alignment validation
- `Volume Confirmation`: Volume spike detection
- `S/R Filter`: Key level analysis
- `Momentum Alignment`: Directional strength confirmation
#### Display Settings
- `Minimal Mode`: Reduced visual elements for experienced users
- `Pattern Display`: Visual pattern overlays
- `EMA Lines`: Moving average visualization
### Usage Instructions
#### Setup Process
1. Open BTCUSD chart on TradingView
2. **Set timeframe to 30 seconds** (CRITICAL)
3. Add indicator to chart
4. Adjust parameters if needed
#### Reading Signals
**Decision Panel (Left Side)**
- `HIGH`: Predicts +$25 move in 3 minutes
- `LOW`: Predicts -$25 move in 3 minutes
- `WAIT`: Conditions building, no entry yet
- `STAY`: No trade opportunity
**F-Score Interpretation**
- 65+ points: Direction suggestion (light color)
- 80+ points: Strong signal (solid color)
- Entry ready: Exclamation mark (!)
**Statistics Panel (Right Side)**
- Win rate: Percentage of successful predictions
- 1H Stats: Last hour performance
- Daily Stats: Today's results
#### Entry Execution
1. Wait for `HIGH!` or `LOW!` in decision panel
2. Large arrow appears on chart (▲ for HIGH, ▼ for LOW)
3. Enter at **next candle open**
4. Result evaluated after 3 minutes (6 candles)
### Algorithm Logic
#### Early Entry System (v7.2 Feature)
The indicator uses predictive analysis starting at F-Score 65 instead of waiting for 80:
- Faster signal generation
- Reduced opportunity loss
- Slightly lower win rate trade-off
#### Confidence Calculation
```
Base confidence: 50%
+ Filter score bonus
+ Pattern recognition bonus
+ Volatility adjustment
- Risk factors
= Final confidence (50-95%)
```
### Technical Specifications
#### Multi-Timeframe Analysis
- Primary: 30-second chart
- Secondary: 1-minute data
- Reference: 5-minute trend
#### Data Processing
- Real-time tick analysis
- No repainting (signals are final)
- Historical verification system
### Limitations & Known Issues
1. **Spread/Commission Not Included**: Actual profits will be lower
2. **30-Second Noise**: High false signal risk on ultra-short timeframe
3. **Network Latency**: Execution delays not accounted for
4. **Market Conditions**: Performance varies with volatility
5. **Algorithm Trading**: Cannot compete with HFT systems
### Performance Metrics
- Target Win Rate: 83% (aspirational)
- Evaluation Period: 3 minutes
- Risk per trade: Fixed ±$25
- Maximum daily exposure: 5 trades
### Troubleshooting Guide
**No signals appearing?**
- Check F-Score (needs 65+)
- Verify 30-second timeframe
- Ensure BTCUSD pair selected
**Low win rate?**
- Only trade 75%+ confidence signals
- Respect daily trade limit
- Avoid news events
**Pattern shows "-"?**
- Normal when no clear pattern exists
- Not all market conditions produce patterns
### Code Modification Notes
Written in Pine Script v6. Key considerations for modifications:
- Global variables use `var` for persistence
- Drawing objects require manual management
- Bar counting varies by timeframe
- Pattern detection runs on confirmed bars only
### Risk Disclosure
**IMPORTANT**: Trading cryptocurrencies involves substantial risk of loss and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to trade, you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose.
### Support & Updates
- Report issues in TradingView comments
- Check for updates regularly
- Version 7.2 is current release
- Community feedback welcome
### Legal Notice
This indicator is provided for educational and research purposes only. It should not be construed as investment advice. The authors and distributors of this indicator accept no liability for losses incurred through its use. Always consult with a qualified financial advisor before making investment decisions.
---
*Version: 7.2*
*License: Mozilla Public License 2.0*
*Author: *
*Last Updated: 2024*
**FINAL WARNING: This indicator cannot predict the future. Use at your own risk. Start with demo trading. Never trade with money you cannot afford to lose.**
RSI Price overlay on chartThie Indicator plots buy and sell signals on the chart using the 28 period RSI with overbought areas at 65 and oversold at 35
Block-Based Trend Breakout (YTK/DTK) – v1📌 Overview
Block Trend Breakout (YTK/DTK) is a lightweight, rule-based indicator that detects potential trend reversals or volatility bursts by tracking breakouts of key structural support/resistance levels — derived from block-wise trend patterns.
The logic is simple yet effective: if a trend has been confirmed across multiple blocks (custom-length bar groups), and the price breaks its own structural boundary, a potential reversal or volatility signal is triggered.
🟥 YTK (Uptrend Breakdown) → Price breaks below the lowest low of the most recent block in an uptrend.
🟩 DTK (Downtrend Breakout) → Price breaks above the highest high of the most recent block in a downtrend.
🔍 How It Works
Block Construction: User-defined bar groups (e.g., 6 bars on a 4H chart = 24H blocks).
Trend Validation: At least N consecutive blocks must show higher highs/lows (uptrend) or lower highs/lows (downtrend).
Breakout Test: If the current bar violates the structural limit (MR block high/low), the corresponding signal is plotted.
📉 This logic identifies weakening trends or failed momentum, often preceding reversals or volatility expansions.
⚙️ Features
Adjustable block size and trend confirmation count
Option to use only closed bars (to reduce repaint risk)
Inclusive mode for “<= / >=” logic
Visual signals:
MR Block high/low levels
Trend-colored bars
Arrows for YTK (🔻) and DTK (🔺)
Built-in alerts for automated strategies
🎯 Use Cases
Spotting fakeouts and false breakouts
Identifying trend exhaustion before reversal
Confirming structural support/resistance breaks
Visual tool for discretionary traders
Signal generator for automated systems
💬 Feedback & Contributions
This script is open-source and community-driven. We actively welcome feedback, ideas, improvements, forks, and questions.
📩 Contact for collaboration or discussion:
📧 senbrke@gmail.com
MTF CRT Setup Finder (Raids + BOS linked)//@version=6
indicator("MTF CRT Setup Finder (Raids + BOS linked)", overlay=true, max_lines_count=500)
// === INPUTS ===
lookback = input.int(5, "Swing Lookback Bars", minval=2)
// === Function: Detect swing highs/lows ===
swingHigh(src, lb) => ta.pivothigh(src, lb, lb)
swingLow(src, lb) => ta.pivotlow(src, lb, lb)
// === Function: Detect CRT with memory ===
f_crt(tf) =>
hi = request.security(syminfo.tickerid, tf, high)
lo = request.security(syminfo.tickerid, tf, low)
cl = request.security(syminfo.tickerid, tf, close)
sh = request.security(syminfo.tickerid, tf, swingHigh(high, lookback))
sl = request.security(syminfo.tickerid, tf, swingLow(low, lookback))
raidHigh = not na(sh) and hi > sh and cl < sh
raidLow = not na(sl) and lo < sl and cl > sl
// store last raid state
var bool hadRaidHigh = false
var bool hadRaidLow = false
if raidHigh
hadRaidHigh := true
if raidLow
hadRaidLow := true
bosDown = hadRaidHigh and cl < sl
bosUp = hadRaidLow and cl > sh
// reset after BOS
if bosDown
hadRaidHigh := false
if bosUp
hadRaidLow := false
// === Apply on H1 only first (test) ===
= f_crt("60")
// === Plot ===
plotshape(raidHigh, title="Raid High", style=shape.diamond, color=color.red, size=size.small, text="Raid High")
plotshape(raidLow, title="Raid Low", style=shape.diamond, color=color.green, size=size.small, text="Raid Low")
plotshape(bosDown, title="Bearish CRT", style=shape.triangledown, color=color.red, size=size.large, text="CRT↓")
plotshape(bosUp, title="Bullish CRT", style=shape.triangleup, color=color.green, size=size.large, text="CRT↑")
Volume Heat ZoneVolume Zones Indicator
This Pine Script creates a volume-based zone analysis tool for TradingView.
Function:
Divides the price range (high to low) into 20 levels over a 100-candle lookback period
Measures volume activity at each price level
Draws boxes at levels with above-average volume (1.5x threshold)
Key Settings:
Lookback Period (100): Number of candles analyzed
Price Levels (20): Price range subdivisions
Volume Threshold (1.5): Minimum volume multiplier for zones
Candle Offset (1): Excludes current candle from analysis
Projection Bars (10): Extends boxes 10 bars into the future
How it works:
The indicator identifies price levels where significant trading volume occurred historically, highlighting potential support/resistance zones. Boxes are redrawn on each confirmed candle, showing dynamic volume concentration areas that traders can use for entry/exit decisions.
Smart Multi-Confirm Reversal DetectorHow the Smart Multi-Confirm Reversal Detector Works
The indicator works by analyzing candlestick patterns, trend, and technical confirmations and then scoring each bar to determine the strength of a potential reversal. Here’s the step-by-step logic:
Step 1: Analyze Candlestick Patterns
For each new candle, the indicator checks if any of the selected patterns occur:
Wick Reversal (Long Lower Wick):
Looks for candles with a small body and a long lower shadow.
Indicates buying pressure (potential bullish reversal).
Inverted Wick (Long Upper Wick):
Looks for candles with a small body and a long upper shadow.
Indicates selling pressure (potential bearish reversal).
Body Engulf:
The current candle completely “engulfs” the previous candle.
Signals a strong change in momentum.
Tweezer Patterns:
Two consecutive candles with almost identical highs or lows.
Suggests a potential reversal zone.
3-Bar Pattern:
Three consecutive bullish or bearish candles in a row.
Shows strong momentum continuation or exhaustion, used to confirm reversal.
Each pattern can be turned on/off by the user. If a pattern is detected, it contributes points to the overall signal score.
Step 2: Confirm Trend Direction
The indicator checks EMA trend alignment:
Fast EMA vs Slow EMA:
Fast EMA above Slow EMA → bullish trend.
Fast EMA below Slow EMA → bearish trend.
Optional Higher Timeframe EMA (HTF) Alignment:
Checks if the trend on a higher timeframe matches the current trend.
Adds extra weight to the signal if alignment is true.
This ensures the signal goes in the direction of the prevailing trend, reducing false signals.
Step 3: Check Technical Confirmations
Optional filters increase reliability:
ADX (Average Directional Index):
Measures the strength of the current trend.
Only strong trends contribute to the score.
RSI (Relative Strength Index):
Bullish confirmation: RSI is oversold.
Bearish confirmation: RSI is overbought.
Volume Spike:
Compares current volume to the average volume.
High volume validates the signal’s momentum.
Body Momentum:
Compares current candle’s body size to its average.
Larger than average body indicates stronger momentum.
Each of these confirmations can be enabled/disabled and has a weight in the scoring system.
Step 4: Calculate Score
Each pattern and confirmation has a user-defined weight (0–100).
The indicator sums the active weights that pass conditions and normalizes to 100.
Example:
Wick Reversal detected → 30 points
Trend EMA confirmed → 15 points
ADX confirmed → 10 points
Score = 55/100 → may or may not trigger a signal depending on threshold.
Score Threshold:
Only bars above the user-defined threshold are considered a confirmed signal.
Bars above a lower “label threshold” still show a label, even if not strong enough for alerts.
Step 5: Visualize Signals
Bullish Signals: Green triangle below the candle.
Bearish Signals: Red triangle above the candle.
Labels: Show the type of pattern and the score.
Purpose: Quickly identify potential reversals and assess their strength visually.
Step 6: Optional Alerts
Fixed alert messages can be enabled for confirmed bullish or bearish signals.
Alerts do not recommend trades; they just notify you of pattern confirmations.
Complies with TradingView’s policy for safe alert use.
Step 7: Weighted Decision
The final decision is not binary.
Instead, the indicator combines multiple signals into a score, so stronger signals are more reliable.
This reduces false positives and gives traders a professional, multi-confirmation approach to detect potential reversals.
P/S Ratio vs Median + Bollinger Band- 📝 This indicator highlights potential buying opportunities by analyzing the Price-to-Sales (P/S) ratio in relation to Bollinger Bands and its historical median.
- 🎯 The goal is to provide a visually intuitive signal for value-oriented entries, especially when valuation compression aligns with historical context.
- 💡 Vertical green shading is applied when the P/S ratio drops below the lower Bollinger Band, which is calculated directly from the P/S ratio itself — not price. This condition often signals the ticker may be oversold.
- 🟢 Lighter green appears when the ratio is below the lower band but above the median, suggesting a possible shorter-term entry with slightly more risk.
- 🟢 Darker green appears when the ratio is both below the lower band and below the median, pointing to a potentially stronger, longer-term value entry.
- ⚠️ This logic was tested using 1 and 2-day time frames. It may not be as helpful in longer time frames, as the financial data TradingView pulls in begins in Q4 2017.
- ⚠️ Note: This script relies on financial data availability through TradingView. It may not function properly with certain tickers — especially ETFs, IPOs, or thinly tracked assets — where P/S ratio data is missing or incomplete.
- ⚠️ This indicator will not guarantee successful results. Use in conjunction with other indicators and do your due diligence.
- 🤖 This script was iteratively refined with the help of AI to ensure clean logic, minimalist design, and actionable signal clarity.
- 📢 Idea is based on the script "Historical PE ratio vs median" by @haribotagada
- 💬 Questions, feedback, or suggestions? Drop a comment — I’d love to hear how you’re using it or what you'd like to see changed.
P/B Ratio (Per Share) vs Median + Bollinger Band- 📝 This indicator highlights potential buying opportunities by analyzing the Price-to-Book (P/B) ratio in relation to Bollinger Bands and its historical median.
- 🎯 The goal is to provide a visually intuitive signal for value-oriented entries, especially when valuation compression aligns with historical context.
- 💡 Vertical green shading is applied when the P/B ratio drops below the lower Bollinger Band, which is calculated directly from the P/B ratio itself — not price. This condition often signals the ticker may be oversold.
- 🟢 Lighter green appears when the ratio is below the lower band but above the median, suggesting a possible shorter-term entry with slightly more risk.
- 🟢 Darker green appears when the ratio is both below the lower band and below the median, pointing to a potentially stronger, longer-term value entry.
- ⚠️ This logic was tested using 1 and 2-day time frames. It may not be as helpful in longer time frames, as the financial data TradingView pulls in begins in Q4 2017.
- ⚠️ Note: This script relies on financial data availability through TradingView. It may not function properly with certain tickers — especially ETFs, IPOs, or thinly tracked assets — where P/S ratio data is missing or incomplete.
- ⚠️ This indicator will not guarantee successful results. Use in conjunction with other indicators and do your due diligence.
- 🤖 This script was iteratively refined with the help of AI to ensure clean logic, minimalist design, and actionable signal clarity.
- 📢 Idea is based on the script "Historical PE ratio vs median" by haribotagada
- 💬 Questions, feedback, or suggestions? Drop a comment — I’d love to hear how you’re using it or what you'd like to see changed.
B A N K $ - Breaks & SweepsThis indicator automatically maps on Breaks of Structure & Liquidity Sweeps. It works by calculating pivot points based on how many candles are above/below either side of a pivot.
The user can manually set how many candles need to be above/below either side of a pivot if they would prefer to change it.
The indicator will dynamically adjust the lines as the user changes timeframe to allow for seamless analysis.
Features
Break of Structure lines
Liquidity Sweep lines
Dealing Range - this allows the user to visualise the current dealing range
Explanation
A sweep is determined by whether a candle closes through a pivot point with a body closure or not. If the candle wicks this level but fails to close through it, the line will turn red to indicate a liquidity sweep.
If the following 3 candles go on to close through the break line, this will then update it from a red sweep line to the normal break line again. (sometimes the initial candle that touches a level will not close through it but price will continue to break that level in the next few candles).
Volume Auto FitThis does nothing more than decreasing the size of (absolute) volume candles a bit, in order to allow showing candles with "Absolute" volume and Relative volume inside of the same panel - to save space.
I want to see both because:
Relative volume indicates higher activity than usual
Absolute volume helps with "Volume Price Analysis"
On the 5m you don't need "Volume Auto fit", but can just use usual "Volume" and it will look fine.
For the 1D I've created this one though, since RVol can be gigantic there sometimes.
GMMA ABC Signal Goal (one-liner)
Detect trend-aligned entries using an 18-EMA GMMA stack, then filter out chop with momentum (ATR), trend strength (ADX/RSI), and a tight-range (“box”) mute. Auto-draw SL/TP and fire alerts.
1) Core inputs & idea
Three entry archetypes
Type A (Structure break in a tight bundle): GMMA is narrow → price breaks prior swing with correct bull/bear sequence.
Type B (Trend continuation): Price crosses many EMAs with body and short>mid (bull) or short midAvg, close > longAvg, candle pass.
Short: red body, crossBodyDown ≥ bodyThresh, shortAvg < midAvg, close < longAvg, candle pass.
Anti-chop add-ons:
Require GMMA spread ≥ minSpreadB (trend sufficiently expanded).
ADX/RSI gate (configurable AND/OR and individual enable flags):
ADX ≥ adxMin_B
RSI ≥ rsiMinLong_B (long) or RSI ≤ rsiMaxShort_B (short)
Type C — momentum pop
Needs many crosses (crossUp / crossDown ≥ crossThresh) and a strong candle.
Has its own ATR body threshold: body ≥ ATR * atrMultC (separate from global).
6) Global “Box” (tight-range) mute
Look back boxLookback bars; if (highest−lowest)/close ≤ boxMaxPct, then mute all signals.
Prevents trading inside cramped ranges.
7) Signal priority + confirmation + cooldown
Compute raw A/B/C booleans.
Pick first valid in order A → B → C per side (long/short).
Apply:
Bar confirmation (confirmClose)
Cooldown (no new signal within cooldownBars after last)
Global box mute
Record bar index to enforce cooldown.
8) SL/TP logic (simple R-based scaffolding)
SL: previous swing extreme within structLookback (long uses prevLow, short uses prevHigh).
Risk R: distance from entry close to SL (min-tick protected).
TPs: TP1/TP2/TP3 = close ± R × (tp1R, tp2R, tp3R) depending on side.
On a new signal, draw lines for SL/TP1/TP2/TP3; keep them for keepBars then auto-delete.
9) Visuals & alerts
Plot labels for raw Type A/B/C (so you can see which bucket fired).
Entry label on the chosen signal with SL/TP prices.
Alerts: "ABC LONG/SHORT Entry" with ticker & timeframe placeholders.
10) Info panel (top-right)
Shows spread%, box%, ADX, RSI on the last/confirmed bar for quick situational awareness.
11) How to tune (quick heuristics)
Too many signals? Increase minSpreadB, adxMin_B, bodyThresh, or enable confirmClose and a small cooldownBars.
Missing breakouts? Lower atrMultC (Type C) or crossThresh; relax minSpreadB.
Choppy pairs/timeframes? Raise boxMaxPct sensitivity (smaller value mutes more), or raise atrMult (global) to demand fatter candles.
Cleaner trends only? Turn on strictSeq for Type A; raise minSpreadB and adxMin_B.
12) Mental model (TL;DR)
A = “Tight coil + fresh structure break”
B = “Established trend, strong continuation” (spread + ADX/RSI keep you out of chop)
C = “Momentum burst through many EMAs” (independent ATR gate)
Then add box mute, close confirmation, cooldown, and auto SL/TP scaffolding.
Third Eye ORB Pro (0915-0930 IST, no-plot)Third Eye ORB Pro (Opening Range Breakout + Range Mode)
This indicator is designed specifically for Indian stocks and indices (NIFTY, BANKNIFTY, FINNIFTY, MIDCAP, etc.) to track the Opening Range (09:15–09:30 IST) and generate actionable intraday trade signals. It combines two key modes — Range Mode (mean reversion inside the opening range) and Breakout Mode (momentum trading beyond the range).
1. Opening Range Framework (09:15–09:30 IST)
The indicator automatically plots the Opening Range High (ORH) and Opening Range Low (ORL) after the first 15 minutes of market open.
The area between ORH and ORL acts as the intraday battlefield where most price action occurs (historically ~70–80% of the day is spent inside this zone).
A shaded box and horizontal lines mark this range, serving as a visual reference for support and resistance throughout the day.
2. Range Mode (Mean Reversion Inside OR)
When price trades inside the Opening Range, the indicator looks for edge rejections to capture range-bound trades.
Range BUY (RB): Triggered near ORL when a bullish rejection candle forms (strong body + long lower wick).
Range SELL (RS): Triggered near ORH when a bearish rejection candle forms (strong body + long upper wick).
Optional filters (toggleable in settings):
RSI Filter: Only allow range buys if RSI is oversold (≤45) and range sells if RSI is overbought (≥55).
VWAP Filter: Only allow range trades if price is not too far from VWAP (distance ≤ X% of OR size).
Labels show suggested Stop Loss (just outside the OR band) and Target (midline/VWAP).
Cooldown logic prevents consecutive whipsaw signals.
3. Breakout Mode (Directional Moves Beyond OR)
When price closes strongly outside the ORH/ORL with momentum, the indicator confirms a breakout/breakdown trade.
Buffers are applied to avoid false breakouts:
ATR Buffer: Price must extend at least ATR × multiplier beyond the range edge.
% Buffer: Price must extend at least a percentage of OR size (default 10%).
Confirmation Filters:
Candle must have a strong body (≥60% of total bar range).
Optional “two closes” rule: price must close outside the range for 2 consecutive candles.
BUY BO: Trigger when price closes above ORH + buffer with momentum.
SELL BD: Trigger when price closes below ORL – buffer with momentum.
Labels and alerts are plotted for quick action.
4. Practical Usage
Works best on 5-minute charts for intraday trading.
Designed to help traders capture both:
Range-bound moves during the day (mean reversion plays).
Strong directional breakouts when institutions push price beyond the opening range.
Particularly effective on expiry days, trending sessions, and major news days when breakouts are more likely.
On sideways days, Range Mode provides reliable scalp opportunities at the OR edges.
5. Features
Auto-plots Opening Range High, Low, Midline.
Box + line visuals (no repainting).
Buy/Sell labels for both Range Mode and Breakout Mode.
Customizable buffers (ATR, % of range) to suit volatility.
Alerts for all signals (breakouts and range plays).
Built with risk management in mind (suggested SL and TP shown on chart).
High Minus LowThis indicator is a simple yet powerful tool for technical analysis. It measures the range of each candlestick by calculating the difference between its high and low, providing a direct visualization of market volatility.
Key Features:
Volatility at a Glance: The plot's height in the separate panel directly corresponds to the candle's trading range, allowing you to easily spot periods of high or low volatility.
Customizable Color: Easily change the line color to match your chart's theme and personal preferences.
Actionable Insights: Use this indicator to confirm periods of market consolidation before a breakout or to gauge the strength of a trend based on the expansion of candle ranges.
New Highs - MarkerDescription:
This indicator highlights every bar that sets a new high or matches the previous high.
New Highs (ATH or Lookback Highs) are marked with a green triangle above the candle.
Equal Highs (ties) are marked with an orange triangle above the candle.
You can choose between All-Time Highs (lookback = 0) or rolling lookback highs over a user-defined number of bars.
Alerts are included for both new highs and equal highs.
Use this tool to quickly spot breakouts or double-top style patterns as they form.
P/E Ratio vs Median + Bollinger Band- 📝 This indicator highlights potential buying opportunities by analyzing the Price-to-Earnings (P/E) ratio in relation to Bollinger Bands and its historical median.
- 🎯 The goal is to provide a visually intuitive signal for value-oriented entries, especially when valuation compression aligns with historical context.
- 💡 Vertical green shading is applied when the P/E ratio drops below the lower Bollinger Band, which is calculated directly from the P/E ratio itself — not price. This condition often signals the ticker may be oversold.
- 🟢 Lighter green appears when the ratio is below the lower band but above the median, suggesting a possible shorter-term entry with slightly more risk.
- 🟢 Darker green appears when the ratio is both below the lower band and below the median, pointing to a potentially stronger, longer-term value entry.
- ⚠️ This logic was tested using 1 and 2-day time frames. It may not be as helpful in longer time frames, as the financial data TradingView pulls in begins in Q4 2017.
- ⚠️ Note: This script relies on financial data availability through TradingView. It may not function properly with certain tickers — especially ETFs, IPOs, or thinly tracked assets — where P/S ratio data is missing or incomplete.
- ⚠️ This indicator will not guarantee successful results. Use in conjunction with other indicators and do your due diligence.
- 🤖 This script was iteratively refined with the help of AI to ensure clean logic, minimalist design, and actionable signal clarity.
- 📢 Idea is based on the script "Historical PE ratio vs median" by haribotagada
- 💬 Questions, feedback, or suggestions? Drop a comment — I’d love to hear how you’re using it or what you'd like to see changed.
Momentum Fusion Pro X Elite1️⃣ Impulse Detection
Purpose: Identify fast, significant price movements that could provide entry opportunities.
upImpulse: Triggered when the current candle breaks above the high from 2 candles ago and closes above that level.
downImpulse: Triggered when the current candle breaks below the low from 2 candles ago and closes below that level.
confirmLong / confirmShort: Only consider candles that close above/below the impulse level to reduce false signals.
Visualization: Boxes and lines mark the impulse zones on the chart.
Explanation: “We mark zones where the price shows clear momentum, helping spot potential entry points.”
2️⃣ Trend Filters
Purpose: Trade in the direction of the main trend.
EMA Fast & Slow: Determine the current timeframe trend.
EMA Multi-Timeframe (HTF): Confirms the trend on a higher timeframe.
trendHTF: Combines EMA, RSI, and CCI from the higher timeframe for stronger trend confirmation.
Explanation: “We only take trades aligned with the current trend and the higher timeframe trend.”
3️⃣ Momentum & Volatility Filters
Purpose: Ensure the move has strength before entering.
RSI & CCI: Confirm momentum and avoid overbought/oversold extremes.
Volume: Only consider candles with above-average volume.
VWAP: Confirms price is above/below VWAP for bullish/bearish validation.
ATR / Volatility: Only enter trades if candle size exceeds a multiple of ATR to filter weak moves.
Explanation: “This ensures entries occur during strong and validated moves, not weak or fake breakouts.”
4️⃣ Signal Scoring System
Purpose: Increase signal reliability by combining multiple filters.
Each filter contributes 1 point: impulse confirmation, EMA trend, HTF trend, RSI, CCI, volume, VWAP, and volatility.
minScore: Minimum number of filters required for a signal (default 6 out of 8).
finalLong / finalShort: Signals only appear if they meet or exceed the minimum score.
Explanation: “Signals are shown only when most indicators agree, reducing false positives.”
5️⃣ Chart Visualization
Green / Red triangles: Strong long or short signals.
Boxes and lines: Show impulse zones for support/resistance levels.
Explanation: “Arrows indicate high-probability trades, while zones help identify key price levels.”
6️⃣ Dashboard
Configurable position: Top Right, Bottom Right, Bottom Left.
Shows:
Number of detected impulse signals
Signal strength (longScore / shortScore)
Trend direction of higher timeframe
Explanation: “Quickly assess signal strength and trend without analyzing each indicator individually.”
7️⃣ Adjustable Parameters
EMA lengths and Trend Window
RSI / CCI periods and overbought/oversold levels
Volume average and ATR multiplier for volatility
Higher timeframe trend confirmation
Minimum active filters for signal validity
Explanation: “You can customize the indicator for conservative or aggressive trading styles.”
⚠️ Disclaimer
This indicator is for educational purposes only and does not guarantee profits. Trading involves risk, and users should trade responsibly and at their own risk.
ECVD by bigmmThis indicator is designed for scalping and short-term trading, ideally used on 1-5 minute timeframes. It helps identify significant momentum shifts by tracking extreme volume imbalances between buying and selling pressure.
How It Works:
The indicator calculates cumulative volume delta (the difference between buying and selling volumes) on a 1-hour timeframe
It identifies the maximum and minimum delta values over the last 499 bars
When the current delta reaches or exceeds these extreme values (100% of the recent extremes), it draws horizontal lines on the chart
Red "Sell" lines appear when buying pressure reaches extreme levels
Green "Buy" lines appear when selling pressure reaches extreme levels
Trading Application:
On lower timeframes (1-5 min), these extreme readings often signal potential reversal points
The lines act as dynamic support/resistance levels where price may react
The indicator keeps only the 4 most recent lines (2 of each type) to avoid clutter
Traders can use these signals to anticipate short-term price movements and manage risk
Best Used For:
Scalping strategies on very short timeframes
Identifying potential reversal points after strong momentum moves
Confirming entry and exit points in conjunction with other indicators
Understanding when volume extremes might be exhausted
This tool works particularly well in combination with price action analysis and other momentum indicators for comprehensive trading decisions.
Distance from 50 SMA in ADR TermsIndicator produces a multiple of ADR% from the 50-day simple moving average to determine is a stock or etf is extended.
Market Pulse Dip RadarThis indicator is designed to help traders spot meaningful dips in price and then evaluate whether those dips are worth trading or not. It doesn’t just mark a dip; it also helps with risk management, trade planning, and filtering out weak signals.
Here’s how it works:
First, it looks at the recent high price and checks how much the market has dropped from that high. If the drop is larger than the minimum percentage you set, it marks it as a potential dip.
Next, it checks the trend structure by using two moving averages (a fast one and a slow one). If the fast average is below the slow average, it means the market is in a weaker structure, and that dip is considered more valid.
On top of that, you can enable a multi-timeframe filter. For example, if you are trading on the 15-minute chart, you can ask the indicator to confirm that the 1-hour trend is also supportive before showing you a dip. This helps avoid trading against the bigger trend.
Risk management is built in. The indicator automatically suggests a stop-loss by combining volatility (ATR) and recent swing lows. It then draws three profit target levels (1x risk, 2x risk, and 3x risk). This makes it easier to plan where to exit if the trade works.
A key part of this tool is the confidence score. Each dip signal is rated from 0 to 100. The score depends on how deep the dip is, how far apart the moving averages are, how healthy volatility is, and whether the higher timeframe supports the trade. The score is then labeled as High, Medium, Low, or Wait. This helps traders focus only on the stronger setups.
On the chart, dip signals are marked with a diamond shape under the bars. The color of the diamond tells you if it’s high, medium, or low quality. When a signal appears, the indicator also plots horizontal lines for the entry, stop, and targets.
To make it easier to read, there is also a dashboard box that shows the current score, quality, dip percentage, and suggested stop-loss. This means you don’t have to calculate or check different things yourself – everything is visible in one place.
Finally, it comes with alerts. You can set alerts for when a dip signal happens, or when it’s medium or high confidence. This way, you don’t need to stare at charts all day; TradingView can notify you.
So in short, this tool:
• Finds dips based on your rules.
• Filters them using structure, volatility, and higher timeframe trend.
• Suggests stop-loss and profit targets.
• Rates each dip with a confidence score.
• Shows all this info in a clean dashboard and alerts you when it happens.
👉 Do you want me to now explain how a trader would actually use it in practice (step by step, from signal to trade)?