OPEN-SOURCE SCRIPT

Global J-1 & W-1 Levels (Fixed Lines / Lignes Fixes)

91
Description

This indicator automatically plots key price levels from the previous day (D-1) and the previous week (W-1). It is designed for Day Traders and Scalpers who need clear visual references without cluttering their chart with past history.

Unlike standard indicators that use plot() and create "step-like" lines, this script uses graphic objects (line.new) to display fixed, infinite horizontal lines, just as if you had drawn them manually.

Key Features:

D-1 Levels (Blue): Previous Day High (DR-1) and Low (DS-1).

W-1 Levels (Red): Previous Week High (WR-1) and Low (WS-1).

Clean Chart: Lines are displayed only for the current session. No historical clutter.

Readability: Dashed lines with level names and exact prices displayed on the right.

How to use it? These levels often act as institutional support and resistance. Watch for price reactions (bounces or breakouts) near these zones to confirm your trade entries.

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.