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!

getMoveSLValueByTick() — What does it mean?

1 replies

Csaba

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

Visit profile

7 years ago #248272

Hello

What does it mean in the SQ3 code? What does it control?

———————————————————————

double getMoveSLValueByTick() {
if (OrderType() == OP_BUY) {
// long
return(116 * gPointCoef);
} else if (OrderType() == OP_SELL) {
// short
return(116 * gPointCoef);
}

return(0);

———————————————————————

Thank you!
Brg: Csaba

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

7 years ago #248278

Hi,

usually this returns “triggering” distance for “Move SL 2 BE” action. The action is evaluated on bar close / open

0

Viewing 1 replies (of 1 total)