PROTECTED SOURCE SCRIPT

PQL v1

82
PQL v1 — Levels + Initial Balance (RTH)

This indicator combines custom price levels plotting (PQL) with the Initial Balance (IB) for the US Regular Trading Hours (RTH).

Features:
• Daily & Weekly Levels provided by Prophet Quant
• Supports HV, R, S, EXT-R/S, PSY levels.
• Weekly levels with adjustable transparency.
• Optional price labels with customizable font size, offsets, and transparency.
• Initial Balance (RTH)
• Automatically detects the first X minutes after the RTH open (default 60 mins)
• Plots IB High, IB Low, and optional IB Midline.
• IB lines are drawn the same way as PQL levels: fixed-span horizontal lines.
• After 16:00, the IB levels are replaced with short stub markers on the right edge.

Customization:
• Full styling control (colors, line styles, widths, transparency).
• Toggle price labels on/off independently for both PQL and IB.
• Adjustable RTH timezone offset.
• Adjustable extension length of lines to the right.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.