OPEN-SOURCE SCRIPT

TRAMA Cross Pivot Points

116
📌 Description: TRAMA Cross Pivot Points
This indicator combines the powerful Trend Regularity Adaptive Moving Average (TRAMA) with dynamic pivot point.

🔍 What It Does:

Calculates a long-term TRAMA (default length 278) to filter trend direction and smooth volatility. I mostly use the lengths 20, 50, 100, 200, 278, and 314 to mark areas of retest.

Detects bullish and bearish price crossovers above and below the TRAMA.

Plots real-time pivot levels when a crossover occurs.

Draws a dashed horizontal pivot line only at the most recent crossover, keeping your chart clean and focused.

Includes alert conditions so you never miss a strategic moment.

⚙️ How It Works:

Bullish TRAMA Cross: When price crosses above the TRAMA, the script:

Calculates a potential pivot low using DM-style Logic.

Plots a green dashed line at that pivot level.

Optionally triggers an alert.

Bearish TRAMA Cross: When price crosses below the TRAMA:

A pivot high is calculated and plotted as a red dashed line.

Optional alert lets you know of a possible top.

📈 Pivot Logic:

Uses real-time candle data (OHLC) to adjust pivot points dynamically.

These pivots can act as potential support/resistance levels or entry zones.

🔔 Alerts:

Triggered when price crosses the TRAMA up or down.

Ideal for traders looking to enter on structure-based momentum.

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.