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!

MT Min Distance is different than SQ Min Distance

4 replies

Royal Prince

Subscriber, bbp_participant, 19 replies.

Visit profile

4 years ago #276767

XAUUSD,H1: – SQ LOG 2022.03.09 09:01 MT min distance: 0.80000000, SQ min distance: 0.00000000

 

A customer is seeing this message in his MT4 when he loads my EA?      where do i find in SQX how to change the min Distance so it isn’t on 0 ,

 

The customers broker is 80 points Spread for gold.

My spread on my broker is 10-20 points.

 

 

i am very confused at where or what to change to make this work more smoothly any help would be great.

 

1

Royal Prince

Subscriber, bbp_participant, 19 replies.

Visit profile

4 years ago #276768

2022.03.09 09:14 Warning! Min distance of this symbol is greater than min distance set in SQ! The backtest results may differ

2022.03.09 09:14 MT min distance: 0.80000000, SQ min distance: 0.00000000

SQ LOG 2022.03.09 09:14 MT min distance: 0.80000000, SQ min distance: 0.00000000

 

0

Royal Prince

Subscriber, bbp_participant, 19 replies.

Visit profile

4 years ago #276769

double sqMinDistance = 80;

 

I found the code in the MQ4 Source on how to fix it but now how do i fix it inside the SQX software so that i can build the strategy using sqxBusiness .

 

i mean where is this option located inside the software of SQX because i can’t seem to find it, i only see the option of distance under Data but when i change that value it doesn’t change this sqMinDistance in the source code.

 

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

4 years ago #276855

Hello,

the variable value for the Min Distance should be intact when strategy is compiled into MQL market and keep the value you set on the DATA tab. But I will rather verify with our developers. We could make this editable as EA parameter I guess. I will also suggest this to our dev team

0

Royal Prince

Subscriber, bbp_participant, 19 replies.

Visit profile

4 years ago #276859

also  @tomas262
Min Distance for Spread
Max Distance for Spread

i saw it is inside the mq4h code but its not an external function at all.

0

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