OPEN-SOURCE SCRIPT

Golden chart v1

155
## Golden Chart v1 – Trend Tracking & Signal Visualization Tool
**Version**: v1
**Pine Script**: version=5
**Visibility**: Invite-only

### Overview
Golden Chart v1 combines EMA-based trend bands (Golden Chart 2) with ATR-derived dynamic levels (Golden Chart 3) to help traders identify potential trend phases, visualize BUY/SELL signals, and color candles by trend direction.

### Key Features
- **Golden Chart 2 (EMA bands)**
- Calculates `emaHigh` & `emaLow` using `gc2_ema_period` (default 10)
- Determines SSL-style trend lines `sslUp` & `sslDown`
- **Golden Chart 3 (ATR levels)**
- Computes weighted ATR (`avgTR`) over `gc3_length` (default 13)
- Sets dynamic levels `hiLimit` & `loLimit` with `gc3_multiplier` (default 2.0)
- Plots `ret` line as the active trend level
- **Trade Signals**
- `BUY` label on bullish cross (`sslUp` → `sslDown` + close>open)
- `SELL` label on bearish cross (`sslDown` → `sslUp` + close<open)
- **Candle Coloring**
- Bars colored green/red based on trend position (`pos` = 1 or –1)

### User Inputs
- **Golden chart 2 EMA Period** (`gc2_ema_period`): EMA lookback for SSL bands
- **Golden chart 3 Length** (`gc3_length`): ATR/WMA length for dynamic levels
- **Golden chart 3 Multiplier** (`gc3_multiplier`): ATR multiplier for hi/lo limits

### Usage
1. Apply to chart and select Invite-only access.
2. Tweak inputs per instrument/timeframe.
3. Observe trend bands, dynamic level, and BUY/SELL markers.
4. Use candle color as quick trend filter.

### Compliance & House Rules
- Written in Pine v5; no external data or copyrighted content.
- No `alert()`, no `strategy.*` calls—purely visualization.
- Contains no sensitive or personal data.
- Fully compliant with TradingView House Rules.

### Disclaimer
Past performance does not guarantee future results. Use proper risk management.

> **Request:** Invite-only v1 review for House Rules approval. Thank you!

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.