OPEN-SOURCE SCRIPT
更新済

Previous & Current Day Levels

45
Pine Script indicator that displays key price levels from the previous trading day and the current day's opening price on your chart.
What it displays:
The script draws four horizontal reference lines across your chart:

Previous Day High (PDH) - The highest price reached yesterday
Previous Day Low (PDL) - The lowest price reached yesterday
Previous Day Close (PDC) - Yesterday's closing price
Daily Open (DO) - Today's opening price

Key features:
Visual customization - You can adjust colors, line styles (solid/dashed/dotted), line thickness, and text size for all levels
Label positioning - Labels can be offset to the right of the current price action to keep them visible and out of the way
Flexible display - Choose between full descriptive labels ("Prev Day High") or shorthand abbreviations ("PDH")
Performance optimization - The script limits how far back lines are drawn (configurable up to 5000 bars) to prevent rendering issues
Clean presentation - Each level includes a solid horizontal line from its starting point, plus a dotted connector line extending to the label

Why traders use it:
These levels are important reference points for intraday traders. Previous day levels often act as support/resistance zones, and the daily open helps identify potential trend direction. The script automatically updates these levels each day, making it easy to track key price areas without manual drawing.
リリースノート
fixed some issues.

免責事項

この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。