Invalid Trade Parameters on BUY_STOP - page 2 12 New comment Roberto Jacobs 2016.01.14 20:24 #11 marcboggs: Hi Trinh,I tried your suggestion and I am met with the same result:MCB.ScalpWiz.9001 EURUSDpro,M1: Buy Trade params: Symbol: EURUSDpro Lot Size: 0.02 Ask: 1.18932 Bid: 1.18912 StopAsk: 1.19002 Slip: 3 Stoploss: 1.18002 TakeProfit: 1.20002MCB.ScalpWiz.9001 EURUSDpro,M1: Failed to OpenSingleBuy, error # invalid trade parameters.To 5 digits after the decimal point, it should be: double AskStopPrice = Ask + StopPriceBuffer * Point * 10; double BuyTP = Ask + TakeProfit * Point * 10; double BuySL = Ask - OpenStopLoss * Point * 10; Alain Verleyen 2016.01.14 21:40 #12 Siti Latifah: if you use minimum stoplevel, you must attention thisexample:to set buyStopLoss, you must use Bidhttp://my.jetscreenshot.com/20838/20160114-xkkr-17kbNot you must not use bid, unless you want your stoploss to include the spread. Alain Verleyen 2016.01.14 21:41 #13 marcboggs: Hi Trinh,I tried your suggestion and I am met with the same result:MCB.ScalpWiz.9001 EURUSDpro,M1: Buy Trade params: Symbol: EURUSDpro Lot Size: 0.02 Ask: 1.18932 Bid: 1.18912 StopAsk: 1.19002 Slip: 3 Stoploss: 1.18002 TakeProfit: 1.20002MCB.ScalpWiz.9001 EURUSDpro,M1: Failed to OpenSingleBuy, error # invalid trade parameters.You need to normalize your price and your lot size. Trinh Dat 2016.01.15 01:57 #14 marcboggs: Hi Trinh,I tried your suggestion and I am met with the same result:MCB.ScalpWiz.9001 EURUSDpro,M1: Buy Trade params: Symbol: EURUSDpro Lot Size: 0.02 Ask: 1.18932 Bid: 1.18912 StopAsk: 1.19002 Slip: 3 Stoploss: 1.18002 TakeProfit: 1.20002MCB.ScalpWiz.9001 EURUSDpro,M1: Failed to OpenSingleBuy, error # invalid trade parameters.What is ExpDate ? 12 New comment
Hi Trinh,
I tried your suggestion and I am met with the same result:
To 5 digits after the decimal point, it should be:
if you use minimum stoplevel, you must attention this
example:
to set buyStopLoss, you must use Bid
http://my.jetscreenshot.com/20838/20160114-xkkr-17kb
Hi Trinh,
I tried your suggestion and I am met with the same result:
Hi Trinh,
I tried your suggestion and I am met with the same result:
What is ExpDate ?