OPEN-SOURCE SCRIPT

Day Counter with Custom Rules

104
Release Notes – Day Counter with Custom Rules Indicator
Version 1.0

New Features:

Day Counter Calculation
  • The indicator calculates the number of days elapsed from a user‑specified start date.
  • The start date is provided as an input (in milliseconds), with a default set to January 1, 2023.


Customizable Appearance
  • Users can choose the text color and background color for the day counter label.
  • There is an option to remove the table background (making it transparent).
  • The table’s position on the chart is fully configurable via standard position options (top‑left, top‑center, top‑right, etc.).


Custom Trading Rules Table
  • Users can define up to 20 custom rule texts.
  • Each rule has its own customizable text color.
  • The rules are displayed in a table below the day counter.


Combined Table Display
  • The indicator combines the day counter and the custom trading rules into a single table.
  • Table layout settings such as border width, frame width, text size, and position are fully configurable.
  • The table is updated on the last bar, ensuring the most recent day count and custom rules are shown.


Responsive Design
  • The table automatically adjusts its row count based on the number of custom rules defined.


User-Friendly Interface
  • All input parameters are organized into logical groups (such as "Table Settings" and "Custom Rules"), making it easy to customize the indicator.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。