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!

Fibo – Wrong level in MT5 VPS

2 replies

Cristian Martínez de Morentin Suescun

Subscriber, bbp_participant, customer, community, sq-ultimate, 4 replies.

Visit profile

7 months ago #292730

Hello,

I am running a strategy in MT5 which places Stop orders and uses the sqFibo indicator as the base reference price. The backtests and real-time trading works fine when I run the strategy on my computer. However, in case I copy it to my MetaTrader VPS, the strategy tries to place orders at wrong prices. I have identified that the issue is here:

openPrice = sqFixMarketPrice((sqGetIndicatorValue(FIBO_1, 0, 0) + (PriceEntryMult1 * sqGetIndicatorValue(ATR_1, 0, 1))), “Current”);

More specifically, here: sqGetIndicatorValue(FIBO_1, 0, 0)

That function returns a price value which is too far from the current price. This happens only when running in the VPS, as I said. The Fibo indicator is loaded with the following parameters:

indicatorHandles[FIBO_1] = iCustom(NULL,0, “SqFibo”, 1, 0, -23.6, 0);

I have also verified the other indicators used in the strategy and I can confirm the issue is present only in the Fibo indicator.

Can you please help me?

Thank you so much!

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

7 months ago #292762

Please share the sqx file of the strategy with our support, send to [email protected], we will check it

0

Cristian Martínez de Morentin Suescun

Subscriber, bbp_participant, customer, community, sq-ultimate, 4 replies.

Visit profile

7 months ago #292775

I already sent it. Thank you for your help.

0

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