Reply

Same functionality for profit target and stop loss tab in the (THEN) section.

2 replies

Count-Roy

Subscriber, bbp_participant, community, 69 replies.

Visit profile

9 years ago #113371

Same functionality for profit target and stop loss tab in the (THEN) section as we have in the (RULE) section.

 

so we can say as profit target a rule like:
Converttopips ema(9) – ema (20) <= 30

 

and such things like: converttopips open(0) – (indicator X)(0) <= 30

 

etc

 

I hope that makes sence.

 

greetz

 

Roy

 

0

Mark Fric

Administrator, sq-ultimate, 2 replies.

Visit profile

9 years ago #128939

Roy, I don’t understand. You are using comarison in your formula, how do you want to use it as Profit target or Stop loss?

 

The result of comparison is usually true or false.

 

If you want to close the trade upon this condition you can do it in another rule and in THEN use Close position()

Mark
StrategyQuant architect

0

Count-Roy

Subscriber, bbp_participant, community, 69 replies.

Visit profile

9 years ago #128951

like you say Mark, in your last sentence is what I would like to do. and indeed it slipped my mind while I was typing that up that it could be done by making a new if then rule.

0

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