Introducing v1.0.5 BacktestX Chart. Learn More
Version: 1.0.5

Custom Intervals & Timeframes

Create bespoke candlestick timeframe resolutions tailored to your trading edge. BacktestX allows you to generate arbitrary minute, hourly, daily, weekly, and monthly bar compressions with full multi-chart synchronization and zero drawing tool drift.

How to Use Custom Intervals

BacktestX provides a simple creation popup right inside the top timeframe menu. Follow these quick steps to create and apply any custom resolution:

Custom Interval Creation Modal in BacktestX
1

Click on Top Toolbar Timeframe

Click on the active timeframe switcher button (e.g. 1D, 5m, 1h) on the top toolbar to open the timeframe dropdown menu.

2

Click "Add Custom Interval" Button

At the bottom of the timeframe list, click the + Add Custom Interval button to launch the interval creation dialog.

3

Choose the Interval Type

In the type dropdown, select your preferred interval unit: Minutes Hourly Daily Weekly Monthly

4

Choose the Multiplier / Interval Value

Input or choose the exact interval value you need (e.g. 2, 7, 12, 45, 3, or 6).

5

Click on "Add"

Click the blue Add button. The custom resolution will immediately appear in your timeframe list and the chart will update to that interval.

Practical Uses

Filter out market noise using 2m or 7m candles; analyze session blocks using 2h or 3h bars; track multi-day swing setups with 2D/3D charts.

Toolbar Pinning

Click the star (★) next to any custom interval in the list to pin it directly onto the top primary toolbar for 1-click quick switching.

Supported Interval Types & Multipliers

BacktestX accurately computes candlestick Open, High, Low, Close, and Volume aggregations across all standard and non-standard time compressions:

Unit Type Format Code Common Examples Trading Style
Minutes 1, 2, 3, 7, 10, 45, 90 2m, 3m, 7m, 12m, 45m Scalping & Intraday Breakouts
Hourly 60, 120, 180, 240, 360 2h, 3h, 6h, 8h, 12h Intraday Swings & Session Blocks
Daily 1D, 2D, 3D, 5D 2D, 3D, 5D Multi-day Swings
Weekly 1W, 2W, 3W 2W, 3W Bi-weekly Macro Trends
Monthly 1M, 2M, 3M, 6M, 12M 2M, 3M (Quarterly), 6M, 12M Quarterly & Yearly Cycles

Direct Keyboard Shortcuts

You can also switch resolutions without opening any menus by simply typing numbers on the chart canvas:

Switch to 7 Minutes
7 + Enter
Switch to 45 Minutes
45 + Enter
Switch to 2 Hours (120m)
120 + Enter
Switch to 1 Day
1D + Enter

Pinning & Managing Custom Intervals

Pinning Favorite Resolutions

Hover over any standard or custom interval in the dropdown menu and click the Star (★) icon to keep it pinned directly onto the top primary toolbar for instant switching.

Deleting Custom Intervals

To remove a custom timeframe you no longer use, hover over it in the custom intervals list and click the Delete (✕) icon.

Drawing Tool & Multi-Chart Synchronization (v1.0.3)

In release v1.0.3, BacktestX overhauled the drawing coordinate engine to ensure drawing tools synchronize accurately when changing timeframes:

Exact Timestamp Coordinates

Trendlines, Fibonacci levels, Pitchforks, and SMC Order Block rectangles anchor strictly to millisecond timestamps without coordinate drift when toggling between custom timeframes.

Multi-Layout Support

In split-screen layouts, custom intervals can be applied independently per panel or synchronized across all panes simultaneously.