OPEN-SOURCE SCRIPT
已更新

P2P Time Matrix

985
P2P Time Matrix is a precision-based time indicator designed to automatically box and project key 1-minute anchor candles throughout the trading day. Instead of focusing on broad sessions, this tool highlights specific time-based candles — 18:00, 00:00, 08:30, 09:30, and 10:00 ET — and extends their high/low range forward so traders can study how price respects, rejects, or delivers through these key time anchors.
版本注释
P2P Time Matrix Update Notes

Futures Session Day Logic
- Updated the script so the “current day” is now based on the futures trading session starting at 18:00 ET, instead of using a normal midnight-to-midnight calendar day. This fixes the issue where the current day 18:00 anchor candle was not showing properly during the active futures session.

Current Day Anchor Extension
- Current session anchor boxes now extend dynamically to the current candle with a user-controlled offset. This keeps active anchor boxes cleaner on the chart instead of projecting too far into the future.

Previous Day Lookback Logic
- Previous lookback day anchors remain fixed and continue projecting to the next matching anchor candle time. This keeps historical anchor candles clean for review while allowing the current session to update live.

Anchor Candles Included
- The indicator currently tracks and projects the following 1-minute anchor candles:
- 18:00 ET
- 00:00 ET
- 08:30 ET
- 09:30 ET
- 10:00 ET

Visual Customization
- Each anchor candle has its own customizable color settings.
- Midlines can be customized by style, including solid, dotted, or dashed.
- Time labels remain positioned near the right side of the projected box for cleaner visual reference.
版本注释
P2P Time Matrix Update Notes

Expanded Timeframe Compatibility
- The P2P Time Matrix is no longer limited to the 1-minute chart. All anchor candles and projections are now visible across:
• Seconds timeframes
• Minute timeframes
• Hourly timeframes
- Daily, weekly, and monthly charts remain excluded.

Dynamic Anchor Box Projection
- Current-session anchor boxes now move alongside the active price candle instead of automatically extending from one fixed time to the same time the following day.
• Boxes remain offset from current price
• Offset is fully customizable by chart candles
• All active boxes stay aligned
• Boxes stop moving when the next futures session begins
• Compatible with live charts and Bar Replay

版本注释
P2P Time Matrix Update Notes

Multi-Timeframe Anchor Candle Boxes
- Users can now choose which source candle timeframes are displayed inside the P2P Time Matrix.
- New timeframe options:
• 1-minute
• 5-minute
• 10-minute
• 15-minute
• 30-minute
- Each timeframe can be toggled on or off independently, allowing users to display one timeframe or combine multiple candle ranges simultaneously.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。