Ingenuity Crazy Strategy Advance CloseThis indicator is designed to keep your trading simple and repeatable. By default, it is optimized for XAUUSD, during Tokyo session, on the 5-minute chart. The indicator automatically marks a tradable range and waits for price to break and confirm a direction. Once the signal appears, it’s as straightforward as buy or sell—no extra analysis or overthinking required.
After the first entry is taken, the indicator continues to monitor price. When price reaches a specific pip distance, it will automatically signal a second trade using the same risk, allowing you to scale into momentum without increasing complexity. The goal is to remove hesitation and reduce emotional decision-making, while still giving you structured trade opportunities.
This system is not meant to be over-tweaked. The logic is built to give clean entries as long as you’re using the correct session, pair, and settings.
🔧 Default Setup:
• Pair: XAUUSD
• Session: Tokyo
• Timeframe: M5 (5-minute)
⚠️ Important:
The default settings are only optimized for XAUUSD. To trade other pairs or timeframes and get the most consistent results, you must use the correct settings.
Candlestick analysis
Al Sat Alpha Hunter System [MTF + Risk Manager]çok güzel yerlerden al sat komutu çıkıyor ve bunu size ücretsiz vermek istedim sizde faydalanın
Market State Engine V2# Market State Engine
**Deterministic Confidence-Scoring System for TradingView**
A professional-grade PineScript v5 indicator that scores market conditions from 0-100, helping traders identify high-quality trading opportunities through systematic structure analysis, VWAP positioning, order flow dynamics, and time-based context.
---
## 🎯 Overview
The **Market State Engine** is not a trading bot—it's a **noise-reduction and opportunity-ranking system** designed to filter market conditions and surface only the highest-quality setups.
Instead of blindly taking every signal, this indicator:
- ✅ **Scores** market conditions objectively (0-100 scale)
- ✅ **Filters** out low-probability setups automatically
- ✅ **Classifies** opportunities into A, A+, and A++ grades
- ✅ **Alerts** only on confirmed structure shifts with supporting context
- ✅ **Keeps the human in control** - provides intelligence, not automation
### Philosophy: Reduce Noise. Enforce Discipline. Surface Quality.
---
## 🚀 Key Features
- **Deterministic Scoring** - No black boxes, fully explainable logic
- **Multi-Factor Analysis** - Combines 4 independent market state components
- **Structure-First Approach** - Only alerts on confirmed pivot breaks
- **VWAP Mean Reversion Logic** - Directional filtering based on VWAP zones
- **Order Flow Proxy** - CVD divergence and confirmation detection
- **Session-Aware Scoring** - Prioritizes high-volume New York sessions
- **Alert De-Duplication** - One alert per unique structure shift
- **Zero Repainting** - Uses confirmed pivots only (left=2, right=2)
- **Fully Configurable** - All parameters exposed as inputs
- **Visual Feedback** - VWAP bands, setup labels, and real-time score panel
---
## 📊 Scoring System (0-100)
The Market State Engine evaluates **four independent components**, each contributing up to **25 points** for a maximum total score of **100**.
### 🎯 Component Breakdown
| Component | Max Points | Description |
|-----------|------------|-------------|
| **VWAP Context** | 25 | Measures price deviation from session VWAP |
| **Structure Shift** | 25 | Confirms pivot breakout (HARD GATE) |
| **CVD Alignment** | 25 | Detects order flow divergence/confirmation |
| **Time-of-Day** | 25 | Identifies high-probability trading sessions |
---
### 1️⃣ VWAP Context (Max 25 Points)
**Purpose:** Identifies extreme price deviations from fair value for mean-reversion opportunities.
VWAP (Volume-Weighted Average Price) is calculated session-anchored to New York market time, with standard deviation bands creating zones of opportunity.
#### Band Structure:
- **1st Band**: ±1σ from VWAP (fair value zone)
- **2nd Band**: ±2σ from VWAP (moderate deviation)
- **3rd Band**: ±3σ from VWAP (extreme deviation)
#### Scoring Logic (Exclusive):
```
Price in 3rd VWAP Band (>2σ and ≤3σ) → +25 points
Price in 2nd VWAP Band (>1σ and ≤2σ) → +15 points
Otherwise (inside 1σ or beyond 3σ) → 0 points
```
**Key Insight:** The further price stretches from VWAP, the higher the probability of mean reversion.
---
### 2️⃣ Structure Shift (Max 25 Points) — **HARD GATE**
**Purpose:** Confirms momentum shift through confirmed pivot breakouts.
⚠️ **CRITICAL:** Structure shift is **mandatory**. If no valid structure shift occurs, the **total score becomes 0** regardless of other factors.
#### Detection Method:
Uses TradingView's `ta.pivothigh()` and `ta.pivotlow()` functions with **locked parameters**:
- **Left bars**: 2
- **Right bars**: 2
- **Source**: Configurable (Wick or Body)
- **Break confirmation**: Candle close only
#### Bullish Structure Shift:
- ✅ Prior swing high exists (confirmed pivot)
- ✅ Current candle **closes above** swing high + tick buffer
- ✅ Must occur in VWAP 2nd or 3rd band
- ✅ **VWAP Filter**: Price must be **at or below VWAP** (lower bands)
#### Bearish Structure Shift:
- ✅ Prior swing low exists (confirmed pivot)
- ✅ Current candle **closes below** swing low - tick buffer
- ✅ Must occur in VWAP 2nd or 3rd band
- ✅ **VWAP Filter**: Price must be **at or above VWAP** (upper bands)
#### Scoring:
```
Valid structure shift → +25 points
No structure shift → Total score = 0
```
**Tick Buffer:** Default 5 ticks (configurable) - prevents false breaks from minor price noise.
---
### 3️⃣ CVD Alignment (Max 25 Points)
**Purpose:** Detects institutional order flow through volume delta analysis.
CVD (Cumulative Volume Delta) is a proxy for order flow:
```
Close > Open → +Volume (buying pressure)
Close < Open → -Volume (selling pressure)
```
#### Scoring Logic:
| Condition | Points | Description |
|-----------|--------|-------------|
| **Divergence** | +25 | Price makes higher high + CVD makes lower high (bearish)Price makes lower low + CVD makes higher low (bullish) |
| **Confirmation** | +20 | Price and CVD both make higher highs or lower lows |
| **Neutral** | 0 | No clear divergence or confirmation |
**Lookback Window:** Last 20 bars (configurable) - prevents stale divergences.
**Key Insight:** Divergences suggest weakening momentum, while confirmations validate the trend.
---
### 4️⃣ Time-of-Day Context (Max 25 Points)
**Purpose:** Prioritizes high-volume, high-volatility New York sessions.
#### Scored Sessions (America/New_York timezone):
| Session | Time Range (NY) | Points | Description |
|---------|-----------------|--------|-------------|
| **Pre-Market** | 03:00 - 04:00 | +25 | Early liquidity injection |
| **Market Open** | 09:30 - 11:30 | +25 | Highest volume period |
| **Off-Hours** | All other times | 0 | Lower probability setups |
**Key Insight:** Structure shifts during active sessions have higher follow-through probability.
---
## 🏆 Setup Classification
Setups are graded based on total score thresholds (configurable):
| Grade | Score Range | Typical Components | Quality Level |
|-------|-------------|-------------------|---------------|
| **A++ Setup** | ≥90 | All 4 factors aligned(VWAP 3rd band + Structure + CVD + Session) | Premium - Rare |
| **A+ Setup** | ≥75 | Structure + VWAP + CVD or Session(3 of 4 factors) | High - Select |
| **A Setup** | ≥60 | Structure + VWAP + Session(Minimum viable setup) | Good - Regular |
| **No Grade** | <60 | Insufficient confluence | Filtered out |
**Default Thresholds:**
- A Setup: 60 points
- A+ Setup: 75 points
- A++ Setup: 90 points
---
## 📥 Installation
### Step 1: Download the Indicator
Download the `market_state_engine.pine` file from this repository.
### Step 2: Add to TradingView
1. Open (www.tradingview.com)
2. Open the **Pine Editor** (bottom panel)
3. Click **"New"** → **"Blank indicator"**
4. Delete all default code
5. Paste the contents of `market_state_engine.pine`
6. Click **"Add to Chart"**
### Step 3: Configure for Your Symbol
1. Click the **gear icon** next to the indicator name
2. Adjust **Tick Size** for your instrument:
- ES futures: `0.25`
- NQ futures: `0.25`
- Stocks: `0.01`
3. Save settings
---
## ⚙️ Configuration
### Symbol Settings
| Parameter | Default | Description |
|-----------|---------|-------------|
| **Tick Size** | 0.25 | Minimum price movement for your symbol |
| **Tick Buffer Count** | 5 | Ticks beyond swing for valid break |
### VWAP Settings
| Parameter | Default | Description |
|-----------|---------|-------------|
| **VWAP Band 1 (σ)** | 1.0 | 1st standard deviation multiplier |
| **VWAP Band 2 (σ)** | 2.0 | 2nd standard deviation multiplier |
| **VWAP Band 3 (σ)** | 3.0 | 3rd standard deviation multiplier |
### Session Settings
| Parameter | Default | Description |
|-----------|---------|-------------|
| **Session 1** | 0300-0400 | Pre-market window (NY time) |
| **Session 2** | 0930-1130 | Market open window (NY time) |
### Score Thresholds
| Parameter | Default | Description |
|-----------|---------|-------------|
| **A Setup Threshold** | 60 | Minimum score for A grade |
| **A+ Setup Threshold** | 75 | Minimum score for A+ grade |
| **A++ Setup Threshold** | 90 | Minimum score for A++ grade |
### CVD Settings
| Parameter | Default | Description |
|-----------|---------|-------------|
| **CVD Divergence Lookback** | 20 | Maximum bars for divergence detection |
### Swing Settings
| Parameter | Default | Options | Description |
|-----------|---------|---------|-------------|
| **Swing Detection Method** | Wick | Wick / Body | Use high/low or open/close for pivots |
### Visual Settings
| Parameter | Default | Description |
|-----------|---------|-------------|
| **Show VWAP Bands** | ✅ | Display VWAP and standard deviation bands |
| **Show Setup Labels** | ✅ | Display setup markers on chart |
| **Show Score Panel** | ✅ | Display real-time score breakdown |
---
## 📖 How to Use
### Step 1: Apply to 1-Minute Chart
⚠️ **The indicator is locked to 1-minute timeframe** - do not use on other timeframes.
### Step 2: Understand the Visual Signals
#### Setup Labels
- **Green Triangle (▲)** - Bullish (Long) setup detected
- **Red Triangle (▼)** - Bearish (Short) setup detected
- Label shows **Grade** (A/A+/A++) and **Total Score**
#### VWAP Bands
- **Yellow Line** - Session VWAP (fair value)
- **Blue Bands** - ±1σ (fair value zone)
- **Purple Bands** - ±2σ (moderate deviation)
- **Red Bands** - ±3σ (extreme deviation)
#### Score Panel (Top Right)
Real-time breakdown of all four components:
```
Component Score
VWAP Zone 15/25
Structure 25/25
CVD 20/25
Session 25/25
TOTAL 85/100 (A+)
```
### Step 3: Interpret Signals
#### Valid Long Setup:
✅ Green triangle below candle
✅ Price in **lower VWAP bands** (below VWAP)
✅ Structure shift breaks swing high
✅ Score ≥60
#### Valid Short Setup:
✅ Red triangle above candle
✅ Price in **upper VWAP bands** (above VWAP)
✅ Structure shift breaks swing low
✅ Score ≥60
### Step 4: Set Up Alerts (See Alert Conditions section)
---
## 🚦 Signal Filters (VWAP Zone Logic)
The indicator uses **directional VWAP filtering** to prevent counter-trend signals:
### Long Signals (Green)
**Only allowed when price is AT or BELOW VWAP**
- ✅ Lower 2nd band (-2σ to -1σ)
- ✅ Lower 3rd band (-3σ to -2σ)
- ✅ At VWAP exactly
- ❌ **BLOCKED** in upper bands (above VWAP)
**Logic:** Longs when price is stretched below fair value (mean reversion)
### Short Signals (Red)
**Only allowed when price is AT or ABOVE VWAP**
- ✅ Upper 2nd band (+1σ to +2σ)
- ✅ Upper 3rd band (+2σ to +3σ)
- ✅ At VWAP exactly
- ❌ **BLOCKED** in lower bands (below VWAP)
**Logic:** Shorts when price is stretched above fair value (mean reversion)
---
## 🎨 Visual Elements
### Chart Overlays
| Element | Color | Description |
|---------|-------|-------------|
| **VWAP Line** | Yellow | Session-anchored fair value |
| **±1σ Bands** | Blue | Fair value zone (no score) |
| **±2σ Bands** | Purple | Moderate deviation (15 pts) |
| **±3σ Bands** | Red | Extreme deviation (25 pts) |
| **Swing Highs** | Red ▼ | Confirmed pivot highs |
| **Swing Lows** | Green ▲ | Confirmed pivot lows |
| **Session Background** | Light Green | Active high-value session |
### Setup Labels
**Bullish Setup:**
```
A+
▲ 75
```
Green label below candle, shows grade and score
**Bearish Setup:**
```
A++
▼ 90
```
Red label above candle, shows grade and score
### Score Panel
Real-time table in top-right corner:
- Individual component scores (0-25 each)
- Total score (0-100)
- Current setup grade (A/A+/A++)
- Updates in real-time as market conditions change
---
## 🔔 Alert Conditions
### Setting Up Alerts
#### Method 1: Built-in Alert Conditions
1. Click **"Create Alert"** in TradingView
2. Select **Market State Engine** as condition
3. Choose alert type:
- **Bullish Setup** - Long signals only
- **Bearish Setup** - Short signals only
- **Any Setup** - All signals
4. Set to **"Once Per Bar Close"**
5. Configure notification method (app, email, webhook)
#### Method 2: Custom Alert Message
Alert messages include full breakdown:
```
A+ Setup Detected (Score: 85)
Components: VWAP(25) + Structure(25) + CVD(20) + Time(15)
CVD State: Confirmation
Direction: Long
Timeframe: 1m
```
### Alert Behavior
✅ **One alert per unique pivot break** - no spam
✅ **Fires on candle close only** - no repainting
✅ **Minimum score filter** - only A grade or higher (≥60)
✅ **Direction-specific** - separate bullish/bearish conditions
⚠️ **No cooldown between different pivots** - multiple alerts per session allowed if different swing levels break
---
## 🔧 Technical Details
### Timeframe Lock
- **Required**: 1-minute chart only
- **Reason**: Scoring model calibrated for 1m micro-structure
- **Future**: Multi-timeframe support planned for v2
### Timezone Configuration
- **Hard-coded**: `America/New_York`
- **Session Detection**: Uses TradingView's native session functions
- **Consistency**: All time-based logic uses NY timezone
### Swing Detection Parameters
**Locked to specification:**
- `ta.pivothigh(source, left=2, right=2)`
- `ta.pivotlow(source, left=2, right=2)`
**Implications:**
- Pivots confirmed 2 bars after formation
- No repainting - historical pivots don't move
- 4-bar minimum swing structure (2 left + pivot + 2 right)
### VWAP Calculation
- **Type**: Session-anchored (resets daily)
- **Source**: Typical price `(high + low + close) / 3`
- **Weighting**: Volume-weighted
- **Standard Deviation**: True population standard deviation
### CVD Proxy Formula
```pine
barDelta = close > open ? volume : close < open ? -volume : 0
CVD = cumulative sum of barDelta (session-reset)
```
### Performance Limits
- **Max Labels**: 500 (TradingView limit)
- **Max Bars Back**: 500
- **Memory**: Lightweight - uses only essential variables
---
## 💡 Best Practices
### 1. **Use as a Filter, Not a Strategy**
❌ Don't: Blindly take every signal
✅ Do: Use score as confluence for your existing analysis
### 2. **Higher Grades = Better Probability**
- **A Setups (60-74)**: Regular opportunities, still require discretion
- **A+ Setups (75-89)**: High-quality, multiple factors aligned
- **A++ Setups (90-100)**: Rare premium opportunities, strongest edge
### 3. **Respect the VWAP Zone Filter**
The indicator **automatically blocks**:
- Longs in upper VWAP bands (counter-trend)
- Shorts in lower VWAP bands (counter-trend)
Trust this logic - it enforces mean reversion discipline.
### 4. **Monitor the Score Panel**
Watch which components are scoring to understand **why** a setup formed:
- Missing CVD score? → No order flow confirmation
- Missing Time score? → Outside high-volume sessions
- Low VWAP score? → Weak deviation from fair value
### 5. **Combine with Risk Management**
The indicator provides **opportunity scoring**, not position sizing:
- Use stop losses based on swing structure
- Scale position size with setup grade (larger on A++, smaller on A)
- Set profit targets at VWAP or opposing band
### 6. **Session Awareness**
Prioritize signals during **active sessions**:
- **03:00-04:00 NY**: Pre-market momentum
- **09:30-11:30 NY**: Highest volume, tightest spreads
Off-hours signals (0 time score) are lower probability but still valid if other factors strong.
### 7. **Understand the Hard Gate**
If **no structure shift** occurs:
- Total score = 0
- No alerts fire
- Other components irrelevant
**Why?** Structure shift confirms momentum change - without it, there's no tradable opportunity.
### 8. **Avoid Over-Optimization**
Default settings are well-calibrated:
- Don't chase "perfect" parameters
- Test changes on historical data before live use
- Document any modifications
### 9. **Leverage Alert De-Duplication**
The indicator prevents spam automatically:
- One alert per unique swing break
- New swing levels = new alerts
- No need to manually filter notifications
### 10. **Supplement with Price Action**
Use the indicator alongside:
- Support/resistance levels
- Order flow footprint charts
- Volume profile
- Market internals (breadth, TICK, etc.)
---
## 📚 Example Scenarios
### Example 1: A++ Premium Setup (Score: 95)
```
Price: In lower 3rd VWAP band (-2.8σ) → VWAP: 25 pts
Structure: Close breaks swing high → Structure: 25 pts
CVD: Price LL + CVD HL (bullish div) → CVD: 25 pts
Time: 10:15 AM NY (market open) → Time: 25 pts
Direction: LONG (price below VWAP) → Valid
Grade: A++ (95/100)
```
**Interpretation:** All factors aligned - premium mean-reversion long opportunity.
---
### Example 2: A+ Strong Setup (Score: 80)
```
Price: In upper 2nd VWAP band (+1.5σ) → VWAP: 15 pts
Structure: Close breaks swing low → Structure: 25 pts
CVD: Price HH + CVD LH (bearish div) → CVD: 25 pts
Time: 2:00 PM NY (off-hours) → Time: 0 pts
Direction: SHORT (price above VWAP) → Valid
Grade: A+ (65/100)
```
**Interpretation:** Strong setup despite off-hours, bearish divergence adds confidence.
---
### Example 3: Filtered Setup (Score: 0)
```
Price: In upper 3rd VWAP band (+2.5σ) → VWAP: 25 pts (if allowed)
Structure: Close breaks swing high → Structure: BLOCKED
CVD: Price HH + CVD HH (confirmation) → CVD: 20 pts (if allowed)
Time: 10:00 AM NY → Time: 25 pts (if allowed)
Direction: LONG (price ABOVE VWAP) → ❌ INVALID ZONE
Grade: None (0/100) - NO ALERT
```
**Interpretation:** VWAP filter blocked long signal in upper band - prevents counter-trend trade.
---
## 🛠️ Troubleshooting
### No Signals Appearing
- ✅ Verify you're on **1-minute chart**
- ✅ Check **Tick Size** matches your symbol
- ✅ Ensure **VWAP Bands** are visible
- ✅ Wait for confirmed pivots (requires at least 5 bars of history)
### Alerts Not Firing
- ✅ Confirm alert is set to **"Once Per Bar Close"**
- ✅ Check score threshold (must be ≥60 by default)
- ✅ Verify VWAP zone filter isn't blocking signals
- ✅ Check that structure shift is actually occurring
### Score Always Zero
- ✅ No structure shift detected (hard gate active)
- ✅ Price may not be in valid VWAP zone (2nd or 3rd band)
- ✅ Insufficient swing history (wait for pivots to form)
### Too Many/Too Few Signals
**Too many signals:**
- Increase **A Setup Threshold** (e.g., 70 instead of 60)
- Increase **Tick Buffer Count** (reduces false breaks)
**Too few signals:**
- Decrease **A Setup Threshold** (e.g., 50 instead of 60)
- Decrease **Tick Buffer Count** (more sensitive to breaks)
---
## 📜 License
This indicator is provided under the **Mozilla Public License 2.0**.
---
## 🤝 Credits
Developed as a professional trading tool for systematic opportunity identification.
**Philosophy:** Reduce noise. Enforce discipline. Keep the human in control.
---
## 📞 Support
For questions, issues, or feature requests, please consult:
1. This README documentation
2. The specification document (`pinescript_market_state_engine_spec.docx`)
3. Inline code comments in `market_state_engine.pine`
---
## 🔄 Version History
**v1.0** (Current)
- Initial release
- 4-component scoring model (VWAP + Structure + CVD + Time)
- VWAP zone directional filtering
- Alert de-duplication
- Configurable inputs
- Real-time score panel
- Session-aware logic
---
## 🎓 Understanding the Numbers
### Quick Reference Card
| Score Range | Grade | Quality | Typical Use |
|-------------|-------|---------|-------------|
| 90-100 | A++ | Premium | Highest conviction trades |
| 75-89 | A+ | High | Strong probability setups |
| 60-74 | A | Good | Acceptable with discretion |
| 0-59 | None | Filtered | Skip or wait for confluence |
### Component Contribution Examples
**Minimum A Setup (60 points):**
- Structure (25) + VWAP 3rd band (25) + Time (25) = 75 ✅
**Typical A+ Setup (75 points):**
- Structure (25) + VWAP 2nd band (15) + CVD confirm (20) + Time (25) = 85 ✅
**Maximum A++ Setup (100 points):**
- Structure (25) + VWAP 3rd band (25) + CVD divergence (25) + Time (25) = 100 ✅
---
## 🎯 Final Reminder
**This is NOT a trading bot.**
**This is NOT financial advice.**
**This is a decision-support tool.**
Always:
- ✅ Use proper risk management
- ✅ Understand the logic before trading
- ✅ Backtest on your symbols
- ✅ Keep the human in control
**Happy Trading! 📈**
Order Blocks & Breaker Blocks Destek DirencOrder Blocks & Breaker Blocks Destek Direnc Al Sat Bölgeleri
4H Synced Direction Divergence Alert US100 US500 US30Overview
This script monitors three index symbols on a 4-hour (4H) basis and triggers an alert only when their last completed 4H candles are time-synchronized and their directions diverge (i.e., not all close in the same direction).
What it does
Compares the 4H candle direction (UP / DOWN / FLAT) across:
US100 (reference clock)
US500
US30
Sends an alert on the confirmed close of the 4H candle (not mid-candle).
Includes a detailed alert message showing:
the 4H close time
direction for each symbol
open, close, and the close-open delta
How it works (high level)
Reference clock (sync anchor):
The script uses Symbol 1 as the timing reference for 4H candle boundaries.
Strict bar synchronization:
It validates that all three symbols share the same 4H time_close before comparing directions.
If any symbol is missing that specific 4H bar (gap) or doesn’t align to the same close timestamp, no alert is triggered.
No repaint / no lookahead:
Data is requested without looking ahead, so the comparison is based on completed candles only.
Duplicate protection:
The script remembers the last fired 4H close time and prevents repeated alerts caused by recalculation.
How to use
Add the script to a clean chart.
Set your preferred symbols in the inputs (default: US100 / US500 / US30).
Create an alert:
Condition: select this script
Choose “Any alert() function call” (required, because the script uses alert() for detailed messages)
When a synchronized 4H close occurs and directions diverge, you will receive a detailed notification.
Inputs
Comparison TF: default 240 (4H)
Symbol 1 (Reference clock): default CAPITALCOM:US100
Symbol 2: default CAPITALCOM:US500
Symbol 3: default CAPITALCOM:US30
Timezone for alert message: controls only the displayed timestamp in the alert text
Notes / limitations
This script is designed for cross-symbol candle comparison, so alignment matters. If your symbols have different trading sessions, gaps, or data availability, the script may intentionally skip alerts when candles are not perfectly synchronized.
The script is an informational alert tool and is not a trading signal by itself. Always confirm context, liquidity, and market conditions.
Price action-based monitoring indicatorsPrice action-based indicators, EMA20, support, resistance, and candlestick charts.
Trading Range Detector - [GonzaCam]Strict Market Structure
This indicator provides a highly disciplined approach to identifying Market Structure, Swing Points, and Trading Ranges. Unlike standard fractal indicators that simply look for high/low wicks, this script enforces a "Strict" set of rules combining Fractal Geometry, Candle Color, and Close Prices to filter out noise and identify high-probability structure levels.
It is designed for traders who need precise structural mapping (BOS) and want to avoid the "fake-outs" common with standard swing indicators.
Key Features
Strict Swing Detection : A 3-candle pattern is only valid if it meets three specific criteria:
Wick Fractal: The middle candle has the highest high (for Swing Highs) or lowest low (for Swing Lows).
Close Price Fractal: The Body (Close) of the middle candle must also be the highest/lowest of the pattern, preventing weak "wick-only" pivots.
Color Logic: Enforces specific color flows (e.g., Green → Red for tops) to ensure momentum has actually shifted.
Smart Range Tracking:
Active Range: Shows the current trading range (Top and Bottom) with thick, solid lines.
Historical Structure: Automatically archives broken levels as thin, dashed lines, creating a clean history of market structure.
"True Peak" Logic: When a Break of Structure (BOS) occurs, the script enters a "Seeking" phase. It intelligently tracks the Highest High (in a bearish break) or Lowest Low (in a bullish break) to ensure the new range is drawn from the true pivot, not just the first confirmed swing.
How It Works
1. Swing High Definition
A valid Swing High is confirmed when a 3-candle cluster appears with:
Middle Candle: Green Body.
Right Candle: Red Body.
Geometry: Middle Wick High > Left & Right Wicks AND Middle Close > Left & Right Closes.
Confirmation: Price must subsequently close below the low of the middle candle.
2. Swing Low Definition
A valid Swing Low is confirmed when a 3-candle cluster appears with:
Middle Candle: Red Body.
Right Candle: Green Body.
Geometry: Middle Wick Low < Left & Right Wicks AND Middle Close < Left & Right Closes.
Confirmation: Price must subsequently close above the high of the middle candle.
3. Range & BOS Logic
Break of Structure (BOS): Triggered when a candle closes outside the current Range Top or Bottom.
Seeking Phase: After a BOS, the script waits for a new opposing swing to form.
Example: If the market breaks UP (Bullish BOS), the script searches for the next confirmed Swing High.
Optimization: While seeking, it continuously updates to the Highest High reached, ensuring the Range Top is set at the absolute peak of the move.
Settings & Customization
Current Range Style: Customize the Color, Width, and Style (Solid/Dotted) of the active range lines.
Historical Swings Style: Customize the appearance of past structure levels to distinguish them from active price action.
Disclaimer.
This tool is for informational purposes only and does not constitute financial advice. Trading involves risk. Always use proper risk management
MSS 15m - R.AlvaradoMSS 15m – R.Alvarado is a minimalist Market Structure Shift indicator designed to highlight real changes in market structure on the 15-minute timeframe.
The indicator plots a single horizontal line and label when a valid Market Structure Shift occurs, marking the exact price level where structure changes from bullish to bearish or vice versa. Only one MSS is displayed at a time and it remains anchored on the chart until a new structure shift appears.
This tool is intended for discretionary traders who already work with higher-timeframe bias, key levels, and liquidity concepts. It does not generate trade entries by itself, but provides clear structural context to support decision-making after liquidity events and during CRT analysis.
Best used in combination with higher-timeframe bias and key levels, especially when refining executions on lower timeframes.
SWING ATR BasedWhat does this indicator do?
1. It identifies Market Swings The script monitors price action to detect when a trend changes direction.
It uses ATR (Average True Range) to measure volatility, ensuring it doesn't get tricked by small, insignificant price movements.
To validate a change in direction (from bullish to bearish, or vice versa), it waits for the price to cover a specific distance (defined by the kRange parameter) and requires at least two significant candles.
2. It plots Support and Resistance zones As soon as a new high or low point is confirmed:
In Green (Bull): It draws a support line at the level of the last low.
In Red (Bear): It draws a resistance line at the level of the last high.
Auto-Cleaning: If the price breaks through a support line, the line turns gray and stops. The script only keeps active (unbroken) levels on the screen.
3. It calculates an "SGE Score" (Market State) This is the "brain" of the script. It assigns a rating to the current trend:
+2 (Bullish): The price has broken a resistance.
-2 (Bearish): The price has broken a support.
0 (Neutral): The market is indecisive (for example, after a break that contradicts the previous one).
Key Feature: This score has a "one-candle delay." It waits for the next candle to close before confirming a score change, which helps avoid reacting too quickly to false alerts.
4. It simplifies visual reading To keep your chart clean and readable:
It only highlights the 3 levels closest to the current price (those most likely to be hit soon).
It colors the chart candles directly: Green if the score is +2, Red if the score is -2, and Gray if it is neutral.
5. Dashboard In the top-right corner of your screen, it displays a permanent summary:
The current score (-2, 0, or 2).
The number of active supports and resistances.
Summary: This is a "smart" trend detector. Instead of just looking at whether the price is going up or down, it waits for the price to break important structural levels (confirmed by volatility) to tell you: "Caution, the structure has just shifted from bullish to bearish."
Recommended Settings:
kRange: 1.3 / 1.4
ATR Mult: 0.3 to 0.5
Script created with Claude AI.
Market_StructureThis provides tabular presentation of current status of price with respect to Ichimoku cloud and a possible signal based on candle type.
Smart CRTSmart CRT is an advanced ICT trading indicator designed to identify high-probability Candle Range Theory (CRT) setups with precision. It automatically detects bullish and bearish CRT patterns, plots key CRT high and low levels, and provides real-time alerts to help traders act with confidence.
This indicator includes a built-in multi-pair CRT scanner, allowing traders to monitor up to 20 symbols simultaneously on the current timeframe, including Forex majors, cross pairs, metals (XAUUSD, XAGUSD), and DXY. This makes Smart CRT ideal for traders who want fast top-down market analysis and efficient setup selection.
Smart CRT also detects and displays Fair Value Gaps (FVGs), highlighting institutional price imbalances and equilibrium levels that align with ICT and Smart Money Concepts (SMC). Only the most recent FVGs are kept on the chart to maintain clarity and reduce noise.
For execution and timing precision, the indicator offers optional New York session timing lines, commonly known as the 1-5-9 candle model, fully customizable by hour, color, and style. These session markers help traders align entries with key intraday liquidity windows.
Smart CRT is best used alongside market structure, liquidity sweeps, PD arrays, and higher-timeframe bias, making it a powerful decision-support tool for ICT traders, price-action traders, and intraday scalpers.
𝐊𝐞𝐲 𝐅𝐞𝐚𝐭𝐮𝐫𝐞𝐬
→ ICT Candle Range Theory (CRT) detection
→ Bullish & bearish CRT confirmation
→ Automatic CRT high & low levels
→ Multi-symbol CRT scanner (up to 20 markets)
→ Fair Value Gap (FVG) detection with equilibrium
→ New York session timing lines (1-5-9 model)
→ Real-time alerts
→ Works on all timeframes
𝐃𝐢𝐬𝐜𝐥𝐚𝐢𝐦𝐞𝐫
This indicator is for educational and analytical purposes only. It does not provide financial advice. Always apply proper risk management and confirm setups with your trading plan.
Extreme Panic Reversal Indicator V1 極限恐慌逆勢指標
Extreme Panic Reversal Indicator
指標簡介 Overview
極限恐慌逆勢指標是一款專為短線交易者設計的技術分析工具,透過多維度市場數據分析,捕捉價格極端波動後的反轉機會
Extreme Panic Reversal Indicator is a technical analysis tool designed for short-term traders, capturing reversal opportunities after extreme price movements through multi-dimensional market data analysis.
智能訊號系統 Intelligent Signal System
三段式訊號模式 嚴格模式,標準模式,激進模式
Three Signal Modes Strict Mode, Standard Mode, Aggressive Mode
根據個人風險偏好選擇適合的交易策略
Choose the trading strategy that fits your risk preference
視覺化設計 Visual Design
即時訊號標記:紅色賣出、綠色買入,一目了然
Real time Signal Markers: Red for sell, green for buy crystal clear
即時警報功能 Real time Alert System
支援 TradingView 內建警報系統
Supports TradingView built in alert system
訊號出現即時通知,不錯過任何交易機會
Instant notifications when signals appear never miss a trading opportunity
使用參數 Parameters
訊號模式 Signal Mode
範圍 Range:3 to 10 預設值 Default:5
數值越小:反應越快,訊號越多假訊號風險較高
Lower values:Faster response, more signals (higher false signal risk)
數值越大:反應較慢,訊號較穩定
Higher values: Slower response, more stable signals
建議:初學者保持預設值 5
Recommendation: Beginners should keep default value at 5
使用方式 How to Use
買入訊號 Buy Signal
當圖表下方出現綠色買標記時:
When a green Buy label appears at the bottom:
價格處於極度超賣狀態
Price is in extreme oversold condition
市場恐慌情緒達到峰值
Market panic sentiment reaches peak
具備反彈回升潛力
Potential for bounce and recovery
建議操作 Suggested Action:考慮建立多單 Consider entering long position
賣出訊號 Sell Signal
當圖表上方出現紅色賣標記時:
When a red Sell label appears at the top:
價格處於極度超買狀態
Price is in extreme overbought condition
市場狂熱情緒達到高點
Market euphoria reaches peak
具備回落修正風險
Risk of pullback and correction
建議操作 Suggested Action:
考慮建立空單或平倉 Consider entering short position or taking profit
風險提示 Risk Warning
重要提醒 Important Reminders
本指標不構成投資建議
This indicator does NOT constitute investment advice
任何技術指標都有失效可能,請務必:
Any technical indicator can fail. Always:
結合其他分析工具確認訊號
Combine with other analysis tools to confirm signals
設定停損停利點位
Set stop loss and take profit levels
控制倉位大小與風險
Control position size and risk
避免在重大消息發布時盲目交易
Avoid blind trading during major news releases
使用建議 Usage Tips
最佳應用場景 Best Application Scenarios
1分鐘5分鐘短線交易
1 minute, 5 minute short term trading
波動性較高的加密貨幣市場
High volatility cryptocurrency markets
期貨、外匯等槓桿交易
Futures,forex and other leveraged trading
進階技巧 Advanced Tips
觀察背景色變化:背景色出現時代表市場能量累積
Watch background color changes: Indicates market energy accumulation
注意價格位置:價格突破通道時優先關注訊號品質
Pay attention to price position: Prioritize signal quality when price breaks channel
搭配成交量分析:大量配合訊號可提高成功率
Combine with volume analysis: High volume with signals increases success rate
免責聲明 Disclaimer
本指標僅供教育與研究用途。交易涉及重大風險,過往績效不代表未來表現.使用者應自行承擔所有交易決策的責任與風險.
This indicator is for educational and research purposes only. Trading involves significant risk, and past performance does not guarantee future results. Users are solely responsible for all trading decisions and associated risks.
Scalping 4H Range + 50% This strategy is designed to capture high-probability reversals by exploiting "fakeouts" and liquidity sweeps that occur after the market's initial opening range.
How it Works:
The Range: The indicator automatically defines the High and Low of the first 4 hours of the trading session (typically the Asian/London overlap or New York Open).
The Setup: Instead of chasing breakouts, this strategy waits for a Failure to Break. It monitors for price to break out of the 4-hour range and then immediately close back inside.
The Signal:
BUY Signal: Price breaks below the Range Low (sweeping liquidity) but closes back inside the range.
SELL Signal: Price breaks above the Range High (sweeping liquidity) but closes back inside the range.
Trade Management:
Target: Trades target the opposing side of the range (e.g., a Buy at the Low targets the Range High).
Stop Loss: Placed at the extreme wick of the fakeout move to ensure a tight risk profile.
Equilibrium: A 50% Mid-Range line is provided to help secure partial profits or adjust stops to Breakeven.
How to Use This Indicator
1. Chart Setup
Timeframe: This strategy is optimized for the 5-Minute (M5) timeframe.
Asset Class: Works best on volatile pairs (Indices like US30/NAS100, or major Forex pairs like EURUSD/GBPUSD) where liquidity sweeps are common.
2. Session Configuration
Go to the indicator settings.
Session Input: Define the first 4 hours of your trading day (e.g., 0000-0400 for the New York midnight open or 0800-1200 for the London Open).
Note: The indicator automatically highlights this background in blue. No trades are taken during this formation phase.
3. Understanding the Visuals
Red Line: Range High (Resistance).
Green Line: Range Low (Support).
Grey Dotted Line: Mid-Range (50% Equilibrium).
4. Trading Rules The strategy does not trade breakouts; it trades false breakouts (fakeouts).
BUY Signal:
Price breaks below the Green Line.
Candle closes back above the Green Line.
Entry: On the close of the signal candle.
Stop Loss: Below the lowest wick of the breakout move.
Take Profit: Target the Red Line (Range High).
SELL Signal:
Price breaks above the Red Line.
Candle closes back below the Red Line.
Entry: On the close of the signal candle.
Stop Loss: Above the highest wick of the breakout move.
Take Profit: Target the Green Line (Range Low).
5. Management (Mid-Range)
When price hits the Grey Dotted Line (50%), it is recommended to move your Stop Loss to Breakeven or take partial profits.
Disclaimer: Trading involves a high risk of financial loss. This tool is provided for educational purposes only and does not constitute investment advice. Use of this tool is at your own risk. Pirate Pips ™ is not responsible for any losses incurred.
Bar Count & EMABar Count & EMA Indicator
A clean and lightweight indicator designed for intraday price action traders.
Features:
1. Bar Count
Displays bar numbers only on 3-minute and 5-minute timeframes
Works during Regular Trading Hours (RTH) only
Shows bar 1 and multiples of 3 (3, 6, 9, 12, 15...)
Color-coded for key bars: Bar 18 & 48 (Red), Bar 6 (Light Green), Multiples of 12 (Sky Blue), Others (Gray)
2. EMA 20
Simple 20-period Exponential Moving Average
Customizable source, length, offset, and color
Why these specific timeframes?
5-Minute Chart (US Markets):
Bar 6, 12, 18, 24... represent 30-min, 1-hour, 1.5-hour intervals
Bar 18 and 48 often mark significant intraday turning points
Best for: ES, NQ, SPY, QQQ
3-Minute Chart (China A-Share Markets):
Bar 10, 20, 30... represent 30-min, 1-hour, 1.5-hour intervals
Designed for CSI 1000 Index Futures (IM) and other China futures
Helps track the 4-hour trading session rhythm (9:30-11:30, 13:00-15:00)
Why Bar Count Matters:
Tracking bar numbers helps traders identify market rhythm, timing cycles, and potential reversal zones throughout the trading session.
N Option Selling 1
**NIFTY Weekly Option Seller – Regime & Risk Framework (HTF + RSI)**
This indicator is a **decision-support tool for NIFTY option sellers**, designed to identify whether current market conditions favor:
* **Iron Condor (IC)** – range / mean-reversion
* **Put Credit Spread (PCS)** – bullish bias
* **Call Credit Spread (CCS)** – bearish bias
The script focuses on **structure selection and risk management**, not trade execution.
---
## Core logic
### 1) Multi-timeframe context
* Signals are calculated on the **active chart timeframe** (commonly 4H).
* **Daily (HTF) EMA trend and Daily ADX** are used as **gating conditions**, ensuring strong directional scores are not allowed against the higher-timeframe context.
This prevents aggressive trend selling when the daily structure does not support it.
---
### 2) Three independent regime scores (0–5)
The script computes three capped and smoothed scores:
* **IC score (Range quality)**
Based on low ADX, price inside CPR, proximity to VWAP, Camarilla H3–L3, daily range confirmation, and mid-band RSI.
* **PCS score (Bullish structure)**
Based on EMA up-stack, trend strength (ADX), price relative to CPR/VWAP, with RSI and Daily trend acting as **brakes**, not entry signals.
* **CCS score (Bearish structure)**
Based on EMA down-stack, trend strength (ADX), price relative to CPR/VWAP, with RSI and Daily trend acting as **brakes**, not entry signals.
RSI is used only to **cap aggressiveness at extremes**, not to predict reversals.
---
### 3) Cross-penalty & smoothing
* When multiple regimes score high simultaneously, **cross-penalties reduce conflicting scores** so only one regime dominates.
* Final scores are **smoothed across bars** to avoid frequent regime flips and unstable sizing decisions.
---
### 4) Regime selection
The script selects **one primary regime** (IC / PCS / CCS) based on the highest adjusted score, with tie-break logic that prefers trend regimes only when ADX confirms strength; otherwise it defaults to IC.
---
### 5) Non-repainting reference levels
The indicator plots key **previous-day, non-repainting levels**:
* CPR (Low / High with Narrow–Wide classification)
* Camarilla H3, L3, H4, L4
* VWAP
These are contextual reference levels for structure and risk placement.
---
### 6) DEFEND / HARVEST prompts
Using ATR-based proximity logic, the script provides:
* **DEFEND** alerts when price approaches modeled risk zones
* **HARVEST** alerts when sufficient cushion exists
* **REGIME** alerts on confirmed regime changes
These are **risk-management prompts**, not buy/sell signals.
---
### 7) Visual dashboard
A compact panel displays:
* Active regime and score
* ADX / RSI
* CPR width classification
* EMA structure and tightness
* VWAP proximity
* IC / PCS / CCS scores
* Key level snapshot
---
## Intended use
* Designed for **weekly option selling**
* Best used on **4H charts with Daily context**
* Suitable for traders who manage positions **once per day**
* Encourages **structure-first thinking** (IC base with controlled directional bias)
---
## Disclaimer
This indicator does **not place trades** and does not calculate position size or P&L.
It is a **market regime and risk-awareness tool** and must be used with proper capital management and execution discipline.
GOOD ENTRY {KING HAUS}]FOLLOW MY INSTAGRAM : MOHAMEDFIDAUS
Private Indicator
Unauthorized redistribution prohibited
GOOD ENTRY {KING HAUS}]FOLLOW MY INSTRAGRAM :MOHAMMED FIRDAUS
👇
Private Indicator
Unauthorized redistribution prohibited
Prop Firm EMA RSI Pullback (HTF Bias)by ShuvoHigher Timeframe (HTF) Bias — The Boss Sets the Rules
Purpose:
You don’t fight institutions. You follow their footprints.
Logic:
Use a Higher Timeframe (usually H4 or D1)
Apply:
EMA 200 (trend ruler)
Optional: EMA 50 for confirmation
Bias Rules:
Bullish Bias
Price above EMA 200
EMA 200 sloping up
Bearish Bias
Price below EMA 200
EMA 200 sloping down
🚫 If price is chopping around EMA 200 → NO TRADE
Prop firms love discipline, not gamblers.
Basics v3 [NQTrades]New update:
🎯 Indicator Summary: ICT 1st FVG + Date/News
This indicator combines a core ICT (Inner Circle Trader) concept—the tracking of the first Fair Value Gap (FVG) of a session—with convenient on-screen information about the current date and scheduled economic news events.
🟢 Section 1: 1st FVG (Fair Value Gap) Tracker
This logic is dedicated to automatically detecting and visualizing the very first Fair Value Gap that forms at the start of the trading session.
Session-Specific: The indicator only searches for an FVG within the user-defined trading session (defaulting to 10:02 - 11:00 EST for the NY session).
First Only: It plots only the first valid FVG that meets the minimum distance requirement (Min FVG Distance) and ignores all subsequent FVGs for the remainder of that session.
Visual Tracking (Modified): The FVG is drawn as a transparent box that begins at the current bar and extends forward into the chart, allowing traders to monitor its fill or reaction in real-time without cluttering the historical chart data.
Customization: Allows setting distinct colors for bullish (up) and bearish (down) FVGs.
📰 Section 2: Date & News Display
This module provides an organized, persistent display on the chart for critical time and event information.
Date & Time: Displays the current weekday, date, and month in a customizable format.
Configurable News Events: Users can set up to three high-impact news events for the day (e.g., NFP, FOMC, CPI, etc.).
Visual Alert: Each news event is displayed with its own customizable background color, text size, and text color, providing a quick visual alert for upcoming market volatility drivers.
Positioning: The entire information box (Date + News) can be anchored to any of the chart's four corners (Top/Bottom and Left/Center/Right).
Multi-timeframe decomposition viewThis is a price alignment indicator created based on the ICT transaction theory.






















