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

Forums>StrategyQuant>General Discussion>What does a rule with only "true" means?!

  • #200926 |
    Karish
    Customer
    430 Posts

    Does anybody know what “true” means in a strategy that SQ exports?
    LongEntryCondition = true
    ShortEntryCondition = true

    i cant even think about what it can be..

     

     

    ====================================================================
    == Entry conditions
    ====================================================================
    LongEntryCondition = true
    ShortEntryCondition = true

    ====================================================================
    == Entry orders
    ====================================================================
    — Long entry
    if LongEntryCondition is true {
    if No position is open then Buy on open at Market;
    Stop Loss = 254 pips;
    Profit Target = 140 pips;
    }

    — Short entry
    if ShortEntryCondition is true {
    if No position is open then Sell on open at Market;
    Stop Loss = 254 pips;
    Profit Target = 140 pips;
    }

    #200937
    tomas262
    Administrator
    1826 Posts

    Hello,

    this seems to me as a strategy that always has a trade open or keep stop/limit orders active

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

You must be logged in to reply to this topic.