23. 3. 2026

5 0

Batch Auto Rename

 

SQX AutoRename

A StrategyQuant X plugin that adds a single‑click Auto Rename button to every databank toolbar.


Overview

Automatically renames selected strategies using the format:

TradingStyle_Ticker_Timeframe_001

Examples:

Breakout_SP500_H4_001
Breakout_SP500_H4_002
Momentum_EURUSD_H1_001
  • Ticker and timeframe are read automatically from each strategy’s backtest data
  • Numbers are sequential and never duplicate existing names in the databank
  • Mixed batches (multiple symbols/timeframes) each maintain their own independent counter

Installation

Copy the contents of this repository into:

<SQX_install>/user/extend/Plugins/AutoRename/

Your folder structure should look like:

user/extend/Plugins/AutoRename/
    AutoRenamePlugin.java
    AutoRenameServlet.java
    ui/
        module.js

No other folders need to be modified.


Compile & Restart

  1. Open StrategyQuant X
  2. Go to Code Editor → Plugins
  3. Select AutoRename and click Compile
  4. Restart SQX

After restarting, the Auto Rename button will appear in the databank toolbar, to the right of the Tools menu.


Usage

  1. Select one or more strategies in any databank
  2. Click Auto Rename
  3. Enter a Trading Style (e.g.
    Breakout

    ,

    Momentum

    ,

    Counter_Trend

    )

  4. Review the preview of the new names
  5. Click Rename

Compatibility

Tested on StrategyQuant X Build 143.


Source Code

Full source code is available on GitHub:

https://github.com/AnimateDread/sqx-autorename/tree/main

0 Comments
Oldest
Newest Most Voted

Related posts