SMA+デマンド・オファーゾーン最強版(仮)This indicator is designed to help traders visually identify both trend direction and potential reversal zones in one glance.
📊 Key Features:
• Displays 4 SMAs (9 / 20 / 75 / 200) simultaneously
• Automatically detects and plots Demand Zones (green) and Supply Zones (red) based on recent swing highs and lows
• Shows ▲ Golden Cross and ▼ Dead Cross markers when SMA 9 crosses SMA 20
• Built-in alert conditions for SMA crossovers and zone breakouts
💡 How to Use:
Use SMA direction and alignment to confirm the trend, and watch for Supply/Demand zones and cross signals as potential reversal or breakout setups.
Perfect for spotting pullbacks and identifying confluence zones between trend and structure.
⚙️ Customization:
• Adjustable SMA lengths, colors, and line widths
• Modify pivot length to fine-tune zone sensitivity
✅ Built with Pine Script v5
✅ Works on FX, Stocks, Crypto, and Indices
Author’s Note:
I created this indicator to combine trend-following tools with supply-demand logic in a clean and intuitive way.
Even beginners can easily visualize where reactions or breakouts are likely to happen.
If you find this script helpful, please give it a ❤️ and follow for more updates!
차트 패턴
Hidden Impulse═══════════════════════════════════════════════════════════════════
HIDDEN IMPULSE - Multi-Timeframe Momentum Detection System
═══════════════════════════════════════════════════════════════════
OVERVIEW
Hidden Impulse is an advanced momentum oscillator that combines the Schaff Trend Cycle (STC) and Force Index into a comprehensive multi-timeframe trading system. Unlike standard implementations of these indicators, this script introduces three distinct trading setups with specific entry conditions, multi-timeframe confirmation, and trend filtering.
═══════════════════════════════════════════════════════════════════
ORIGINALITY & KEY FEATURES
This indicator is original in the following ways:
1. DUAL-TIMEFRAME STC ANALYSIS
Standard STC implementations work on a single timeframe. This script
simultaneously analyzes STC on both your trading timeframe and a higher
timeframe, providing trend context and filtering out low-probability signals.
2. FORCE INDEX INTEGRATION
The script combines STC with Force Index (volume-weighted price momentum)
to confirm the strength behind price moves. This combination helps identify
when momentum shifts are backed by genuine buying/selling pressure.
3. THREE DISTINCT TRADING SETUPS
Rather than generic overbought/oversold signals, the indicator provides
three specific, rule-based setups:
- Setup A: Classic trend-following entries with multi-timeframe confirmation
- Setup B: Divergence-based reversal entries (highest probability)
- Setup C: Mean-reversion bounce trades at extreme levels
4. INTELLIGENT FILTERING
All signals are filtered through:
- 50 EMA trend direction (prevents counter-trend trades)
- Higher timeframe STC alignment (ensures macro trend agreement)
- Force Index confirmation (validates volume support)
═══════════════════════════════════════════════════════════════════
HOW IT WORKS - TECHNICAL EXPLANATION
SCHAFF TREND CYCLE (STC) CALCULATION:
The STC is a cyclical oscillator that combines MACD concepts with stochastic
smoothing to create earlier and smoother trend signals.
Step 1: Calculate MACD
- Fast MA = EMA(close, Length1) — default 23
- Slow MA = EMA(close, Length2) — default 50
- MACD Line = Fast MA - Slow MA
Step 2: First Stochastic Smoothing
- Apply stochastic calculation to MACD
- Stoch1 = 100 × (MACD - Lowest(MACD, Smoothing)) / (Highest(MACD, Smoothing) - Lowest(MACD, Smoothing))
- Smooth result with EMA(Stoch1, Smoothing) — default 10
Step 3: Second Stochastic Smoothing
- Apply stochastic calculation again to the smoothed stochastic
- This creates the final STC value between 0-100
The dual stochastic smoothing makes STC more responsive than MACD while
being smoother than traditional stochastics.
FORCE INDEX CALCULATION:
Force Index measures the power behind price movements by incorporating volume:
Force Raw = (Close - Close ) × Volume
Force Index = EMA(Force Raw, Period) — default 13
Interpretation:
- Positive Force Index = Buying pressure (bulls in control)
- Negative Force Index = Selling pressure (bears in control)
- Force Index crossing zero = Momentum shift
- Divergences with price = Weakening momentum (reversal signal)
TREND FILTER:
A 50-period EMA serves as the trend filter:
- Price above EMA50 = Uptrend → Only LONG signals allowed
- Price below EMA50 = Downtrend → Only SHORT signals allowed
This prevents counter-trend trading which accounts for most losing trades.
═══════════════════════════════════════════════════════════════════
THE THREE TRADING SETUPS - DETAILED
SETUP A: CLASSIC MOMENTUM ENTRY
Concept: Enter when STC exits oversold/overbought zones with trend confirmation
LONG CONDITIONS:
1. Higher timeframe STC > 25 (macro trend is up)
2. Primary timeframe STC crosses above 25 (momentum turning up)
3. Force Index crosses above 0 OR already positive (volume confirms)
4. Price above 50 EMA (local trend is up)
SHORT CONDITIONS:
1. Higher timeframe STC < 75 (macro trend is down)
2. Primary timeframe STC crosses below 75 (momentum turning down)
3. Force Index crosses below 0 OR already negative (volume confirms)
4. Price below 50 EMA (local trend is down)
Best for: Trending markets, continuation trades
Win rate: Moderate (60-65%)
Risk/Reward: 1:2 to 1:3
───────────────────────────────────────────────────────────────────
SETUP B: DIVERGENCE REVERSAL (HIGHEST PROBABILITY)
Concept: Identify exhaustion points where price makes new extremes but
momentum (Force Index) fails to confirm
BULLISH DIVERGENCE:
1. Price makes a lower low (LL) over 10 bars
2. Force Index makes a higher low (HL) — refuses to follow price down
3. STC is below 25 (oversold condition)
Trigger: STC starts rising AND Force Index crosses above zero
BEARISH DIVERGENCE:
1. Price makes a higher high (HH) over 10 bars
2. Force Index makes a lower high (LH) — refuses to follow price up
3. STC is above 75 (overbought condition)
Trigger: STC starts falling AND Force Index crosses below zero
Why this works: Divergences signal that the current trend is losing steam.
When volume (Force Index) doesn't confirm new price extremes, a reversal
is likely.
Best for: Reversal trading, range-bound markets
Win rate: High (70-75%)
Risk/Reward: 1:3 to 1:5
───────────────────────────────────────────────────────────────────
SETUP C: QUICK BOUNCE AT EXTREMES
Concept: Catch rapid mean-reversion moves when price touches EMA50 in
extreme STC zones
LONG CONDITIONS:
1. Price touches 50 EMA from above (pullback in uptrend)
2. STC < 15 (extreme oversold)
3. Force Index > 0 (buyers stepping in)
SHORT CONDITIONS:
1. Price touches 50 EMA from below (pullback in downtrend)
2. STC > 85 (extreme overbought)
3. Force Index < 0 (sellers stepping in)
Best for: Scalping, quick mean-reversion trades
Win rate: Moderate (55-60%)
Risk/Reward: 1:1 to 1:2
Note: Use tighter stops and quick profit-taking
═══════════════════════════════════════════════════════════════════
HOW TO USE THE INDICATOR
STEP 1: CONFIGURE TIMEFRAMES
Primary Timeframe (STC - Primary Timeframe):
- Leave empty to use your current chart timeframe
- This is where you'll take trades
Higher Timeframe (STC - Higher Timeframe):
- Default: 30 minutes
- Recommended ratios:
* 5min chart → 30min higher TF
* 15min chart → 1H higher TF
* 1H chart → 4H higher TF
* Daily chart → Weekly higher TF
───────────────────────────────────────────────────────────────────
STEP 2: ADJUST STC PARAMETERS FOR YOUR MARKET
Default (23/50/10) works well for stocks and forex, but adjust for:
CRYPTO (volatile):
- Length 1: 15
- Length 2: 35
- Smoothing: 8
(Faster response for rapid price movements)
STOCKS (standard):
- Length 1: 23
- Length 2: 50
- Smoothing: 10
(Balanced settings)
FOREX MAJORS (slower):
- Length 1: 30
- Length 2: 60
- Smoothing: 12
(Filters out noise in 24/7 markets)
───────────────────────────────────────────────────────────────────
STEP 3: ENABLE YOUR PREFERRED SETUPS
Toggle setups based on your trading style:
Conservative Trader:
✓ Setup B (Divergence) — highest win rate
✗ Setup A (Classic) — only in strong trends
✗ Setup C (Bounce) — too aggressive
Trend Trader:
✓ Setup A (Classic) — primary signals
✓ Setup B (Divergence) — for entries on pullbacks
✗ Setup C (Bounce) — not suitable for trending
Scalper:
✓ Setup C (Bounce) — quick in-and-out
✓ Setup B (Divergence) — high probability scalps
✗ Setup A (Classic) — too slow
───────────────────────────────────────────────────────────────────
STEP 4: READ THE SIGNALS
ON THE CHART:
Labels appear when conditions are met:
Green labels:
- "LONG A" — Setup A long entry
- "LONG B DIV" — Setup B divergence long (best signal)
- "LONG C" — Setup C bounce long
Red labels:
- "SHORT A" — Setup A short entry
- "SHORT B DIV" — Setup B divergence short (best signal)
- "SHORT C" — Setup C bounce short
IN THE INDICATOR PANEL (bottom):
- Blue line = Primary timeframe STC
- Orange dots = Higher timeframe STC (optional)
- Green/Red bars = Force Index histogram
- Dashed lines at 25/75 = Entry/Exit zones
- Background shading = Oversold (green) / Overbought (red)
INFO TABLE (top-right corner):
Shows real-time status:
- STC values for both timeframes
- Force Index direction
- Price position vs EMA
- Current trend direction
- Active signal type
═══════════════════════════════════════════════════════════════════
TRADING STRATEGY & RISK MANAGEMENT
ENTRY RULES:
Priority ranking (best to worst):
1st: Setup B (Divergence) — wait for these
2nd: Setup A (Classic) — in confirmed trends only
3rd: Setup C (Bounce) — scalping only
Confirmation checklist before entry:
☑ Signal label appears on chart
☑ TREND in info table matches signal direction
☑ Higher timeframe STC aligned (check orange dots or table)
☑ Force Index confirming (check histogram color)
───────────────────────────────────────────────────────────────────
STOP LOSS PLACEMENT:
Setup A (Classic):
- LONG: Below recent swing low
- SHORT: Above recent swing high
- Typical: 1-2 ATR distance
Setup B (Divergence):
- LONG: Below the divergence low
- SHORT: Above the divergence high
- Typical: 0.5-1.5 ATR distance
Setup C (Bounce):
- LONG: 5-10 pips below EMA50
- SHORT: 5-10 pips above EMA50
- Typical: 0.3-0.8 ATR distance
───────────────────────────────────────────────────────────────────
TAKE PROFIT TARGETS:
Conservative approach:
- Exit when STC reaches opposite level
- LONG: Exit when STC > 75
- SHORT: Exit when STC < 25
Aggressive approach:
- Hold until opposite signal appears
- Trail stop as STC moves in your favor
Partial profits:
- Take 50% at 1:2 risk/reward
- Let remaining 50% run to target
───────────────────────────────────────────────────────────────────
WHAT TO AVOID:
❌ Trading Setup A in sideways/choppy markets
→ Wait for clear trend or use Setup B only
❌ Ignoring higher timeframe STC
→ Always check orange dots align with your direction
❌ Taking signals against the major trend
→ If weekly trend is down, be cautious with longs
❌ Overtrading Setup C
→ Maximum 2-3 bounce trades per session
❌ Trading during low volume periods
→ Force Index becomes unreliable
═══════════════════════════════════════════════════════════════════
ALERTS CONFIGURATION
The indicator includes 8 alert types:
Individual setup alerts:
- "Setup A - LONG" / "Setup A - SHORT"
- "Setup B - DIV LONG" / "Setup B - DIV SHORT" ⭐ recommended
- "Setup C - BOUNCE LONG" / "Setup C - BOUNCE SHORT"
Combined alerts:
- "ANY LONG" — fires on any long signal
- "ANY SHORT" — fires on any short signal
Recommended alert setup:
- Create "Setup B - DIV LONG" and "Setup B - DIV SHORT" alerts
- These are the highest probability signals
- Set "Once Per Bar Close" to avoid false alerts
═══════════════════════════════════════════════════════════════════
VISUALIZATION SETTINGS
Show Labels on Chart:
Toggle on/off the signal labels (green/red)
Disable for cleaner chart once you're familiar with the indicator
Show Higher TF STC:
Toggle the orange dots showing higher timeframe STC
Useful for visual confirmation of multi-timeframe alignment
Info Panel:
Cannot be disabled — always shows current status
Positioned top-right to avoid chart interference
═══════════════════════════════════════════════════════════════════
EXAMPLE TRADE WALKTHROUGH
SETUP B DIVERGENCE LONG EXAMPLE:
1. Market Context:
- Price in downtrend, below 50 EMA
- Multiple lower lows forming
- STC below 25 (oversold)
2. Divergence Formation:
- Price makes new low at $45.20
- Force Index refuses to make new low (higher low forms)
- This indicates selling pressure weakening
3. Signal Trigger:
- STC starts turning up
- Force Index crosses above zero
- Label appears: "LONG B DIV"
4. Trade Execution:
- Entry: $45.50 (current price at signal)
- Stop Loss: $44.80 (below divergence low)
- Target 1: $47.90 (STC reaches 75) — risk/reward 1:3.4
- Target 2: Opposite signal or trail stop
5. Trade Management:
- Price rallies to $47.20
- STC reaches 68 (approaching target zone)
- Take 50% profit, move stop to breakeven
- Exit remaining at $48.10 when STC crosses 75
Result: 3.7R gain
═══════════════════════════════════════════════════════════════════
ADVANCED TIPS
1. MULTI-TIMEFRAME CONFLUENCE
For highest probability trades, wait for:
- Primary TF signal
- Higher TF STC aligned (>25 for longs, <75 for shorts)
- Even higher TF trend in same direction (manual check)
2. VOLUME CONFIRMATION
Watch the Force Index histogram:
- Increasing bar size = Strengthening momentum
- Decreasing bar size = Weakening momentum
- Use this to gauge signal strength
3. AVOID THESE MARKET CONDITIONS
- Major news events (Force Index becomes erratic)
- Market open first 30 minutes (volatility spikes)
- Low liquidity instruments (Force Index unreliable)
- Extreme trending days (wait for pullbacks)
4. COMBINE WITH SUPPORT/RESISTANCE
Best signals occur near:
- Key horizontal levels
- Fibonacci retracements
- Previous day's high/low
- Psychological round numbers
5. SESSION AWARENESS
- Asia session: Use lower timeframes, Setup C works well
- London session: Setup A and B both effective
- New York session: All setups work, highest volume
═══════════════════════════════════════════════════════════════════
INDICATOR WINDOWS LAYOUT
MAIN CHART:
- Price action
- 50 EMA (green/red)
- Signal labels
- Info panel
INDICATOR WINDOW:
- STC oscillator (blue line, 0-100 scale)
- Higher TF STC (orange dots, optional)
- Force Index histogram (green/red bars)
- Reference levels (25, 50, 75)
- Background zones (green oversold, red overbought)
═══════════════════════════════════════════════════════════════════
PERFORMANCE OPTIMIZATION
For best results:
Backtesting:
- Test on your specific instrument and timeframe
- Adjust STC parameters if win rate < 55%
- Record which setup works best for your market
Position Sizing:
- Risk 1-2% per trade
- Setup B can use 2% risk (higher win rate)
- Setup C should use 1% risk (lower win rate)
Trade Frequency:
- Setup B: 2-5 signals per week (be patient)
- Setup A: 5-10 signals per week
- Setup C: 10+ signals per week (scalping)
═══════════════════════════════════════════════════════════════════
CREDITS & REFERENCES
This indicator builds upon established technical analysis concepts:
Schaff Trend Cycle:
- Developed by Doug Schaff (1996)
- Original concept published in Technical Analysis of Stocks & Commodities
- Implementation based on standard STC formula
Force Index:
- Developed by Dr. Alexander Elder
- Described in "Trading for a Living" (1993)
- Classic volume-momentum indicator
The multi-timeframe integration, three-setup system, and specific
entry conditions are original contributions of this indicator.
═══════════════════════════════════════════════════════════════════
DISCLAIMER
This indicator is a technical analysis tool and does not guarantee profits.
Past performance is not indicative of future results. Always:
- Use proper risk management
- Test on demo account first
- Combine with fundamental analysis
- Never risk more than you can afford to lose
═══════════════════════════════════════════════════════════════════
SUPPORT & QUESTIONS
If you find this indicator helpful, please:
- Leave a like and comment
- Share your feedback and results
- Report any bugs or issues
For questions about usage or optimization for specific markets,
feel free to comment below.
═════════════════════════════════════════════════════════════
jjjjjjjjExplanation of the Script
Bullish and Bearish Candles: The function isBullishOrderBlock() checks if a candle is "bullish" in nature (based on body size to range ratio). Similarly, isBearishOrderBlock() checks for bearish candles.
Order Block Length and Threshold: length is the number of bars to scan for an order block, and threshold sets how strong a candle needs to be to be considered an order block.
Detection: The loop searches backward through the bars to find strong bullish and bearish order blocks, marking the price points where the strong moves happened.
Plotting: The plotshape() function is used to plot arrows or labels on the chart to mark where bullish or bearish order blocks are identified.
Improving and Customizing
Highlighting Blocks: Instead of just marking a point, you can plot horizontal boxes or shaded regions using box.new() to visually highlight the order block zone.
Use of Different Timeframes: You can modify the script to look for order blocks across multiple timeframes to increase accuracy.
Complex Rules: Depending on your strategy, you may want to add additional rules, such as looking for price to return to the order block area before confirming the strength of the block.
Granny Strategy [rdjxyz]This is the Granny Strategy, as described on TG Capital's Sunday Service stream .
Definitions
C0 - Candle 0 - the candle where the FVG start is plotted
C1 - Candle 1 - the candle that drives the FVG
C2 - Candle 2 - the candle where the FVG end is plotted
C3 - Candle 3 - the entry candle (assuming all criteria are met)
👵🏻 - Valid setup
🤡 - Invalid setup
The Setup
*As described on the stream.
*Look for longs when price is above 50 EMA; look for shorts when price is below the 50 EMA.
FVG is printed
C2 sweeps the low of C1 and closes bullish (for longs) or sweeps the high of C1 and closes bearish (for shorts)
C3 inverts FVG and closes below C1 open (for longs) or above C1 open (for shorts)
If criteria above is met, position is entered on the close of C3 with stop loss at the low of C3 (for longs) or high of C3 (for shorts)
Inputs
Time Window Filter - only look for setups within a certain range of time
EMA length - original strategy calls for 50
Stop loss offset - ticks to offset stop loss from low (for longs) / high (for shorts) of C3
Risk:Reward ratio - take profit as a multiple of the stop loss size from entry
Break even stop loss - optional, move stop loss to break even after price reaches a specific R:R; e.g. once price hits 1:1 R:R, move stop loss to break even
Exception Inputs
Allow some exceptions to the rigid rules
Select which candle in the sequence the EMA filter is applied to (can produce different results)
Disable EMA bias filter (will find shorts when price is above EMA and longs when price is below)
Allow C3 to close inside of FVG (instead of completely inverting it)
Allow C3 to close above C1 open (for longs) or below C1 open (for shorts)
Allow C2 to close opposite of setup direction; e.g. if long, C2 is allowed to close as a bearish candle instead of bullish candle
Play around with the different settings on various timeframes and instruments to find rules that work best for your strategy goals. Or just use it to find valid vs. invalid setups historically.
Will be working on adding a trailing stop loss.
Leave a comment with any bugs or ideas you have to improve the strategy.
IMPORTANT
Adjust account size, position size, commissions, etc in the properties tab for accurate results!
ChadAnt- Ray to 2nd Fractal Time buy/sell strategyUsing Williams Fractals and adding rays that extend to the second fractal after a high/low looking for an entry
CHOCH + FVG Signals [30m Optimized]CHOCH + FVG Signals
🎯 What It Does:
This script automatically scans your chart for high-probability Smart Money Concepts (SMC) setups based on two key institutional trading principles:
Change of Character (CHOCH) – A shift in market structure signaling potential reversal
Fair Value Gap (FVG) – An imbalance zone where price moved too fast, often acting as support/resistance
When both conditions align, the script plots clear Buy (▲) and Sell (▼) signals directly on your chart — ideal for intraday trading on the 30-minute timeframe (but works on any timeframe).
✅ Key Features:
🔹 Visual Fair Value Gaps
Green shaded zones = Bullish FVGs (potential support)
Red shaded zones = Bearish FVGs (potential resistance)
Toggle on/off in settings
🔹 Smart CHOCH Detection
Detects breaks of recent swing highs/lows with proper context
Avoids false signals by confirming prior price structure
🔹 Clear Trade Signals
Green ▲ below bar = Buy signal (Bullish CHOCH + FVG confluence)
Red ▼ above bar = Sell signal (Bearish CHOCH + FVG confluence)
🔹 Customizable Filters
Option to require FVG for a signal (recommended for higher accuracy)
Adjust sensitivity via swing detection settings (default optimized for 30m)
🔹 Alert-Ready
Built-in alert conditions for instant notifications on TradingView mobile/desktop
⚙️ How to Use:
Apply to a 30-minute chart (e.g., EURUSD, Gold, NAS100, BTC)
Wait for at least 50–100 bars to load (so swing points appear)
Look for:
A green triangle (▲) → consider long entry near FVG support
A red triangle (▼) → consider short entry near FVG resistance
Confirm with price action: Wait for a strong candle close or rejection at the FVG zone
Use stop-loss below/above the FVG and target recent liquidity pools
💡 Pro Tip: Best used during high-volume sessions (e.g., London Open 7–10 AM UTC, NY Open 12:30–3:30 PM UTC).
🛠️ Settings (Inputs):
Show Fair Value Gaps
✅ Enabled
Visualize FVG zones
Max FVG History
100 bars
Prevent chart clutter
Require FVG for Signal?
✅ Enabled
Higher-quality setups (disable to test CHOCH-only)
⚠️ Important Notes:
This is a signal generator, not financial advice. Always manage risk.
Works best in trending or breaking markets — avoid during low-volatility ranges.
FVGs may get filled (tested) before price continues — patience improves results.
Backtest on historical data before live trading.
📣 Ideal For:
Retail traders learning Smart Money Concepts (SMC)
Price action traders seeking institutional-level confluence
Intraday scalpers & swing traders on 30m–1H timeframes
LRHS Strategy - (@BAKARAFX)LRHS Strategy by @Bakarafx
🇫🇷 Indicateur avancé conçu pour identifier les zones de retournement potentielles basées sur les chasses de liquidités et la structure du marché.
Il aide les traders à comprendre où les grands acteurs piègent les participants avant un mouvement significatif, et à repérer les points clés de renversement avec précision.
⚙️ Fonctionnalités principales :
• Détection automatique des chasses de liquidités (hauts/bas précédents).
• Lecture multi-timeframe avec filtrage intelligent selon le timeframe de chasse et de confirmation.
• Signaux visuels clairs indiquant les zones de renversement structurel
• Outil compatible avec Bitcoin et Ethereum
• Optimisé pour le price action
🇺🇸 An advanced indicator designed to identify potential reversal zones based on liquidity hunts and market structure.
It helps traders understand where major players trap participants before a significant move, allowing for more precise detection of key reversal points.
⚙️ Main Features:
• Automatic detection of liquidity grabs (previous highs/lows)
• Multi-timeframe analysis with smart filtering between hunt and confirmation timeframes
• Clear visual signals highlighting structural reversal zones
• Compatible with Bitcoin and Ethereum
• Optimized for price action trading
📍 Développé par : @Bakarafx
⚠️ Disclaimer / Avertissement
This indicator is for educational and informational purposes only.
It does not constitute financial or investment advice.
Trading involves a high level of risk, and the author is not responsible for any financial losses that may occur.
Always do your own analysis and risk management before taking a trade.
Past performance does not guarantee future results.
Dynamic S/R# Complete Parameter Guide
## 1. Lookback Bars (Default: 500)
- **Function**: Number of historical bars the script analyzes to identify levels
- **Example**: If set to 500, the script examines the last 500 candles
- **Increase when**: Trading long-term, searching for old historical levels
- **Decrease when**: Day trading or short-term trading, viewing only recent levels
- **Recommendation**: 200-300 for day trading, 500-1000 for swing trading
## 2. Min Touches (Default: 3)
- **Function**: Minimum number of touches required for a level to be considered valid
- **Example**: If set to 3, a level with only 2 touches will not be displayed
- **Increase (4-5) when**: You want only very strong and confirmed levels
- **Decrease (2) when**: You want to identify potential levels early
- **Recommendation**: 3 is a balanced value - not too loose, not too strict
## 3. Extrema Type (Default: both)
- **Function**: Which type of extrema to identify
- **Options**:
- **min**: Support levels only (pivot lows)
- **max**: Resistance levels only (pivot highs)
- **both**: Both types
- **When to change**:
- In uptrend looking for support only: select "min"
- In downtrend looking for resistance only: select "max"
## 4. Pivot Window (Default: 5)
- **Function**: How many bars on each side are required to confirm a pivot
- **Technical explanation**: pivot low = price lower than 5 bars before it and 5 bars after it
- **Increase (7-10) when**:
- More significant extrema needed
- Less noise, fewer levels
- Good for higher timeframes
- **Decrease (3-4) when**:
- More sensitivity needed
- More levels wanted
- Good for scalping
- **Important**: Higher value = quality over quantity
## 5. Clustering Sensitivity % (Default: 0.5%)
- **Function**: Percentage deviation allowed to group touches into the same level
- **Example**: If level at $100 and sensitivity 0.5%, touches between $99.5-$100.5 count as same level
- **Increase (1-2%) when**:
- Volatile assets (crypto, small stocks)
- More consolidation of nearby levels
- Fewer levels on chart
- **Decrease (0.2-0.3%) when**:
- Stable assets (indices, forex majors)
- Higher precision needed
- Separation between close levels
- **Recommendation**: Start at 0.5% and adjust per instrument
## 6. Max Levels to Show (Default: 10)
- **Function**: Maximum number of support/resistance lines displayed on chart
- **Selection criteria**: Script prioritizes levels by:
1. Number of touches (more = stronger)
2. Price spread (tighter = more accurate)
3. Recency (most recent touch closer to present)
- **Low value (5-10)**: Clean chart with only strongest levels
- **High value (20-50)**: More options, including weaker levels
## 7. Min Bar Separation (Default: 5)
- **Function**: Minimum distance in bars between two touches of the same type (min or max)
- **Why important**: Prevents double-counting the same extremum
- **Example**: If pivot low at bar 100 and another at bar 103, only one counts
- **Increase (10-20) when**:
- Lower timeframes with much noise
- Avoiding false consolidation
- **Decrease (2-3) when**:
- Higher timeframes
- Identifying quick movements
## 8. Alert Proximity % (Default: 1%)
- **Function**: Distance from level at which to trigger alert
- **Example**: Level at $100, proximity 1% = alert between $99-$101
- **Increase (2-3%) when**:
- Earlier alerts wanted
- More preparation time needed
- May create false alerts
- **Decrease (0.5%) when**:
- More precise alerts wanted
- Stronger confirmation needed
- Less reaction time
- **Recommendation**: 1% works well for most cases
## 9. Show Price Bands (Default: true)
- **Function**: Displays zone around level instead of just a line
- **Zone size**: Plus/minus Clustering Sensitivity %
- **Why useful**:
- Levels are never exact lines
- Zone better represents reality
- Helps identify entries and exits within zone
- **Off**: Cleaner chart with only lines
## 10. Show Info Table (Default: true)
- **Function**: Displays information table in chart corner
- **Table contents**:
- Type: S (Support) / R (Resistance) / N (Neutral)
- Price: Level price
- Touches: Number of touches
- Bars Ago: How many bars since last touch
- **Off**: If you know the levels and want a clean chart
## Recommended Settings by Trading Style:
### Day Trading (Intraday)
```
Lookback Bars: 200-300
Min Touches: 2-3
Pivot Window: 3-5
Sensitivity: 0.3-0.5%
Max Levels: 5-8
```
### Swing Trading (Days-Weeks)
```
Lookback Bars: 500-800
Min Touches: 3-4
Pivot Window: 5-7
Sensitivity: 0.5-1%
Max Levels: 10-15
```
### Position Trading (Months)
```
Lookback Bars: 1000-2000
Min Touches: 4-5
Pivot Window: 7-10
Sensitivity: 1-2%
Max Levels: 8-12
```
**Important tip**: Start with default values and adjust gradually based on the asset and results.
Indian Gold Festival Dates HistoricalIndian Gold Festival Dates (1975-2025)
Marks 8 major Indian festivals associated with gold buying over 50 years of historical data. Essential for analyzing seasonal patterns and cultural demand cycles in gold markets.
Festivals Included:
Dhanteras (Gold) - Most auspicious gold buying day
Diwali (Orange) - Festival of Lights
Akshaya Tritiya (Green) - "Never-ending" prosperity
Dussehra (Red) - Victory and success
Makar Sankranti (Cyan) - Solar new year
Gudi Padwa (Magenta) - Hindu New Year (Maharashtra)
Ugadi (Purple) - Hindu New Year (South India)
Navratri (Yellow) - 9-day festival
Features:
✓ 408 exact historical dates (1975-2025)
✓ Color-coded vertical lines for easy identification
✓ Toggle individual festivals on/off
✓ Adjustable line width and labels
✓ Works on all timeframes (best on daily/weekly)
Perfect for traders analyzing gold seasonality, Indian market sentiment, and cultural demand patterns. Use on XAUUSD, GC1!, or Indian gold futures.
Nasdaq 1 min Nasdaq 1 minute
XAGUSD 5 MIN
The volume profile is built by distributing the tick volume equally across the discrete price levels of each bar. This is an approximation.
Harmonic Patterns Pro - Exact Ratios [abusuhil]═══════════════════════════════════════════════════════════════════
Harmonic Patterns Pro - Exact Ratios
═══════════════════════════════════════════════════════════════════
ENGLISH DESCRIPTION:
A professional harmonic pattern detector using precise Fibonacci ratios based on standard harmonic analysis reference tables.
KEY FEATURES:
• Exact Ratio System: Uses precise ratios from harmonic pattern reference tables
• Advanced Tolerance Control: Choose between 4 detection modes (All Exact, Exact+1, Exact+2, Exact+3 Flexible)
• Customizable Tolerance: Adjust exact (±3% default) and flexible (±8% default) tolerance levels
• 9 Harmonic Patterns: Gartley, Bat, Alternate Bat, Butterfly, Crab, Deep Crab, Shark, Cypher, AB=CD
• Smart ZigZag: Automatic pivot point detection
• PRZ Zones: Visual potential reversal zones
• Multiple Targets: TP1 (38.2%), TP2 (61.8%), TP3 (Point C)
• Auto Stop Loss: Calculated based on pattern structure
• Simplified Mode: Clean view with only essential signals
• Full Customization: Colors, opacity, sizes, styles
• Built-in Alerts: Notifications for pattern completion
WHAT MAKES IT DIFFERENT:
Unlike traditional harmonic indicators using approximate ratios, this indicator:
- Uses exact ratios from harmonic pattern reference tables
- Provides intelligent ratio tolerance control
- Allows mixing exact and flexible ratios
- Reduces false signals through advanced pattern matching
- Supports both conservative and aggressive trading approaches
HOW TO USE:
1. Select your preferred tolerance mode (Exact + 2 Flexible recommended for balanced detection)
2. Adjust tolerance percentages if needed
3. Enable/disable specific patterns based on your strategy
4. Customize visual settings
5. Set up alerts for automatic notifications
6. Use TP1, TP2, TP3 for profit-taking strategy
7. Place stop loss according to the SL indicator line
DISCLAIMER:
This indicator is provided for educational and informational purposes only. It should not be considered as financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss. Always perform your own analysis, use proper risk management, and consult with a qualified financial advisor before making trading decisions. Past performance is not indicative of future results.
═══════════════════════════════════════════════════════════════════
الوصف بالعربية:
كاشف احترافي للأنماط التوافقية يستخدم نسب فيبوناتشي الدقيقة المبنية على جداول التحليل التوافقي المرجعية القياسية.
المميزات الرئيسية:
• نظام النسب الدقيقة: يستخدم نسباً دقيقة من جداول الأنماط التوافقية المرجعية
• التحكم المتقدم بالتسامح: اختر بين 4 أوضاع كشف (كل النسب دقيقة، دقيق+1، دقيق+2، دقيق+3 مرن)
• تسامح قابل للتخصيص: اضبط مستويات التسامح الدقيق (±3% افتراضي) والمرن (±8% افتراضي)
• 9 أنماط توافقية: جارتلي، خفاش، خفاش بديل، فراشة، سلطعون، سلطعون عميق، قرش، سايفر، AB=CD
• زجزاج ذكي: كشف تلقائي لنقاط الارتكاز
• مناطق PRZ: مناطق مرئية للانعكاسات المحتملة
• أهداف متعددة: TP1 (38.2%)، TP2 (61.8%)، TP3 (النقطة C)
• وقف خسارة تلقائي: يُحسب بناءً على هيكل النمط
• وضع مبسط: عرض نظيف بالإشارات الأساسية فقط
• تخصيص كامل: الألوان، الشفافية، الأحجام، الأنماط
• تنبيهات مدمجة: إشعارات لاكتمال الأنماط
ما الذي يميزه:
على عكس مؤشرات الأنماط التوافقية التقليدية التي تستخدم نسباً تقريبية، هذا المؤشر:
- يستخدم نسباً دقيقة من جداول الأنماط التوافقية المرجعية
- يوفر تحكماً ذكياً بتسامح النسب
- يسمح بمزج النسب الدقيقة والمرنة
- يقلل الإشارات الخاطئة من خلال المطابقة المتقدمة للأنماط
- يدعم أساليب التداول المحافظة والعدوانية
كيفية الاستخدام:
1. اختر وضع التسامح المفضل (دقيق + 2 مرن موصى به للكشف المتوازن)
2. اضبط نسب التسامح إذا لزم الأمر
3. فعّل/عطّل أنماط معينة بناءً على استراتيجيتك
4. خصص إعدادات العرض
5. اضبط التنبيهات للإشعارات التلقائية
6. استخدم TP1 وTP2 وTP3 لاستراتيجية جني الأرباح
7. ضع وقف الخسارة وفقاً لخط مؤشر SL
إخلاء المسؤولية:
يُقدم هذا المؤشر لأغراض تعليمية وإعلامية فقط. لا ينبغي اعتباره نصيحة مالية أو توصية لشراء أو بيع أي أداة مالية. ينطوي التداول على مخاطر كبيرة للخسارة. قم دائماً بإجراء التحليل الخاص بك، واستخدم إدارة مخاطر مناسبة، واستشر مستشاراً مالياً مؤهلاً قبل اتخاذ قرارات التداول. الأداء السابق ليس مؤشراً على النتائج المستقبلية.
═══════════════════════════════════════════════════════════════════
The Wave Levels (ORB Indicator)This Indicator is made for the ORB trader. It's purpose is to help make your charting faster by providing some basic key levels to reference at a glance. This was optimized to be used on the 5m timeframe.
Key features:
1. Green and Red ORB rays to indicate the 15 minute Opening Range. These ranges will only extend as long as its respective session's length.
2. Previous sessions zones for historical easily identification of historical data (best used in UTC-4 timezone)
3. White Liquidity Rays. These rays are used to mark a previous session's high or low which hasn't been swept yet. This makes for a good TP area or identifying a potential reversal area.
Once a previous session high or low has been taken, the ray will automatically remove.
I am not a professional coder. This indicator was created by continuously prompting AI commands over the course of 3 days.
FVG & IFVG Box Detector
The "FVG & IFVG Box Detector" is a custom Pine Script v6 indicator for TradingView that identifies and highlights Fair Value Gaps (FVGs) and their subsequent mitigation as Imbalance Fair Value Gaps (IFVGs) on a price chart. Tailored for use on a 5-minute timeframe (though it must be manually set by the user due to script limitations), this indicator provides a visual representation of market imbalances using colored boxes, which automatically disappear when the gaps are filled by price action. The script is designed to be clean and minimalistic, omitting text labels or annotations as per your preference.Key FeaturesFVG Detection:A Bullish FVG is detected when the low of the current candle is higher than the high of the candle two bars ago, indicating a potential upward imbalance, visualized with a green-bordered box filled with a semi-transparent green background.
A Bearish FVG is detected when the high of the current candle is lower than the low of the candle two bars ago, indicating a potential downward imbalance, visualized with a red-bordered box filled with a semi-transparent red background.
A minimum gap size filter (default 0%) can be adjusted to exclude small gaps, ensuring only significant imbalances are highlighted.
IFVG Transition:When a Bearish FVG is filled (price closes below its lower boundary), the red box disappears, and a blue-bordered box with a semi-transparent blue background briefly appears to mark the Bullish IFVG, indicating the zone may now act as support. This box then vanishes.
When a Bullish FVG is filled (price closes above its upper boundary), the green box disappears, and an orange-bordered box with a semi-transparent orange background briefly appears to mark the Bearish IFVG, indicating the zone may now act as resistance. This box then vanishes.
The disappearance of boxes reflects the resolution of the imbalance, keeping the chart uncluttered.
Customization:Users can toggle the display of Bullish FVGs, Bearish FVGs, Bullish IFVGs, and Bearish IFVGs via input settings.
The extendBars parameter (default 50) controls how far to the right the boxes extend, allowing adjustment of their visibility duration.
Colors for Bullish FVG, Bearish FVG, Bullish IFVG, and Bearish IFVG can be customized using TradingView’s color picker, with defaults set to semi-transparent green, red, blue, and orange, respectively.
Performance:The script includes a cleanup mechanism to limit the number of active boxes to 50 per type, preventing performance issues by deleting the oldest boxes when the limit is exceeded.
It uses static variable assignments to ensure compatibility with Pine Script v6’s strict type requirements for drawing functions.
FunctionalityThe indicator scans each bar on the 5-minute chart to detect FVGs based on the defined conditions.
Upon detection, it creates a box extending from the starting bar (two bars ago) to the current bar plus the extendBars value, using the high and low prices to define the box’s vertical range.
When price action fills an FVG, the original box is deleted, and a brief IFVG box is created at the same price levels, which also disappears, signaling the imbalance has been neutralized.
No text or labels are displayed, ensuring a clean visual experience focused solely on the boxes.
Intended UseTraders: This tool is ideal for traders using FVG and IFVG concepts (common in Smart Money or ICT trading strategies) to identify potential support and resistance zones. The blue boxes (Bullish IFVGs) may indicate areas to buy or expect a bounce, while orange boxes (Bearish IFVGs) may indicate areas to sell or expect a pullback.
Chart Analysis: By observing when and where boxes appear and disappear, traders can track market structure shifts without cluttering the chart with annotations.
LimitationsThe script must be applied to a 5-minute chart manually, as the timeframe argument is not supported due to the use of drawing functions.
The brief appearance of IFVG boxes means historical levels must be tracked manually (e.g., via screenshots) or by adjusting the script to retain them if desired.
The minimum gap size filter might need tuning depending on the instrument (e.g., Gold) to capture relevant gaps.
Current Status (as of 08:53 AM EDT, October 23, 2025)The script is fully functional on your 5-minute chart, with the latest version (v5) resolving the timeframe error by removing the invalid argument. Boxes should now appear and disappear as intended, with green for Bullish FVGs, red for Bearish FVGs, blue for Bullish IFVGs, and orange for Bearish IFVGs.
TR ADR/AWR/AMR (with 25%, 50%, 75%) - RodolfoThis script uses the TR ADR/AWR/AMR indicator code and only the 25 and 75% levels for all 3 volatilities
Inside Bar Range Boxes — Volume Break out by Sparkfx v2 Confirm on close + buffer ticks (close must beat the box by a cushion)
Minimum box size (in ATR or %)
Minimum “compression length” (N consecutive inside bars)
Trend filter (EMA 200) (only buy above / sell below)
Volume filter (breakout vol > SMA vol)
Cooldown (no new signals for X bars after a breakout)
Mother-bar range box: When a candle is inside the previous candle (high ≤ prev high AND low ≥ prev low), the script marks the previous bar as the mother bar and draws a shaded box from that bar’s high/low.
The box extends to the right until price breaks out above the high or below the low.
On breakout it can color the border (green = up, red = down), optionally print BUY/SELL labels, and either keep the box or delete it.
Visuals
Box Fill / Border / Width: appearance of the range.
Bull/Bear Break Border: colors used once a breakout is detected.
Show BUY/SELL arrows: show small labels at the breakout.
Keep old boxes after breakout: leave history on chart.
Extend box forward (bars): safety limit so boxes don’t run forever.
Shrink to each NEW inside bar: if another inside bar appears within the active box, the range tightens to that newest mother
Require bar close outside box: wait for a candle close to confirm the break (less noise).
Buffer (ticks): require price to clear the box by N ticks (prevents 1-tick fakeouts).
Min box size (ATR x) and ATR length: ignore tiny boxes (e.g., min 0.25× ATR).
Min consecutive inside bars: only start a box after 2+ consecutive inside bars (more compression = cleaner moves).
Cooldown after breakout (bars): suppress new signals for X bars after a break..
Trend filter (EMA 200):
Buy only if price > EMA(200)
Sell only if price < EMA(200)
Volume filter: breakout volume must be > SMA(volume).
Maintain box: extend right each bar; optionally shrink to newer inside bars.
Breakout test:
Up: (close or high) > boxHigh + buffer
Down: (close or low) < boxLow - buffer
Apply trend, volume, and cooldown filters.
On breakout: color border (green/red), place label if enabled, optionally keep or delete the box, and fire an alertcondition.
Alerts included
Inside Bar Bullish Breakout (Filtered)
Inside Bar Bearish Breakout (Filtered)
They only trigger when all enabled filters pass.
How to use (quick playbook)
Turn on Require close and set Buffer = 1–2 ticks.
Set Min box size = 0.25–0.40 ATR, Min consecutive inside bars = 2.
Enable Trend filter (EMA 200) and optionally Cooldown = 5–10 bars.
Trade breakouts in the trend direction; place stops beyond the opposite side of the box.
If you want more trades, loosen ATR multiple or turn off the trend filter; if it’s too chatty, increase ATR multiple / consecutive bars.
Why your boxes may differ from other indicators
This script uses high/low wicks with optional tightening (if enabled), tolerance buffer, confirmation on close, and extra filters—all of which can make boxes and signals diverge from a “pure” inside-bar tool that draws on first detection without filters.
Ronin Pro Slingshot Trading SystemSlingshot Trading System is a comprehensive trend-following indicator that combines multiple technical analysis layers into one actionable dashboard. It identifies high-probability pullback entries in established trends using EMA alignment, RSI/MACD momentum confirmation, and ATR-based risk management.Key Features:
Dual visualization modes: EMA Ribbon (trend strength) or ATR Envelope (volatility zones)
Non-repainting signals with built-in cooldown to prevent spam
Live P&L tracking with automatic stop-loss and take-profit levels
Real-time dashboard showing all entry conditions (trend, momentum, pullback status)
Aggressive and conservative entry modes for different risk profiles
Smart pullback detection with consolidation filters
Best for: Swing traders and position traders looking for precise entries during trend pullbacks with clear risk/reward setups.
saodisengxiaoyu-lianghua-2.1- This indicator is a modular, signal-building framework designed to generate long and short signals by combining a chosen leading indicator with selectable confirmation filters. It runs on Pine Script version 5, overlays directly on price, and is built to be highly configurable so traders can tailor the signal logic to their market, timeframe, and trading style. It includes a dashboard to visualize which conditions are active and whether they validate a signal, and it outputs clear buy/sell labels and alert conditions so you can automate or monitor trades with confidence.
Core Design
- Leading Indicator: You choose one primary signal generator from a broad list (for example, Range Filter, Supertrend, MACD, RSI, Ichimoku, and many others). This serves as the anchor of the system and determines when a preliminary long or short setup exists.
- Confirmation Filters: You can enable additional filters that validate the leading signal before it becomes actionable. Each “respect…” input toggles a filter on or off. These filters include popular tools like EMA, 2/3 EMA crosses, RQK (Nadaraya Watson), ADX/DMI, Bollinger-based oscillators, MACD variations, QQE, Hull, VWAP, Choppiness Index, Damiani Volatility, and more.
- Signal Expiry: To avoid waiting indefinitely for confirmations, the indicator counts how many consecutive bars the leading condition holds. If confirmations do not align within a defined number of bars, the setup expires. This controls latency and helps reduce late or stale entries.
- Alternating Signals: An optional mode enforces alternation (long must follow short and vice versa), helping avoid repeated entries in the same direction without a meaningful reset.
- Aggregation Logic: The final long/short conditions are formed by combining the leading condition with all selected confirmation filters through logical conjunction. Only if all enabled filters validate the signal (within expiry constraints) does the indicator consider it a confirmed long or short.
- Visualization and Alerts: The script plots buy/sell labels at signal points, provides alert conditions for automation, and displays a compact dashboard summarizing the leading indicator’s status and each confirmation’s pass/fail result using checkmarks.
Leading Indicator Options
- The indicator includes a very large menu of leading tools, each with its own logic to determine uptrend or downtrend impulses. Highlights include:
- Range Filter: Uses a dynamic centerline and bands computed via conditional EMA/SMA and range sizing to define directional movement. It can operate in a default mode or an alternative “DW” mode.
- Rational Quadratic Kernel (RQK): Applies a kernel smoothing model (Nadaraya Watson) to detect uptrends and downtrends with a focus on noise reduction.
- Supertrend, Half Trend, SSL Channel: Classic trend-following tools that derive direction from ATR-based bands or moving average channels.
- Ichimoku Cloud and SuperIchi: Multi-component systems validating trend via cloud position, conversion/base line relationships, projected cloud, and lagging span.
- TSI (True Strength Index), DPO (Detrended Price Oscillator), AO (Awesome Oscillator), MACD, STC (Schaff Trend Cycle), QQE Mod: Momentum and cycle tools that parse direction from crossovers, zero-line behavior, and momentum shifts.
- Donchian Trend Ribbon, Chandelier Exit: Trend and exit tools that can validate breakouts or sustained trend strength.
- ADX/DMI: Measures trend strength and directional movement via +DI/-DI relationships and minimum ADX thresholds.
- RSI and Stochastic: Use crossovers, level exits, or threshold filters to gate entries based on overbought/oversold dynamics or relative strength trends.
- Vortex, Chaikin Money Flow, VWAP, Bull Bear Power, ROC, Wolfpack Id, Hull Suite: A diverse set of directional, momentum, and volume-based indicators to suit different markets and styles.
- Trendline Breakout and Range Detector: Price-behavior filters that confirm signals during breakouts or within defined ranges.
Confirmation Filters
- Each filter is optional. When enabled, it must validate the leading condition for a signal to pass. Examples:
- EMA Filter: Requires price to be above a specified EMA for longs and below for shorts, filtering signals that contradict broader trend or baseline levels.
- 2 EMA Cross and 3 EMA Cross: Enforce moving average cross conditions (fast above slow for long, the reverse for short) or a three-line stacking logic for more stringent trend alignment.
- RQK, Supertrend, Half Trend, Donchian, QQE, Hull, MACD (crossover vs. zero-line), AO (zero line or AC momentum variants), SSL: Each adds its characteristic validation pattern.
- RSI family (MA cross, exits OB/OS zones, threshold levels) plus RSI MA direction and RSI/RSI MA limits: Multiple ways to constrain signals via relative strength behavior and trajectories.
- Choppiness Index and Damiani Volatility: Prevent entries during ranging conditions or insufficient volatility; choppiness thresholds and volatility states gate the trade.
- VWAP, Volume modes (above MA, simple up/down, delta), Chaikin Money Flow: Volume and flow conditions that ensure signals happen in supportive liquidity or accumulation/distribution contexts.
- ADX/DMI thresholds: Demand a minimum trend strength and directional DI alignment to reduce whipsaw trades.
- Trendline Breakout and Range Detector: Confirm that the price is breaking structure or remains within active range consistent with the leading setup.
- By combining several filters you can create strict, conservative entries or looser setups depending on your goals.
Range Filter Engine
- A core building block, the Range Filter uses conditional EMA and SMA functions to compute adaptive bands around a dynamic centerline. It supports two types:
- Type 1: The centerline updates when price exceeds the band thresholds; bands define acceptable drift ranges.
- Type 2: Uses quantized steps (via floor operations) relative to the previous centerline to handle larger moves in discrete increments.
- The engine offers smoothing for range values using a secondary EMA and can switch between raw and averaged outputs. Its hi/lo bands and centerline compose a corridor that defines directional movement and potential breakout confirmation.
Signal Construction
- The script computes:
- leadinglongcond and leadingshortcond : The primary directional signals from the chosen leading indicator.
- longCond and shortCond : Final signals formed by combining the leading conditions with all enabled confirmations. Each confirmation contributes a boolean gate. If a filter is disabled, it contributes a neutral pass-through, keeping the logic intact without enforcing that condition.
- Expiry Logic: The code counts consecutive bars where the leading condition remains true. If confirmations do not line up within the user-defined “Signal Expiry Candle Count,” the setup is abandoned and the signal does not trigger.
- Alternation: An optional state ensures that long and short signals alternate. This can reduce repeated entries in the same direction without a clear reset.
- Finally, longCondition and shortCondition represent the actionable signals after expiry and alternation logic. These drive the label plotting and alert conditions.
Visualization
- Buy and Sell Labels: When longCondition or shortCondition confirm, the script plots annotated labels directly on the chart, making entries easy to see at a glance. The labels use color coding and clear text tags (“long” vs. “short”).
- Dashboard: A table summarizes the status of the leading indicator and all confirmations. Each row shows the indicator label and whether it passed (✔️) or failed (❌) on the current bar. This intensely practical UI helps you diagnose why a signal did or did not trigger, empowering faster strategy iteration and parameter tuning.
- Failed Confirmation Markers: If a setup expires (count exceeds the limit) and confirmations failed to align, the script can mark the chart with a small label and provide a tooltip listing which confirmations did not pass. It’s a helpful audit trail to understand missed trades or prevent “chasing” invalid signals.
- Data Window Values: The script outputs signal states to the data window, which can be useful for debugging or building composite conditions in multi-indicator templates.
Inputs and Parameters
- You control the indicator from a comprehensive input panel:
- Setup: Signal expiry count, whether to enforce alternating signals, and whether to display labels and the dashboard (including position and size).
- Leading Indicator: Choose the primary signal generator from the large list.
- Per-Filter Toggles: For each confirmation, a respect... toggle enables or disables it. Many include sub-options (like MACD type, Stochastic mode, RSI mode, ADX variants, thresholds for choppiness/volatility, etc.) to fine-tune behavior.
- Range Filter Settings: Choose type and behavior; select default vs. DW mode and smoothing. The underlying functions adjust band sizes using ATR, average change, standard deviation, or user-defined scales.
- Because everything is customizable, you can adapt the indicator to different assets, volatility regimes, and timeframes.
Alerts and Automation
- The script defines alert conditions tied to longCondition and shortCondition . You can set these alerts in your chart to trigger notifications or webhook calls for automated execution in external bots. The alert text is simple, and you can configure your own message template when creating alerts in the chart, including JSON payloads for algorithmic integration.
Typical Workflow
- Select a Leading Indicator aligned with your style. For trend following, Supertrend or SSL may be appropriate; for momentum, MACD or TSI; for range/trend-change detection, Range Filter, RQK, or Donchian.
- Add a few key Confirmation Filters that complement the leading signal. For example:
- Pair Supertrend with EMA Filter and RSI MA Direction to ensure trend alignment and positive momentum.
- Combine MACD Crossover with ADX/DMI and Volume Above MA to avoid signals in low-trend or low-liquidity conditions.
- Use RQK with Choppiness Index and Damiani Volatility to only act when the market is trending and volatile enough.
- Set a sensible Signal Expiry Candle Count. Shorter expiry keeps entries timely and reduces lag; longer expiry captures setups that mature slowly.
- Observe the Dashboard during live markets to see which filters pass or fail, then iterate. Tighten or loosen thresholds and filter combinations as needed.
- For automation, turn on alerts for the final conditions and use webhook payloads to notify your trading robot.
Strengths and Practical Notes
- Flexibility: The indicator is a toolkit rather than a single rigid model. It lets you test different combinations rapidly and visualize outcomes immediately.
- Clarity: Labels, dashboard, and failed-confirmation markers make it easy to audit behavior and refine settings without digging into code.
- Robustness: The expiry and alternation options add discipline, avoiding the temptation to enter late or repeatedly in one direction without a reset.
- Modular Design: The logical gates (“respect…”) make the behavior transparent: if a filter is on, it must pass; if it’s off, the signal ignores it. This keeps reasoning clean.
- Avoiding Overfitting: Because you can stack many filters, it’s tempting to over-constrain signals. Start simple (one leading indicator and one or two confirmations). Add complexity only if it demonstrably improves your edge across varied market regimes.
Limitations and Recommendations
- No single configuration is universally optimal. Markets change; tune filters for the instrument and timeframe you trade and revisit settings periodically.
- Trend filters can underperform in choppy markets; likewise, momentum filters can false-trigger in quiet periods. Consider using Choppiness Index or Damiani to gate signals by regime.
- Use expiry wisely. Too short may miss good setups that need a few bars to confirm; too long may cause late entries. Balance responsiveness and accuracy.
- Always consider risk management externally (position sizing, stops, profit targets). The indicator focuses on signal quality; combining it with robust trade management methods will improve results.
Example Configurations
- Trend-Following Setup:
- Leading: Supertrend uptrend for longs and downtrend for shorts.
- Confirmations: EMA Filter (price above 200 EMA for long, below for short), ADX/DMI (trend strength above threshold with +DI/-DI alignment), Volume Above MA.
- Expiry: 3–4 bars to keep entries timely.
- Result: Strong bias toward sustained moves while avoiding weak trends and thin liquidity.
- Mean-Reversion to Momentum Crossover:
- Leading: RSI exits from OB/OS zones (e.g., RSI leaves oversold for long and leaves overbought for short).
- Confirmations: 2 EMA Cross (fast crossing slow in the same direction), MACD zero-line behavior for added momentum validation.
- Expiry: 2–3 bars for responsive re-entry.
- Result: Captures momentum transitions after short-term extremes, with extra confirmation to reduce head-fakes.
- Range Breakout Focus:
- Leading: Range Filter Type 2 or Donchian Trend Ribbon to detect breakouts.
- Confirmations: Damiani Volatility (avoid low-volatility false breaks), Choppiness Index (prefer trend-ready states), ROC positive/negative threshold.
- Expiry: 1–3 bars to act on breakout windows.
- Result: Better alignment to breakout dynamics, gating trades by volatility and regime.
Conclusion
- This indicator is a comprehensive, configurable framework that merges a chosen leading signal with an array of corroborating filters, disciplined expiry handling, and intuitive visualization. It’s designed to help you build high-quality entry signals tailored to your approach, whether that’s trend-following, breakout trading, momentum capturing, or a hybrid. By surfacing pass/fail states in a dashboard and allowing alert-based automation, it bridges the gap between discretionary analysis and systematic execution. With sensible parameter tuning and thoughtful filter selection, it can serve as a robust backbone for signal generation across diverse instruments and timeframes.
Enhanced OB Retest Strategy v7.0The OB Retest Strategy is a full Order Block retest trading system that detects, plots, and trades OB zones across multiple timeframes. It uses structure breaks, retrace depth, and ATR filters to identify strong reversal or continuation setups.
⸻
⚙️ Core Features
• Multi-timeframe OB detection using break-of-structure (BOS) logic
• Automatic zone creation for bullish and bearish order blocks
• Smart merging of overlapping OB zones
• Dynamic flip-zone logic that turns invalidated OBs into new zones
• Wick zone detection for high-precision entries
• ATR-based trailing stop and optional breakeven
• Adjustable retrace depth, breakout %, and ATR filters
• Built-in performance table showing PnL, win rate, and total trades
• Fully backtestable with date range and commission control
⸻
🧠 Logic Summary
1. Detects a BOS on the higher timeframe.
2. Identifies the last opposing candle as the valid OB.
3. Validates the OB based on ATR size and breakout strength.
4. Waits for price to retest the zone to a set depth.
5. Executes trades and manages exits using trailing stop or breakeven.
6. Flips invalidated zones automatically.
⸻
💡 Usage Tips
• Best used on 1H to 4H charts for swing setups.
• Tune ATR and breakout thresholds for your market’s volatility.
• Combine with higher-timeframe bias or liquidity levels for better accuracy.
⸻
⚠️ Notes
• For educational and testing purposes only.
• Backtested results do not predict future performance.
• Always test before live use.
Ronin Pro Trading SystemRonin Pro Trading System is a comprehensive multi-timeframe trading indicator that combines trend analysis, momentum confirmation, volume validation, and Elliott Wave structure to provide high-probability entry and exit signals. Designed for serious traders who want a systematic approach to market analysis.
6am Candle High/Low Indicator with Highlight6am Candle High/Low Indicator with Highlight
6am Candle High/Low Indicator with Highlight
6am Candle High/Low Indicator with Highlight
6am Candle High/Low Indicator with Highlight 6am Candle High/Low Indicator with Highlight
Alerts Killzones + PD/WL/ML Levels (No Labels)This indicator automatically highlights the London and New York killzones and triggers alerts at key price levels — without adding any labels or text clutter to the chart.
Features:
Highlights London (10:00–13:00) and New York (15:00–17:00) sessions (GMT+3, Romania).
Draws and updates key levels automatically:
PDH / PDL – Previous Day High & Low
WH / WL – Previous Week High & Low
MH / ML – Previous Month High & Low
Alerts when price touches any of these levels.
Alerts at session opens and closes for both London and New York.
Clean interface – no labels or extra markers on chart.
Ideal for:
Traders who follow ICT concepts, session-based setups, or liquidity sweeps and want precise alerts without chart noise.
SD Demand & Supply IndicatorSD Demand & Supply Indicator automatically identifies and displays demand and supply zones across multiple timeframes.
The indicator detects:
Demand Zones: Drop–Boring–Rally (DBR) and Rally–Boring–Rally (RBR) formations
Supply Zones: Rally–Boring–Drop (RBR) and Drop–Boring–Drop (DBD) formations
When a Demand Zone is detected, it plots a blue Label below the relevant boring candle. When a Supply Zone is detected, it plots a red Label above the relevant boring candle — making it easy to visualize potential reversal areas.
With built-in alert functionality, you can also set alerts on your preferred symbols and timeframes to get instant notifications whenever new Demand or Supply Zones are formed.
How the Script Works?
1. The script scans the price action of three to five consecutive candles to identify potential Demand and Supply patterns based on the open, High, Low and close prices.
2. The script evaluates every candle’s price movement based on set conditions to confirm a valid demand or supply pattern.
3. For demand cases, the script recognizes specific formations such as Drop– Boring –Rally (DBR) and Rally– Boring –Rally (RBR), which indicate potential buying zones.
4. For supply cases, it identifies Rally– Boring –Drop (RBD) and Drop– Boring –Drop (DBD) structures, indicate potential selling zones.
5. When a valid Demand Zone is detected, the script plots a Blue label below the relevant Boring candle.
6. When a valid Supply Zone is found, it plots a Red label above the relevant Boring candle.
7. The script includes an alert feature that notifies users in real-time whenever a valid demand or supply pattern is formed, allowing timely action
How Users can get benefited using this Script?
1. The labels and text plotted by the script help traders visually identify potential entry and exit points.
2. When a valid Demand Zone is detected and the price revisits it, it may indicate a potential bullish reversal.
3. When a valid Supply Zone is detected and the price revisits it, it may indicate a potential bearish reversal.
4. Users can integrate this script with other indicators, fundamental data, or sentiment analysis to confirm signals and make more informed decisions.
5. Traders should use proper risk management strategies, including stop-loss orders to limit losses and targets when the trade moves in their favor.
Settings Explained
1. Boring & Legin Ratio
This is the ratio between the Legin candle and the Boring candle.
A default value of 2 means the Legin candle size (High–Low) is twice the size (High–Low) of the Boring candle.
2. Leg-In & Leg-Out Ratio
This is the ratio of Legin candle and Legout candle.
A default value 2 means the Legout candle size (High-Low) is twice the size (High-Low) of the Legin candle.
3. Leg-In & Three-Leg-Out Ratio
This is the ratio of Legin candle and to the combined size of three Legout candles. A default value 2 means the overall size of the three Legout candles is twice that of the Legin candle.
4. Leg-In Body to Wick Ratio
It is the ratio between the body size of a candle and its total wick length.
A default value of 0.6 means that 60% of the total candle length should be the body.
Zone Selection Filters
1. All Possible Zones
Displays all types of zones, including with or without Clear Area and with or without True Range (TR) vs Average True Range (ATR) criteria
2. All Zones with TR Vs ATR
Shows all zones but with True Range (TR) vs Average True Range (ATR) criteria.
3. Clear Area Zone Only
It will show the Zone with Clear Area and either with or without TR Vs ATR compliance
Clear Area Zone – is considered when the body of the Legout candle does not overlap the Boring candle. In other words, the right side of the Boring candle area remains completely free
4. Clear Area Zone with TR vs ATR Compliance
It will show the Zone with Clear Area and with TR Vs ATR compliance
Note: No. 1 and 2 is suitable for Forex, and crypto market segment
No. 3 and 4 is suitable for commodity and stock market segment
What is TR Vs ATR Criteria?
TR (True Range) vs ATR (Average True Range) criteria is used to validate the strength of a Demand or Supply Zone and it is very important criteria.
For Legin Candle (first candle of the pattern from left) — TR value should be greater than the ATR value.
For Boring Candle (second candle of the pattern from left) — TR value should be smaller than the ATR value.
For Legout Candle (third ,fourth & fifth candle of the pattern from left) — TR value should again be greater than the ATR value,
Important:
Due to the high calculation effort, the history is limited to maximum 10 Zones in total. All zones prior to that will not be displayed so that chart remain clear. Once our indicator has started displaying a Zone, then zone will be visible until it exceeds maximum 10 Zone history. This indicator does not repaint. All signals remain fixed once a candle closes.
What Makes this Indicator Unique?
The Smart Dude Indicator stands out because it doesn’t just mark Demand and Supply Zones — it qualifies them using advanced candle behavior and volatility analysis by using TR Vs ATR analysis .
Unlike typical zone indicators that rely only on price structure, Smart Dude combines candle-to-candle ratio logic with TR vs ATR criteria
Why traders use this indicator?
This strategy is already being used by many experienced traders, including some of my close trading associates. They’ve seen results and even encouraged me to publish it so that more traders can benefit from it. The indicator combines key elements like candle ratio and TR vs ATR criteria, giving users a structured and reliable way to identify zones.
How this Indicator Is Original?
The Smart Dude Indicator is a fully original work — designed and coded from scratch with a unique logic structure.
It is not copied or derived from any existing open-source script.
Key points that make it unique and original:
Exclusive Candle Ratio Logic
TR vs ATR Integration
Clear Area Detection
Fully Hand-Written Logic
Every condition — from candle identification to ratio calculation and plotting — has been manually coded line by line without importing or modifying any existing public logic.
Disclaimer:
This indicator is only for educational purposes and that highlights potential market opportunities. It should not be treated as financial or investment advice.
Trading in financial markets involves risk. The indicator is designed to assist you in making more informed decisions but outcomes depend on your due intelligence and zone validation skills
Market Cycle Detector-By ParthibMarket Cycle Detector – by Parthib
This indicator provides a clear visual guide to market cycles for any asset or index you trade. It highlights bullish and bearish phases, helping you better manage your risk. By knowing the current market cycle at a glance, you can decide when to increase your exposure and when to be more cautious. Simply paste it on the chart of any script (Preferably INDEX's, I use CNX500)
you trade and let it assist in your risk management decisions.






















