Crypto MACD SignalsUnlocking Enhanced Market Insights: A Next-Generation MACD Indicator for Cryptocurrency Trading
Introduction: Beyond Traditional MACD
In the vast landscape of technical analysis tools, the Moving Average Convergence Divergence (MACD) stands as one of the most ubiquitous and trusted momentum indicators. However, its classic formulation often leaves traders sifting through frequent crossovers, struggling to distinguish high-probability signals from market noise, especially in the volatile cryptocurrency markets. This script represents a significant evolution of the classic MACD, transforming it from a standalone oscillator into a comprehensive, multi-layered signal detection system. Its core originality lies not in reinventing the MACD calculation, but in augmenting it with proprietary filtering mechanisms, quantitative signal scoring, and visual prioritization to enhance decision clarity and timing.
Core Functionality: What It Does and How It Achieves It
This indicator, titled "Crypto MACD Signals," is a dedicated, non-overlay oscillator built for clarity and actionability. It performs three primary functions simultaneously:
Enhanced MACD Visualization: It plots the traditional MACD line, Signal line, and Histogram with a refined color scheme. The histogram is dynamically colored (blue for bullish, orange for bearish) but introduces a key innovation: the identification of "Huge" or "Anomalous" Bars. A bar is highlighted in bright white when its size exceeds twice the 20-bar Simple Moving Average of the absolute histogram values. This instantly draws attention to moments of exceptional momentum surge or capitulation, which often precede significant trend accelerations or reversals.
Context-Aware Signal Generation: Instead of marking every MACD line crossover, the script applies a crucial logical filter. It only plots a "BUY" signal (green upward triangle) when a bullish crossover occurs while the histogram is below the zero line. Conversely, a "SELL" signal (red downward triangle) is plotted only when a bearish crossover occurs while the histogram is above the zero line. This filter ensures signals are generated in the context of a potential trend reversal from an oversold or overbought state, rather than during the middle of a strong trend, dramatically increasing the signal's statistical edge. This aligns with a classic "Oscillator Reversal from Extremes" methodology within trend-following systems.
Real-Time Performance Dashboard: A fixed table in the top-right corner serves as a live statistical dashboard. It tracks and displays the total count of:
Generated Buy Signals
Generated Sell Signals
Total "Huge" Histogram Bars (both bullish and bearish)
This provides traders with an at-a-glance understanding of recent market activity—whether it has been signal-rich or quiet, and the frequency of high-momentum events—aiding in assessing the current market regime (e.g., trending vs. consolidating).
Implementation and Practical Usage
The indicator is designed for tactical swing trading and momentum-based intraday positioning in crypto assets. Its primary use case is for identifying "Pullback Entries within a Trend" and "Early Trend Reversal Confirmations."
For Trend-Following: A trader in an established uptrend would wait for a pullback that drives the MACD histogram negative. A subsequent bullish crossover that triggers a "BUY" signal, especially if accompanied by a "Huge" bullish histogram bar, offers a high-confidence entry point to re-join the trend.
For Counter-Trend/Reversal Scenarios (Scalping): The script is highly effective for a specific scalping technique: "Fading Extreme Momentum Exhaustion." A cluster of "Huge" bearish bars followed by a diminishing histogram and a bullish crossover signal can indicate selling exhaustion, presenting a short-term long scalp opportunity. The inverse applies for short scalps. The labels ("🔥") and arrows provide clear visual cues for these setups directly on the chart.
Workflow: Traders are advised to first observe the statistical table to gauge recent activity. Then, they should look for convergence between a filtered arrow signal (BUY/SELL) and the appearance of a "Huge" bar or a cluster of them. This multi-factor confirmation is the cornerstone of the strategy.
Underlying Philosophy and Calculation Logic
The script's intelligence is built on a layered philosophy of "Momentum Quantification and Contextual Validation."
Dynamic Thresholding for Anomalies: The "Huge Bar" detection does not use a fixed threshold. By comparing the current histogram value to a recent average of absolute momentum (ta.sma(math.abs(hist_line), 20)), it creates an adaptive, market-responsive benchmark. A bar that is 200% larger than recent average momentum is statistically anomalous, suggesting institutional-sized order flow or a major shift in sentiment. This is a direct application of statistical volatility band principles to momentum, not price.
Signal Filtering for Phase Alignment: The conditional logic for plotting arrows (bullish_cross and hist_line < 0) ensures the MACD crossover signal is aligned with the correct momentum phase of the market cycle. A buy signal is only valid if momentum (histogram) is coming from a "recharging" or bearish area (below zero), not when it's already extended above zero. This prevents buying at a peak and selling at a trough, which is a common pitfall of the raw indicator. This embodies the trading axiom: "Trade the turn, not the continuation."
Quantitative Self-Awareness: The integrated counter and dashboard represent a meta-analysis layer. It allows the tool to provide feedback on its own performance density. A market generating many signals might be choppy and range-bound, while a market with few signals but several "Huge Bars" might be in a strong, steady trend. This helps the trader select the appropriate strategy (trend riding vs. reversal scalping) for the current environment.
In essence, this script synthesizes several respected trading concepts: the core trend/momentum logic of MACD, the anomaly detection common to volatility-based indicators like Keltner Channels, and the signal-verification philosophy of multi-indicator systems—all packaged into a single, coherent, and visually intuitive tool specifically tuned for the unique amplitude and speed of cryptocurrency markets.
차트 패턴
FADE GIGA CANDLE STRAT# 🔥 FADE GIGA CANDLE STRATEGY
## Overview
The **Fade Giga Candle Strategy** is a contrarian trading indicator designed to identify extreme price movements (called "Giga Candles") and predict mean reversion opportunities. This strategy is specifically optimized for Polymarket's 15-minute crypto prediction markets (BTC, ETH, SOL, XRP) but can be applied to any timeframe.
**Core Concept:** When price makes an unusually large move with extreme RSI and high volume, it often reverses in the next period. This indicator detects those moments and signals to "fade" (bet against) the move.
---
## 📊 What Does It Do?
### Signal Generation
- **FADE BEARISH (📉)**: Detects massive green candles → Predicts price will go DOWN next
- **FADE BULLISH (📈)**: Detects massive red candles → Predicts price will go UP next
### Real-Time Stats
- Win Rate tracking
- Total Return calculation
- Expected Value (EV) analysis
- Breakeven threshold display (57.14% for 75% win / 100% loss structure)
### Visual Alerts
- Chart labels showing predictions
- Background highlighting on signal candles
- Stats table in top-right corner
- RSI indicator with overbought/oversold zones
---
## ⚙️ How It Works
### 1. Giga Candle Detection
The indicator analyzes the last 500 candles and identifies "Giga Candles" based on:
- **Body Size Percentile** (default 93rd): Only the top 7% largest candles qualify
- **Minimum Body %** (default 0.5%): Filters out noise on small moves
### 2. Confirmation Filters
Before generating a signal, the indicator checks:
**RSI Filter (Optional)**
- RSI must be ≥70 (overbought) OR ≤30 (oversold)
- Indicates price is at an extreme level
**Volume Filter (Optional)**
- Current volume must be ≥1.5x the 20-period average
- Confirms the move has conviction
### 3. Fade Logic
```
IF Giga Green Candle + RSI Extreme + High Volume
→ FADE BEARISH (predict DOWN)
IF Giga Red Candle + RSI Extreme + High Volume
→ FADE BULLISH (predict UP)
```
---
## 🎛️ Settings & Parameters
### Giga Candle Detection
| Parameter | Default | Range | Description |
|-----------|---------|-------|-------------|
| **Giga Candle Percentile** | 93.0 | 80-99 | Top X% of candles by body size. 93 = only top 7% qualify as "giga" |
| **Min Body % (Safety)** | 0.5 | 0.1-2.0 | Minimum body size as % of price. Prevents false signals on low volatility |
### RSI Filter
| Parameter | Default | Range | Description |
|-----------|---------|-------|-------------|
| **Use RSI Filter** | ON | ON/OFF | Require RSI to be extreme before signaling |
| **RSI Length** | 14 | 5-50 | Period for RSI calculation |
| **RSI Overbought** | 70 | 60-85 | Threshold for overbought condition |
| **RSI Oversold** | 30 | 15-40 | Threshold for oversold condition |
### Volume Filter
| Parameter | Default | Range | Description |
|-----------|---------|-------|-------------|
| **Use Volume Filter** | ON | ON/OFF | Require high volume before signaling |
| **Volume SMA Length** | 20 | 10-50 | Period for average volume calculation |
| **Volume Multiplier** | 1.5 | 1.0-3.0 | Current volume must be X times the average |
### Display Options
- **Show Signal Labels**: Display prediction labels on chart
- **Highlight Signal Candles**: Background color on signal bars
- **Show Stats Table**: Performance statistics in top-right
- **Enable Alerts**: Push notifications when signals occur
---
## 🚀 How to Use
### For Polymarket Trading (Recommended)
1. **Set timeframe to 15 minutes** (matches Polymarket market duration)
2. **Apply to BTC, ETH, SOL, or XRP charts**
3. **Wait for signal:**
- 📉 FADE BEARISH → Buy "DOWN" on Polymarket
- 📈 FADE BULLISH → Buy "UP" on Polymarket
4. **Hold until market resolves** (15 minutes)
5. **Track your performance** using the stats table
### For Regular Trading
1. Use on any liquid crypto market
2. When signal appears, consider entering a mean-reversion trade
3. Set stop-loss at 100% of entry (built into expected value calculation)
4. Take profit at 75% gain (matches the 57.14% breakeven math)
### Understanding the Stats Table
**Win Rate**: Your prediction accuracy percentage
- **Target: >57.14%** (breakeven for 75% win / 100% loss structure)
- Green if profitable, red if unprofitable
**Expected Value (EV)**: Average % return per trade
- **Positive EV** = Strategy is profitable long-term
- **Negative EV** = Strategy is losing long-term
- Formula: `(WinRate% × 75) - (LossRate% × 100)`
**Total Return**: Cumulative % gain/loss across all signals
---
## 📈 Interpretation Guide
### Strong Signals
✅ Large giga candle (top 3-5%)
✅ RSI >75 or <25 (very extreme)
✅ Volume >2x average
✅ Signal appears after sustained trend
✅ Win rate >60% in recent trades
### Weak Signals (Consider Skipping)
⚠️ Borderline giga candle (barely above threshold)
⚠️ RSI only slightly extreme (71 or 29)
⚠️ Volume just meets minimum (1.5x)
⚠️ Signal appears during choppy/sideways market
⚠️ Win rate <50% in recent trades
---
## 💡 Pro Tips
### 1. Timeframe Matters
- **15-min**: Best for Polymarket, captures intraday exhaustion
- **1-hour**: Better for swing trading
- **5-min**: Too noisy, not recommended
### 2. Market Context
- Works best in **trending markets** that overextend
- Less effective in **tight ranges** (consolidation)
- Avoid during **low liquidity** hours (weekends, holidays)
### 3. Filter Tuning
**More Aggressive (More Signals)**
- Lower Giga Percentile (90th)
- Disable RSI filter
- Lower volume multiplier (1.2x)
**More Conservative (Fewer, Higher Quality)**
- Raise Giga Percentile (95th)
- Tighter RSI thresholds (75/25)
- Higher volume multiplier (2.0x)
### 4. Bankroll Management
- **Never bet >5% of capital** on a single signal
- Maintain 20+ bet bankroll minimum
- Use Kelly Criterion: `Bet% = (WinRate - LossRate) / 2`
- Example: 60% win rate → Bet ~10% of bankroll
### 5. Track Your Performance
- Monitor the stats table actively
- If win rate drops below 55% for 20+ trades, **stop trading**
- If EV goes negative, **reassess filters or market conditions**
- Keep a trading journal outside the indicator
---
## ⚠️ Risk Disclosure
### Important Warnings
1. **Past performance ≠ future results**: Backtested win rates may not hold in live trading
2. **Market conditions change**: Strategy may stop working if market dynamics shift
3. **Gambler's ruin risk**: Even profitable strategies can lose multiple trades in a row
4. **Polymarket specific**:
- Carries smart contract risk
- Subject to liquidity constraints
- Markets can resolve unexpectedly
5. **Not financial advice**: This is an educational tool, not a recommendation to trade
### Best Practices
- Start with **small position sizes** to test
- Track at least **50 signals** before evaluating performance
- Consider **paper trading** first (simulated trades)
- Never trade with money you can't afford to lose
- Understand the **57.14% breakeven** requirement
---
## 🔧 Troubleshooting
### "No signals appearing"
- Check if filters are too strict (try disabling RSI/Volume filters temporarily)
- Reduce Giga Percentile to 90th
- Ensure sufficient chart history loaded (>500 candles)
### "Too many signals"
- Increase Giga Percentile to 95th
- Enable both RSI and Volume filters
- Raise volume multiplier to 2.0x
### "Win rate seems low"
- Check if you're trading during low liquidity periods
- Verify you're using 15-min timeframe for Polymarket
- Consider market is in tight consolidation (strategy works best in trends)
---
## 📚 Technical Details
### Calculations
- **Body Size**: `|close - open|`
- **Body %**: `(bodySize / open) × 100`
- **Giga Threshold**: `percentile_nearest_rank(last 500 candles, 93rd)`
- **RSI**: Standard 14-period RSI
- **Volume Ratio**: `current_volume / SMA(volume, 20)`
### Performance Tracking
- Checks if previous signal was correct after 1 bar
- Win = +75% to total return
- Loss = -100% to total return
- Win Rate = `(correct_predictions / total_signals) × 100`
---
## 🎯 Ideal Use Cases
### ✅ Perfect For:
- Polymarket 15-minute crypto prediction markets
- Mean-reversion trading on liquid crypto pairs
- Contrarian traders who fade extremes
- Systematic traders who follow rules-based signals
### ❌ Not Ideal For:
- Trend-following strategies (this is contrarian)
- Low volatility assets (needs large moves)
- Illiquid markets (won't have "giga" candles)
- Sub-5-minute scalping (too much noise)
---
## 📞 Support & Updates
**Version**: 6.0
**Last Updated**: January 2025
**Compatible With**: TradingView Pine Script v6
### Feedback Welcome
If you find this indicator useful or have suggestions for improvement, please:
- ⭐ Leave a rating
- 💬 Comment with your results
- 🚀 Share your settings for different markets
**Good luck, and trade responsibly!** 🎯
---
## Quick Start Checklist
- Set timeframe to 15 minutes
- Load BTC, ETH, SOL, or XRP chart
- Verify stats table shows in top-right
- Enable alerts for signal notifications
- Start with paper trading to validate
- Track at least 20 signals before going live
- Never bet more than 5% of bankroll per trade
- Monitor win rate and stop if <55%
**Remember: The goal is >57.14% win rate for profitability!**
SM ZONE AND IC CANDLES OANDA WINTER-updatedSM AND IC MARKING INDICATOR where you can mark the daily indicator for the SM zone and london and new york zones automatically for OANDA FOR WINTER TIMINGS
Optimal Day Trading System🚥 How to Trade with ODTS
The indicator provides visual cues on the chart (triangles) and a real-time Status Table to help you make decisions.
Signal Definitions
Buy Signal (Green Triangle): Price is above the Sunya line and the Primary Cycle is trending up.
Strong Buy (Lime Triangle): All criteria are met, plus the Secondary Cycle has also turned bullish. This indicates "confluence".
Sell Signal (Red Triangle): Price is below the Sunya line and the Primary Cycle is trending down.
Strong Sell (Maroon Triangle): Both Primary and Secondary cycles are aligned with a price break below the Sunya line.
Real-Time Status Table
Located at the top right, this table gives you an instant "health check" of the current asset:
Price > Sunya: Confirms if the current price is above or below the FLD.
Cycle Dir: Shows the slope of the primary trend.
Position: Tells you if price is "Inside" the envelope (ranging) or "Above/Below" (overextended).
📈 Best Practices
Confluence is Key: The strongest trades occur when the Signal column in the table shows "STRONG BUY" or "STRONG SELL," meaning multiple cycles are in agreement.
Envelope Extremes: If the Status Table shows the Position as "ABOVE" or "BELOW" the envelope, be cautious about entering new trades, as the price may be overextended and due for a reversion to the Basis (mean).
Timeframe Synergy: Use the 15-minute timeframe for swing trade entries and the 1-minute or 5-minute for precise day trading executions.
Key LevelsHTF Key Levels - Multi-Timeframe Liquidity & Structure Mapping
══════════════════════════════════════════════════════════════════
A comprehensive higher timeframe key level indicator designed for traders who understand that price is drawn to liquidity. This tool plots previous period highs, lows, equilibrium levels (50%), and opening prices across multiple timeframes—giving you a complete roadmap of where institutional order flow is likely to engage.
══════════════════════════════════════════════════════════════════
🎯 WHY THESE LEVELS MATTER
══════════════════════════════════════════════════════════════════
Markets are not random. Price seeks liquidity resting above previous highs and below previous lows. Understanding where these levels exist across multiple timeframes allows you to:
→ Identify high-probability reversal zones
→ Anticipate stop hunts and liquidity sweeps
→ Align your entries with institutional order flow
→ Recognize when price is trading at a discount or premium
The 50% equilibrium levels mark fair value—price tends to return to these zones before continuing directional moves.
══════════════════════════════════════════════════════════════════
📊 FEATURES
══════════════════════════════════════════════════════════════════
MULTI-TIMEFRAME LEVELS:
• Daily — PDH / PDL / PD 50% / Daily Open
• Weekly — PWH / PWL / PW 50% / Weekly Open
• Monthly — PMH / PML / PM 50% / Monthly Open
• Quarterly — PQH / PQL / PQ 50%
• Yearly — PYH / PYL / PY 50% / Yearly Open
• 4-Hour — Previous 4H High / Low / 50%
• 30-Minute — Previous 30m High / Low / 50%
SESSION LEVELS:
• Asia Session High/Low — See where overnight liquidity formed
• London Session High/Low — Track European session range
CUSTOMIZATION:
• Full horizontal line extension or fixed-length lines
• Solid, dashed, or dotted line styles
• Adjustable line width and colors per timeframe
• Toggle labels on/off with customizable size
• Show/hide price values on labels
• Adjustable label offset
ALERTS:
• Price crossing any major level (PDH, PDL, PWH, PWL, PMH, PML, PQH, PQL, PYH, PYL)
══════════════════════════════════════════════════════════════════
💡 HOW TO USE
══════════════════════════════════════════════════════════════════
IDENTIFY DRAW ON LIQUIDITY:
Previous highs and lows represent resting stop losses. When price approaches these levels, anticipate a potential sweep followed by reversal—especially when confluent with other factors.
TRADE FROM DISCOUNT TO PREMIUM:
Use the 50% equilibrium levels to identify fair value. Look to buy below the 50% (discount) and sell above it (premium) within a defined range.
SESSION LIQUIDITY:
Enable Asia and London session levels to see where liquidity was established before the New York session. These levels are frequent targets during NY open.
CONFLUENCE STACKING:
The most powerful setups occur when multiple timeframe levels converge. A zone where PDL aligns near PWL or a monthly level creates a high-probability reaction point.
OPENING PRICES:
Daily, Weekly, Monthly, and Yearly opens act as magnets. Price often returns to test these levels, making them valuable reference points for directional bias.
══════════════════════════════════════════════════════════════════
⚙️ RECOMMENDED SETTINGS
══════════════════════════════════════════════════════════════════
For intraday trading (1m-15m charts):
• Enable: Daily, Weekly, Monthly levels + Session levels
• Consider: 4H and 30m for shorter-term structure
For swing trading (1H-4H charts):
• Enable: Daily, Weekly, Monthly, Quarterly levels
• Consider: Yearly levels for macro context
Pro tip: Use distinct colors for each timeframe to quickly identify level hierarchy at a glance.
══════════════════════════════════════════════════════════════════
Built for traders who respect structure.
— Hollow Point Trading
"Dull entries miss the mark. Hollow points always expand."
══════════════════════════════════════════════════════════════════
HFTS - Z-Score Mean ReversionCore Concept
The indicator calculates a Z-Score — a statistical measure showing how many standard deviations price is from its mean. When price stretches too far from the mean (into extreme territory), it tends to revert back, creating trading opportunities.
How It Works
Z-Score Calculation:
Takes a moving average (default 20 bars) and standard deviation of your chosen source (default: close)
Z-Score = (Price - Mean) / Standard Deviation
Applies smoothing (default 3-period SMA) to reduce noise
Includes a 9-period EMA signal line for crossover context
Zone Detection:
Overbought: Z-Score ≥ 2.0 (price is 2+ standard deviations above mean)
Oversold: Z-Score ≤ -2.0 (price is 2+ standard deviations below mean)
Reversal Signals:
Triangles plot when Z-Score exits extreme zones (not enters) — this is the mean reversion trigger
Short signal: Z-Score drops back below overbought level
Long signal: Z-Score rises back above oversold level
Visual Features
Volume Profile overlay showing where volume clustered at different Z-Score levels over your lookback period — helps identify high-volume-node zones where reversions may stall or accelerate
Info table displaying current Z-Score value, zone status, and momentum direction
Gold accent when in extreme zones, white line in neutral territory
BS Multi-MA綜合5/10/20/60/200日的SMA、EMA、WMA
並於WMA與SMA相交時呈現提示標籤
時間級別與提示標籤可自行開關
"Combines the SMA, EMA, and WMA for 5, 10, 20, 60, and 200-day periods. Displays signal labels when the WMA crosses the SMA. Both timeframes and labels can be toggled on or off manually."
Anhnga 5.8 - MT5 XAUUSD 60% PartialsI make it for Algoway
XAUUSDc - MT5
This Pine Script strategy, **Anhnga 5.8**, is a sophisticated trend-following system designed specifically for trading Gold (XAUUSD) and automated for use with MetaTrader 5 (MT5).
It combines momentum oscillators, trend filters, and a high-precision risk management system that includes **partial profit-taking** and **automatic breakeven.**
---
## 1. Core Trading Logic
The strategy enters a trade only when several "confluences" (conditions) align:
* **WaveTrend Oscillator:** It looks for a "cross" in the WaveTrend (WT) indicator. A Long signal occurs when WT crosses up from oversold levels; a Short signal occurs when it crosses down from overbought levels.
* **Trend Filter:** You can choose to only trade in the direction of the trend using two Moving Averages (Fast and Slow). For example, it will only Buy if the price is above both MAs.
* **Overextension Guard:** It calculates the distance between the price and the Moving Average using ATR (Average True Range). If the price has moved "too far, too fast," it skips the trade to avoid buying at the top or selling at the bottom.
* **Bollinger Band Filter:** It uses the BB Midline (Basis) as a gatekeeper. It only buys if the price is above the midline and only sells if it is below.
---
## 2. Advanced Risk Management
This is where the strategy stands out for professional use:
* **Partial Profit Taking (60%):** When the price reaches a "Partial Target" (halfway to your final TP), the strategy automatically closes **60% of your position**.
* **Automatic Breakeven:** Immediately after the partial profit is taken, the strategy moves the **Stop Loss (SL) to the entry price**. This ensures that the remaining 40% of the trade is "risk-free."
* **Reversal Guard:** This prevents "revenge trading." If a trade is closed, the script forces a cooldown period (default 5 bars) before you can enter a trade in the opposite direction.
* **Max SL Distance:** If the market is too volatile and the calculated Stop Loss is too wide (risking too many pips), the strategy will automatically skip that trade.
---
## 3. MT5 Automation (The "Bridge")
The strategy is coded to send specific text commands (Webhooks) to an automation bridge (like PineConnector or similar tools) to execute trades on **MetaTrader 5**.
| Command | Action in MT5 |
| --- | --- |
| `buy` / `sell` | Opens a position with your specific Lot size, SL, and TP. |
| `close` | Closes exactly 60% of the lot size when the first target is hit. |
| `closeall` | Flattens the entire position if a hard exit time or final TP/SL is hit. |
---
## 4. Key Settings to Watch
* **Trading Window:** Set to GMT+7 by default. It will only look for entries during your specified hours and will "Hard Flatten" (close everything) at a specific time (default 03:45 AM) to avoid overnight swaps or volatility.
* **Initial Capital:** Set to $50,000 for backtesting purposes.
* **Risk/Reward (RR):** Default is 1.0. This means if your SL is $5 away, your final TP will be $5 away.
---
## 5. Visual Guide on Chart
* **Cyan/White Lines:** Your Fast and Slow Moving Averages (Trend).
* **Red Line:** Your active Stop Loss.
* **Green Line:** Your final Take Profit.
* **Blue Line:** Your partial profit target (disappears once hit).
* **Background Colors:** Green zones show when you are allowed to trade; Red/Orange zones indicate the strategy is "resting" or outside trading hours.
**Would you like me to help you adjust the Risk:Reward ratios or modify the Partial Profit percentage (e.g., changing from 60% to 50%)?**
[uxo] Delta Heatmap - Open Sourcedtheres genuinely no reason that a delta heatmap should be closed source
DOL EngineEMA FILTERED
WAVE BASED
these highs / lows can be seen or used in sweeps, turtle soups & inducements.
have high probability of equals being formed in these areas
Multi-cycle EMA50 full-screen solid lineA small tool to help you check the price of EMA50 over multiple periods.
STRAT + Timeframe Continuity + 50% RuleTheSTRAT is a multi-timeframe strategy that focuses on three primary components: Inside Bars, Directional Bars, and Outside Bars. The approach also emphasizes several key principles, including Full Time Frame Continuity, Broadening Formations, and the significance of Inside Bars.
Neeson Vegas ChannelVegas Channel Indicator: A Comprehensive Multi-Timeframe Trend-Following System
Originality and Conceptual Foundation
This script implements an enhanced version of the classic "Vegas Tunnel" or "Vegas Channel" methodology, popularized by traders who follow the work associated with the "Vegas" technique. Its primary original contribution lies in its specific, rule-based multi-layered trend identification and visualization system. While the core uses well-known Exponential Moving Averages (EMAs), the originality is in the precise combination of periods and the strict, hierarchical logic for defining trend states and generating signals.
Unlike simpler moving average crossovers or single-tunnel systems, this script employs three distinct EMA pairs, each serving a unique purpose within the trend hierarchy:
Short-Term Momentum Pair (EMA 12 & 24): Acts as the primary signal trigger and momentum gauge.
Core Trend Tunnel (EMA 144 & 169): Serves as the central "channel" or "tunnel." A key visual and logical component is the shading between these two lines, which thickens and changes color with the trend, creating a dynamic channel.
Long-Term Foundation Pair (EMA 580 & 670): Represents the underlying, slower-moving trend foundation, providing context for the higher-timeframe bias.
The system's true innovation is its binary and exclusive trend definition logic. It does not rely on a single crossover. Instead, it defines a confirmed Uptrend only when both the short-term EMAs (12 and 24) are established above both lines of the core tunnel (144 and 169). Conversely, a Downtrend is confirmed only when both short-term EMAs are established below both core tunnel lines. This creates a high-confidence filter, reducing whipsaw signals that can occur when price oscillates around a single moving average.
Functionality, Implementation, and Usage
What It Does:
This indicator is a multi-timeframe trend identification and signal-generation tool. It visually condenses trend information from short, medium, and long-term perspectives onto a single chart. Its primary functions are:
Trend State Classification: It dynamically classifies the market into one of three states: Bull Trend (Blue), Bear Trend (Orange), or Sideways/Congestion (Gray). This is reflected in the chart's background color, the color of all EMA lines, and the fill of the central 144/169 channel.
Signal Generation: It plots discrete buy and sell arrows. A Buy Signal (blue upward triangle) appears the first bar the market transitions into the defined "Uptrend" state from a non-uptrend state. A Sell Signal (orange downward triangle) appears the first bar the market transitions into the defined "Downtrend" state.
Visual Structuring: It plots all six EMAs and prominently highlights the interaction zone between the 144 and 169 EMAs with a colored fill, making the "tunnel" a focal point for support/resistance and trend quality assessment.
How It's Implemented:
The logic is implemented through a clear sequence of conditional checks:
Calculation: All six EMAs are calculated based on user-definable periods (defaults as listed).
Trend Logic: The script continuously evaluates the position of EMA12 and EMA24 relative to EMA144 and EMA169 using strict AND conditions to define the uptrend and downtrend Boolean variables.
Signal Logic: A signal (buy or sell) is generated only on the change of the trend state. It uses a check of the form current_trend_state AND (NOT previous_bar_trend_state) to pinpoint the exact bar of transition.
Visual Feedback: All plot colors, the channel fill color, and the background color are unified and determined by the current trend state variable. Labels for the trend and each EMA line are drawn on the last bar for clarity.
How to Use It:
Traders employ this indicator primarily for trend-following and breakout confirmation. It is suited for swing trading or higher-timeframe positional trades rather than scalping, due to the lag inherent in its longer EMAs and its focus on confirmed states.
Trend Bias: The overall color scheme (blue/orange/gray background) provides an immediate, at-a-glance assessment of the dominant trend force. Trading in the direction of the colored background is considered aligned with the system's trend.
Signal Entry: The arrow signals are not meant for blind entry. They mark the point of a confirmed trend state transition.
A Buy Signal suggests the short-term momentum (12,24) has decisively broken above and established itself over the medium-term trend framework (144,169). This could be used as a trigger for long entries, preferably with the long-term EMAs (580,670) sloping upwards or flat, adding confluence.
A Sell Signal suggests the opposite breakdown.
Channel as Dynamic S/R: The filled area between EMA144 and EMA169 acts as a dynamic support zone in an uptrend and a resistance zone in a downtrend. Pullbacks into this "tunnel" that hold without triggering a sell signal (i.e., without both EMA12 & 24 closing back below both tunnel lines) can be viewed as potential continuation opportunities.
Filter for Other Systems: The clear trend state (uptrend/downtrend) can be exported or used as a filter for other trading systems or discretionary decisions, ensuring actions are only taken in the direction of the script's defined trend.
Core Computational Philosophy and Strategic Rationale
The script's logic is rooted in the philosophy of trend hierarchy and confirmation. It belongs to the category of Multi-Moving Average Convergence/Divergence Systems with State-Based Rules.
The 144/169 Tunnel: These numbers are derived from Fibonacci sequences (144, 169 is 12^2 and 13^2). They are believed by proponents to represent a natural rhythm or "heartbeat" of the market, defining a robust intermediate-term trend framework.
The 12/24 Pair: A standard fast-moving average pair commonly used to gauge short-term momentum and trigger entries.
The Strategic Innovation (Dual-Condition Crossover): The core idea is that a crossover of a single fast MA above a single slow MA can be false and noisy. By requiring both members of a fast pair to establish position relative to both members of a slower "tunnel" pair, the system demands a broader, more concerted move. This seeks to filter out weak, unsustainable breaks and only capture shifts in momentum strong enough to flip the entire short-term structure's position relative to the medium-term structure.
The 580/670 Pair: These very slow EMAs represent the "secular" trend. While not part of the direct signal logic, they provide critical context. A buy signal that occurs while price is above the 580/670 pair (which would be sloping up in a healthy bull market) carries more weight than one that occurs while price is below this long-term foundation, which might indicate a counter-trend rally.
In essence, this script is more than just moving averages on a chart. It is a systematic, rule-based framework for identifying when the market's short-term energy (12,24) has converged sufficiently to overcome and reposition itself against its medium-term equilibrium (144/169 tunnel), thereby signaling a high-probability phase change in trend, all while considering the backdrop of a long-term trend (580/670).
Trinity Tactical: BTC Liquidity Snatch//@version=6
indicator("Trinity Tactical: BTC Liquidity Snatch", overlay=true)
// --- INPUTS ---
liq_level = input.float(87156.0, "Liquidity Low to Sweep", step=10)
fvg_threshold = input.float(0.5, "FVG Min Size (%)", step=0.1)
// --- LIQUIDITY SWEEP LOGIC ---
is_swept = low < liq_level and close > liq_level
plotshape(is_swept, title="Liquidity Sweep", style=shape.triangleup, location=location.belowbar, color=color.green, size=size.small, text="SWEEP")
// --- FVG DETECTION (FOR ENTRY) ---
// Bullish FVG: Low of bar > High of bar
is_bullish_fvg = low > high and (low - high ) > (close * fvg_threshold / 100)
// Visualizing the Entry FVG Zone
var box fvg_box = na
if is_bullish_fvg and barstate.isconfirmed
fvg_box := box.new(bar_index , low , bar_index, high , bgcolor=color.new(color.green, 80), border_color=color.green)
// --- LEVELS ---
hline(87156, "8H Liquidity Low", color=color.red, linestyle=hline.style_dashed)
hline(92500, "TP1: Supply", color=color.orange, linestyle=hline.style_dotted)
hline(97000, "TP2: Range High", color=color.green, linestyle=hline.style_dotted)
// --- ALERTS ---
alertcondition(is_swept, title="BTC Sweep Alert", message="Liquidity Swept! Look for FVG Entry.")
alertcondition(is_bullish_fvg, title="BTC FVG Entry", message="Bullish Displacement Detected. Check 15m Structure.")
Multi-Timeframe Inside Bar Breakout (4-Symbol Simultaneous)Multi-Timeframe Inside Bar Breakout (4-Symbol Simultaneous)
Overview
Monitors 4 symbols across 4 timeframes simultaneously, displaying labeled alerts when all 4 symbols break out from inside bar compression on any tracked timeframe. See 15-minute, 30-minute, 60-minute, and daily breakouts all on one chart — complete multi-timeframe compression analysis.
When all 4 symbols compress into inside bars and then ALL break the same direction, you get clear directional confirmation across different timeframes. Perfect for Rob Smith's "The Strat" methodology and traders who use multi-timeframe analysis for entry confirmation.
🎯 Why This Matters
Multi-timeframe breakout confluence = stronger signals.
When SPY, QQQ, IWM, and DIA simultaneously:
✅ Compress into inside bars (bar )
✅ ALL break same direction (bar )
✅ Across multiple timeframes
You get layered confirmation — not just one timeframe saying "go," but multiple timeframes agreeing on direction.
Example: 15m breakout + 60m breakout + Daily breakout = alignment across timeframes.
✅ Key Features
✅ 4 Timeframes Tracked — Monitor 15m, 30m, 60m, Daily (fully customizable)
✅ 4 Symbols Per Timeframe — All must break together for signal
✅ Staggered Labels — Each timeframe displays at different distance (no overlap)
✅ Adaptive Positioning — Works on futures, stocks, forex, crypto
✅ Customizable Colors — Bullish/bearish colors with opacity control
✅ Alert-Ready — 8 alert conditions (bull/bear per timeframe)
✅ Works on Any Chart — See higher timeframe signals on lower timeframe charts
📊 How It Works
Inside Bar Check (Bar ):
All 4 symbols had inside bars (high < prior high AND low > prior low)
Breakout Check (Bar ):
Bullish: All 4 close > prior high
Bearish: All 4 close < prior low
Label Display:
📈IBSB 15 = Bullish breakout on 15-minute timeframe
📉IBSB D = Bearish breakout on daily timeframe
Each timeframe operates independently — you might see multiple timeframe labels on the same bar when breakouts align.
⚙️ Settings Guide
Symbols (Default: SPY, QQQ, IWM, DIA)
Customize to any 4 symbols
Popular: ES/NQ/YM/RTY (futures), XLF/XLK/XLE/XLV (sectors)
Timeframes (Default: 15, 30, 60, D)
Set any 4 timeframes to monitor
Examples: 5/15/60/240 (intraday stack), 60/D/W/M (swing stack)
Display Options:
Bullish/Bearish colors + opacity control
Label distance (% of bar range)
Stagger spacing (prevents overlap)
Max labels per timeframe (default: 25)
Debug Mode:
Shows which symbols are inside/breaking per timeframe
Useful for troubleshooting
🔔 Setting Up Alerts
Create alerts for any combination:
"IBSB Bull - TF1" (first timeframe bullish)
"IBSB Bear - TF4" (fourth timeframe bearish)
Set to "Once Per Bar Close" for confirmed signals
💡 Example Trading Approach
Note: Educational example, not trading advice.
Watch for compression across symbols on higher timeframes
IBSB label appears → all 4 broke same direction
Multiple timeframe labels = stronger confluence
Enter with your strategy using proper risk management
Example: Daily IBSB bullish + 60m IBSB bullish = aligned timeframes for potential long entry.
🎯 Why Multi-Timeframe Matters
Single timeframe breakout = one piece of data.
Multi-timeframe breakout = confirmation across time horizons.
When 15m, 60m, and Daily all show simultaneous 4-symbol breakouts → market structure aligning across timeframes.
🔧 Technical Details
✅ PineScript v6 (latest)
✅ Adaptive label positioning (scales with price)
✅ Smart staggering (prevents label overlap)
✅ Label management (max 500 total across timeframes)
✅ NA-safe logic (handles missing data)
✅ Works across all chart timeframes
⚠️ Important Disclaimers
Not financial advice: Educational and informational purposes only
No performance guarantees: Past breakouts don't predict future results
Risk management essential: Always use proper position sizing
Test before trading: Backtest and paper trade first
⚡ Quick Start
Add indicator to chart
Set symbols (default: SPY/QQQ/IWM/DIA)
Set 4 timeframes (default: 15/30/60/D)
Customize colors if desired
Create alerts (optional)
Watch for 📈IBSB or 📉IBSB labels with timeframe designation
📞 Support
Follow for updates and new indicators.
Questions? Leave a comment below — I respond to all feedback.
💬 Final Thoughts
Multi-timeframe compression breakouts with 4-symbol confirmation. Instead of monitoring dozens of charts manually, see all your timeframe breakouts in one place. When multiple timeframes align with simultaneous 4-symbol breakouts, you get clearer directional signals.
Use as one component of your analysis, combine with your risk management, and always trade with discipline.
Happy trading! 📈
Free and open-source for personal use. If you find this valuable:
👍 Like | 📝 Review | 🔔 Follow
Head & Shoulders Detector [HPT]Head & Shoulders Detector — Indicator Description
What It Does
The Head & Shoulders Detector automatically identifies one of the most reliable reversal patterns in technical analysis — the Head & Shoulders (bearish) and Inverted Head & Shoulders (bullish). Instead of manually scanning charts for these formations, the indicator does the heavy lifting by detecting valid patterns, drawing the structure, extending the neckline, and calculating precise price targets.
How It Works
1. Pivot Detection
The indicator continuously scans for swing highs and swing lows using a configurable lookback period. These pivots form the foundation for identifying the three peaks (or troughs) that make up the pattern.
2. Pattern Validation
For a valid Head & Shoulders (bearish reversal):
Three pivot highs where the middle peak (Head) is the highest
Left and Right Shoulders are approximately equal in height (within your tolerance setting)
Two pivot lows between the peaks form a neckline that's relatively horizontal
For a valid Inverted Head & Shoulders (bullish reversal):
Three pivot lows where the middle trough (Head) is the lowest
Left and Right Shoulders are approximately equal in depth
Two pivot highs between the troughs form the neckline
3. Neckline Projection
Once a pattern is detected, the indicator draws and extends the neckline forward — this is your key breakout level. The neckline slope is calculated dynamically, so angled necklines are handled correctly.
4. Price Target Calculation
The measured move target is automatically calculated using the classic method: the distance from the Head to the Neckline, projected in the breakout direction from the neckline break point.
5. Breakout Detection
The indicator monitors price against active necklines and triggers alerts when price closes beyond the neckline — confirming the pattern completion.
How To Use It
Let the pattern form — the indicator will alert you and draw the complete structure once all criteria are met (Left Shoulder → Head → Right Shoulder + valid neckline).
Watch the neckline — this is your trigger level. The pattern isn't "activated" until price breaks and closes beyond the neckline.
Use the target — the projected price target gives you a measured move objective for trade management.
Combine with context — H&S patterns carry more weight when they form at key levels (prior support/resistance, round numbers, or after extended trends).
Best Practices
Higher timeframes (30m, 4H, Daily) produce more reliable patterns than lower timeframes
Patterns forming after extended trends carry more reversal weight
Wait for neckline confirmation — the breakout signal — before entering
Use the target as a guide, not gospel — scale out or trail stops as price approaches
Combine with volume analysis if available — breakouts on volume are more reliable
Unicorn A+ Setup dector No repaintNO REPAINT.
The Unicorn Model is a precision confluence indicator that identifies high-probability trade entries by detecting the overlap between Fair Value Gaps (FVGs) and Order Blocks (OBs) — a concept known in ICT methodology as the "Unicorn" setup. When institutional footprints align in the same zone, you get a stacked entry with multiple layers of confluence.
How It Works
1. Fair Value Gap Detection
The indicator automatically identifies imbalances in price where a gap exists between candle wicks — areas where price moved too fast and left "unfilled" space. These gaps act as magnets for price to return and rebalance.
2. Order Block Detection
Simultaneously, the indicator maps out Order Blocks — the last opposing candle before a significant move. These represent areas where institutional orders were placed and often act as support/resistance on retest.
3. Unicorn Zone = FVG + OB Overlap
When a Fair Value Gap and Order Block of the same directional bias overlap, the indicator highlights this confluence zone as a Unicorn. This is your highest-probability entry area — you're not trading just one concept, you're trading the intersection of two.
4. Entry Signals
When price taps into an active Unicorn zone and shows confirmation (bullish/bearish candle structure or wick rejection), the indicator plots:
Entry arrow (▲ for longs, ▼ for shorts)
Entry line at current close
Stop loss line just beyond the zone
Take profit line based on your selected R:R multiplier
How To Use It
Wait for a Unicorn zone to form — the indicator will alert you and highlight the zone in purple (bullish) or yellow (bearish).
Let price retrace into the zone — don't chase. The setup works when price returns to fill the imbalance.
Look for confirmation — the indicator triggers an entry signal when price shows rejection or closes favorably after tapping the zone.
Manage the trade using the plotted entry/stop/target levels, or use your own discretion based on market structure.
Best Practices
Works on any timeframe, but higher timeframes (15m, 1H, 4H) produce more reliable zones
Use in confluence with market structure (trend direction, key levels)
Unicorns that form at premium/discount levels or near session highs/lows carry extra weight
Mitigated zones auto-remove to keep your chart clean
JC_Squeeze_timeframeJC_ squeeze, squeeze of a different timeframe.
eg. 5 min Chart, use slightly smaller timeframe squeeze line 3 min
XAUSNIPERThis is for all subscribers
1. Use color candles
2. Use mitigation
3. Use lux algo structure shifts
Multi-Symbol Inside Bar Detector (4-Symbol Compression)Multi-Symbol Inside Bar Detector (4-Symbol Compression)
Overview
Detects simultaneous inside bars across 4 symbols in real-time — a signal of market-wide compression that may precede directional moves. When all 4 symbols are "inside" (trading within the prior bar's range), the market is consolidating.
Monitor SPY, QQQ, DIA, IWM (or any 4 symbols you choose) on a single timeframe. No more chart hopping. Designed for Rob Smith's "The Strat" methodology and price action traders who trade compression setups.
🎯 Why This Matters
Inside bars indicate compression and consolidation.
When all 4 major ETFs simultaneously compress into inside bars:
Market is consolidating within a range
Volatility is contracting (not expanding)
A directional move may follow (direction unknown)
This is NOT a directional signal — it's a consolidation detector. You determine direction based on your analysis. This indicator identifies WHEN compression exists across multiple symbols.
✅ Key Features
✅ 4-Symbol Monitoring — Track 4 symbols simultaneously on one timeframe
✅ Visual Alerts — Bar coloring + optional "4-Inside" labels
✅ TradingView Alerts — Get notified when all 4 go inside simultaneously
✅ Live vs Confirmed Mode — Toggle between real-time (repaints) or bar-close confirmation (no repaint)
✅ Customizable — Any 4 symbols, any timeframe, custom colors
✅ Debug Table — See which symbols are inside (troubleshooting)
📊 How It Works
Inside Bar Definition (Rob Smith Standards)
An inside bar forms when:
High < Prior High AND
Low > Prior Low
Current bar trades entirely within prior bar's range.
Technical Implementation
pinescriptisInside(h, l, ph, pl) =>
na(h) or na(l) or na(ph) or na(pl) ? false : (h < ph and l > pl)
NA-safe: Handles missing data gracefully
Strict comparison: Uses < and > (not <= or >=)
Rob Smith compliant: Tick-perfect inside bar detection per Strat methodology
4-Symbol Requirement
Signal fires when ALL 4 symbols are inside bars simultaneously. If only 3 are inside → no signal. All 4 must compress together.
⚙️ Settings Guide
Symbols
Default: SPY, QQQ, DIA, IWM (broad market coverage)
Customize: Click to change to ANY 4 symbols
Popular Combinations:
Futures: ES, NQ, YM, RTY
Sectors: XLF, XLK, XLE, XLV
Mega Caps: AAPL, MSFT, GOOGL, AMZN
Timeframe
Default: 60 (1-hour bars)
What it does: Applies SAME timeframe to all 4 symbols
Examples: 5 (5min), 15 (15min), D (Daily)
Live Intrabar Mode
ON (default): Shows forming bars in real-time (repaints until close)
OFF: Waits for bar close (no repaint, confirmed only)
Use ON for: Live monitoring, intraday setups
Use OFF for: Alerts, backtesting, confirmed signals
Display Options
Show Labels: Toggle "4-Inside" labels on/off
Inside Bar Color: Default yellow (customize)
Show Debug Table: See per-symbol status (for troubleshooting)
🔔 Setting Up Alerts
Right-click chart → "Add Alert"
Condition: Select this indicator
Frequency: "Once Per Bar Close" (recommended for confirmed mode)
Alert fires when all 4 symbols go inside simultaneously (edge detection, not every bar)
💡 Example Trading Approaches
Note: These are educational examples, not trading advice. Past compression patterns do not guarantee future directional moves.
Approach 1: Higher TF Compression → Lower TF Trigger
1H chart: 4-symbol inside bar forms (compression)
15m chart: Monitor for directional break
Await confirmation with your analysis before entry
Approach 2: Daily Compression → Intraday Entries
Daily chart: All 4 compress (consolidation)
1H chart: Monitor for range expansion
Use your directional bias to determine position
Approach 3: Sector Analysis
Use sector ETFs (XLF, XLK, XLE, XLV)
When all 4 compress → observe which breaks first
Analyze sector strength/weakness patterns
🎯 Why 4 Symbols?
Market coverage: When SPY, QQQ, DIA, and IWM all compress together, it indicates broad market consolidation across multiple market-cap segments.
SPY: S&P 500 (large caps)
QQQ: Nasdaq 100 (tech)
DIA: Dow 30 (blue chips)
IWM: Russell 2000 (small caps)
Using 4 major indices helps filter noise from single-symbol compression.
⚡ Quick Start
Add indicator to chart
Choose symbols (default: SPY/QQQ/DIA/IWM)
Set timeframe (default: 60min)
Toggle live mode (ON for real-time, OFF for confirmed)
Create alert (optional)
Yellow bars = all 4 inside
Use with your directional analysis
🔒 Technical Details
Code Quality
✅ PineScript v6 (latest)
✅ NA-safe logic (handles missing data)
✅ Rob Smith Strat standards (strict tick tolerance)
✅ No repainting (in confirmed mode)
✅ Efficient performance (max_bars_back=2)
✅ Open-source (educational transparency)
Repainting Behavior
Live Mode (ON): Repaints until bar closes (shows forming bars)
Confirmed Mode (OFF): No repaint, waits for bar close
Alert recommendation: Use Confirmed Mode to avoid false alerts
📞 Support
Follow me on TradingView for updates and new indicators.
Questions? Leave a comment below. I respond to all feedback.
⚠️ Important Disclaimers
Not financial advice: This indicator is for educational purposes and market analysis
No performance guarantees: Past patterns do not predict future results
Directional bias required: Inside bars indicate consolidation, not direction
Risk management essential: Always use proper position sizing and stops
Test before trading: Backtest on historical data and paper trade first
💬 Final Thoughts
Compression often precedes expansion, but direction remains uncertain. When multiple major indices compress simultaneously, it indicates market-wide consolidation. This indicator helps identify those moments across 4 symbols — no more chart hopping, easier pattern recognition.
Use it as one component of your analysis, combine with your directional methodology, and always manage risk appropriately.
Happy trading! 📈
Free and open-source for personal use. If you find this valuable:
👍 Like | 📝 Review | 🔔 Follow






















