Trying to test the strategy NQ-bot.sqx on AVATrade MT4 Platform
2 replies
Antonio L.
2 years ago #274673
hello everybody,
I have a problem trying to test the strategy NQ-bot.sqx I found here.
The main problem is this:
The EA cannot set SL/TP for the order when it try to modify the order it put
2021.10.17 20:05:28.286 2021.10.14 17:59:59 NQ-bot.sqx US_TECH100,H1: – SQ LOG 2021.10.14 17:59 Cannot set SL / PT for this order, deleting it!
2021.10.17 20:05:28.286 2021.10.14 17:59:59 NQ-bot.sqx US_TECH100,H1: – SQ LOG 2021.10.14 17:59 Cannot modify SL, it cannot be closer than minimum allowed: 15048.00000000 > 15046.50000000
2021.10.17 20:05:28.286 2021.10.14 17:59:59 NQ-bot.sqx US_TECH100,H1: – SQ LOG 2021.10.14 17:59 Modifying order with ticket: 3597, SL: 15048.00000000 and PT: 15050.00000000
2021.10.17 20:05:28.286 2021.10.14 17:59:59 NQ-bot.sqx US_TECH100,H1: open #3597 buy stop 0.01 US_TECH100 at 15048.50 ok
This problem is generated for all orders. Why? Is there something I can do to solve it?
Please help me. Thank you.
tomas262
2 years ago #274685
Hello,
the problems like this are often caused by the fact each CFD broker uses different instrument settings. The bot was likely developed using different settings compared to what you use for trading US TECH with your broker. It mainly applies to the pip size / step
You can try to enable “UseSQtickSize” and then set the “MainChartTickSizeSQ” parameter to a corresponding value. Now SL and PT price should be calculated properly
Antonio L.
2 years ago #274692
Thank you Tomas262. Now it’s working fine. I will try the EA on a demo account.
Viewing 2 replies - 1 through 2 (of 2 total)