Reply

Entry condition = True

4 replies

john99

Customer, bbp_participant, community, 80 replies.

Visit profile

10 years ago #111505

Have a look at the attached screenshot. Several strats have been created like this with no apparent indy.

Looks like a bug… 

0

tnickel

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

Visit profile

10 years ago #122418

i think this is a feature. look in the building blocks at the condition always true. this a new rule. thomas

https://monitortool.jimdofree.com/

0

john99

Customer, bbp_participant, community, 80 replies.

Visit profile

10 years ago #122419

Thanks Thomas for pointing that out to me…

 

That begs the question; What “condition” is true or false then? Is it based on a coin flip..?

0

tnickel

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

Visit profile

10 years ago #122424

Hi john,

both condition are true.

This feature is usefull if you use Stop buy and Stop sell strategies.

 

 

for example:

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

====================================================================
== Entry orders
====================================================================
— Long entry
if LongEntryCondition is true {
   if No position is open then Buy at Ichimoku(9, 26, 52, Tenkan-sen) + (0.2 * BollingerBand_Range(141, 4, 0)) Stop;
   Stop/Limit order expires after 48 bars.

   Stop Loss = (3.32 * ATR(72)) pips;
   Profit Target = 149 pips;
 

https://monitortool.jimdofree.com/

0

Mark Fric

Administrator, sq-ultimate, 2 replies.

Visit profile

10 years ago #122511

yes, it is a feature, not a bug 🙂

 

as Thomas said, it is useful for stop/limit orders.

 

Mark

Mark
StrategyQuant architect

0

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