PROTECTED SOURCE SCRIPT

KING_HPM_LPM_SPY

13
Name: KING_HPM_LPM_SPY

This indicator identifies and plots the high (HPM) and low (LPM) of the pre-market session for the SPY ticker (or any chart it's applied to), based on the New York timezone (04:00 - 09:30 AM).

Functionality:

Tracks the high and low during the premarket hours.

When the premarket ends (09:30 AM NY time), it draws horizontal lines at the premarket high and low levels.

It also adds labels:

"HPM" for the high

"LPM" for the low

These lines and labels are customizable (style, width, color).

It keeps the plotted lines/labels for a user-defined number of days (default = 2).

If the number of stored days exceeds the limit, it automatically deletes the oldest lines and labels to maintain only the most recent days visible.

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.