READ-ONLY

The forum is now a read-only archive.

For bug reports & platform questions → [email protected]

Our community lives on Discord and YouTube — come join us!

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

3 replies

murty

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

Visit profile

9 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

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

9 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, 102 replies.

Visit profile

9 years ago #141756

Generated by SQ

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

9 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)