OPEN-SOURCE SCRIPT
Mis à jour

KJS-- Gost Pivot MA

4 370
KJS Ghost Pivot Moving Average
This indicator calculates a "Ghost Pivot" by estimating where the monthly pivot level would be if the current candle's close represented the end of the month. The calculation uses:
• The current month's high and low from regular trading hours (RTH).
• The current candle's close, which includes both premarket and after-hours data.
It also smooths the ghost pivot using a customizable simple moving average (SMA).
Features:
• Plots the current month's high (blue) and low (yellow) based on RTH data.
• Calculates and plots a dynamic pivot (purple line) as the average of the monthly high, low, and current close (HLC3).
• Includes a customizable SMA length for smoother pivot tracking (default: 3).
This indicator helps traders anticipate potential monthly pivot levels in real-time while visualizing key support and resistance areas.
Notes de version
KJS Ghost Pivot Moving Average

This indicator calculates a “Ghost Pivot" by estimating where the monthly pivot level would be if the current candle’s close represented the end of the month. The calculation uses:

The current month's high and low from regular trading hours (RTH).
The current candle's close, which includes both premarket and after-hours data.
It also smooths the ghost pivot using a customizable simple moving average (SMA).

Features:

Plots the current month's high (blue) and low (yellow) based on RTH data.
Calculates and plots a dynamic pivot (purple line) as the average of the monthly high, low, and current close (HLC3).
Includes a customizable SMA length for smoother pivot tracking (default: 3).

This indicator helps traders anticipate potential monthly pivot levels in real-time while visualizing key support and resistance areas.
Notes de version
Update to Pine Script v6

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.