INVITE-ONLY SCRIPT
Updated

Trade-o-Scope: Plot Custom Data v2

126
Meet [Trade-o-Scope: Plot Custom Data v2] — a major tool upgrade for plotting your own data on TradingView charts. Simple and intuitive input format, large volume limits, and robust plotting for your own datasets — forecasts, backtests, or external data and model outputs.

You can apply/overlay other indicators from the TradingView catalog (such as Bollinger Bands, RSI, etc.) on top of custom data charts. The indicator you want to overlay must support selecting an input data source — i.e., have a dropdown where you can choose [Trade-o-Scope: Plot Custom Data v2] as the source.

🧩 How to use

Simply select and copy two columns — with dates and values — from your spreadsheet (Excel, Google Sheets, etc.) and paste them into the indicator’s input field. The indicator will automatically process the input and plot your data on the chart.

Example data:
Pine Script®
Date XYZ_value 2025-10-08 84.57 2025-10-01 80.66 2025-09-24 86.24 2025-09-17 84.76

📅 Supported date format

The indicator recognizes standard international date formats commonly used in spreadsheets and data exports.

 • ISO 8601 — "YYYY-MM-DD" or "YYYY-MM-DDThh:mm:ss"
2025-10-13
2025-10-13 14:30
2025-10-13 14:30:00
2025-10-13T14:30
2025-10-13T14:30:00

 • RFC 2822 — "DD MMM YYYY" or "DD MMM YYYY hh:mm:ss"
13 Oct 2025
13 Oct 2025 14:30
13 Oct 2025 14:30:00

The time part is optional — if omitted, midnight (00:00:00) is assumed.
By default, all date–time values are interpreted in the exchange timezone of the chart’s symbol, but you can select a different data timezone in the indicator settings if needed.

💡 Supported value format
  • Integers (e.g., 12345, -12345)
  • Decimals (e.g., 1234.56, -1234.56)
  • The decimal separator must be a dot (.)
  • Thousands separators are not supported

⚙️ Advanced Features
  • Value Multiplier — scale your values by a chosen factor.
  • Formatting Options — display values as price, percentage, or volume.
  • Conditional Coloring — automatically change plot color based on thresholds.
  • Plot Style Selection — choose from line, histogram, area, or column plots.
  • Additional Visual References — enable fixed horizontal lines for better visual interpretation.

📝 General Notes
  • Maximum input size: 40,960 characters (~1,500–3,000 rows depending on format). If an error occurs after pasting data, simply remove a few rows until it disappears.
Release Notes
  • Improved row-to-datapoint conversion for more reliable data parsing
  • Added clear on-chart warnings for invalid datapoints

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.