INVITE-ONLY SCRIPT

EMA Color Candle Volume

32
Main Features

Buy/Sell Signals from EMA Crossover
The indicator uses a short EMA line and a long EMA line, along with an average EMA, to identify points where the short EMA crosses above or below the long EMA and the average EMA. These crossovers act as buy or sell entry signals.

Candle Colors Based on Volume Pressure
The indicator changes the color of the candlesticks based on buying and selling pressure calculated from trading volume. It uses four main colors to indicate the strength of buying or selling pressure on each candle.

Candle colors and their meanings:

Blue: High Buy Volume – green candles with volume above average

Green: Normal Buy Volume – green candles with volume at or below average

Red: Normal Sell Volume – red candles with volume at or below average

Orange: High Sell Volume – red candles with volume above average

How Volume Pressure is calculated
The buy and sell volumes are not separated in detail by price or order (Delta Volume), but instead use the total volume of each candle, divided by candle color (green or red).
If the candle is green (Close > Open), the volume is considered “buying pressure” with a higher weight (0.7) on buy volume and a lower weight (0.3) on sell volume.
If the candle is red (Close < Open), the volume is considered “selling pressure” with a higher weight (0.7) on sell volume and a lower weight (0.3) on buy volume.
Then, a 20-period SMA is calculated to compare current buying and selling pressure against historical averages.

BUY/SELL Labels Showing Volume Pressure
Displays “BUY” or “SELL” labels with volume amount on the candle when enabled.
Label sizes can be chosen (small, medium, large) for optimal display.

Repaint System (On/Off)
Option to calculate EMA based on real-time data (which may cause repainting) or use previous candle data for more stability.

Trend Zone Highlight
The chart background changes to light green or light red depending on the EMA trend direction to help visualize market trends easily.

Automatic Alerts
Instant alerts are triggered when buy or sell signals occur.

Additional Settings

Enable/disable candle coloring based on volume pressure

Adjust label size

Enable/disable EMA repaint system

Who is this for?

Traders who want clear and easy-to-understand EMA-based trade signals

Traders interested in analyzing buying and selling pressure on each candle using total volume

Users who prefer simple, customizable, and flexible tools

Developed using Pine Script v5
Compatible with all timeframes and all assets.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.