Fibo – Wrong level in MT5 VPS
2件の返信
Cristian Martínez de Morentin Suescun
7ヶ月前 #292730
こんにちは,
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.
手伝っていただけますか?
Thank you so much!
0
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
7ヶ月前 #292775
I already sent it. Thank you for your help.
0
2件の返信を表示中 - 1 - 2件目 (全2件中)