READ-ONLY

The forum is now a read-only archive.

For bug reports & platform questions → [email protected]

Our community lives on Discord and YouTube — come join us!

Issue with Builder “Improve” mode: Returns “No Trades” when replacing Exits

3 replies

jorge castillo

Subscriber, bbp_participant, 3 replies.

Visit profile

9 months ago #292736

Hi,

I am encountering a persistent issue when using the Builder -> Improve existing strategies mode. It seems like the Improver is unable to generate valid trades when replacing an exit rule, even with the simplest configurations.

The Scenario: I have a Databank of XAUUSD (H1) strategies that currently use “Exit After X Bars”. My goal is to Replace this fixed exit with a standard Stop Loss and Profit Target.

The Problem: When I run the Builder in “Improve” mode (selecting “Improve all strategies in databank”):

Exit Rules: Set to “Replace” -> “Generate Randomly”.

Building Blocks: “Exit After X Bars” unchecked. SL/TP checked.

Result: The process generates 0 strategies. The logs show “No Trades” (100%) or “Initial population filter” rejection due to 0 trades.

Troubleshooting Steps & The Anomaly: I have performed extensive testing to rule out data or parameter errors:

Tested with Fixed Pips (Crucial): To rule out ATR calculation errors or volatility issues, I tried setting the Building Blocks to use Fixed Pips only (e.g., SL 500 pips, TP 1000 pips). Result: Still “No Trades”.

Control Test – “New Strategy” Mode: I opened a New Project using the exact same Data, Symbol Settings (XAUUSD), and Building Blocks (SL/TP). Result: It works perfectly and generates profitable strategies from scratch.

Control Test – AlgoWizard: If I manually edit one of the original strategies in AlgoWizard, delete the “Exit After X Bars” block, and add the SL/TP blocks manually, the backtest works perfectly.

Conclusion: Since the logic works in “New Strategy” mode and “AlgoWizard,” the Data and Strategy logic are valid. The issue seems specific to the “Improve -> Replace” engine, which appears to be breaking the trade execution logic when swapping the exit rules for this batch.

My Settings:

Symbol: XAUUSD, H1.

Data Type: Tested both as “Forex” and “CFD” (Point Value confirmed).

Trading Options: “Max Spread” is disabled/high. “Min distance” is 0. “Max Stop Loss” is disabled.

Filters: All Genetic and Ranking filters were disabled for the test.

Has anyone experienced this behavior where “Improve” yields 0 trades while “New Strategy” with identical settings works fine?

I have attached screenshots of my “Parts to Improve” and “Building Blocks” settings, as well as one of the original .sqx strategies.

Thanks in advance.

0

jorge castillo

Subscriber, bbp_participant, 3 replies.

Visit profile

9 months ago #292740

Here is the updated and polished version for the StrategyQuant forum. I have included the detail about Fixed Pips failing as well, which is a very strong piece of evidence that the issue is internal to the “Improve” engine and not a calculation error.

Subject: [Issue/Bug] Builder “Improve” mode results in “No Trades” when replacing Exits (Works perfectly in New Strategy mode)

Hi StrategyQuant team,

I am encountering a persistent issue when using the Builder -> Improve existing strategies mode. It seems like the Improver is unable to generate valid trades when replacing an exit rule, even with the simplest configurations.

The Scenario: I have a Databank of XAUUSD (H1) strategies that currently use “Exit After X Bars”. My goal is to Replace this fixed exit with a standard Stop Loss and Profit Target.

The Problem: When I run the Builder in “Improve” mode (selecting “Improve all strategies in databank”):

Exit Rules: Set to “Replace” -> “Generate Randomly”.

Building Blocks: “Exit After X Bars” unchecked. SL/TP checked.

Result: The process generates 0 strategies. The logs show “No Trades” (100%) or “Initial population filter” rejection due to 0 trades.

Troubleshooting Steps & The Anomaly: I have performed extensive testing to rule out data or parameter errors:

Tested with Fixed Pips (Crucial): To rule out ATR calculation errors or volatility issues, I tried setting the Building Blocks to use Fixed Pips only (e.g., SL 500 pips, TP 1000 pips). Result: Still “No Trades”.

Control Test – “New Strategy” Mode: I opened a New Project using the exact same Data, Symbol Settings (XAUUSD), and Building Blocks (SL/TP). Result: It works perfectly and generates profitable strategies from scratch.

Control Test – AlgoWizard: If I manually edit one of the original strategies in AlgoWizard, delete the “Exit After X Bars” block, and add the SL/TP blocks manually, the backtest works perfectly.

Conclusion: Since the logic works in “New Strategy” mode and “AlgoWizard,” the Data and Strategy logic are valid. The issue seems specific to the “Improve -> Replace” engine, which appears to be breaking the trade execution logic when swapping the exit rules for this batch.

My Settings:

Symbol: XAUUSD, H1.

Data Type: Tested both as “Forex” and “CFD” (Point Value confirmed).

Trading Options: “Max Spread” is disabled/high. “Min distance” is 0. “Max Stop Loss” is disabled.

Filters: All Genetic and Ranking filters were disabled for the test.

Has anyone experienced this behavior where “Improve” yields 0 trades while “New Strategy” with identical settings works fine?

I have attached screenshots of my “Parts to Improve” and “Building Blocks” settings, as well as one of the original .sqx strategies.

Thanks in advance.

0

jorge castillo

Subscriber, bbp_participant, 3 replies.

Visit profile

9 months ago #292747

I agree that, when i try improve 100 strategies on “Strategies to improve” on databank, only received results to improved strategies for the first strategy order by alphabethics.

0

Petr Nadenicek

Administrator, bbp_moderator, sq-ultimate, 13 replies.

Visit profile

8 months ago #292867

Hello Jorge,

Please contact us through our support email, [email protected], and include the .cfx configuration of the task along with a few strategies that you want to improve, as mentioned.

I will look into it.

Thank you,

Petr,
SQX Support

0

Viewing 3 replies - 1 through 3 (of 3 total)