Reply

Editing in SQ 3.x mangles rule: Close Above Bollinger Bands(20, 2, 0)

3 replies

murty

Customer, bbp_participant, community, sq-ultimate, 99 replies.

Visit profile

7 years ago #116378

If I edit a strategy with the following rules in SQ, it converts Bollinger Bands to BollingerBand_Up for both Long and Short side. It also changes deviation 2 to 20.0 and shift 0 to 2. Even if I manually fix this, save and re-edit, it will convert BollingerBand_Down of Short side to BollingerBand_Up.

 

LongEntryCondition = (Close Above Bollinger Bands(20, 2, 0))

ShortEntryCondition = (Close Below Bollinger Bands(20, 2, 0))

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

7 years ago #141735

Hello,

 

did you create your strategy manually or was it generated by SQ?

 

When I manually define such strategy the output logic remains correct.

 

== Entry conditions
==================================================================== 
LongEntryCondition = (Close(1) Closes Above BollingerBand_Up(20, 2, 1))
ShortEntryCondition = (Close(1) Closes Below BollingerBand_Down(20, 2.0, 1))

0

murty

Customer, bbp_participant, community, sq-ultimate, 99 replies.

Visit profile

7 years ago #141756

Generated by SQ

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

7 years ago #141768

Hello,

 

yes, this is not working correctly. It will be solved in SQ4

You might try to setup EA manually using editor as I did

0

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