INVITE-ONLY SCRIPT
已更新 BT Ligma

The BT Ligma indicator combines momentum-based signals with volatility filters to identify potential trend reversals and high-probability entry points.
It uses a set of Exponential Moving Averages (EMAs) – typically a fast EMA (e.g., 9-period) crossing over a slower one (e.g., 21-period) – to generate baseline buy/sell signals. These are enhanced by a proprietary "Ligma Spread" filter, which measures the dynamic spread between short-term price action and a volatility envelope (similar to Bollinger Bands but customized with ATR multipliers). This filter helps weed out false signals in choppy markets by requiring a minimum spread threshold before confirming a trade alert.
BT Ligma allows a user to select up to 3 EMAs, the MA calculation method, and signal individual candles that cross EMA 1 & 2, or all 3 bands in the same bar.
Version 1.4, includes refined alert logic, including audio/visual notifications and optional trailing stops based on EMA alignments.
To use it effectively for trade entries:
It uses a set of Exponential Moving Averages (EMAs) – typically a fast EMA (e.g., 9-period) crossing over a slower one (e.g., 21-period) – to generate baseline buy/sell signals. These are enhanced by a proprietary "Ligma Spread" filter, which measures the dynamic spread between short-term price action and a volatility envelope (similar to Bollinger Bands but customized with ATR multipliers). This filter helps weed out false signals in choppy markets by requiring a minimum spread threshold before confirming a trade alert.
BT Ligma allows a user to select up to 3 EMAs, the MA calculation method, and signal individual candles that cross EMA 1 & 2, or all 3 bands in the same bar.
Version 1.4, includes refined alert logic, including audio/visual notifications and optional trailing stops based on EMA alignments.
To use it effectively for trade entries:
- Long (Buy) Entries: Look for a bullish EMA crossover (fast EMA above slow) combined with a positive Ligma Spread expansion (indicating increasing momentum). Enter when the signal fires on a close above the recent swing high, ideally on a timeframe like 15m or 1h for scalping/day trading. Pair this with volume confirmation or RSI above 50 to avoid overbought traps.
- Short (Sell) Entries: Wait for a bearish EMA crossover (fast below slow) with a contracting or negative Ligma Spread (signaling potential downside volatility). Enter on a close below the recent swing low, using higher timeframes (e.g., 4h) for swing trades to capture larger moves.
- General Tips: Always apply risk management – set stops below/above the slow EMA, target 2-3x risk-reward ratios, and avoid trading during low-liquidity periods. Backtest on historical data to tweak parameters, and combine with fundamentals like news events for better context.
版本注释
# BT Ligma ## Purpose
BT Ligma detects high-intensity reversal candles that cross through key moving averages (9, 21, 55). These “Ligma Events” signal strong momentum shifts and are validated using spread compression, slope trending conditions, and an Aggression Score (LSI). The result is early but reliable reversal confirmation.
---
## Inputs Summary
### Moving Averages
- **MA Type:**
- **MA Calc:**
- **MA Lengths:**
- **MA Colors:**
### Ligma Spread Filter
- **Enable Ligma Spread Filter**
- **Ligma Spread (%):** Max compression allowed
### MA Slope Filter
- **Enable MA Slope Filter**
- **Minimum Slope %:** Minimum EMA2 slope required
### Candle Colors
- L2 Bullish Body / Border
- L2 Bearish Body / Border
- L3 Bullish Body / Border
- L3 Bearish Body / Border
### Aggression Score (LSI)
- **ATR Length**
- **High / Medium thresholds**
- **Label size**
- **Hide Low Score Labels (v1.9)**
- **Minimum Score for Label**
---
## Visual Elements
### Ligma Candles
- **L2 Signals:** Standard body + bright border
- **L3 Signals:** Bright body + standard border
- Non-ligma candles are not modified
### Moving Averages
- MA1, MA2, MA3 (colors user-defined)
### Aggression Score Labels
- Score displayed above Ligma signals
- Transparency based on aggression level
- Hidden if below threshold
---
## How to Use Ligma in Trading
### 1. Detect Early Reversals
- **L2 = Moderate reversal event**
- **L3 = Strong reversal ignition**
### 2. Validate With Aggression Score (LSI)
- **80–100:** High conviction
- **60–79:** Medium
- **<30:** Usually noise
### 3. Use the Slope Filter
Flat EMAs = weak signals.
Slope filter ensures signals only appear in trending conditions.
### 4. Apply the Spread Filter
Prevents late signals when EMAs are already overextended.
### 5. Integration
Works best with:
- BT MA Bands
- BT Aggression
- BT Stops
- Market structure tools
- VRVP, Keltner, volatility tools
---
## Trading Notes
- Strongest setups = **L3 + LSI 80+ + Slope OK**
- Weakest = **Low-LSI L2 in flat conditions**
- Ideal for scalping, reversal entries, liquidity sweep confirmations, and momentum shifts.
仅限邀请脚本
只有作者授权的用户才能访问此脚本。您需要申请并获得使用许可。通常情况下,付款后即可获得许可。更多详情,请按照下方作者的说明操作,或直接联系bangtrades。
TradingView不建议您付费购买或使用任何脚本,除非您完全信任其作者并了解其工作原理。您也可以在我们的社区脚本找到免费的开源替代方案。
作者的说明
Contact @bangtrades for access
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
仅限邀请脚本
只有作者授权的用户才能访问此脚本。您需要申请并获得使用许可。通常情况下,付款后即可获得许可。更多详情,请按照下方作者的说明操作,或直接联系bangtrades。
TradingView不建议您付费购买或使用任何脚本,除非您完全信任其作者并了解其工作原理。您也可以在我们的社区脚本找到免费的开源替代方案。
作者的说明
Contact @bangtrades for access
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。