INVITE-ONLY SCRIPT

EMA Color Candle Volume + Dashboard with TP/SL

203
Main Features

Buy/Sell Signals from EMA Crossover
This indicator uses a short-term EMA, a long-term EMA, and an average EMA to identify points where the short-term EMA crosses above or below both the long-term and average EMAs. These crossover points act as buy or sell 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. There are four main colors that indicate the strength of buying or selling pressure for each candle:

Blue: High buying volume – Green candle with volume above the average

Green: Normal buying volume – Green candle with volume at or below the average

Red: Normal selling volume – Red candle with volume at or below the average

Orange: High selling volume – Red candle with volume above the average

Volume Pressure Calculation
The calculation does not separate volume by price level (e.g., delta volume). Instead, it uses the total volume of each candle and derives pressure from the candle color:

If the candle is green (Close > Open): It’s considered "buy pressure", assigning 0.7 weight to buying and 0.3 to selling

If the candle is red (Close < Open): It’s considered "sell pressure", assigning 0.7 weight to selling and 0.3 to buying

Then, a 20-period SMA is calculated to compare with the current buy/sell pressure.

BUY/SELL Labels with Volume
When enabled, a “BUY” or “SELL” label will appear on the candle along with the trading volume.
You can choose the label size (small, medium, large) for better display visibility.

Repaint System (Toggle On/Off)
You can choose whether the EMA calculations update in real-time (may repaint) or use the previous candle’s data for more stable signals.

Trend Zone Highlight
The background of the chart will turn light green or light red based on EMA trend direction, helping to visualize market trends more clearly.

Automatic Alerts
Alerts are triggered instantly when a buy or sell signal occurs.

Heatmap, TP, SL, and How to Use
1. Heatmap (Status Dashboard)
A table summarizing the current market conditions, divided into 4 main components:

Signal: EMA signal – BUY / SELL / NEUTRAL

Trend: Trend status – UPTREND / DOWNTREND / SIDEWAYS

Volume: Volume strength – Represented by 4 colors based on candle color

Green (Buy) — Normal buying volume

Blue (Buy High) — Stronger-than-average buying volume

Red (Sell) — Normal selling volume

Orange (Sell High) — Stronger-than-average selling volume

This helps provide detailed insight into market pressure and improves trend analysis accuracy.

TP/SL: Take Profit and Stop Loss from Predefined Percentages
Each box’s background changes color based on status, making the overall picture clearer.

2. TP (Take Profit)
Price level where profit is expected to be taken, based on a predefined percentage (default is 1.5%)
Example: If current Close = 100, TP = 100 + (1.5%) = 101.5
Note: TP is a guideline only and not guaranteed to be reached.

3. SL (Stop Loss)
Price level for cutting losses if the price moves against the trade direction.
Calculated from Close - a predefined percentage (default is 0.7%)
Helps reduce risk and control loss within acceptable limits.

4. How to Use

Add this indicator to your price chart

Look for entry points using EMA signals, candle colors, and BUY/SELL labels

Check the Heatmap at the top-right for signals, trend status, volume strength, and TP/SL

Use the TP/SL prices from the Heatmap to place your orders in your trading platform

Adjust the TP/SL percentages in the settings according to your trading style

Enable alerts to avoid missing trade opportunities

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.