Not logged in
Viewing 3 posts - 1 through 3 (of 3 total)

Forums>StrategyQuant>General Discussion>Can I force certain settings on building strategies?

  • #269474 |
    Customer
    63 Posts

    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.

     

     

    #269479
    tomas262
    Administrator
    1769 Posts

    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/

    #269490
    Customer
    63 Posts

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

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

You must be logged in to reply to this topic.