OPEN-SOURCE SCRIPT
Mis à jour

IDX Utility Set [zidaniee]

1 934
Purpose

This indicator is not a technical analysis tool. It’s a companion overlay designed to guide your analysis of the uniquely structured Indonesia Stock Exchange (IDX).

Core Features
  • Centered Ticker Display – Clean, readable ticker shown at the center of the chart.

  • Company Name – Displays the listed company’s full name.

  • Active Timeframe – Shows the currently selected timeframe.


Additional Features
  • ATH & ATL Markers – Labels the All-Time High (ATH) and All-Time Low (ATL) and shows the percentage distance from the latest price to each level, so you can quickly gauge upside/downside room.

  • IDX Fraction (Tick) Levels – Visualizes Indonesia’s price-fraction (tick) brackets. This matters because tick size changes by price range—very useful for scalpers and fast traders.

  • ARA/ARB Levels (Realtime) – Plots Auto-Reject Upper (ARA) and Auto-Reject Lower (ARB) levels in real time. Levels refresh in line with IDX trading hours 09:00–16:00 WIB (UTC+7), so your view stays consistent both during and outside market hours. This feature already complies with the latest rules and adjustments set by the Indonesia Stock Exchange (IDX).

  • Suspension Status – Shows SUSPENDED if the stock is halted/suspended, helping you avoid unnecessary analysis. The suspension check compares today’s date with the last available candle date and accounts for weekends.


Note: WIB = Western Indonesia Time (UTC+7).

[zidaniee]
Notes de version
Update:
  • Additional features now activate only for Indonesian (IDX) equities, preserving a clean experience on all other assets.
Notes de version
Refined Suspension Logic — Now significantly more stable across holidays and weekends.
This version is highly recommended for all users to update to the latest release.
Notes de version
Fixing the color option - Color option for the ticker timeframe, making it more comfortable for light chart mode.
Notes de version
Added a new conditional logic that checks the ticker prefix before running the Suspension Status calculation — now the suspension check only executes for assets with the “IDX:” prefix (or IDR-based stocks), preventing runtime errors when using non-IDX tickers.
Notes de version
Added an Auto-Hide feature for ATH and ATL) markers - When enabled, the script automatically hides ATH/ATL lines and labels if their distance from the latest price exceeds ±50% (adjustable). This keeps charts clean by showing only relevant ATH/ATL levels close to the current market price.
Notes de version
Added a Show Status option to enable or disable the Suspension Status display for IDX stocks.
Notes de version
Correction to the ARA calculation at an opening price of 200, which still falls within the maximum 35% upper limit.
Notes de version
Suspension Status Update (IDX)
The suspension logic has been improved so that official IDX holidays falling on weekdays are no longer counted as trading gaps. Holidays are now treated the same as weekends, meaning the script evaluates suspension status based on actual trading days only, preventing false [SUSPENDED] signals during public or year-end holidays.

How to use it
Simply enter official IDX holidays in the IDX Holidays field using YYYY-MM-DD format (comma-separated) and enable Ignore non-trading days (Weekend/Holiday). The suspension label will then appear only when a stock truly misses more than one trading day.

<a href="postimages.org/" target="_blank" rel="noopener">
<img src="i.postimg.cc/7PgHTyJq/Suspension-Custom-Holiday.png"
alt="Suspension-Custom-Holiday"
style="transform:scale(0.5); transform-origin: top left; border:0;">
</a>
Notes de version
Update minor bugs..
Notes de version
Update:
Adding a tooltips to add a holiday dates within a week to avoid false SUSPENSION detection.
Notes de version
Update:
- Adding offset of the ATH labels.
- Adding a correction of tooltips of the SUSPENSION.
Notes de version
Major Update :
- NEW LOGIC of suspension detection.
- Automatically detects market holidays without the need to manually input exchange holiday dates.
- Improved performance for faster execution.
Notes de version
Update:
Improved rendering performance and stability.
Notes de version
Update : Stability in rendering..
Notes de version
What’s new:

• Improved ATH / ATL visual styling
• ATH / ATL lines now extend cleaner to the right side
• Adjusted default ATH / ATL label position
• Updated Fraksi color for better chart readability
• Benchmark ticker changed to IDX:COMPOSITE
• Improved Suspension Status logic for more reliable detection
• Added invalid-symbol protection for benchmark checking

Core IDX utilities remain maintained, including ticker display, ATH / ATL, Fraksi, ARA / ARB, and suspension status.
Notes de version
What’s New

- Improved rendering stability after idle or refresh.
- Optimized line and label handling.
- Reduced script workload.
- Improved ATH/ATL and ARA/ARB consistency.
- Added safer label offset limits.
- 🚫 Removed unreliable suspension detection.
Notes de version
What's New

- Added an option to automatically hide Fraksi lines when they are too far from the current price.
- The default distance threshold is set to ±50%.
- The threshold can be customized in the Fraksi settings.
Notes de version
What's New:

- Added a Market Cap label.
Notes de version
What's new

- MarketCaps row: shown in the ticker table, with automatic formatting (T / M / Jt).
- MarketCaps colors: two new color settings, one for the default and one for ≥ 1T.
- Table order: the timeframe (TF) is now the last row.
- ATH/ATL fix: the line now starts at the label, so no gap appears when the label offset is negative.
- ARA/ARB update: follows the new IDX rules effective Sep 28, 2026.
- Rp1–10 stocks use a fixed Rp1 limit.
- ARB switches from 15% to symmetric with ARA (35/25/20%) automatically from Jan 1, 2027.
Notes de version
What's New:

- Re-arrange ATH / ATL text and line.
- Open ATH / ATL for all assets.
Notes de version
What's New:

- Brought SUSPENDED markers back to the chart. They are now more stable and reliable.
Notes de version
What's New:

- Making suspend mark bold with red custom-color box.
Notes de version
What's New:

This new update fixes the issue where fraction levels, ARA/ARB, and SUSPENDED markers were not displayed for users without a real-time IDX data subscription. A must-upgrade!
Notes de version
What's New

- Simplify Suspension label.
- Added more space between Suspension label and credential-ticker.
Notes de version
What's New:

- Adding new features : gap detections.

Enjoy
Notes de version
What's New:

Fixed minor bugs.
Notes de version
What's New:

- ARB / ARA calculations now refresh at 16:15 Jakarta time, allowing you to check the next potential ARA / ARB levels in advance.
Notes de version
What's New:

- Removing distance limitations while keeping bar index only for the “Limit Max Gap Trail Length (bars)” option, with all other behavior unchanged.
Notes de version
What's New:

- Improved ATH / ATL logic.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.