RSI BREAKOUT SIGNALSThis BB + RSI Breakout indicator is designed to help traders identify potential buy and sell opportunities based on price movements relative to the Donchian channel (or Bollinger-type channel) and momentum conditions. It calculates the highest high and lowest low over a user-defined length to form a dynamic channel, and then it checks whether the current price breaks above the upper band (for a buy signal) or below the lower band (for a sell signal). To avoid repeated signals in a row, the indicator uses a state system: after a buy signal occurs, it will not generate another buy until a sell occurs, and vice versa. When a buy signal is triggered, it automatically calculates a take-profit price a certain percentage above the buy candle and displays this price below the candle as a “TP” label. Sell signals are displayed above the candle, and any previous TP label is cleared. The indicator updates in real time, so the signals move with the chart, giving a clear and lag-free visualization of entry points and potential profit targets.
Bandas y canales
CM_MACD_Ult_MTF + Entry SignalsThis script is an enhanced and updated version of the classic CM_Ult_MacD_MTF originally created by ChrisMoody.
It preserves the full functionality, look, and behavior of the original multi-timeframe MACD, including:
Multi-timeframe MACD calculation
4-color histogram based on momentum direction
Optional MACD and Signal line display
Optional crossover dots
Color-changing MACD line on signal cross
Zero-line reference
This upgraded version adds entry signals based on MACD/Signal crossovers:
New Features Added
LONG @ price label when MACD crosses above Signal
SHORT @ price label when MACD crosses below Signal
Labels appear directly at the crossover point
Full support for Pine Script® v6, making it compatible with TradingView’s latest publishing requirements
Why this version?
The original script was written in an older Pine version and was no longer publishable.
This version keeps the full visual identity and logic of the classic MACD while adding modern compatibility and helpful trading signals.
Credits
Original concept and visual framework: ChrisMoody
Added features, Pine v6 migration, and enhancements: tgambinox
Sentiment Heatmap with EMA Sentiment Heatmap with EMA Let’s build a script mini-LuxAlgo-style sentiment heatmap Enhanced Simple Sentiment Heatmap + Right-Side Legend Automatic legend on the right side
Just like professional indicators:
MAX GREED
GREED
NEUTRAL
FEAR
MAX FEAR
✔ Legend stays updated on the last bar
It moves automatically as price moves.
✔ Trend EMA included (optional) 9 EMA → White
20 EMA → Red
50 EMA → Yellow
100 EMA → Blue
200 EMA → Purple Alerts (e.g., “Max Fear – Buy Zone”)
✔ Liquidity line / support-resistance auto zones Full sentiment heatmap (Greed → Fear)
✔ Right-side legend like LuxAlgo
✔ All 5 EMAs added (my colors): EMA trend cloud (9/20, 20/50, 50/200)
Buy/Sell circles based on sentiment reversals Right-side legend: MAX GREED / GREED / NEUTRAL / FEAR / MAX FEAR
5 EMAs:
9 → White
20 → Red
50 → Yellow
100 → Blue
200 → Purple
Smoothed VWAP Bands🎯 Best Smoothing Setting for Scalping (What You Should Use)
Style σ Smoothing Result
Fast scalping (1min) EMA 14 Very responsive, still filters noise
Balanced intraday (1–5min) EMA 20 Best overall reliability
Slow confirmation (5–15min) EMA 30 Eliminates nearly all fakeouts
✅ What We Are Actually Smoothing
You are NOT smoothing VWAP itself.
You are smoothing the standard deviation (σ) that creates the VWAP bands:
✔ What this does:
* Computes the raw standard deviation (σ) of price relative to VWAP
* Smooths that σ using EMA smoothing
* Builds ±1 and ±2 bands using the smoothed σ
* You get clean, stable bands that filter fakeouts
✔ Result:
* Bands do NOT twitch in chop
* Fakeouts are filtered
* Real breakouts show obvious expansion
TTM (Trade The Matrix) Squeeze EMA Cloud
Another way to simply visualize the TTM squeeze but this time with a simpe 2 EMA cloud representation. Fully customizable - change EMA, color, & squeeze to your liking
The **"TTM Squeeze EMA Cloud"** is a **custom TradingView Pine Script (v6)** indicator that **combines the classic TTM Squeeze volatility logic** with a **colored EMA cloud** to visually represent **market state**:
- **Consolidation (Squeeze ON)**
- **Bullish Breakout (Squeeze OFF + Uptrend)**
- **Bearish Breakout (Squeeze OFF + Downtrend)**
It overlays directly on the price chart (`overlay=true`) and uses **color-coded cloud shading** between two EMAs to make the current regime **immediately visible**.
---
## CORE COMPONENTS
| Component | Purpose |
|--------|--------|
| **TTM Squeeze** | Detects low-volatility consolidation (Squeeze ON) vs. volatility expansion (Squeeze OFF) |
| **EMA Cloud** | Fast EMA (8) vs. Slow EMA (21) → determines trend direction |
| **Cloud Fill** | Colors the area between EMAs based on **Squeeze + Trend** |
| **Visual Cues** | Tiny yellow dots below bars when Squeeze is ON |
---
## USER INPUTS (Customizable)
| Input | Default | Description |
|------|--------|-----------|
| `length` | 20 | Period for Bollinger Bands & SMA basis |
| `mult` | 2.0 | Bollinger Band multiplier |
| `lengthKC` | 20 | Period for ATR in Keltner Channels |
| `multKC` | 1.5 | Keltner Channel multiplier |
| `fastLength` | 8 | Fast EMA length |
| `slowLength` | 21 | Slow EMA length |
> These are standard settings — tweak for sensitivity.
---
## CALCULATIONS (Step-by-Step)
### 1. **Bollinger Bands (BB)**
```pinescript
ma = ta.sma(close, length)
stdDev = ta.stdev(close, length)
upperBB = ma + stdDev * mult
lowerBB = ma - stdDev * mult
```
- Measures **statistical volatility**
### 2. **Keltner Channels (KC) – ATR-based**
```pinescript
atrValue = ta.atr(lengthKC)
upperKC = ma + atrValue * multKC
lowerKC = ma - atrValue * multKC
```
- Measures **true range volatility** (more adaptive than stdev)
### 3. **TTM Squeeze Condition**
```pinescript
squeezeOn = (lowerBB > lowerKC) and (upperBB < upperKC)
```
- **True** when **BB is completely inside KC** → **Low volatility = Consolidation**
- **False** → **Volatility expanding = Breakout phase**
---
### 4. **EMA Cloud (Trend Filter)**
```pinescript
fastEma = ta.ema(close, fastLength) // 8-period
slowEma = ta.ema(close, slowLength) // 21-period
```
- Fast EMA reacts quickly, Slow EMA is smoother
- **Trend = fastEma > slowEma → Bullish**, otherwise Bearish
---
### 5. **Cloud Coloring Logic**
| Condition | Cloud Color | Meaning |
|--------|------------|--------|
| `squeezeOn == true` | **Bright Green-Yellow** (`#00ff59`) | **Squeeze ON** → Consolidation |
| `squeezeOn == false` AND `fastEma > slowEma` | **Cyan** (`#00fff7`) | **Squeeze OFF + Bullish** |
| `squeezeOn == false` AND `fastEma < slowEma` | **Red** (`#ff0000`) | **Squeeze OFF + Bearish** |
> The **cloud fills the space between fast and slow EMA** with the appropriate color.
---
## PLOTS & VISUALS
| Element | Description |
|-------|-----------|
| `fill(p1, p2, color=cloudColor)` | **Main EMA Cloud** – colored by regime |
| `plot(fastEma)` | Thin **blue line** (Fast EMA) |
| `plot(slowEma)` | Thin **orange line** (Slow EMA) |
| `plotshape(squeezeOn)` | **Tiny yellow circles below bar** when Squeeze is ON |
> Clean, minimal overlay — no histogram or candles
---
## HOW TO READ THE INDICATOR
| Visual | Market State | Interpretation |
|-------|-------------|----------------|
| **Yellow-Green Cloud** + **Yellow Dots** | **Squeeze ON** | Price is consolidating. **Prepare for breakout** |
| **Cyan Cloud** | **Squeeze OFF + Uptrend** | **Bullish momentum building** → Potential long entry |
| **Red Cloud** | **Squeeze OFF + Downtrend** | **Bearish momentum building** → Potential short entry |
| **Cloud narrowing** | EMAs converging | Trend weakening or reversal possible |
| **Cloud widening** | EMAs diverging | Trend strengthening |
---
## TRADING STRATEGY (Example)
### **Long Setup**
1. Wait for **Yellow-Green Cloud + Yellow Dots** → Squeeze ON
2. Watch for **cloud to turn Cyan**
3. Enter **long** when:
- Price breaks above recent high
- Volume increases (optional)
4. **Stop Loss**: Below slow EMA or recent swing low
5. **Take Profit**: Next resistance or trailing stop
### **Short Setup**
1. Wait for **Yellow-Green Cloud**
2. Enter **short** when cloud turns **Red**
3. Confirm with price breaking lower
> **Best used as a regime filter** — combine with price action, support/resistance, or volume.
---
## KEY ADVANTAGES
| Feature | Benefit |
|-------|--------|
| **One-glance regime detection** | No need to interpret multiple indicators |
| **Cloud = Trend + Volatility** | Combines momentum and consolidation |
| **Clean visuals** | Doesn’t clutter the chart |
| **Adaptive to volatility** | KC uses ATR → better in trending markets |
| **Early breakout signal** | Squeeze OFF often precedes big moves |
---
## LIMITATIONS
| Issue | Note |
|------|------|
| **Lagging EMAs** | 8/21 are reactive, not predictive |
| **No momentum strength** | Unlike histogram versions, no intensity measure |
| **False breakouts** | Squeeze OFF doesn’t guarantee follow-through |
| **Repainting?** | No — all calculations are bar-close based |
| **No alerts built-in** | You’d need to add `alertcondition()` manually |
---
## BEST USE CASES
| Market | Timeframe | Pair With |
|-------|----------|----------|
| Stocks, Crypto, Forex | 1H, 4H, Daily | Volume, RSI, Support/Resistance |
| Swing Trading | Yes | Breakout strategies |
| Scalping | No | Too slow |
---
## COMPARISON TO OTHER TTM VERSIONS
| Feature | This Version | Typical TTM Squeeze |
|-------|-------------|-------------------|
| Visual Output | EMA Cloud | Histogram + Dots |
| Trend Filter | EMA Crossover | Momentum Oscillator |
| Colors | 3-state cloud | 4–5 candle colors |
| Clutter | Low | Medium–High |
| Focus | Regime + Trend | Momentum + Squeeze |
> This version is **cleaner and more trend-focused**.
---
## SUMMARY: What This Indicator Does
> **"TTM Squeeze EMA Cloud"** is a **visual market regime detector** that:
> 1. **Identifies low-volatility consolidation** (Squeeze ON → Yellow-Green cloud)
> 2. **Signals volatility expansion** (Squeeze OFF)
> 3. **Colors the EMA cloud** to show **bullish or bearish breakout direction**
> 4. **Overlays clean trend lines** (8 & 21 EMA) for context
---
**Perfect for traders who want a simple, colorful way to:**
- Spot **consolidations before breakouts**
- Confirm **trend direction** during volatility expansion
- Avoid trading **choppy, low-momentum ranges**
---
**Pro Tip**: Add this to your chart and **watch for cloud color changes** — they often precede **high-probability breakout trades**.
ATR EMA Bands (Kerry Lovvorn Style) - Fixed Scale//@version=5
indicator("ATR EMA Bands (Kerry Lovvorn Style) - Fixed Scale",
overlay = true,
scale = scale.right, // ⭐ 强制使用右侧价格刻度
precision = 2)
// ——— 参数 ———
src = input.source(close, "Source")
emaLength = input.int(34, "EMA Length")
atrLength = input.int(13, "ATR Length")
atrMult1 = input.float(1.0, "ATR ×1")
atrMult2 = input.float(2.0, "ATR ×2")
atrMult3 = input.float(3.0, "ATR ×3")
// ——— 计算 ———
ema = ta.ema(src, emaLength)
atr = ta.atr(atrLength)
// 上下轨
upper1 = ema + atr * atrMult1
upper2 = ema + atr * atrMult2
upper3 = ema + atr * atrMult3
lower1 = ema - atr * atrMult1
lower2 = ema - atr * atrMult2
lower3 = ema - atr * atrMult3
// ——— 绘图 ———
plot(ema, "EMA", color = color.white, linewidth = 2)
plot(upper1, "Upper 1×ATR", color = color.new(color.green, 0))
plot(upper2, "Upper 2×ATR", color = color.new(color.green, 30))
plot(upper3, "Upper 3×ATR", color = color.new(color.green, 60))
plot(lower1, "Lower 1×ATR", color = color.new(color.red, 0))
plot(lower2, "Lower 2×ATR", color = color.new(color.red, 30))
plot(lower3, "Lower 3×ATR", color = color.new(color.red, 60))
// ——— 可选:在当前 K 线上标记数值,方便你肉眼对比 ———
showDebug = input.bool(false, "Show Debug Labels (for checking value vs position)")
if showDebug
var label lb = na
if barstate.islast
label.delete(lb)
txt = "EMA: " + str.tostring(ema, format.mintick) + " " +
"U1: " + str.tostring(upper1, format.mintick) + " " +
"U2: " + str.tostring(upper2, format.mintick) + " " +
"U3: " + str.tostring(upper3, format.mintick)
lb := label.new(bar_index, upper1, txt, style = label.style_label_right, textcolor = color.white, color = color.new(color.black, 40))
TTM Squeeze Candles (Trade The Matrix) with Dynamic Strength BarHere is my tribute, tip of the cap to one of the greatest traders of our generation John F. Carter
It was my goal to try and simply visualize the squeeze with candle sticks, dynamic momentum, and signals all on one chart in one indicator. Please study and master the squeeze setup before trying to apply this indicator . You must have a deep understanding of how to trade the squeeze. Read "Mastering The Trade " watch JC's videos etc, and practice with a simulated or paper account before ever trying out new strategies with real money. Not financial advice, I am not a financial advisor! DYOR- with that said - I hope you like it :)
The **"TTM Squeeze Candles (Custom Colors) with Dynamic Strength Bar"** is a **custom TradingView Pine Script (v6)** indicator that visualizes the **TTM Squeeze** strategy — a popular volatility-based momentum system originally developed by John Carter of TradeTheMarkets (TTM). This version enhances the classic TTM Squeeze with **custom candle coloring**, **dynamic momentum strength**, **visual alerts**, and a **real-time strength meter**.
---
## OVERVIEW: What is the TTM Squeeze?
The **TTM Squeeze** identifies periods when **volatility is contracting** (price is consolidating), followed by a **potential explosive breakout** when volatility expands.
It combines:
1. **Bollinger Bands (BB)** – measure statistical volatility
2. **Keltner Channels (KC)** – measure average true range (ATR) volatility
3. **Momentum Oscillator** – determines direction and strength of potential breakout
> **Squeeze ON** = BB inside KC → Low volatility (consolidation)
> **Squeeze OFF** = BB outside KC → Volatility expanding (breakout possible)
---
## DETAILED BREAKDOWN OF THIS INDICATOR
---
### 1. **User Inputs (Customizable Settings)**
| Input | Default | Purpose |
|------|--------|--------|
| `length` | 20 | Period for SMA, BB, KC |
| `bbMult` | 2.0 | Bollinger Band multiplier |
| `kcMult` | 1.5 | Keltner Channel ATR multiplier |
| `momentumLen` | 12 | Length for momentum regression |
| `showHistogram` | true | Show momentum histogram |
| `showStrengthMeter` | true | Show dynamic strength bar |
| `useSqueezeCandle` | true | Replace chart candles with colored squeeze candles |
---
### 2. **Core Calculations**
#### A. **Bollinger Bands**
```pinescript
basis = ta.sma(close, length)
dev = ta.stdev(close, length)
bbUpper = basis + bbMult * dev
bbLower = basis - bbMult * dev
```
- Standard BB using SMA and standard deviation.
#### B. **Keltner Channels (ATR-based)**
```pinescript
kcBasis = ta.sma(close, length)
atrv = ta.atr(length)
kcUpper = kcBasis + kcMult * atrv
kcLower = kcBasis - kcMult * atrv
```
- Uses ATR instead of stdev → more adaptive to recent volatility.
#### C. **Squeeze Condition**
```pinescript
squeezeOn = (bbUpper < kcUpper) and (bbLower > kcLower)
```
- **Squeeze ON**: BB completely inside KC → **low volatility**
- **Squeeze OFF**: BB breaks outside KC → **volatility expansion**
---
### 3. **Momentum Calculation (TTM Style)**
```pinescript
momRaw = close - basis
mom = ta.linreg(momRaw, momentumLen, 0)
```
- Measures **price deviation from the basis (SMA)** via **linear regression**
- Positive = bullish momentum, Negative = bearish
```pinescript
momRising = ta.change(mom) > 0
```
- Tracks whether momentum is increasing.
---
### 4. **Dynamic Momentum Strength (Key Feature)**
```pinescript
absMom = math.abs(mom)
strength = absMom / ta.highest(absMom, 50)
strengthSmooth = ta.sma(strength, 5)
```
- **Normalizes momentum** over last 50 bars
- **Smooths** with 5-period SMA → avoids jitter
- Result: `strengthSmooth` = **0 to 1** (0% to 100% of recent peak)
> **Strong Momentum** = `>= 50%` of recent peak
> **Weak Momentum** = `< 50%`
---
### 5. **Custom Candle Coloring Logic**
| Condition | Candle Color |
|--------|-------------|
| **Squeeze ON** | Semi-transparent **Gray** (`colSqueeze`) |
| **Squeeze OFF + Bullish + Strong** | **Cyan** (`#00FFFF`) |
| **Squeeze OFF + Bullish + Weak** | **Dark Blue** (`#00008B`) |
| **Squeeze OFF + Bearish + Strong** | **Red** (`#FF0000`) |
| **Squeeze OFF + Bearish + Weak** | **Yellow** (`#FFFF00`) |
> Wicks use same color as body
> Optional: Overrides chart candles (`useSqueezeCandle = true`)
---
### 6. **Visual Plot Elements**
| Element | Description |
|-------|-----------|
| `plotcandle()` | Draws **custom colored candles** (if enabled) |
| **Red Dots (below bar)** | Squeeze **ON** |
| **Green Triangle Up (above bar)** | Squeeze **OFF + Bullish** |
| **Red Triangle Down (above bar)** | Squeeze **OFF + Bearish** |
| **Histogram** | Momentum value, colored by direction & strength |
| **BB Lines** | Faint blue |
| **KC Lines** | Faint orange |
---
### 7. **Dynamic Squeeze Strength Bar (Bottom Center)**
```pinescript
table.new(position.bottom_center, 101, 1)
```
- A **101-cell horizontal bar** (0–100%)
- **Filled up to current `strengthSmooth * 100`**
- **Color-coded** by momentum direction & strength
- **Fades out** from filled → empty for smooth gradient
- Updates **only on last bar**
> Example:
> - 78% strength, bullish, strong → **Cyan bar filled to 78%**, fading to gray
---
### 8. **Info Label (Top-Right of Last Bar)**
```pinescript
Squeeze: ON/OFF
Momentum: +0.45
Strength: 72%
```
- Real-time status box
- Auto-updates on new bars
---
### 9. **Alert Conditions**
| Alert | Trigger |
|------|--------|
| `"Squeeze Started"` | `squeezeOn` becomes true |
| `"Squeeze Released"` | `squeezeOff AND bbUpper crosses above kcUpper` |
> Note: Only triggers on **bullish release** via `crossUp`.
> You can modify to add bearish release.
---
## HOW TO INTERPRET THE INDICATOR
| Signal | Meaning | Action |
|-------|--------|-------|
| **Gray Candles + Red Dots** | Squeeze ON → Consolidation | **Prepare** |
| **Cyan/Blue Candle + Green ▲** | Squeeze OFF → **Bullish Breakout** | **Go Long** |
| **Red/Yellow Candle + Red ▼** | Squeeze OFF → **Bearish Breakout** | **Go Short** |
| **Bright Color (Cyan/Red)** | **Strong Momentum** | Higher conviction |
| **Dim Color (Dark Blue/Yellow)** | **Weak Momentum** | Caution / possible fakeout |
| **Strength Bar >70%** | High momentum relative to recent history | Strong trend likely |
---
## TRADING STRATEGY EXAMPLE
1. **Wait for Squeeze ON** (gray candles, red dots)
2. **Watch momentum histogram** turning positive/negative
3. **Enter on Squeeze OFF** with:
- **Green triangle + cyan/dark blue candle**
- **Strength > 50%**
4. **Exit** on momentum fade or opposite signal
---
## UNIQUE FEATURES OF THIS VERSION
| Feature | Benefit |
|-------|--------|
| **Custom candle override** | Replaces default chart for clarity |
| **Dynamic strength normalization** | Compares current momentum to recent peaks |
| **Smooth strength bar** | Visual momentum intensity meter |
| **Color-coded strength levels** | Instantly see weak vs strong moves |
| **Info label** | At-a-glance stats |
| **Clean visuals** | No clutter, intuitive |
---
## LIMITATIONS & NOTES
- **Lagging by design** (uses SMAs, regression)
- **Repaints slightly** due to `ta.linreg(..., 0)` on current bar
- **Strength bar uses last 50 bars** — may vary by timeframe
- **No built-in stop-loss or TP** — use with price action or other tools
---
## BEST USED ON
- **Timeframes**: 15m, 1H, 4H, Daily
- **Markets**: Stocks, Forex, Crypto, Futures
- **Pairs well with**: Volume, VWAP, Support/Resistance
---
## SUMMARY
> **This is a highly visual, trader-friendly version of the TTM Squeeze** that:
> - **Colors candles** based on squeeze state and momentum strength
> - **Shows real-time momentum intensity** via histogram + strength bar
> - **Alerts on squeeze start/release**
> - **Normalizes momentum** for fair strength comparison
> - **Provides clean, actionable signals** for breakout trading
---
**Ideal for swing traders and day traders** looking to catch **high-momentum breakouts from low-volatility consolidations** with **clear entry signals and conviction levels**.
MACD Divergence Optimizer# MACD Divergence Optimizer - User Guide
## Overview
The **MACD Divergence Optimizer** is a professional-grade technical analysis indicator for TradingView that automatically detects hidden divergences on MACD with volume weighting. It identifies potential reversal points before price action confirms the move, giving traders an early edge.
---
## What is Divergence?
A **divergence** occurs when price and an oscillator (like MACD) move in opposite directions:
- **Bullish Divergence**: Price makes a lower low, but MACD makes a higher low → Potential uptrend reversal
- **Bearish Divergence**: Price makes a higher high, but MACD makes a lower high → Potential downtrend reversal
Divergences are among the most reliable reversal signals in technical analysis.
---
## Indicator Features
### Volume-Weighted MACD
- Standard MACD is calculated on closing price
- This indicator uses **volume-weighted closing prices** for greater accuracy
- Formula: MACD = (Volume-Weighted EMA₁₂ - Volume-Weighted EMA₂₆)
- Volume weighting gives more importance to high-conviction price moves
### Automatic Swing Detection
- Detects local highs and lows (5-bar lookback)
- Tracks the last 5 swings for divergence analysis
- Only meaningful swings are tracked (filtered for noise)
### Smart Signal Generation
- Green triangle (▲) = Bullish Divergence (BUY signal)
- Red triangle (▼) = Bearish Divergence (SELL signal)
- Triangles appear directly on the MACD line for precise entry timing
### Built-in Alerts
- Real-time notifications for divergence signals
- Alerts can trigger mobile push notifications or sound
- Never miss a trading opportunity
---
## How to Use
### Installation
1. Open TradingView and navigate to the Chart
2. Click "Indicator" → Search "MACD Divergence Optimizer"
3. Click "Add to Chart"
4. The indicator appears in a separate panel below the price chart
### Reading the Indicator
**MACD Panel displays:**
- **Blue Line** = MACD (fast momentum)
- **Orange Line** = Signal line (slow momentum)
- **Histogram** (colored bars) = Difference between MACD and Signal
- Green bars = MACD above signal (bullish)
- Red bars = MACD below signal (bearish)
**Divergence Signals:**
- **Green Triangle ▲** = Bullish divergence detected
- Price is lower, but MACD momentum is strengthening
- Look for uptrend reversal
- Confirm with higher closes or volume
- **Red Triangle ▼** = Bearish divergence detected
- Price is higher, but MACD momentum is weakening
- Look for downtrend reversal
- Confirm with lower closes or selling volume
---
## Parameters & Settings
### MACD Fast Length (Default: 12)
- Controls the faster moving average period
- **Lower values** → More responsive, more false signals
- **Higher values** → Smoother, fewer signals
- **Typical range**: 8-15
### MACD Slow Length (Default: 26)
- Controls the slower moving average period
- **Lower values** → Faster divergence detection
- **Higher values** → More reliable, fewer signals
- **Typical range**: 20-35
### Signal Smoothing (Default: 9)
- EMA period applied to MACD itself
- **Lower values** → Faster crossover signals
- **Higher values** → Fewer false crossovers
- **Typical range**: 5-15
### Min Divergence Strength (Default: 0.5%)
- Minimum % difference between current MACD and swing MACD
- **Lower values** → More divergence signals (noisier)
- **Higher values** → Only strong divergences (fewer signals)
- **Recommended**: 0.3% - 1.0%
### Lookback Bars (Default: 75)
- Historical window for analysis
- Larger lookback = more context but slower calculation
- **Typical range**: 50-100
---
## Trading Strategy
### Bullish Divergence (Entry Setup)
1. **Identify Signal**: Green triangle appears on MACD
2. **Confirm Price**: Look for price rejection of the low (bounce)
3. **Volume Check**: Buy on increase in volume at the bounce
4. **Entry**: Above the swing low level
5. **Stop Loss**: Below the most recent swing low
6. **Target**: Next swing high or resistance level
### Bearish Divergence (Entry Setup)
1. **Identify Signal**: Red triangle appears on MACD
2. **Confirm Price**: Look for price rejection of the high
3. **Volume Check**: Sell on increase in volume at rejection
4. **Entry**: Below the swing high level
5. **Stop Loss**: Above the most recent swing high
6. **Target**: Next swing low or support level
### Risk Management
- **Position Size**: Risk only 1-2% per trade
- **Stop Loss**: Place beyond recent swings
- **Take Profit**: Scale out at 1:1, 1:2, 1:3 risk-reward ratios
- **Filter**: Use on higher timeframes (4H, Daily) for reliability
---
## Timeframe Recommendations
| Timeframe | Best For | Signal Quality |
|-----------|----------|---|
| **1H** | Scalping, day trading | Moderate (some noise) |
| **4H** | Swing trading | Excellent |
| **Daily** | Position trading | Excellent |
| **Weekly** | Long-term trends | Excellent |
---
## Tips & Best Practices
### ✅ DO:
- **Use on trends**: Divergences work best when there's a clear trend
- **Combine signals**: Look for confirmation from price action, volume, or moving averages
- **Trade the bounce**: Wait for price to react to the swing, then enter
- **Adjust parameters**: Test different MACD lengths for your trading style
- **Use alerts**: Set up mobile alerts so you don't miss signals
### ❌ DON'T:
- **Trade every signal**: Some signals are stronger than others
- **Trade flat/choppy markets**: Divergences fail in ranging markets
- **Ignore support/resistance**: Trade divergences near key levels for best results
- **Over-leverage**: Divergences are probabilistic, not guaranteed
- **Disable volume analysis**: Always check volume when divergence fires
---
## Advanced Features
### Volume Weighting
The indicator uses **volume-weighted MACD** instead of standard MACD. This means:
- High-volume reversals get more emphasis
- Low-volume moves are smoothed out
- More accurate momentum readings
- Better at identifying true trend changes
### Array Tracking
The indicator tracks the last 5 swings in arrays:
- `swingLows ` = last 5 price lows
- `swingHighs ` = last 5 price highs
- `swingMacds ` = corresponding MACD values
This allows detection of **hidden divergences** not visible in traditional analysis.
---
## Common Questions
**Q: Why didn't the indicator trigger a signal when I see a divergence?**
A: The indicator may require:
- MACD histogram to cross the zero line (confirms momentum shift)
- Minimum strength threshold to be met (adjust Min Divergence Strength)
- At least 5 swings to be recorded in the lookback window
**Q: Can I use this on all timeframes?**
A: Yes, but divergences are more reliable on higher timeframes (4H+). Lower timeframes produce more signals but with more noise.
**Q: Should I trade every green/red triangle?**
A: No. Use them as a heads-up for potential reversals. Always confirm with:
- Price action (rejection of the swing)
- Volume (increasing volume at reversal)
- Key support/resistance levels
**Q: How do I set alerts?**
A:
1. Right-click the indicator → Edit Alerts
2. Check "Bullish Divergence" and/or "Bearish Divergence"
3. Choose notification type (browser, mobile, email)
4. Set frequency to "Once per bar close"
**Q: What's the difference between regular and hidden divergence?**
A: This indicator detects **hidden divergences** (also called continuation divergences):
- **Regular**: Price makes new extreme, but oscillator doesn't
- **Hidden**: Price makes new extreme, oscillator makes new extreme in different direction
- Hidden divergences are often more reliable for continuation plays
---
## Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Past performance does not guarantee future results. Always use proper risk management and combine with other analysis methods. Trading and investing carry risk of loss. Do your own research before making trading decisions.
---
## Support & Updates
For issues, feature requests, or questions:
- Check the indicator settings and parameter values
- Test on historical data first before live trading
- Adjust parameters to match your trading style and timeframe
---
**Version**: 1.0
**Last Updated**: November 2025
**Compatible**: TradingView v6+
Cognex Fibonacci Breakout StrategyTHE COMPLETE TRADE LOGIC (What We Want):
Step 1: Morning Session (9:30-10:30)
Track session high and low
Step 2: After 10:30 - Wait for Breakout
Bullish: Close above session high
Bearish: Close below session low
Step 3: Track Extreme After Breakout
Keep updating highest_after_breakout or lowest_after_breakout
This continuously updates as price makes new extremes
Step 4: Detect 28% Retracement (THE LOCK)
When price retraces to 28%, set last_extreme_for_retracement to the current extreme
This LOCKS the extreme for fibonacci calculations
fib_100 should use this locked value
Step 5: Place Limit Order EARLY (at 20% retracement)
When price retraces to 20%, place limit order at 28% entry
This is so the order is ready when price hits 28%
Step 6: Cancel & Recalculate if New Extreme
If price makes a NEW extreme AFTER the order is placed
Cancel the old order
Wait for new 20% retracement to place new order
Step 7: One Trade Per Day
Only ONE order placement attempt per day
Even if cancelled, don't try again
Myanverse Scalper BurmeseThis is Public Indicators from many resources and translated into burmese to use at ease.
I have another option sale indicators to use together.
TSI.LTA | Base BTC 1DTSI.LTA | Base BTC 1D is a closed‑source trend‑following strategy designed for BTC on the 1D timeframe .
It focuses on participating in the main directional moves of the market while avoiding as much short‑term noise as possible.
📊 The script:
Uses a combination of moving‑average–based filters and volatility bands to define the active trend.
Applies optional volume filters to avoid low‑participation or exhausted moves.
Includes risk‑management controls (Stop Loss, Take Profit, Trailing Stop) that work on a per‑trade basis.
All entries and exits are confirmed at bar close and the script does not repaint .
This makes it suitable for backtesting, alerts and external automation.
█ 💡 CONCEPTS
This strategy is built around a few simple ideas:
1 — Trend first.
Positions are only taken when a group of smoothed trend filters agree on direction.
The goal is to ride larger swings, not to scalp each fluctuation.
2 — Volatility awareness.
Standard‑deviation–based bands help avoid entries in abnormal spikes or during very compressed ranges.
3 — Participation filter.
Optional volume‑based conditions (VWMA, OBV slope, MFI, volume Z‑score) try to ensure that entries occur when the market shows enough activity, not during dead phases.
4 — Risk defined in advance.
Stop‑loss and trailing‑stop inputs are expressed as percentages relative to entry price, so users can align them with their own risk tolerance.
The logic is purposely conservative: it is expected to stay flat during parts of the market where the trend is unclear or participation is weak.
█ ⚙️ FEATURES & INPUTS
This section follows approximately the order of the script’s inputs, so users can read here and then match what they see in the “Inputs” tab.
1 — 📐 Trend filters
These inputs control how the strategy detects the underlying trend:
DEMA / Gaussian / SMMA lengths
Control how fast or slow the trend reacts to price changes.
Shorter lengths → more responsive, more trades, more noise.
Longer lengths → slower reaction, fewer trades, more filtering.
Volatility Bands (SD length & multipliers)
Standard‑deviation bands around the smoothed price series.
They are used to avoid entries during extreme moves or very narrow ranges where a breakout is not yet confirmed.
In practice, these settings let the user choose between a more “aggressive” trend follower (shorter lengths, smaller bands) or a more “patient” one.
2 — 📊 Volume filters (optional)
These filters are meant to restrict trades to periods where the market shows meaningful participation:
VWMA filter
Requires price to be aligned with a Volume‑Weighted Moving Average, which de‑emphasizes moves on very low volume.
OBV slope filter
Uses the slope of On‑Balance Volume to check that net volume flow supports the direction of the trade.
MFI band filter
Uses the Money Flow Index to avoid taking new entries in zones that often correspond to exhaustion (extreme values defined by the user).
Volume Z‑Score
Compares current volume to its recent history. Trades can be restricted when volume is unusually low or out of character for that period.
When any of these filters are turned off, the strategy relies only on price‑based trend and volatility logic.
When they are on, trades are more selective and may be fewer.
3 — 🛡️ Risk management
These inputs define how individual trades are managed once entered.
They do not change the trend logic itself:
Stop Loss (%)
A percentage move against the entry price that will close the position.
Typical values on BTC 1D remain in the single‑digit range so that no single trade risks an unrealistic portion of equity.
Take Profit (%)
An optional fixed target that closes the trade when price has moved a chosen percentage in favor.
This can be disabled if the user prefers to let the trend filters perform the exit.
Trailing Stop (%)
A stop that follows the most favorable price reached since entry.
When the “use lower timeframe peak” option is enabled, peaks can be detected on a lower timeframe for more granular trailing, while decisions still occur at the close of the 1D bar.
Fixed SL/TP Price and Activation Date
Allow defining absolute price levels and a date from which they start applying.
This is useful when the user wants structural protection around known price zones.
The combination of these controls determines how deep a pullback the user is willing to tolerate and how much profit they are prepared to give back in order to stay in trends.
4 — 🚫 Filter failure & cooldown
To avoid over‑trading in difficult environments, the script can:
Automatically exit when filters remain unfavorable for a configurable number of bars.
Enter a cooldown period, during which no new trades are taken, even if some conditions improve.
These mechanisms are intended to protect capital during choppy or low‑quality phases rather than force constant exposure.
█ 📚 HOW TO USE
A suggested process for using this strategy as a study tool:
1 — Start on BTC 1D.
Apply the script to BTCUSD or BTC/USDT on the 1D timeframe, with default inputs.
2 — Open the Strategy Tester.
Choose a time window (for example a full halving cycle, a crash + recovery period, or just the most recent bull leg).
3 — Compare with Buy & Hold.
For the same window, look at:
Net profit of the strategy vs Buy & Hold.
Max drawdown of the strategy vs Buy & Hold.
The goal is not to hit a particular number, but to see whether, in that window, the strategy manages to:
Provide a smoother equity curve (lower drawdown),
While still performing at least as well as, or better than, simply holding the asset.
4 — Experiment with risk inputs.
Vary Stop Loss, Trailing Stop and the volume filters.
After each change, re‑check the same two questions above. This should make clear how each input affects the trade‑off between participation and risk.
5 — Forward‑test.
Before using any configuration with real capital, let it run for a while in paper‑trading or demo conditions.
█ 🚧 LIMITATIONS
The strategy is built and tuned primarily for BTC on 1D.
It can be used on other symbols and timeframes, but behavior may differ and requires new testing.
In very tight ranges or during event‑driven gaps, trend logic may enter later than discretionary trading would. This is expected for a conservative trend‑following approach.
Results from historical backtests depend on data quality, broker settings, fees and slippage configured in the Strategy Tester.
█ 📝 NOTES
Signals are generated on bar close.
The script is closed‑source, but the description explains the main ideas so users and moderators can understand what it does and how to use it.
The HUD on the chart is meant as a compact summary of the same statistics available in the Strategy Tester; it simply makes comparisons quicker.
█ ⚠️ DISCLAIMER
This strategy is provided for educational and research purposes only .
It is not financial advice and does not recommend any specific trades, assets, position sizes, or risk levels.
Users are fully responsible for:
Choosing their own risk parameters (Stop Loss, Take Profit, Trailing Stop, position sizing, etc.).
Testing the script on the markets and timeframes they intend to trade.
Verifying that any configuration is appropriate for their capital, risk tolerance and jurisdiction.
Past performance in backtests or examples does not guarantee future results.
Always test carefully before considering any live deployment.
Position Size CalculatorSet TP SL and entry point, over any chart to follow the points without drawing lines
Color EMA (Green Above, Red Below)olor EMA (Green Above, Red Below) is a simple yet effective trend-visualization tool that colors the Exponential Moving Average (EMA) based on price position.
When the close is above the EMA, the line turns green, indicating bullish strength.
When the close is below the EMA, the line turns red, indicating bearish pressure.
PolarLabs Indicator Pro P3PolarLabs Indicator Pro — Introduction
PolarLabs is a research collective dedicated to the advancement of quantitative trading and automation. We focus on all-weather portfolio strategies, diverse grid trading systems, and perpetual futures, aiming to empower traders and investors with streamlined, efficient, and innovative tools for the modern financial markets.
The PolarLabs Indicator now features enhanced capabilities including:
• Automatic detection of recent resistance ("Arctic Line") and support ("Antarctic Line") levels
• Advanced V-Average pricing with dynamic trend analysis
• Dual Momentum indicators (A-Momentum & T-Momentum) for market strength assessment
• IceFire Meter for real-time volume flow visualization
• Trend Follow Mode with Fibonacci-based entry bands for proactive position management
• Linear Regression Volume Distribution for smart accumulation zone identification
All key metrics are displayed in a clear, accessible dashboard on your chart, making it easy for quant enthusiasts and algorithmic traders to analyze market structures, identify key zones, and execute strategies with enhanced confidence.
Our tools are designed to complement your trading intuition - providing data-driven insights while respecting the art of market interpretation. Whether you're building automated grid systems, monitoring breakouts, or constructing all-weather portfolios, PolarLabs provides practical solutions to help you trade and analyze more effectively.
If you are interested, please send me a private message
X: X.com/PolarLabs_ai
TG: t.me/PolarLabs_ai
Follow us for more quant tools and automated trading strategies!
———————————————————————————————————————
北极熊指标Pro — 简介
北极熊研究所(PolarLabs)专注于量化交易和自动化策略的研究与创新。我们致力于开发全天候资产配置策略、各种网格交易系统以及永续合约解决方案,帮助更多热爱量化与自动化的交易员轻松高效地进行市场分析与策略执行。
北极熊指标现已升级增强功能:
• 自动侦测近期「北极线」(压力线)与「南极线」(支撑线)
• V均價动态趋势分析系统
• 双动能指标(A动能 & T动能)评估市场强度
• 冰火仪实时成交量流向可视化
• 趋势追踪模式配合斐波那契入场带,主动管理仓位
• 线性回归加量分布,智能识别筹码积累区域
所有关键数据均在图表右上角以面板形式直观展示,为您的交易分析提供有力支持。我们的工具旨在增强您的交易直觉——在提供数据驱动洞察的同时,尊重市场解读的艺术。
无论是箱体震荡、网格套利、趋势跟踪还是全自动量化策略,北极熊指标都能为您的交易决策提供深度市场结构分析。
【仅限受邀使用 - 需私人访问权限】
有兴趣请私信我查询
X: X.com/PolarLabs_ai
TG: t.me/PolarLabs_ai
欢迎关注 PolarLabs,获取更多量化与自动化工具和策略!
Moving Average Band StrategyOverview
The Moving Average Band Strategy is a fully customizable breakout and trend-continuation system designed for traders who need both simplicity and control.
The strategy creates adaptive bands around a user-selected moving average and executes trades when price breaks out of these bands, with advanced risk-management settings including optional Risk:Reward targets.
This script is suitable for intraday, swing, and positional traders across all markets — equities, futures, crypto, and forex.
Key Features
✔ Six Moving Average Types
Choose the MA that best matches your trading style:
SMA
EMA
WMA
HMA
VWMA
RMA
✔ Dynamic Bands
Upper Band built from MA of highs
Lower Band built from MA of lows
Adjustable band offset (%)
Color-coded band fill indicating price position
✔ Configurable Strategy Preferences
Toggle Long and/or Short trades
Toggle Risk:Reward Take-Profit
Adjustable Risk:Reward Ratio
Default position sizing: % of equity (configurable via strategy settings)
Entry Conditions
Long Entry
A long trade triggers when:
Price crosses above the Upper Band
Long trades are enabled
No existing long position is active
Short Entry
A short trade triggers when:
Price crosses below the Lower Band
Short trades are enabled
No existing short position is active
Clear entry markers and price labels appear on the chart.
Risk Management
This strategy includes a complete set of risk-controls:
Stop-Loss (Fixed at Entry)
Long SL: Lower Band
Short SL: Upper Band
These levels remain constant for the entire trade.
Optional Risk:Reward Take-Profit
Enabled/disabled using a toggle switch.
When enabled:
Long TP = Entry + (Risk × Risk:Reward Ratio)
Short TP = Entry – (Risk × Risk:Reward Ratio)
When disabled:
Exits are handled by reverse crossover signals.
Exit Conditions
Long Exit
Stop-Loss Hit (touch-based)
Take-Profit Hit (if enabled)
Reverse Band Crossover (if TP disabled)
Short Exit
Stop-Loss Hit (touch-based)
Take-Profit Hit (if enabled)
Reverse Band Crossover (if TP disabled)
Exit markers and price labels are plotted automatically.
Visual Tools
To improve clarity:
Upper & Lower Band (blue, adjustable width)
Middle Line
Dynamic band fill (green/red/yellow)
SL & TP line plotting when in position
Entry/Exit markers
Price labels for all executed trades
These are built to help users visually follow the strategy logic.
Alerts Included
Every trading event is covered:
Long Entry
Short Entry
Long SL / TP / Cross Exit
Short SL / TP / Cross Exit
Combined Alert for webhook/automation (JSON-formatted)
Perfect for algo trading, Discord bots, or automation platforms.
Best For
This strategy performs best in:
Trending markets
Breakout environments
High-momentum instruments
Clean intraday swings
Works seamlessly on:
Stocks
Index futures
Commodities
Crypto
Forex
⚠️ Important Disclaimer
This script is for educational purposes only.
Trading involves risk. Backtest results are not indicative of future performance.
Always validate settings and use proper position sizing.
Gerchik Auto Levels Simple v2 (multi TF + alerts)📘 Описание индикатора: Gerchik Auto Levels Simple
Индикатор автоматически строит ключевые уровни поддержки и сопротивления по выбранному таймфрейму и отслеживает взаимодействие цены с этими уровнями в режиме реального времени.
🧩 1. Как работает индикатор
Индикатор берёт данные с одного выбранного таймфрейма:
5 минут
15 минут
1 час
4 часа
День
На этом таймфрейме он анализирует ключевые сигналы, которые формируют важные уровни:
✓ Пивоты (Pivot High / Pivot Low)
Изломы рынка, где цена сделала значимый локальный максимум или минимум.
✓ Ложные пробои (False Breakout / ЛП)
Ситуации, когда цена обновила хай/лоу, но закрылась обратно — классика Герчика.
✓ Паранормальные бары (PB)
Сильные импульсные бары с хвостом и расширенным диапазоном:
хвост больше тела wickFactor раз
диапазон больше ATR atrFactor
🎯 2. Построение уровней
Для каждого найденного сигнала индикатор создаёт уровень:
уровни, расположенные близко друг к другу, объединяются в один (clustering)
используется параметр mergeTicks — допустимое расстояние в тиках
у каждого уровня есть сила (score): пивот > ложный пробой > паранормал
максимальное количество уровней регулируется параметром maxLevels
Если уровней больше лимита:
удаляется самый слабый
вместо него добавляется новый
🎨 3. Отображение уровней
Уровни автоматически окрашиваются:
красный — сопротивление (уровень выше текущей цены)
зелёный — поддержка (уровень ниже текущей цены)
Линии тянутся вправо на весь график (extend.both).
🚨 4. Типы алертов
Индикатор отслеживает каждое взаимодействие цены с уровнями и генерирует 5 типов сигналов:
1) Касание уровня (Touch)
Цена касается уровня тенями (low <= lvl <= high).
2) Подход к уровню (Near)
Цена приближается к уровню на расстояние X% (параметр alertNearPct).
3) Пробой вверх (Breakout Up)
Бар закрывается выше уровня.
4) Пробой вниз (Breakout Down)
Бар закрывается ниже уровня.
5) Ретест после пробоя (Retest)
Классический ретест Герчика:
сначала пробой вверх/вниз;
затем касание уровня;
затем закрытие в сторону пробоя.
Каждый тип можно выбрать отдельно в настройках алертов TradingView.
⚙️ 5. Основные параметры
srcTf — таймфрейм анализа уровней
leftBars / rightBars — жёсткость пивотов
mergeTicks — объединение уровней
maxLevels — максимальное количество уровней
atrLen / atrFactor — параметры паранормалов
wickFactor — чувствительность хвоста
alertNearPct — чувствительность подхода к уровню
resColor / supColor — цвета уровней
🧠 6. Для чего нужен индикатор
Этот инструмент полностью автоматизирует подход Герчика:
Находит только те уровни, которые действительно значимы
Очищает рынок от “шума” слабых экстремумов
Постоянно обновляется по мере формирования новых уровней
Даёт моментальные сигналы о взаимодействии цены с уровнями
Работает на любом инструменте (форекс, крипта, акции, фьючи).
📘 Indicator Description: Gerchik Auto Levels Simple
The indicator automatically identifies and plots key support and resistance levels based on a selected timeframe, combining several professional market signals commonly used in price-action and Gerchik-style trading.
🧩 1. How the Indicator Works
The indicator analyzes one selected timeframe:
5 minutes
15 minutes
1 hour
4 hours
1 day
On this timeframe it detects major structural events that create meaningful market levels:
✓ Pivot High / Pivot Low
Significant swing points where price forms a local top or bottom.
✓ False Breakouts (Fakeouts / FB / LP)
When price breaks the previous high/low but closes back inside.
This is one of the core concepts in Alexander Gerchik's methodology.
✓ Paranormal Bars (PB)
Strong impulse bars with extended wicks and unusually large range:
wick > body × wickFactor
range > ATR × atrFactor
🎯 2. Level Creation Logic
For each detected signal, the indicator generates a level:
close levels are automatically clustered into one using mergeTicks
each level has a strength score:
pivot > false breakout > paranormal bar
levels are stored, updated, and filtered dynamically
The total number of displayed levels is limited by the parameter maxLevels
(e.g., only the top 10 strongest levels will remain).
When maxLevels is reached:
the weakest level is removed,
the new level replaces it.
If a level already exists nearby:
the price is averaged,
the score is strengthened up to a maximum of 10.
🎨 3. Visual Representation
Levels are color-coded based on their relation to current price:
red — resistance (level above the current price)
green — support (level below the current price)
All levels extend across the entire chart (extend.both) for long-term visibility.
🚨 4. Alert System
The indicator supports five types of alerts, allowing traders to react instantly to market structure events:
1) Level Touch
The price touches a level using candle wicks
(low <= level <= high)
2) Level Near
The price approaches a level within a user-defined percentage
(alertNearPct)
3) Breakout Up
The candle closes above the level.
4) Breakout Down
The candle closes below the level.
5) Retest After Breakout
A classic Gerchik-style retest:
level is broken
price returns to it
candle closes back in the breakout direction
This confirms the validity of the breakout and often signals a high-quality entry point.
Each alert type can be selected and used independently inside TradingView’s alert settings.
⚙️ 5. Main Parameters
srcTf — timeframe for level detection
leftBars / rightBars — pivot sensitivity
mergeTicks — merge distance for clustering levels
maxLevels — maximum number of stored and displayed levels
atrLen / atrFactor — ATR settings for paranormal bars
wickFactor — wick/body ratio sensitivity
alertNearPct — sensitivity for "near" alerts
resColor / supColor — resistance/support colors
🧠 6. What This Indicator Solves
This tool fully automates the Gerchik-style level approach:
Finds only meaningful support/resistance levels
Filters out noise and weak local highs/lows
Adapts in real time as the market prints new structure
Provides immediate alerts for touches, approaches, breakouts, and retests
Works on any market (Forex, Crypto, Stocks, Futures)
EMA VIP STRThis strategy works on EMAS and standard deviation on both sides , the tp is decided on RSI levels. the strategy is a systematic trading setup
Closing Price Donchian Channels//@version=5
indicator("Closing Price Donchian Channels", overlay=true)
// Input parameters
length = input.int(20, "Period", minval=1)
showMid = input.bool(true, "Show Middle Line")
// Calculate upper and lower bands based on closing prices
upper = ta.highest(close, length)
lower = ta.lowest(close, length)
mid = (upper + lower) / 2
// Plot the bands
upperBand = plot(upper, "Upper Band", color=color.rgb(0, 184, 222))
lowerBand = plot(lower, "Lower Band", color=color.rgb(0, 184, 222))
midLine = plot(showMid ? mid : na, "Middle Line", color=color.rgb(209, 212, 220))
// Fill the area between bands
fill(upperBand, lowerBand, color=color.rgb(0, 184, 222, 90), title="Channel Fill")
Closing Price Donchian Channels Rayner//@version=5
indicator("Closing Price Donchian Channels", overlay=true)
// Input parameters
length = input.int(20, "Period", minval=1)
showMid = input.bool(true, "Show Middle Line")
// Calculate upper and lower bands based on closing prices
upper = ta.highest(close, length)
lower = ta.lowest(close, length)
mid = (upper + lower) / 2
// Plot the bands
upperBand = plot(upper, "Upper Band", color=color.rgb(0, 184, 222))
lowerBand = plot(lower, "Lower Band", color=color.rgb(0, 184, 222))
midLine = plot(showMid ? mid : na, "Middle Line", color=color.rgb(209, 212, 220))
// Fill the area between bands
fill(upperBand, lowerBand, color=color.rgb(0, 184, 222, 90), title="Channel Fill")
N Pops Premarket & Previous Day LevelsPrevious day high low, premarket high low, higher than previous high and lower than previous low
RSI + BB + ATR Short SignalThis indicator highlights potential short setups by combining three conditions:
RSI Overbought – RSI must be above the user-defined level.
Bollinger Band Break – Price must close above the upper Bollinger Band.
Extended Above the 5-Day Low – Price must sit at least X ATR above the recent 5-day low.
When all conditions line up on the same bar, the script plots a red triangle above the candle and triggers an alert so you can act immediately.
To help visualise the setup, the script also plots the full Bollinger Bands (upper, middle, lower) and a line showing the threshold of 5-day-low + ATR × multiplier. You can adjust RSI length and level, Bollinger settings, ATR length, and the ATR multiplier.
EMA Channel EMA Channel
All EMAs in single indicator
Customizable inputs
Clean color scheme
Works for any timeframe
Ideal for trend, pullback & momentum trading






















