PROTECTED SOURCE SCRIPT
Cập nhật

Consecutive Candle Body Expansion with Volume

3 029
Consecutive Candle Body Expansion with Volume

This tool is designed to help traders identify moments of strong directional momentum in the market. It highlights potential buy and sell opportunities by combining candlestick behavior with volume confirmation.

✨ Key Features

Detects when the market shows consistent momentum in one direction.

Filters signals with volume confirmation, avoiding low-activity noise.

Highlights possible continuation signals for both bullish and bearish moves.

Works on any asset and any timeframe — from scalping to swing trading.

🛠 How to Use

Green labels suggest potential buying opportunities.

Red labels suggest potential selling opportunities.

Best used in combination with your own risk management rules and other indicators (like support/resistance or moving averages).

⚠️ Note: This is not financial advice. Always backtest before applying in live trading.
Phát hành các Ghi chú

Indicator: Consecutive Candle Body Expansion with Volume (Optional EMA Filter)

Overview
This indicator highlights strong momentum signals based on consecutive candle body expansion with volume confirmation.
It also includes an optional EMA filter (10/20 EMA channel) for traders who prefer trading only in the direction of the trend.

Core Logic (without EMA filter):

1. Two consecutive candles of the same color (both bullish or both bearish).
2. The second candle’s body is larger than the first candle’s body.
3. The second candle’s volume is higher than the first candle’s volume.
4. A signal is plotted at the close of the second candle

✅ BUY (green label) → two strong bullish candles with rising volume.
✅ SELL (red label) → two strong bearish candles with rising volume.



Optional Trend Filter (ON/OFF)

When enabled, only signals in the direction of the 10 & 20 EMA channel are shown:

BUY → Only if price closes above both EMAs.
SELL → Only if price closes below both EMAs.
When disabled, all signals are shown regardless of trend.



How to Use:

* Default mode (EMA filter OFF) → Pure momentum + volume expansion signals.
* With EMA filter ON → Trade only in the confirmed trend direction.
* Always wait for the signal bar to close before taking action.
* Use proper risk management(e.g., stop-loss beyond prior candle).


Phát hành các Ghi chú
🆕 What’s new compared to your old version:

Volume filter logic

BUY signal only if the current green candle’s volume is the highest among the last 3 green candles (ignores red candles in between).

SELL signal only if the current red candle’s volume is the highest among the last 3 red candles (ignores green candles in between).

Alerts

Added alertcondition() so you can create alerts from TradingView’s alert menu.

Added inline alert() calls so alerts fire automatically when conditions are met.

Alerts trigger once per bar close to avoid duplicates.

👉 So now you’ve got both: a stricter volume logic for signals + working alerts for them.
Phát hành các Ghi chú
Alerts are added.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.