| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| MADTrader https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4590 |
Page 82 of 92 |
| Author: | fxstrategie [ Wed Jul 13, 2016 10:11 am ] |
| Post subject: | MADTrader |
First of all - a big THANK YOU for the great Development and the shared Ideas! After 2 weeks of sucessful testing i decide to go live yesterday with wavegarricks settings. But - this first night was a really nightmare for this account. Against the demo - the live account shows strange behaviors... Some (a lot !!! of orders) are opened at a stack - dozens of orders with same time and entry point... so the mad tader kills arund 400 EUR (30% Account loss) within one night.. Error in fron of this are: "1 01:23:09.534 'xxx27450': order buy 0.01 GBPJPY opening at market sl: 0.000 tp: 0.000 failed [Trade context is busy]" Any Idea how to avoid this? All i've found about this is https://www.mql5.com/en/articles/1412 I dont found any settings for min trade distance or min time between trades... |
|
| Author: | Wavegarrick [ Wed Jul 13, 2016 11:49 am ] |
| Post subject: | MADTrader |
Hi Fxstrat, You have will have to send the mad trader set file you use for us to have a look at..this does not make sense. Leon |
|
| Author: | fxstrategie [ Wed Jul 13, 2016 12:00 pm ] |
| Post subject: | MADTrader |
thank you in advance for your help |
|
| Author: | Wavegarrick [ Wed Jul 13, 2016 12:45 pm ] |
| Post subject: | MADTrader |
Fxstrat...I am dumbfounded my friend. Everything looks fine on your set file...I have never encountered anything like this with mad trader. Hopefully someone can help |
|
| Author: | fxstrategie [ Wed Jul 13, 2016 12:52 pm ] |
| Post subject: | MADTrader |
it seems that there is no check before trading, if trade is possible. (see MQL5 link, describes this) So it will try again and again and builds up a stack... if it is possile to trade a few seconds further, then all trades opened at the same time... |
|
| Author: | renexxxx [ Thu Jul 14, 2016 1:29 am ] |
| Post subject: | MADTrader |
I have never seen this behaviour before. From what I gather, OrderSendReliable sends the trade, but the trade server responds with a "Trade Context Busy". The code assumes that the initial trade is rejected, and therefore OrderSendReliable sends another one a moment later. What seems to be happening -- which is new to me -- is that the initial trade is not rejected, but kept in "the waiting room" at the trade server and is processed as and when the trade server feels like it. This is totally unacceptable behaviour, and if true would open up a whole new can of worms. You can call IsTradeAllowed() prior to the OrderSend() but it could be that at the time IsTradeAllowed() was called, everything was fine, but at the time of the OrderSend() there is trouble. Just out of interest, what br0ker are you using? |
|
| Author: | fxstrategie [ Thu Jul 14, 2016 10:20 am ] |
| Post subject: | MADTrader |
Thank you for you analysis. |
|
| Author: | renexxxx [ Thu Jul 14, 2016 11:24 am ] |
| Post subject: | MADTrader |
I've attached a special version of OrderReliable.mqh, that basically replaces every OrderSend() with the following code: Code: Select all R. |
|
| Author: | fxstrategie [ Thu Jul 14, 2016 3:14 pm ] |
| Post subject: | MADTrader |
this looks great - ill do so! will test next week - because we're on tour actually... better to do this under control in front of my terminal... meanwhile i've found out that the same behavior occurs on Broker XM and Roboforex! A friend and my father too lost each around 300 Eur with the same Errors... damn... switch of the accounts now, till successful testings... But maybe - your change will fix that if there is an trade request in front of that Unfortunatly i've to test this behavior with real money Thank you for this great and fast support! |
|
| Author: | Wavegarrick [ Thu Jul 14, 2016 3:26 pm ] |
| Post subject: | MADTrader |
" Every cloud has a silver lining " Fxstrat I feel your pain buddy and I am confident Rene has come to your rescue...Thanks Rene |
|
| All times are UTC | Page 82 of 92 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|