EBC 310 Pullback EngineEBC 310 Pullback Engine
A proprietary momentum oscillator designed specifically for identifying high-probability pullback entries in trending markets.
📊 What It Does:
The EBC 310 Pullback Engine calculates the difference between 3-period and 10-period simple moving averages, then smooths this differential with a 16-period moving average to identify momentum shifts and trend exhaustion points.
🎯 How To Use:
For LONG Entries (Pullback in Uptrend):
Wait for fast line (histogram) to dip below zero line
Enter when fast line turns GREEN (momentum returning)
Best when slow line is above zero (confirming uptrend)
For SHORT Entries (Pullback in Downtrend):
Wait for fast line to spike above zero line
Enter when fast line turns RED (momentum failing)
Best when slow line is below zero (confirming downtrend)
🔧 Features:
✅ Color-Coded Momentum:
Green bars = Rising momentum (bullish)
Red bars = Falling momentum (bearish)
Blue bars = No change (consolidation)
✅ Trend Confirmation:
Blue slow line = Rising trend strength
Purple slow line = Weakening trend
Orange slow line = Trend pause
✅ Zero Line Reference:
Gray line marks equilibrium
Above = bullish bias
Below = bearish bias
⚙️ Settings:
3-10 Diff Moving Average Window: Default 16
Lower values (10-12) = More sensitive, faster signals
Higher values (20-25) = Smoother, fewer false signals
💡 Trading Strategy:
Identify overall trend direction on higher timeframe
Wait for pullback (fast line crosses zero against trend)
Enter when momentum returns (color change with trend)
Exit when fast line crosses zero in opposite direction
📈 Best Timeframes:
Scalping: 1-5 min charts
Day Trading: 15-30 min charts
Swing Trading: 1H-4H charts
⚠️ Risk Disclaimer:
This indicator is a momentum tool and should be used in conjunction with proper risk management, support/resistance levels, and additional confirmation signals. No indicator guarantees profitable trades.
指標和策略
Smoothed Heiken Ashi Candles9-SMA Trading Method (Buy and Sell Rules)
Sell Rules
A candle closes above.
Buy Rules
A candle closes below the 9-SMA.
Adaptive Alligator - Asymmetric MH (Entry Only)
Adaptive Alligator – Asymmetric Mexican Hat (Entry Only)
This strategy combines adaptive cycle detection (wavelet + autocorrelation), directional entropy, and a Mexican Hat filter to generate highly selective LONG entry signals. Exits are based solely on the Alligator structure. The system is designed to detect asymmetric, strong, and accelerating bullish phases while filtering out market noise.
1. Adaptive Cycle Detection: The strategy analyzes the median price using wavelet decomposition (Haar, Daubechies D4/D6, Symlet 4), wavelet detail energy, and autocorrelation. It also incorporates the ratio of short-term to long-term ATR volatility. Based on these components, it computes a dominant_cycle value, which dynamically controls the lengths of the Alligator lines (Jaw, Teeth, Lips). This adaptive behavior allows the Alligator to speed up during trending phases and slow down during noise or consolidation.
2. Directional Entropy: Entropy is measured separately for upward and downward movements within the selected lookback window. The entropy difference: e_diff = entropy_down - entropy_up represents the directional bias of the market. When e_diff > 0, the market shows an organized bullish pressure; when < 0, bearish dominance.
3. Mexican Hat Filter: The Mexican Hat (Ricker Wavelet) acts as a second-derivative filter, detecting local maxima in the acceleration of directional entropy. The filtered output (mh_out) is compared against an adaptive noise level computed as SMA(|mh_out|). A signal is considered strong only when: – mh_out exceeds the adaptive noise level, – mh_out is rising relative to the previous bar. This step is critical for eliminating false signals produced by random fluctuations.
4. Entry Logic: A LONG entry requires all three layers: (1) Alligator structure: Lips > Teeth > Jaw. (2) Directional entropy bias: e_diff > 0. (3) A strong, accelerating Mexican Hat signal confirmed by a user-defined number of bars. Once all conditions are satisfied, a buy_final entry is triggered.
5. Exit Logic: Exits are intentionally simple and rely solely on the Alligator: crossunder(lips, teeth) This clean separation ensures precise, adaptive entries and stable, consistent exits.
6. Visual Components: – Alligator lines: Jaw (blue), Teeth (red), Lips (green), plotted with their characteristic offsets. – Background coloring reflects signal strength: dark green (STRONG BUY), lime (acceleration), yellow (weak bias), transparent otherwise. – A dedicated panel displays e_diff (entropy difference), mh_out (Mexican Hat output), and the adaptive noise band.
7. Diagnostic Table: A compact diagnostic dashboard shows: – MH Value, – Noise Level, – MH Acceleration (YES/NO), – Signal Status (STRONG BUY / ACCELERATING / WEAK / BEARISH). It updates on the last bar, making it suitable for live monitoring.
8. Use Case: This strategy is highly selective and ideal as an entry module within trend-following systems. By combining wavelets, entropy, and adaptive noise modeling, it effectively filters out consolidation periods and focuses only on statistically significant bullish transitions. It can be integrated with various exit frameworks such as ATR stops, channel-based exits, range boxes, or trailing logic.
One Point Global Net Liquidity The "Fuel" Behind the MarketMost traders look at price action, but price is often just a reflection of the money supply available in the system. This indicator tracks Global Net Liquidity—the actual amount of fiat currency available to flow into risk assets like Crypto and Equities.
Unlike standard "Money Supply" (M2) charts, this indicator focuses on Central Bank Balance Sheets, which is a more direct proxy for "Quantitative Easing" (QE) and "Quantitative Tightening" (QT).
How It Works (The Formula)
This script aggregates the balance sheets of the "Big 4" Central Banks, which represent ~90% of global liquidity. It automatically converts all values to USD Trillions for a standardized view.
{Global Liquidity} = {US Net Liquidity} + {ECB} + {PBoC} + {BoJ}
1. US Net Liquidity (The "Trader's" Formula) We do not just use the Fed's Total Assets. We subtract the money that is "stuck" outside the private economy:
(+) Fed Balance Sheet: Total Assets.
(-) TGA (Treasury General Account): The government's checking account. When this goes up, liquidity is drained from markets.
(-) RRP (Reverse Repo): Money parked by banks at the Fed overnight. When this goes up, liquidity is removed from the system.
2. Global Additions
ECB (Eurozone): Converted to USD.
PBoC (China): Converted to USD.
BoJ (Japan): Converted to USD.
How to Use This Indicator This indicator is designed as an Overlay on the main chart (using the Left Scale).
Correlation: Generally, when the Orange Line (Liquidity) trends up, Bitcoin and the S&P 500 trend up. When Central Banks tighten (line down), risk assets struggle.
The "Divergence" Signal (Alpha):
Bullish: If Price makes a Lower Low but Liquidity makes a Higher Low, it often signals seller exhaustion and a potential bottom.
Bearish: If Price makes a New High but Liquidity fails to follow (or drops), the rally may be unsupported and prone to a reversal.
Settings
Scale: This indicator is pinned to the Scale Left to allow it to overlay price action without distortion.
Data: Uses daily data from ECONOMICS and FRED feeds.
Sniper PerfectOverview
Sniper Perfect is an advanced trend-following system designed to filter out "fakeouts" and institutional traps using a multi-layered verification protocol. It combines Volume Flow (VFI), Volatility (CHOP), and Momentum (RSI) to ensure entry only occurs in high-probability setups.
⚙️ Crucial Calibration (Read This!)
One size does NOT fit all. Every asset (Crypto, Forex, Tech Stocks) has a unique "heartbeat" and volatility profile.
Recommendation: Do not rely solely on default settings. It is highly recommended to tweak the inputs (specifically VFI Length, EMA Length, and Chop Threshold) for each specific asset you trade.
How to Optimize: Experiment with the settings until the visual signals align best with the historical price action of the specific chart you are analyzing. Calibrate your scope before you shoot.
Key Features
🛡️ The Triple Filter Protocol
Strict Choppiness Filter: Uses a strict CHOP threshold (40). If the market is moving sideways, the algorithm locks all new entries to prevent whipsaws.
RSI Extremes Protection: Prevents FOMO buying at tops (Overbought > 70) and panic selling at bottoms (Oversold < 30).
Conflict Zone Detection: Identifies divergence between Price action and Money Flow. If price rises but institutional money exits, the background turns Gray and trading is disabled.
🔒 Adaptive Risk Management
Heat-Breathing Stop Loss: The SL distance adjusts dynamically based on market Volume and Volatility ("Heat").
Ratchet Mechanism: A mechanical lock ensures the Stop Loss can ONLY move in the direction of profit. It never loosens, guaranteeing that paper profits are protected.
📊 Live Dashboard A real-time panel in the bottom-right corner displays:
VFI Flow: Positive/Negative money flow.
Market Status: Active vs. Locked (Choppy).
RSI Status: Neutral, Overbought, or Oversold.
Visual Guide
🟢 Lime Zone: Clean Bullish Trend.
🔴 Red Zone: Clean Bearish Trend.
🟠 Orange Zone: High Choppiness (Stay Out).
🟣 'X' Marker: Exact price where the Stop Loss was triggered.
Disclaimer: For educational and research purposes only. Always manage your risk.
Options Scalper v2 - SPY/QQQHere's a comprehensive description of the Options Scalper v2 strategy:
---
## Options Scalper v2 - SPY/QQQ
### Overview
A multi-indicator confluence-based scalping strategy designed for trading SPY and QQQ options on short timeframes (1-5 minute charts). The strategy uses a scoring system to generate high-probability CALL and PUT signals by requiring alignment across multiple technical indicators before triggering entries.
---
### Core Logic
The strategy operates on a **scoring system (0-9 points)** where both bullish (CALL) and bearish (PUT) conditions are evaluated independently. A signal only fires when:
1. A recent EMA crossover occurred (within the last 3 bars)
2. The direction's score meets the minimum threshold (default: 4 points)
3. The signal's score is higher than the opposite direction
4. Enough bars have passed since the last signal (cooldown period)
5. Price action occurs during valid trading sessions
---
### Indicators Used
| Indicator | Purpose | CALL Condition | PUT Condition |
|-----------|---------|----------------|---------------|
| **9/21 EMA Cross** | Primary trigger | Fast EMA crosses above slow | Fast EMA crosses below slow |
| **200 EMA** | Trend filter | Price above 200 EMA | Price below 200 EMA |
| **RSI (14)** | Momentum filter | RSI between 45-65 | RSI between 35-55 |
| **VWAP** | Institutional level | Price above VWAP | Price below VWAP |
| **MACD (12,26,9)** | Momentum confirmation | MACD line > Signal line | MACD line < Signal line |
| **Stochastic (14,3)** | Overbought/Oversold | Oversold or K > D | Overbought or K < D |
| **Volume** | Participation confirmation | Spike on green candle | Spike on red candle |
| **Price Structure** | Breakout detection | Higher high formed | Lower low formed |
---
### Scoring Breakdown
**CALL Score (Max 9 points):**
- Recent EMA cross up: +2 pts
- EMA alignment (fast > slow): +1 pt
- RSI in bullish range: +1 pt
- Above VWAP: +1 pt
- MACD bullish: +1 pt
- Volume spike on green candle: +1 pt
- Stochastic setup: +1 pt
- Above 200 EMA: +1 pt
- Breaking higher high: +1 pt
**PUT Score (Max 9 points):**
- Recent EMA cross down: +2 pts
- EMA alignment (fast < slow): +1 pt
- RSI in bearish range: +1 pt
- Below VWAP: +1 pt
- MACD bearish: +1 pt
- Volume spike on red candle: +1 pt
- Stochastic setup: +1 pt
- Below 200 EMA: +1 pt
- Breaking lower low: +1 pt
---
### Risk Management
The strategy uses **ATR-based dynamic stops and targets**:
| Parameter | Default | Description |
|-----------|---------|-------------|
| Stop Loss | 1.5x ATR | Distance below entry for longs, above for shorts |
| Take Profit | 2.0x ATR | Creates a 1:1.33 risk-reward ratio |
Positions are also closed on:
- Opposite direction signal (flip trade)
- Take profit or stop loss hit
---
### Session Filtering
Trades are restricted to high-liquidity periods by default:
- **Morning Session:** 9:30 AM - 11:00 AM EST
- **Afternoon Session:** 2:30 PM - 3:55 PM EST
This avoids choppy midday price action and captures the highest volume periods.
---
### Input Parameters
| Parameter | Default | Description |
|-----------|---------|-------------|
| Fast EMA | 9 | Fast moving average period |
| Slow EMA | 21 | Slow moving average period |
| Trend EMA | 200 | Long-term trend filter |
| RSI Length | 14 | RSI calculation period |
| RSI Overbought | 65 | Upper RSI threshold |
| RSI Oversold | 35 | Lower RSI threshold |
| Volume Multiplier | 1.2x | Volume spike detection threshold |
| Min Signal Strength | 4 | Minimum score required to trigger |
| Crossover Lookback | 3 | Bars to consider crossover "recent" |
| Min Bars Between Signals | 5 | Cooldown period between signals |
---
### Visual Elements
**Chart Plots:**
- Green line: 9 EMA (fast)
- Red line: 21 EMA (slow)
- Gray line: 200 EMA (trend)
- Purple dots: VWAP
**Signal Markers:**
- Green triangle up + "CALL" label: Buy call signal
- Red triangle down + "PUT" label: Buy put signal
- Small circles: EMA crossover reference points
**Info Table (Top Right):**
- Real-time CALL and PUT scores
- RSI, MACD, Stochastic values
- VWAP and 200 EMA position
- Recent crossover status
- Current signal state
---
### Alerts
| Alert Name | Trigger |
|------------|---------|
| CALL Entry | Standard call signal fires |
| PUT Entry | Standard put signal fires |
| Strong CALL | Call signal with score ≥ 6 |
| Strong PUT | Put signal with score ≥ 6 |
---
### Recommended Usage
| Setting | 0DTE Scalping | Intraday Swings |
|---------|---------------|-----------------|
| Timeframe | 1-2 min | 5 min |
| Min Signal Strength | 5-6 | 4 |
| ATR Stop Mult | 1.0 | 1.5 |
| ATR TP Mult | 1.5 | 2.0 |
| Option Delta | 0.40-0.50 | 0.30-0.40 |
---
### Key Improvements Over v1
1. **Requires actual crossover** - Eliminates false signals from simple trend continuation
2. **Balanced scoring** - Both directions evaluated equally, highest score wins
3. **Signal cooldown** - Prevents overtrading with minimum bar spacing
4. **Multi-indicator confluence** - 8 factors must align for signal generation
5. **Volume-candle alignment** - Volume spikes only count when matching candle direction
---
### Disclaimer
This strategy is for educational purposes. Backtest thoroughly before live trading. Options trading involves significant risk of loss. Past performance does not guarantee future results.
Sniper Perfect: Institutional Flow & Adaptive Risk ProtocolOverview Sniper Perfect is an advanced trend-following system designed to filter out "fakeouts" and institutional traps using a multi-layered verification protocol. It combines Volume Flow (VFI), Volatility (CHOP), and Momentum (RSI) to ensure entry only occurs in high-probability setups.
Key Features
🛡️ The Triple Filter Protocol
Strict Choppiness Filter: Uses a strict CHOP threshold (40). If the market is moving sideways, the algorithm locks all new entries to prevent whipsaws.
RSI Extremes Protection: Prevents FOMO buying at tops (Overbought > 70) and panic selling at bottoms (Oversold < 30).
Conflict Zone Detection: Identifies divergence between Price action and Money Flow. If price rises but institutional money exits, the background turns Gray and trading is disabled.
🔒 Adaptive Risk Management
Heat-Breathing Stop Loss: The SL distance adjusts dynamically based on market Volume and Volatility ("Heat").
Ratchet Mechanism: A mechanical lock ensures the Stop Loss can ONLY move in the direction of profit. It never loosens, guaranteeing that paper profits are protected.
📊 Live Dashboard A real-time panel in the bottom-right corner displays:
VFI Flow: Positive/Negative money flow.
Market Status: Active vs. Locked (Choppy).
RSI Status: Neutral, Overbought, or Oversold.
Visual Guide
🟢 Lime Zone: Clean Bullish Trend.
🔴 Red Zone: Clean Bearish Trend.
🟠 Orange Zone: High Choppiness (Stay Out).
🟣 'X' Marker: Exact price where the Stop Loss was triggered.
Disclaimer: For educational and research purposes only. Always manage your risk.
Sniper PerfectOverview Sniper Perfect is an advanced trend-following system designed to filter out "fakeouts" and institutional traps using a multi-layered verification protocol. It combines Volume Flow (VFI), Volatility (CHOP), and Momentum (RSI) to ensure entry only occurs in high-probability setups.
Key Features
🛡️ The Triple Filter Protocol
Strict Choppiness Filter: Uses a strict CHOP threshold (40). If the market is moving sideways, the algorithm locks all new entries to prevent whipsaws.
RSI Extremes Protection: Prevents FOMO buying at tops (Overbought > 70) and panic selling at bottoms (Oversold < 30).
Conflict Zone Detection: Identifies divergence between Price action and Money Flow. If price rises but institutional money exits, the background turns Gray and trading is disabled.
🔒 Adaptive Risk Management
Heat-Breathing Stop Loss: The SL distance adjusts dynamically based on market Volume and Volatility ("Heat").
Ratchet Mechanism: A mechanical lock ensures the Stop Loss can ONLY move in the direction of profit. It never loosens, guaranteeing that paper profits are protected.
📊 Live Dashboard A real-time panel in the bottom-right corner displays:
VFI Flow: Positive/Negative money flow.
Market Status: Active vs. Locked (Choppy).
RSI Status: Neutral, Overbought, or Oversold.
Visual Guide
🟢 Lime Zone: Clean Bullish Trend.
🔴 Red Zone: Clean Bearish Trend.
🟠 Orange Zone: High Choppiness (Stay Out).
🟣 'X' Marker: Exact price where the Stop Loss was triggered.
Disclaimer: For educational and research purposes only. Always manage your risk.
Penguin-Trading.se - YTD/MAShowing Performance YTD
Various MA x6
Choose between EMA/SMA/VWMA/TEMA
Choose Lengths/Colors
OFM Key Levels (GC Asia)ETH Session Levels
Previous Day HLC
Current Week High & Low
Previous Week OHLC
Opening Range & Session Liquidity [LTS]“Opening Range & Session Liquidity ” is an intraday planning tool that combines a configurable Opening Range box with session highs/lows and previous-day reference levels. It is designed to help you visualize where liquidity is likely to build up around the cash open and major global sessions, without making any forecasts or performance promises. It is designed with our signature attention to user customization and accessibility.
Opening Range & Bias
The script builds a configurable Opening Range (OR) in New York time (default 08:00–08:15 on a 15-minute basis), regardless of your chart timeframe (up to 1-hour). The high, low, and midline of this window are drawn as a transparent box and dashed midline that extend forward so you can see how the session trades around that range.
At a user-defined Bias Check Time (default 09:30–09:31 NY), the script classifies the OR as:
Bullish if price is above the OR high
Bearish if price is below the OR low
Neutral if price is still trading inside the OR
The box color updates to reflect the current bias if bias mode is enabled. All OR parameters (formation window, bias check, colors, maximum number of zones, etc.) are adjustable.
Entry Signal Logic
The indicator can optionally generate non-repainting visual signals when price interacts with the OR midline.
1. 9:30 Bias mode (trend-following)
A directional bias is locked in at the bias check time.
Signals trigger only when price trades through the OR midline inside the box, aligned with that bias:
Bullish bias → long signal when price touches the midline from below and closes inside the range.
Bearish bias → short signal when price touches the midline from above and closes inside the range.
Each “episode” can fire only once; signals are confirmed on the bar where the conditions first become true.
2. Entry Direction mode (reaction to first touch)
Instead of using a fixed 9:30 bias, the script detects from which side price first enters the OR (from above or from below).
That “entry direction” stays active until price fully exits and closes outside the OR again.
When price later touches the midline while the entry direction is defined, a single long or short signal is triggered based on the stored direction of entry.
In both modes, historical signals are plotted without using future data; only the real-time bar can change state until it closes.
Optional TP/SL Visualization
When a long or short signal appears, the script can draw simple take-profit/stop-loss boxes to illustrate a basic one-trade idea:
Stop-loss distance can be defined as:
A fixed number of points beyond the OR high/low, or
A percentage of ATR (configurable length and percent).
Take-profit is automatically placed at a user-defined risk-to-reward multiple of that stop distance.
The boxes extend forward bar by bar and stop updating once either TP or SL is touched, or when a new OR session resets the context.
These boxes are for visualization only and do not place or manage orders.
Session Liquidity & PDH/PDL
To help you map where liquidity frequently builds up, the script tracks three configurable intraday sessions in New York time:
Asian session (default 18:00–02:00)
London session (default 03:00–08:00)
New York session (default 09:30–16:00)
For each completed session, the indicator records the session high and low, then:
Draws solid horizontal lines and labels (e.g., “Asia Hi/Lo”, “London Hi/Lo”, “NY Hi/Lo”).
Extends these solid lines to the right as long as they remain untouched by price.
When price first trades through a level, the solid line is cut at that bar and replaced by a dashed line that extends only until the next session of the same type begins.
Older sessions are automatically removed according to the “Max Sessions to Display” setting to reduce chart clutter.
In addition, the indicator plots:
Previous Day High (PDH) & Previous Day Low (PDL)
Previous Day Point of Control (PDPoC) – an approximate volume-weighted price computed from intraday data using a simple binning approach on a user-chosen lower timeframe.
Like the session levels, PDH/PDL/PDPoC start as solid lines. After the first touch, each level switches to a dashed style and continues only until the following trading day, at which point the previous day’s dashed lines are stopped and new levels are created.
Info Table & Multi-Timeframe Logic
An optional on-chart info table summarizes the most recent Opening Range:
OR high, low, and midline
Current OR range in points
Active mode (9:30 Bias vs. Entry Direction)
Current bias or entry-direction status
Whether a signal is “Waiting”, “Armed”, or “Triggered”
Whether the OR was built from the chart timeframe or from a 15-minute higher-timeframe feed
If your chart timeframe is higher than the OR calculation timeframe, the script automatically uses multi-timeframe data to build a consistent OR, while enforcing a maximum chart timeframe of 1-hour for reliability.
How to Use This Tool
Use the OR box and bias to define your primary intraday context around the cash open.
Use session highs/lows and PDH/PDL/PDPoC as objective reference levels for where price may react or where stops and liquidity might cluster.
Treat the signal markers and TP/SL boxes as visual guides only. They can help you structure trade ideas, but they are not a trading system by themselves.
Always confirm levels and signals with your own analysis, risk management, and execution rules.
Limitations & Notes
The script is intended for intraday charts up to 1-hour. By the nature of the information being displayed, any time frame above that may result is undesirable visual clutter.
The POC calculation is an approximation based on lower timeframe bar-level volume and binning; it is not a tick-by-tick volume profile.
Signals and levels update in real time on the current forming bar. Once a bar closes, completed historical signals do not repaint, but the last live bar can change until it closes.
The indicator does not use lookahead or offset plotting into the past; it is not designed to predict the future or guarantee any particular trading result.
Always test settings on a demo environment first and manage risk according to your own plan.
The Truth Sniper: Breathing Edition**Overview**
This is a highly advanced trend-following strategy designed to filter out market noise ("Fakeouts") and manage risk using a dynamic "Breathing Ratchet" mechanism. It combines traditional trend analysis with institutional money flow logic to identify the true market direction.
**Key Features**
**1. The Conflict Zone (Gray Zone Filter)**
Most strategies fail during low-volume accumulation or distribution phases. This algorithm introduces a "Conflict Zone" logic:
* **True Rally (Green):** Price is above EMA50 AND Money Flow (VFI) is positive.
* **True Drop (Red):** Price is below EMA50 AND Money Flow (VFI) is negative.
* **Conflict (Gray Background):** When Price and Money Flow disagree (e.g., Price rising on negative volume), the background turns Gray. **Trading is disabled** in these zones to avoid bull/bear traps.
**2. Breathing Stop-Loss Mechanism (Volatility Adjusted)**
The Stop Loss isn't static. It "breathes" based on market heat (Volume/RSI):
* **High Heat (High Volatility):** The SL loosens its grip, moving towards the bottom of the Fibonacci zone to allow price fluctuation without premature exits.
* **Low Heat (Low Volatility):** The SL tightens aggressively towards the price to lock in profits during slow momentum.
**3. The Ratchet Lock (Slippage Prevention)**
To ensure maximum profit retention, the "Breathing" mechanism is governed by a **Ratchet Logic**:
* **For Longs:** The Stop Loss can ONLY move UP. If the "Breathing" calculation suggests lowering the stop (due to increased volatility), the Ratchet blocks it, keeping the SL at the highest historical level.
* **For Shorts:** The Stop Loss can ONLY move DOWN.
**4. Fibonacci Exit Zones**
Exits are calculated based on a 60-day dynamic High/Low lookback, creating "Zones" (0-23.6%, 23.6-38.2%, etc.) that the price must conquer. The SL trails these zones mechanically.
**Visual Guide**
* **Lime/Red Background:** Active Trade Zone (Confirmed Trend).
* **Gray Background:** Conflict Zone (Stay Out / Hold).
* **Purple 'X':** The exact price level where the Stop Loss was hit (Fixed marker).
* **Stepline:** The active Stop Loss level (Visible only during open trades).
**Disclaimer**
This script is for educational and research purposes only. Always manage your risk.
Support & Resistance System - [Pro]Snapshot: Stop guessing where the floor is. Stop buying right into a ceiling.
My new script isn't just a support and resistance indicator—it is a complete Market Command Center. It uses our brand new scoring engine to separate "Glass Walls" (weak levels) from "Concrete Walls" (institutional liquidity), while the new Macro Pulse dashboard keeps you connected to the global market heartbeat ( CRYPTOCAP:BTC , AMEX:SPY , TVC:GOLD ).
🔥 Why This is Different
Most indicators draw random lines and clutter your chart. GOAT S/R cleans the chaos. It uses a Heads-Up Display (HUD) to tell you exactly how far you are from the next major wall.
AlphaRank Scoring: We don't just find pivots; we grade them (0-100%).
< 40%: Weak. Likely to break.
> 60%: God Tier. These levels glow with a Neon Pulse to signal major institutional interest.
The Macro Pulse: Smart traders don't trade in a vacuum. You need to know what the "Generals" are doing. Our built-in dashboard tracks the daily pulse of CRYPTOCAP:BTC , TVC:GOLD , TVC:SILVER , NASDAQ:NDX , and AMEX:SPY right on your chart.
⚡ How to Trade Like a Pro (The 3-Step Guide)
1. CHECK THE PULSE (The Dashboard) Look at the bottom right. Is the market "Risk On" or "Risk Off"?
Example: If you are trading Altcoins and CRYPTOCAP:BTC is -3.00%, be careful buying support.
Example: If you are trading Tech stocks and NASDAQ:NDX (Nasdaq) is Green, the breakout probability is higher.
2. READ THE HUD (The "No Fly Zone") Look at the top-right panel. It calculates the % distance to the nearest wall.
The Rule: If "Dist to Resistance" is < 1.0%, VERY DANGER. You are buying into a ceiling. Wait for the breakout.
The Play: If "Dist to Support" is small and the line is Glowing Green, set your limit orders.
3. WATCH THE GLOW
Neon Red Line: Institutional Supply. Take profit here.
Neon Green Line: Institutional Demand. Look for entries here.
The Flip: If a Neon Red line breaks and turns GREEN, that is your "Golden Ticket" to enter on the retest.
💎 The "Generals" We Track
This indicator automatically pulls data for the assets that move the world:
CRYPTOCAP:BTC (Bitcoin): The Crypto King.
TVC:GOLD & AMEX:SLV : The Inflation Hedges.
NASDAQ:NDX (Nasdaq 100): The Tech Sentiment.
AMEX:SPY (S&P 500): The Global Economy.
and all others tickers you may look on
👇 GET MORE ALPHA
This is just one part of the GOAT Ecosystem. We are building the most advanced, no-nonsense trading tools on TradingView.
👉 CLICK OUR PROFILE to see more scripts, strategies, tools and MARKET FUN:
www.tradingview.com
Drop a BOOST 🚀 if this tool helps you see the market clearer!
PDH/PDL Breakout Pip MeasurerThis indicator measures the maximum distance (in pips or points) that price travels after breaking through the Previous Day's High (PDH) or Previous Day's Low (PDL), before returning to a user-defined stop loss level. It provides statistical insights into breakout behavior for systematic trading analysis.
Input Parameters
Pip Multiplier: Adjust for different instruments (0.0001 for Forex, 1 for indices)
Bull Stop Loss Pips: Distance below PDH to define stop loss for bull breakouts
Bear Stop Loss Pips: Distance above PDL to define stop loss for bear breakouts
Show Table: Toggle statistics table display
Show Labels: Display pip measurements on chart
Show Levels: Toggle PDH/PDL level visibility
Statistics Table Includes
Total breakout counts (Bull/Bear/Combined)
Average pip distance per breakout type
Minimum and maximum recorded moves
Currently active breakout measurement
TWAP (Weekly 1700CTsun)This is a weekly TWAP anchored from the weekly futures open. This works well with the TWAP Oscillator, which is based on the daily TWAP, for entering at the larger weekly points.
Multi-Condition Alert System d//@version=5
indicator("Multi-Condition Alert System", shorttitle="MC Alert", overlay=false)
// Timeframe check - Set to 10 minutes
isCorrectTF = timeframe.isintraday and timeframe.multiplier == 10
// EMA Calculations
ema9 = ta.ema(close, 9)
ema21 = ta.ema(close, 21)
ema50 = ta.ema(close, 50)
// MACD Calculations
= ta.macd(close, 12, 26, 9)
// RSI Calculations
rsiValue = ta.rsi(close, 14)
// Define RSI levels (you can adjust these based on your violet/yellow lines)
// Assuming violet is above 50 and yellow is below 50
rsiVioletLevel = 50 // Adjust based on your actual levels
rsiYellowLevel = 50 // Adjust based on your actual levels
// Conditions
emaCondition = ema9 > ema21 and ema9 > ema50
macdCondition = macdLine > signalLine
rsiCondition = rsiValue > rsiVioletLevel and rsiValue > rsiYellowLevel
// All conditions must be true
buySignal = emaCondition and macdCondition and rsiCondition and isCorrectTF
// Plotting for visualization
plot(ema9, color=color.blue, title="EMA 9")
plot(ema21, color=color.orange, title="EMA 21")
plot(ema50, color=color.red, title="EMA 50")
plot(macdLine, color=color.blue, title="MACD Line", style=plot.style_line)
plot(signalLine, color=color.orange, title="Signal Line", style=plot.style_line)
hline(rsiVioletLevel, "RSI Violet Level", color=color.purple)
hline(rsiYellowLevel, "RSI Yellow Level", color=color.yellow)
plot(rsiValue, color=color.white, title="RSI")
// Plot buy signals
plotshape(buySignal ? 1 : na, title="Buy Signal", location=location.bottom,
color=color.green, style=shape.triangleup, size=size.small)
// Alert condition
if buySignal
alert("BUY SIGNAL: EMA 9 > EMA 21 & 50, MACD blue > orange, RSI above levels", alert.freq_once_per_bar)
// Table display
var table signalTable = table.new(position.top_right, 1, 5, bgcolor=color.black,
border_width=1)
if barstate.islast
table.cell(signalTable, 0, 0, "10min TF Check:",
text_color=isCorrectTF ? color.green : color.red)
table.cell(signalTable, 0, 1, "EMA 9 > 21 & 50:",
text_color=emaCondition ? color.green : color.red)
table.cell(signalTable, 0, 2, "MACD Blue > Orange:",
text_color=macdCondition ? color.green : color.red)
table.cell(signalTable, 0, 3, "RSI Condition:",
text_color=rsiCondition ? color.green : color.red)
table.cell(signalTable, 0, 4, "BUY SIGNAL:",
text_color=buySignal ? color.green : color.red)
Levels from NY Open and SettlementThis indicator draws a line from the high and low of the 30 second candle at 14:59:30CT, and extends the lines for 24 hours.
It draws another high low from the 8:30CT 30 second opening candle and extends them for the full 24 to the next NY open, plus another 6.5 hours until the next settlement time at 14:59:30CT.
This gives a very long liquidity box starting from the 30 second candle of the NY open, and a shorter liquidity box starting from the 30 second candle of settlement time.
Trinity Market Regime Detector ProDecided to release this one to the community to enjoy. Changes from the original script.
Trinity Market Regime Detector – Evolution Summary
#### Critical Bug Fixes
- Fixed false long signals when –DI was dominant (DMI direction is now fully respected)
- Fixed real breakouts and squeeze breakouts firing against the higher-timeframe trend
- Fixed table text not scaling when choosing “Tiny” size (now truly tiny → large)
- Fixed alert messages that contained series strings (now 100% const-string compliant)
#### Major Logic & Accuracy Improvements
- Added proper **Higher-Timeframe MA filter** (default 200 EMA on Daily) – fully configurable (SMA/EMA/WMA + any timeframe)
- All breakout signals now require alignment with the HTF trend (when enabled) → dramatically reduces whipsaws
- Added **CCI (20)** with bold green/red highlighting at ±100
- Improved volume logic (high/low volume now more adaptive)
- Improved ATR low-volatility detection
- Squeeze breakouts now only fire with correct DMI + HTF direction
- Fakeouts clearly marked with orange X
- Bias hierarchy completely rewritten and made crystal-clear
#### Visual & Usability Upgrades
- Perfect dynamic table scaling (no more gaps when hiding ALMA/RSI/CCI)
- Option for **zero table** – super-clean label-only mode (v2.9)
- Background tinting for Dead Market (red), Squeeze (yellow), Strong Trend (green)
- ALMA 34 and HTF MA plotted on chart with color-coding
- Clear on-chart arrows: green/red triangles for real breakouts, aqua diamonds for squeeze breakouts
- All labels use proper large/colored text for instant readability
#### Alert System Overhaul
- 100% working alerts (no more compilation errors)
- Separate alerts for:
- Real volume-confirmed breakouts
- High-probability squeeze breakouts
- Regime changes
- Fakeouts
- Clean, professional alert messages
In short:
The original was already excellent.
We turned it into a **bulletproof, professional-grade, zero-noise market regime tool** that serious traders can actually rely on every single day.
TWAP (Double, 14:59:30CT & 08:30CT)These two TWAPs are set at CME settlement time and NY Open. I don't use the deviations but it does have 5 SD.
TRK19121. Add the Script to TradingView
• Copy the Pine Script code I gave you.
• In TradingView, open the Pine Editor (bottom of the screen).
• Paste the code and click Add to Chart.
2. What You’ll See
• On your chart, Fibonacci retracement levels will be drawn automatically between the highest and lowest points in the last lookback bars (default = 100).
• Bollinger Bands (20-period SMA with ±2 standard deviations) will also appear.
• On the top-right corner, a table will show all Fibonacci levels (0%, 23.6%, 38.2%, 50%, 61.8%, 78.6%, 100%) with their exact price values.
• All text in the table is black for clarity.
3. How It Updates
• Every new candle, the script recalculates the highest and lowest points in the lookback window.
• The Fibonacci levels and the table update automatically.
• You don’t need to manually redraw fibo lines — the script does it for you.
4. How to Interpret
• Fibonacci levels act as potential support/resistance zones.
• Bollinger Bands show volatility and overbought/oversold conditions.
• If price is near a Fibonacci level and touches the Bollinger upper/lower band, that’s a strong signal area.
• Example:
• Price near 61.8% fibo + lower band → possible bounce (long).
• Price near 38.2% fibo + upper band → possible rejection (short).
5. Customization
• You can change the value (default 100 bars) to adjust how far back the script finds the high/low.
• You can change Bollinger settings (, ) to fit your trading style.
• The table always shows the current fibo levels clearly, so you don’t need to measure them manually.
BB Breakout-Momentum + Reversion Strategies# BB Breakout-Momentum + Reversion Strategies
## Overview
This indicator combines two complementary Bollinger Band trading strategies that automatically adapt to market conditions. Strategy 1 capitalizes on trending markets with breakout-pullback-momentum setups, while Strategy 2 exploits mean reversion in ranging markets. Advanced filtering using ADX and BB Width ensures each strategy only fires in its optimal market environment.
---
## Strategy 1: Breakout → Pullback → Renewed Momentum (Long B / Short B)
### Best Market Conditions
- **Trending Markets**: ADX ≥ 25
- **High Volatility**: BB Width ≥ 1.0× average
- Directional price action with sustained momentum
### Entry Logic
**Long B (Bullish Breakout):**
1. **Initial Breakout**: Price breaks above upper Bollinger Band with strong momentum
2. **Controlled Pullback**: Price pulls back 1-12 bars but holds above lower band (stays in trend)
3. **Defended Zone**: Pullback creates a support zone based on swing lows (validated by multiple touches)
4. **Renewed Momentum**: Price reclaims with green candle, volume confirmation, bullish MACD
5. **Position Check**: Entry must have cushion below upper band and room to reach targets
**Short B (Bearish Breakdown):**
- Mirror logic for downtrends: breakdown below lower band, pullback stays below upper band, renewed selling pressure
### Risk Management
- **Stop Loss**: Lower of (zone floor/previous low) OR (1.5 × ATR from entry)
- **Targets**:
- T1: Entry + 0.85R (0.85 × 1.5 ATR)
- T2: Entry + 1.40R (1.40 × 1.5 ATR)
- T3: Entry + 2.50R (2.50 × 1.5 ATR)
- T4: Entry + 4.50R (4.50 × 1.5 ATR)
- Risk is calculated using ATR (ATRX = 1.5 ATR), stop uses tighter of structural level (ATRL) or ATRX
---
## Strategy 2: Bollinger Band Mean Reversion (Long R / Short R)
### Best Market Conditions
- **Ranging Markets**: ADX ≤ 20
- **Low Volatility**: BB Width ≤ 0.8× average
- Price oscillating around the mean without sustained trend
### Entry Logic
**Long R (Long Reversion):**
1. **Overextension**: Price breaks below lower Bollinger Band (2 consecutive closes)
2. **Snap Back**: Price crosses back above lower band (re-enters the range)
3. **Entry Window**: Within 2 candles of re-entry, look for:
- **Green candle** (close > open) confirming bullish strength
- Close above previous candle (close > close )
4. **Trigger**: First qualifying candle within 2-bar window executes the trade
**Short R (Short Reversion):**
1. **Overextension**: Price breaks above upper Bollinger Band (2 consecutive closes)
2. **Snap Back**: Price crosses back below upper band (re-enters the range)
3. **Entry Window**: Within 2 candles of re-entry, look for:
- **Red candle** (close < open) confirming bearish pressure
- Close below previous candle (close < close )
4. **Trigger**: First qualifying candle within 2-bar window executes the trade
### Risk Management
- **Stop Loss**: Lower of (previous high/low) OR (1.5 × ATR from entry)
- **Targets**: Same as Strategy 1 (0.85R, 1.4R, 2.5R, 4.5R based on 1.5 ATR)
- Betting on return to Bollinger Band basis (mean)
---
## Advanced Filtering System
### ADX Filter (Average Directional Index)
- **Purpose**: Measures trend strength vs choppy/ranging conditions
- **Trending**: ADX ≥ 25 → Enables Strategy 1 (Breakout)
- **Ranging**: ADX ≤ 20 → Enables Strategy 2 (Reversion)
- **Neutral**: ADX 20-25 → No signals (indecisive market)
### BB Width Filter
- **Purpose**: Confirms volatility expansion/contraction
- **Wide Bands**: Current width ≥ 1.0× 50-bar average → Trending environment
- **Narrow Bands**: Current width ≤ 0.8× 50-bar average → Ranging environment
- **Logic**: Both ADX and BB Width must agree on market state before signaling
### Combined Logic
- **Strategy 1 fires**: When BOTH ADX shows trending AND bands are wide
- **Strategy 2 fires**: When BOTH ADX shows ranging AND bands are narrow
- **Visual Display**: Table at bottom-right shows ADX value, BB Width ratio, and current market state
---
## Visual Elements
### Bollinger Bands
- **Gray line**: 20-period SMA (basis/mean)
- **Green line**: Upper band (basis + 2 standard deviations)
- **Red line**: Lower band (basis - 2 standard deviations)
### Strategy 1 Markers
- **Long B**: Green triangle below bar with "Long B" text
- **Short B**: Orange triangle above bar with "Short B" text
- **Defended Zones**: Green/red boxes showing pullback support/resistance areas
- **Targets**: Green/orange crosses showing T1-T4 and stop loss levels
### Strategy 2 Markers
- **Long R**: Blue label below bar with "Long R" text
- **Short R**: Purple label above bar with "Short R" text
- **Trade Levels**: Horizontal lines extending 50 bars forward
- Blue solid = Entry price
- Red dashed = Stop loss
- Green/Orange dotted = Targets (T1-T4)
### Market State Table
- **ADX**: Current value with color coding (green=trending, orange=ranging, gray=neutral)
- **BB Width**: Ratio vs 50-bar average (e.g., "1.15x" = 15% wider than average)
- **State**: TREND / RANGE / NEUTRAL classification
---
## Settings & Customization
### Bollinger Bands
- **BB Length**: 20 (default) - period for moving average
- **BB Std Dev**: 2.0 (default) - standard deviation multiplier
### ATR & Risk
- **ATR Length**: 14 (default) - period for Average True Range calculation
- All stop losses and targets are derived from 1.5 × ATR
### Trend/Range Filters
- **ADX Length**: 14 (default)
- **ADX Trending Threshold**: 25 (higher = stronger trend required)
- **ADX Ranging Threshold**: 20 (lower = tighter ranging condition)
- **BB Width Average Length**: 50 (period for comparing current width)
- **BB Width Trend Multiplier**: 1.0 (width must be ≥ this × average)
- **BB Width Range Multiplier**: 0.8 (width must be ≤ this × average)
- **Use ADX Filter**: Toggle on/off
- **Use BB Width Filter**: Toggle on/off
### Strategy 1 (Breakout-Momentum)
- **Breakout Lookback**: 15 bars (how far back to search for initial breakout)
- **Min Pullback Bars**: 1 (minimum consolidation period)
- **Max Pullback Bars**: 12 (maximum consolidation period)
- **Show Defended Zone**: Display support/resistance boxes
- **Show Signals**: Display Long B / Short B markers
- **Show Targets**: Display stop loss and target levels
### Strategy 2 (Reversion)
- **Show Signals**: Display Long R / Short R markers
- **Show Trade Levels**: Display entry, stop, and target lines
---
## How to Use This Indicator
### Step 1: Identify Market State
- Check the table in bottom-right corner
- **TREND**: Look for Strategy 1 signals (Long B / Short B)
- **RANGE**: Look for Strategy 2 signals (Long R / Short R)
- **NEUTRAL**: Wait for clearer conditions
### Step 2: Wait for Signal
- Signals only fire when ALL conditions are met (structural + momentum + filters + room-to-target)
- Signals are relatively rare but high-probability
### Step 3: Execute Trade
- **Entry**: Close of signal candle
- **Stop Loss**: Shown as red cross (Strategy 1) or red dashed line (Strategy 2)
- **Targets**: Scale out at T1, T2, T3, T4 or hold for maximum R:R
### Step 4: Management
- Consider moving stop to breakeven after T1
- Trail stop using swing lows/highs in Strategy 1
- Exit full position at T2-T3 in Strategy 2 (mean reversion has limited upside)
---
## Key Principles
### Why This Works
1. **Market Adaptation**: Uses right strategy for right conditions (trend vs range)
2. **Confluence**: Multiple confirmations required (structure + momentum + volatility + room)
3. **Risk-Defined**: Every trade has pre-calculated stop and targets based on ATR
4. **Probability**: Filters reduce noise and increase win rate by waiting for ideal setups
### Common Pitfalls to Avoid
- ❌ Taking signals in NEUTRAL market state (indicators disagree)
- ❌ Overriding the stop loss (it's calculated for a reason)
- ❌ Expecting signals on every swing (quality over quantity)
- ❌ Using Strategy 1 in ranging markets or Strategy 2 in trending markets
- ❌ Ignoring the room-to-target check (signal won't fire if targets are blocked)
### Complementary Analysis
This indicator works best when combined with:
- Higher timeframe trend analysis
- Key support/resistance levels
- Volume analysis
- Market structure (swing highs/lows)
- Risk management rules (position sizing, max daily loss, etc.)
---
## Technical Details
### Indicators Used
- **Bollinger Bands**: 20-period SMA ± 2 standard deviations
- **ATR**: 14-period Average True Range for volatility measurement
- **ADX**: 14-period Average Directional Index for trend strength
- **EMA**: 10 and 20-period exponential moving averages (Strategy 1 filter)
- **MACD**: 12/26/9 settings (Strategy 1 momentum confirmation)
- **Volume**: Compared to 15-bar average (Strategy 1 confirmation)
### Calculation Methodology
- **ATRL** (Structural Risk): Previous swing high/low or defended zone boundary
- **ATRX** (ATR Risk): 1.5 × 14-period ATR from entry price
- **Stop Loss**: Minimum of ATRL and ATRX (tightest protection)
- **Targets**: Always calculated from ATRX (consistent R-multiples)
- **BB Width Ratio**: Current BB width ÷ 50-period SMA of BB width
---
## Performance Notes
### Strengths
- Adapts to changing market conditions automatically
- Clear, objective entry and exit criteria
- Pre-defined risk on every trade
- Filters reduce false signals significantly
- Works across multiple timeframes and instruments
### Limitations
- Signals are infrequent (by design - quality over quantity)
- Requires patience to wait for all conditions to align
- May miss explosive moves if pullback doesn't form properly (Strategy 1)
- Ranging markets can transition to trending (Strategy 2 risk)
- Filters may delay entry in fast-moving markets
### Best Timeframes
- **Strategy 1**: 1H, 4H, Daily (needs time for proper pullback structure)
- **Strategy 2**: 15M, 30M, 1H (mean reversion works best intraday)
- Both strategies can work on any timeframe if market conditions are right
### Best Instruments
- **Liquid markets**: Major stocks, indices, forex pairs, liquid crypto
- **Sufficient volatility**: ATR should be meaningful relative to price
- **Clear trend/range cycles**: Markets that respect technical levels
---
## IMPORTANT DISCLAIMER
### Risk Warning
**TRADING INVOLVES SUBSTANTIAL RISK OF LOSS AND IS NOT SUITABLE FOR ALL INVESTORS.**
This indicator is provided for **educational and informational purposes only**. It does not constitute financial advice, investment advice, trading advice, or any other sort of advice. You should not treat any of the indicator's content as such.
### No Guarantee of Profit
Past performance is not indicative of future results. No trading strategy, including this indicator, can guarantee profits or protect against losses. The market is inherently unpredictable and all trading involves risk.
### User Responsibility
- **Do Your Own Research**: Always conduct your own analysis before making trading decisions
- **Test First**: Backtest and paper trade this strategy before risking real capital
- **Risk Management**: Never risk more than you can afford to lose
- **Position Sizing**: Use appropriate position sizes relative to your account
- **Stop Losses**: Always use stop losses and respect them
- **Market Conditions**: Understand that market conditions change and past behavior may not repeat
### No Liability
The creator of this indicator accepts no liability for any financial losses incurred through the use of this tool. All trading decisions are made at your own risk. You are solely responsible for evaluating the merits and risks associated with the use of any trading systems, signals, or content provided.
### Not Financial Advice
This indicator does not take into account your personal financial situation, investment objectives, risk tolerance, or specific needs. You should consult with a licensed financial advisor before making any investment decisions.
### Technical Limitations
- Indicators can repaint or lag in real-time
- Past signals may look different than real-time signals
- Code bugs or errors may exist despite testing
- TradingView platform limitations may affect functionality
### Market Risks
- Markets can gap, causing stops to be executed at worse prices
- Slippage and commissions can significantly impact results
- High volatility can cause unexpected losses
- Counterparty risk exists in all leveraged products
---
## Version History
- **v1.0**: Initial release combining breakout-momentum and mean reversion strategies
- Includes ADX and BB Width filtering
- ATRL/ATRX risk calculation system
- 2-candle entry window for reversion trades
---
## Credits & License
This indicator combines concepts from classical technical analysis including Bollinger Bands (John Bollinger), ATR (Welles Wilder), and ADX (Welles Wilder). The specific implementation and combination of filters is original work.
**Use at your own risk. Trade responsibly.**
---
*For questions, suggestions, or to report bugs, please comment below or contact the author.*
**Remember: The best indicator is the one between your ears. Use this tool as part of a comprehensive trading plan, not as a standalone solution.**






















