OPEN-SOURCE SCRIPT

HA • EMA9/21 • Daily VWAP – Fixed Signals (v6)

128
HA • EMA9/21 • Daily VWAP – Fixed Signals (v6)
Heikin Ashi EMA 9/21 + Daily VWAP Setup Indicator

Description

This indicator combines three proven concepts into one clean and practical trading tool:

Heikin Ashi Candles → smooth out price action and highlight trends more clearly.

EMA 9/21 → a classic momentum and trend filter.

Daily VWAP (Volume Weighted Average Price) → widely used by professionals as dynamic support and resistance.

How it works

Long Signal:
Triggered when Heikin Ashi turns bullish, EMA 9 is above EMA 21, and price crosses above the Daily VWAP.

Short Signal:
Triggered when Heikin Ashi turns bearish, EMA 9 is below EMA 21, and price crosses below the Daily VWAP.

For every signal the indicator automatically draws Entry, Stop-Loss, and Take-Profit levels directly on the chart:

Entry = price at the signal bar

Stop-Loss (SL) = recent swing low/high or ATR-based (configurable)

Take-Profit (TP) = calculated using the chosen Risk/Reward ratio

Features

✅ Instant signals (no repainting)
✅ Fixed horizontal lines for Entry, SL, and TP extending to the right side of the chart
✅ Customizable Risk/Reward ratio (default: 1.5)
✅ Choice between Swing-based or ATR-based stop-loss
✅ Alerts for both Long and Short signals
✅ Clean chart visualization without clutter

Use case

This tool is designed for traders who want clear, rule-based setups.
It provides easy-to-spot signals that can be used for manual trading, journaling, and backtesting.

⚠️ Note: This is not an automated trading strategy. Always confirm signals with your own analysis and apply proper risk management.

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.