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

Forums>StrategyQuant>General Discussion>How to make strategy only work during RTH?

  • #262307 |
    Customer
    7 Posts

    Hello SQX users!

     

    I would like to make two strategies one for RTH, one for night session. Problem is, I do not know how to make it on AlgoWizard.

    At first, I was going to use ‘Current time’ feature, but it seems like it only activates certain condition when the time met its parameter.

    Can somebody please help me?

     

    If there is a function for

    “IF current time is > than X AND < than Y, then activate signal A, else signal B”, It would be great, but I couldn’t find how to put “if” function for current time…

    • This topic was modified 1 week, 6 days ago by Seb Lee. Reason: misspelling
    #262311
    Customer
    7 Posts

    Ahhh Found out!

     

    Instead of “current bar is”, choose ‘Current time’ and it allowed me to do things I wanted! Hope it helped the others too!

    #262315
    Customer
    7 Posts

    Sorry my bad… It is not working as I expected it to be

     

    can somebody help please?

    • This reply was modified 1 week, 6 days ago by Seb Lee.
    Attachments:
    You must be logged in to view attached files.
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.