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!

Create template not working

13 replies

Martin Villafañe

Subscriber, bbp_participant, customer, community, sq-ultimate, 6 replies.

Visit profile

2 years ago #286753

Good morning.
I have a template created from a strategy with fixed entry rules. and what I need is to build a TP, SL.
but when I load this template in the builder and launch the mining.

It gives me the following error:

Exception in backtest: Cannot create strategy from XML! Error while parsing rule ‘Short entry’ – No Variable with ID ‘0’ defined!

I have not been able to locate the problem.

In the build I have it configured as follows:

Trading dir. Short Only
Strategy Style: SQX Signals
Build Mode: Genetic
Conditions:
a:Entry min:0 max:0 (this is because the strategy entry conditions are fixed)
b: Exit Rule: min:0 max:0
c: global indicators: 8 – 200
d:shift:3

Stop Loss : Required – ATR
Take Profit : Required – indicators

Can anyone think of why the template is failing me?

greetings

1

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

2 years ago #286761

Hi, do you use the latest SQX version 139? If not please update. Let us know if the issue persist in the latest version

0

Martin Villafañe

Subscriber, bbp_participant, customer, community, sq-ultimate, 6 replies.

Visit profile

2 years ago #286765

I use 138, I will update to 139 and try again

0

Thomas Praun

Subscriber, bbp_participant, customer, community, sq-ultimate, 1 replies.

Visit profile

1 year ago #287530

I am having the same issue. I upgraded from version 138 to 140, but the problem is not resolved. What I see is:

12:33:30 Finished in 0s

12:33:29 Project stopped

12:33:29 GRID: Stopping build, job failures (exceptions) exceeded 70%!

12:33:29 Strategy 2.0.4 – Exception in backtest: Cannot create strategy from XML! Error while parsing rule ‘Short entry’ – No Variable with ID ‘0’ defined! – in 0.01 s.

12:33:29 Strategy 2.0.6 – Exception in backtest: Cannot create strategy from XML! Error while parsing rule ‘Short entry’ – No Variable with ID ‘0’ defined! – in 0.01 s.

12:33:29 Strategy 2.0.1 – Exception in backtest: Cannot create strategy from XML! Error while parsing rule ‘Short entry’ – No Variable with ID ‘0’ defined! – in 0.01 s.

12:33:29 — Generating initial population for island #4

12:33:29 — Generating initial population for island #3

12:33:29 — Generating initial population for island #5

12:33:29 — Generating initial population for island #2

12:33:29 — Generating initial population for island #1

12:33:29 —————————–

12:33:29 All backtest data prepared

12:33:29 Data loaded from memory

12:33:29 Loading backtest data for Main test – EURUSD_Darwinex_M1_UTCPlus02 / H1

12:33:29 Initializing backtest data…

Attachments:
You must be logged in to view attached files.

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

1 year ago #287567

Thomas, please, send me the template to [email protected], I will check where the problem could be

0

Matias Casas Lopez

Subscriber, bbp_participant, customer, community, sq-ultimate, 4 replies.

Visit profile

1 year ago #289156

Hi I had the same problem!

I solved by loading the strategy in retested, clicking in it, tools edit parameters and selecting in the direction of the strategy the value true (i noticed all was in false so i think that is the problem) then created the template again and it works!

 

Hope this can help you.

 

Best,

Matias.

Attachments:
You must be logged in to view attached files.

0

Petr Nadenicek

Administrator, bbp_moderator, sq-ultimate, 13 replies.

Visit profile

1 year ago #289164

Hello,

Thank you for your feedback.

I believe the issue may arise because the variable is not set as configurable, which means it isn’t “activated” in the AW variables settings. This is reflected in the recent “tools -> edit parameters” section, showing as false.

If you require further assistance, please reach out to us at [email protected] and provide the problematic template in .sqx format.

 

We will review it promptly.

Thank you.

Best regards,

Petr

SQX Support

0

Sion Mascaro Amer

Subscriber, bbp_participant, customer, community, sq-ultimate, 1 replies.

Visit profile

9 months ago #292230

I have the same problem and I already have the parameters in true, maybe a problem for the version 143?

0

Rafel Amengual Valls

Subscriber, bbp_participant, customer, community, 1 replies.

Visit profile

8 months ago #292499

A mi me pasa lo mismo con la misma versión (143). Lo solucionaste?

0

pina gomez

Subscriber, bbp_participant, customer, community, 1 replies.

Visit profile

6 months ago #292940

alguien a conseguido solucionar el problema , me pasa lo mismo y no logro dar con la solucion

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

6 months ago #292986

Please share your strategy with our support at [email protected]

I will look into it

0

cesarpie

Subscriber, bbp_participant, 2 replies.

Visit profile

5 months ago #293017

Buenas tardes:

Tengo el mismo problema que los demás:

17:36:39 Strategy 5.0.22390 – Exception in backtest: Cannot create strategy from XML! Error while parsing rule ‘Long entry’ – No Variable with ID ‘0’ defined! – in 0.00 s.

Me pueden decir qué tengo que hacer dado que no consigo que funcione?

 

 

1

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

5 months ago #293053

Cesarpie,

please try to update to the latest SQX version 143 and check whether the issue still exists in this version. You can download your copy here https://cdn.strategyquant.com/install/sq/143/SQX_143_win_20260115.zip.
Install (unpack) into a new empty folder. Please test and let me know if the issue persists

0

cesarpie

Subscriber, bbp_participant, 2 replies.

Visit profile

5 months ago #293054

<p style=”text-align: center;”>Sorry, but i have 143 versión, and  the peoblem didnt solved</p>

0

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