PROTECTED SOURCE SCRIPT

369 IPDA Time

88
Overview
This indicator combines market structure analysis (Swing Highs and Lows) with time-based numerology. It identifies and highlights pivot points where the bar's timestamp reduces to a Digital Root of 3, 6, or 9. This tool is designed for traders utilizing time-alignment strategies who want to visualize the relationship between price reversals and specific time signatures.

How It Works
The script calculates the "Digital Root" of a candle's timestamp. This is done by summing the digits of the time until a single digit remains (e.g., 10:12 becomes 1+0+1+2 = 4). If the resulting number is 3, 6, or 9, and the bar is confirmed as a Swing High or Swing Low, a label is plotted.

Key Features
  • Digital Root Calculation: Users can choose between three modes: "Full Time" (HHMM), "Minutes Only" (MM), or "Both". The "Both" mode checks both methods and triggers if either results in a 3, 6, or 9.
  • Swing Detection: Identifies Pivot Highs and Lows based on a user-defined Swing Length. Labels are only plotted if the pivot aligns with the specific time signature.
  • Chart Cleanup: To keep the chart clean, the "Max Recent Swings" setting allows you to limit the number of visible labels. For example, setting this to 3 will ensure only the last 3 confirmed swings are shown, automatically deleting older labels as new ones form.
  • Smart Labeling: Labels for Highs appear above the bar, and labels for Lows appear below. They can display the Digital Root number, the Time, or both.
  • Color Coding: In "Number" mode, labels are colored based on the root (3 is Green, 6 is Red, 9 is Blue). In "Alignment" mode, colors indicate which calculation method triggered the signal.
  • Real-Time Analysis: The indicator visualizes potential swings on the currently forming bar (live or in replay mode) to help anticipate setups before the candle closes.

Settings
  • Digital Root Mode: Determines how the time is processed (Full Time, Minutes Only, or Both).
  • Max Recent Swings: Sets the maximum number of historical labels to keep on the screen.
  • Swing Length: Determines the sensitivity of the pivot detection (bars to the left/right).
  • Color Mode: Toggles between coloring by Number (3/6/9) or by Alignment type.

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน