Reply

Can I force certain settings on building strategies?

2 replies

alanhere

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

Visit profile

3 years ago #269474

Hi,

Is there a way where I can building strategies but force a certain condition?

 

For example, I want to build strategies as normal but I want to ensure that all the strategies I build trade when price is above 100 day Moving Average.

Or perhaps, build strategies that trade only where RSI is above 80.. and be able to set if this is only a sell or only a buy trade.

If there is, I am not sure how to do this. I see that there is a required column in the exit types under the Building Blocks tab and I thought perhaps there was a required column that I could use in the signals or indicators section.

 

 

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

3 years ago #269479

Hello,

you can do this by setting up a template using AlgoWizard.

You can proceed in few steps:

  1. open SQX -> switch to AlgoWizard
  2. create a condition you like
  3. switch to ‘Template mode’ (Setting -> Advanced and check ON)
  4. add the ‘Random condition’ block – this will make sure the strategy will also contain a randomly chosen condition
  5. save the template and set it up in Builder using the ‘What to build -> Strategy from template’ mode
  6. now run the build. Eeach strategy generated will contain your condition + some other randomly added

Check the example attached and this article https://strategyquant.com/blog/introduction-strategyquant-templating-system-part/

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

0

alanhere

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

Visit profile

3 years ago #269490

That’s really handy.. thank you so much !

0

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