Introducing v1.0.5 BacktestX Chart. Learn More
Workspace Persistence & Management

Chart Layout Manager

The Chart Layout Manager enables traders to save, auto-sync, duplicate, rename, share, and quickly switch between customized charting workspaces. Layout templates seamlessly preserve indicators, drawings, intervals, candle styles, and scale preferences across trading sessions.

Quick Save

Ctrl + S

Instant layout save shortcut

Autosave

Every 10 Seconds

Smart change detection loop

Instant Switcher

Hotkey: . (Dot)

Quick layout switch palette

Quota Limits

5 Free / Unlimited Pro

Expandable workspace slots

Layout Manager Overview

The Layout Popup is a responsive toolbar dropdown anchored directly next to the multi-chart layout grid selector in the top navigation bar. It displays the currently active workspace name (defaulting to Unnamed or the last loaded layout stored in cl_active_layout_name) and gives one-click access to all layout lifecycle operations.

BacktestX Chart Layout Manager Dropdown
Adaptive Desktop & Mobile Responsive Interface On desktop displays (> 768px), the layout manager renders as a clean dropdown menu with instant positioning below the toolbar button. On mobile screens (≤ 768px), it transitions smoothly into an ergonomic bottom drawer modal with a touch pull handle and backdrop blur overlay.
Saved Configuration Data

Every layout record persists the active symbol, timeframe resolution, chart style (Candlestick, Renko, Heikin Ashi, etc.), all indicator overlays & oscillators with input parameters, all vector drawing objects and coordinates, and custom visual styling settings.

How to Access

Click on the Layout Name button or dropdown chevron in the top bar. You can also press Ctrl + S to save directly or press . (Dot) to open the layout search modal.

Save Layout & Keyboard Shortcuts

Clicking Save layout or pressing the global hotkey Ctrl + S serializes the entire current chart state and writes it directly to your saved layout library.

Save Indicator Feedback

When a layout is saved manually, a visual cloud save indicator pulses in the toolbar and a toast alert confirms: "Layout <Name> saved successfully".

Replay Mode Safety Guard

If the trader is currently in historical bar replay mode, saving is paused and a safety modal (ReplayLayoutAlertPopup) alerts the user to exit replay mode first to avoid overwriting live chart timestamps.

Autosave & Background Sync

The layout manager includes an integrated Autosave switch toggling the cl_layout_autosave preference. When enabled, BacktestX runs a non-blocking background heartbeat every 10 seconds to automatically preserve work-in-progress modifications.

Intelligent State Hashing (Zero-Lag Optimization)

To avoid unnecessary storage writes, disk wear, and canvas redraw pauses, the autosave engine computes a composite state key:
${name}_${symbol}_${interval}_${chartType}_${drawings.length}_${indicators.length}_${settings.length}.
If no new drawing objects, indicator changes, or symbol transitions have occurred since the last cycle, the heartbeat skips quietly with zero performance impact.

Make a Copy & Rename Workspaces

Quickly duplicate existing trading templates for different asset classes or strategies without rebuilding indicators and style preferences from scratch.

Make a Copy...

Opens SaveLayoutPopup prefilled with ${layoutName} (Copy). Verifies plan limits, clones all indicators, drawings, and interval settings, and registers the duplicate under a new distinct workspace key.

Rename...

Opens RenameLayoutPopup allowing users to update the active workspace label. Re-indexes the layout and updates the top navigation title immediately.

Recently Used Layouts

The layout dropdown features a dedicated RECENTLY USED section displaying the top 3 most recently opened or saved layouts sorted descending by timestamp.

Intraday Scalping (Active)
BTCUSDT, 5m • Candlestick
Current
Forex Swing Levels
EURUSD, 4h • Candlestick
Click to Load
Daily Macro Trends
SPY, 1D • Heikin Ashi
Click to Load

Clicking any recent layout automatically loads its symbol, timeframe, indicators, drawings, and visual options into the viewport while invalidating stale rendering caches.

Open Layout Modal & Hotkey

Selecting Open layout... or typing the single hotkey . (Dot) opens the full-screen layout manager dialog.

Search & Filter

Filter through saved templates instantly with real-time text matching across layout names, tickers, and intervals.

Inline Management

Rename layouts inline or permanently delete outdated templates using the trash can trigger with DeleteLayoutPopup confirmation.

Hot-Swap Loading

Click any layout row to immediately restore the active canvas view, drawing stack, and indicators without page reloads.

Download Chart Data (Table View)

Clicking Download chart data... connects directly to the chart widget's Table View engine (tableview.js).

Interactive Data Table & Export Formats

The Table View displays the full active OHLCV bar series in an interactive grid:

  • Timestamp: Formatted ISO date and local time for every candle.
  • Open, High, Low, Close: Precision-formatted price coordinates snapped to decimal rules.
  • Volume: Total trading volume recorded for the period.
  • Export triggers: Export directly to CSV (for Excel/Python analysis) or JSON formats with one click.