Jace's Raff ChannelJust a basic, no-frills, Raff Regression channel. You can adjust the regression length and provide a starting point offset.
Bantlar ve Kanallar
INTRADALIMIT
IDEAL TIME FRAME-15 min
This indicator automatically plots critical daily price levels using Fibonacci extensions.
Instead of manually drawing Fibonacci levels every single morning, this script does the work for you, projecting a potential "map" for the day's price action.
Seawolf Pivot Hunter [Strategy]Overview
Seawolf Pivot Hunter is a practical trading strategy that enhances the classic pivot-box breakout system with a structured risk-management framework. Using ATR-based stop loss and take-profit calculations, position sizing, multi-layer filtering, and daily loss-limit protection, it provides a stable and sustainable trading environment. It preserves the strengths of the original version while adding systems designed to manage real-market risks more effectively.
Core Philosophy
The most important element in trading is not generating profits but controlling losses. Even the best entry signals cannot compensate for a single large loss that wipes out accumulated gains. This strategy precisely calculates the risk exposure for every trade and includes multiple layers of protection to safeguard the account under worst-case scenarios.
Indicator Setup Link
kr.tradingview.com
Example of Optimal Parameter Settings
Asset (Exchange): ETH/USDT (Binance)
Timeframe: 15-minute chart
Pivot Detection Length: 5
Upper Box Width: 2
Lower Box Width: 2
Enable Risk Management: False
Use Trailing Stop: False
Use Volume Filter
-Min Buy Volume % for Long: 50
-Min Sell Volume % for Short: 50
Use Trend Filter (EMA): False
Enable Max Loss Protection
-Max Daily Loss ($): 200
-Max Trades Per Day: 10
Calculated Bars: 50,000
Risk-Management System
Every trade automatically receives a stop-loss level at the moment of entry. The stop is calculated using ATR, adjusting dynamically to market volatility. When volatility increases, the stop widens; in stable conditions, it tightens to reduce unnecessary exits. The default distance is set to twice the ATR.
The standard take-profit level is set to four times the ATR, providing a 1:2 risk-reward structure. With this ratio, even a 50 percent win rate can produce profitability—while the typical trade structure aims for small losses and larger gains to support long-term performance.
A trailing-stop option is also available. Once the trade moves into profit, the stop level automatically trails behind price action, protecting gains while allowing the position to expand when momentum continues.
Position size is calculated automatically based on the selected risk percentage. For example, with a 2 percent risk setting, each stop-loss hit would result in exactly 2 percent of the account balance being lost. This ensures a consistent risk profile regardless of account size.
The daily loss-limit function prevents excessive drawdown by halting new trades once a predefined loss threshold is reached. This helps avoid emotional decision-making after consecutive losses.
A daily trade-limit feature is included as well. The default is 10 trades per day, protecting traders from overtrading and unnecessary fees.
Filtering System
The volume filter analyzes buying and selling pressure within the pivot box. Long trades are allowed only when buy volume exceeds a specified percentage; shorts require sell-volume dominance. The default threshold is 55 percent.
The trend filter uses an EMA to determine market direction. When price is above the 200-EMA, only long signals are permitted; when below, only shorts are allowed. This ensures alignment with the broader trend and reduces counter-trend risk.
Each filter can be toggled independently. More filters generally reduce trade frequency but improve signal quality.
Real-Time Monitoring
A real-time statistics panel displays daily profit/loss, the number of trades taken, the maximum allowed trades, and whether new trades are currently permitted. When daily limits are reached, the panel provides clear visual warnings.
Entry Logic
A trade is validated only after a pivot-box breakout occurs and all active filters—volume, trend, daily loss limit, and daily trade limit—are satisfied. Position size, stop loss, and take-profit levels are then calculated automatically. Entry arrows and labels on the chart help with later review and analysis.
Setup Guide
Risk percentage is the most critical setting. Beginners should start at 1 percent. Anything above 3 percent becomes aggressive.
ATR stop-loss multipliers should reflect asset volatility.
ATR take-profit multipliers determine reward ratio; 4.0 is the standard.
Volume thresholds are typically set between 50–60 percent depending on market conditions.
Daily loss limits are typically 2–5 percent of the account.
Trading Strategy
This strategy performs best in trending environments and works especially well on the 4-hour and daily charts. New users should begin with all filters enabled and trade conservatively. A minimum of one month of paper trading is recommended before committing real capital.
Suitable Users
The strategy is ideal for beginners who lack risk-management experience as well as advanced traders seeking a customizable structure. It is particularly helpful for traders who struggle with emotional decision-making, as pre-defined limits and rules enforce discipline.
Backtesting Guide
Use at least 2–3 years of historical data that includes bullish, bearish, and sideways conditions.
Target metrics:
Sharpe ratio: 1.5 or higher
Maximum drawdown: below 25 percent
Win rate: 40 percent or higher
Total trades: at least 100 for statistical relevance
Optimization Precautions
Avoid over-fitting parameters. Always test values around the “best” setting to verify stability.
Out-of-sample testing is essential for confirming robustness.
Test across multiple assets and timeframes to ensure consistency.
Live Deployment Roadmap
After successful backtesting, follow a gradual rollout:
Paper trading for at least one month
Small-account live testing
Slow scaling as performance stabilizes
Continuous Improvement
Keep a detailed trading journal and evaluate performance each quarter using recent data.
Adapt settings as market conditions evolve.
Conclusion
Seawolf Pivot Hunter aims to provide more than simple trade signals—it is designed to create a stable and sustainable trading system built on disciplined risk management. No strategy is perfect, and long-term success depends on consistency, patience, and strict adherence to rules. Start small, verify results, and scale progressively.
Disclaimer
This strategy is for educational and research purposes only. Past performance does not guarantee future results. All trading decisions are the responsibility of the user.
개요
Seawolf Pivot Hunter는 기본 피봇 박스 브레이크아웃 전략에 전문적인 리스크 관리 시스템을 더한 실전형 트레이딩 전략입니다. ATR 기반의 손절매와 목표가 설정, 포지션 사이징, 다층 필터링 시스템, 일일 손실 제한 기능을 통해 안정적이고 지속 가능한 트레이딩 환경을 제공합니다. 기본 버전의 장점은 유지하면서 실제 시장에서 발생할 수 있는 위험을 체계적으로 관리할 수 있도록 설계되었습니다.
핵심 철학
트레이딩에서 가장 중요한 것은 수익이 아니라 손실 관리입니다. 아무리 훌륭한 진입 조건이 있어도 한 번의 큰 손실로 모든 수익이 사라질 수 있습니다. 이 전략은 각 거래마다 감수할 리스크를 명확히 계산하고, 최악의 상황에서도 계좌를 보호하기 위한 다양한 안전장치를 제공합니다.
지표 적용 링크 공유
kr.tradingview.com
최적 조건값 설정(예시)
"종목(거래소): ETH/USDT(Binance)", "15 분봉 기준"
-Pivot Detection Length: 5
-Upper Box width: 2
-Lower Box width: 2
-Enable Risk Management: False
-Use Trailing Stop: False
-Use Volume Filter
-Min Buy Volume % for Long: 50
-Min Buy Volume % for Long: 50
-Use Trend Filter(EMA): False
-Enable Max Loss Protection
-Max Daily Loss($): 200
-Max Trades Per Day: 10
-Calucated bars: 50000
리스크 관리 시스템
모든 거래는 진입과 동시에 손절매 주문이 자동 설정됩니다. 손절가는 ATR을 기준으로 계산되며, 시장의 변동성에 따라 자동으로 조정됩니다. 변동성이 큰 시장에서는 넓은 손절폭을, 안정적인 시장에서는 좁은 손절폭을 사용해 불필요한 청산을 줄입니다. 기본값은 ATR의 2배입니다.
목표가는 ATR의 4배를 기본값으로 설정하여 손익비 1:2 구조를 유지합니다. 승률이 50퍼센트만 되어도 수익성이 가능하며, 실제로는 손절은 짧고 이익은 길게 가져가는 방식으로 장기 성과를 확보합니다.
트레일링 스톱 기능도 제공됩니다. 포지션이 수익 구간에 들어서면 손절가가 자동으로 함께 움직이며 수익을 보호합니다. 이 기능은 사용자가 켜거나 끌 수 있습니다.
포지션 크기는 리스크 퍼센트 기반으로 자동 계산됩니다. 예를 들어 리스크를 2퍼센트로 설정하면 손절 시 계좌 자산의 2퍼센트만 잃도록 수량이 조절됩니다. 계좌 크기와 무관하게 항상 일정한 비율의 리스크만 감수하게 되는 방식입니다.
일일 손실 제한 기능은 하루에 허용 가능한 최대 손실을 초과하지 않도록 합니다. 지정 금액에 도달하면 당일 거래는 더 이상 실행되지 않습니다. 감정적 거래를 막고 일정한 규율을 유지하도록 돕습니다.
일일 거래 횟수 제한 기능도 제공됩니다. 기본값은 하루 10회로, 과매매와 수수료 증가를 방지합니다.
필터링 시스템
볼륨 필터는 박스 구간 내 매수·매도 압력을 분석해 진입 신호를 검증합니다. 롱은 매수 볼륨이 일정 비율 이상일 때, 숏은 매도 볼륨이 우세할 때만 진입합니다. 기본값은 55퍼센트입니다.
추세 필터는 EMA를 사용하며, 가격이 200EMA 위에 있을 때는 롱 신호만, 아래에서는 숏 신호만 허용합니다. 큰 추세 방향에만 거래하여 역추세 리스크를 줄입니다.
필터는 독립적으로 켜고 끌 수 있으며, 필터가 많을수록 거래 횟수는 줄지만 신호 품질은 향상됩니다.
실시간 모니터링
화면에 실시간 통계 테이블이 표시되며, 일일 손익, 거래 횟수, 최대 허용 횟수, 현재 거래 가능 여부가 즉시 확인됩니다. 손실 제한 또는 거래 제한 도달 시 시각적으로 표시됩니다.
진입 로직
피봇 박스 브레이크아웃 발생 후 볼륨 필터, 추세 필터, 일일 손실·거래 제한을 모두 통과하면 포지션 크기를 계산하고 손절·목표가를 설정한 뒤 진입합니다. 진입 지점에는 화살표와 레이블이 표시되어 분석에 도움을 줍니다.
설정 가이드
리스크 퍼센트는 가장 중요한 설정입니다. 초보자는 1퍼센트를 추천하며 3퍼센트 이상은 위험합니다.
손절 ATR 배수는 자산 특성에 맞게 조절합니다.
목표가 ATR 배수는 손익비를 결정하며 기본값은 4.0입니다.
볼륨 비율은 시장 상황에 따라 50~60퍼센트 내외로 조정합니다.
일일 손실 제한은 계좌의 2~5퍼센트 수준이 적절합니다.
사용 전략
추세가 명확한 시장에서 가장 효과적이며, 4시간봉 또는 일봉을 추천합니다. 초반에는 모든 필터를 켜고 보수적으로 시작하며, 최소 한 달간 페이퍼 트레이딩을 권장합니다.
적합한 사용자
리스크 관리 경험이 부족한 초보자부터, 커스터마이징을 원하는 경험자까지 폭넓게 적합합니다. 감정적 트레이딩을 억제하는 기능이 있어 규율 유지가 어렵던 트레이더에게 특히 유용합니다.
백테스트 가이드
최소 2~3년 데이터로 테스트하며, 상승·하락·횡보 모두 포함해야 합니다.
샤프비율 1.5 이상, 최대 낙폭 25퍼센트 이하를 목표로 합니다.
승률은 40퍼센트 이상이면 충분합니다.
최소 100회 이상 거래가 있어야 통계적으로 의미가 있습니다.
최적화 주의사항
과최적화를 피하고 주변 값도 테스트해야 합니다.
샘플 외 기간 검증은 필수입니다.
여러 자산·여러 시간대에서 테스트하여 일관성을 확인해야 합니다.
실전 적용 로드맵
백테스트 후 바로 실전 투입하지 말고, 한 달 이상의 페이퍼 트레이딩 → 소액 실전 → 점진적 확대 순으로 진행합니다.
지속적 개선
일지를 기록하고 분기마다 최신 데이터로 점검합니다.
시장 변화에 따라 유연하게 조정해야 합니다.
마치며
Seawolf Pivot Hunter는 단순 신호 제공을 넘어, 안전하고 지속 가능한 트레이딩 환경 구축을 목표로 합니다. 어떤 전략도 완벽할 수 없으며, 장기적 성공을 위해서는 규칙 준수와 인내가 가장 중요합니다. 충분한 검증을 거쳐 작은 금액으로 시작하고 점진적으로 확장해나가는 접근을 추천합니다.
면책 조항
이 전략은 교육 및 연구 목적이며, 과거 성과는 미래를 보장하지 않습니다. 모든 투자 결정은 본인의 판단과 책임 하에 이루어져야 합니다.
2-Stage Dashboard (SQZPRO Wide + EMA)Dashboard for Darvas Box EMA momentum traders, located in the bottom right, mostly for quickly screening if a setup is viable.
- EMAs are 9 & 21
- SQZPRO set to wide squeezes
Long setup:
- Green SQZPRO row
- Green EMA row
Short setup:
- Green SQZPRO row
- Red EMA row
Hourly ORB Boxes v2 (5/15min/custom min)Draws ORB on 9.30am open and every hour from 11am to 3pm so you can enjoy multiple ORB entries throughout the day with a custom time
Choose 5 min or 10 min or 15 min for ORB.
All open source written from scratch with help of chatgpt lol
Weekly Zones +RSI ColorWeekly analysis of stocks, cryptos etc.
chart, you will see:
The Weekly levels (PWH, PWL, 4 quadrants).
The Weekly control zones (the red, green, or grey boxes).
The Weekly analysis in the table.
Your 1-Hour candles will be colored green (strong), red (weak), or grey (neutral) based on the 1-hour RSI.
This should give you a very effective trading system.
Risk Manager 2:1 (Momentum Trader Version)Manage your RISK - 2:1
Every penny counts
RC - WT , Inspired
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.
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.






















