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!

Template doesn’t work!

3 replies

Chad Lin

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

Visit profile

1 year ago #290318

I’m currently testing strategy templates, but without exception, every time I got a ​​0% pass rate​​. I thought there might be problems with my templates so I built a seasonal strategy template for gold according to your official tutorial (Friday 14:00 entry, Monday 14:00 exit). After scanning ​​over 10,000 combinations​​, the pass rate remains ​​zero​​. Attached are my Builder configuration screenshots.

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

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

1 year ago #290334

I would like to test this. Please share the template sqx and builder configuration saved

0

Chad Lin

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

Visit profile

1 year ago #290391

Hi @tomas262

Sorry for replying late.

Forget about the seasonal strategy. I designed a template myself, but as expected, the yield is still 0.

YR.sqx is a strategy I made with AW, it is not a template. Its rule is very simple, go long when the price breaks through the recent high, and go short when it breaks through the recent low.

Its initial stop loss is 5*ATR, and SL2BE will be triggered when the price moves out of the same distance.

I didn’t set any trailing SL rules. When I hold a long position, I will exit if the stock price falls below the EMA. If the price is always above the EMA, I will always hold a long position.

The EMA period uses adaptive parameters. I set a variable called BarCount. When holding a position, BarCount will increase by 1 for each additional bar. This means that the longer I hold the position, the longer the EMA period will be, because I hope to hold the position as long as possible.

When I tested YR.sqx on AW with XAU H4, the backtest showed that it was profitable.

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

0

Chad Lin

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

Visit profile

1 year ago #290395

Oh…It seems works.

Sorry.

0

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