| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Simple Bob https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3154 |
Page 10 of 13 |
| Author: | MrLong [ Mon Sep 30, 2013 12:01 pm ] |
| Post subject: | Re: Simple Bob |
If the broker is GP, you have ECN set to false, the error says, take profit modifaction, so the error must be from the second part of the SendOrder, when the TP and SL are entered. I used to get this error with the 10.4 Multitrader, but that was trying to enter Buystops too close. Andy |
|
| Author: | RxCape [ Mon Sep 30, 2013 12:17 pm ] |
| Post subject: | Re: Simple Bob |
Now I am befuddled and confused as well. I am also getting the Error 130 message. The order is placed, the SL and TP are both set, but I keep getting the error every few seconds. I was not getting this error in the previous version. I am using ILQ in the USA as my broker. ILQ is an ECN. Any ideas ? |
|
| Author: | MrLong [ Mon Sep 30, 2013 12:38 pm ] |
| Post subject: | Re: Simple Bob |
The error appears to be coming from CountOpenTrades function. Code: Select all |
|
| Author: | FXTrucker [ Mon Sep 30, 2013 1:19 pm ] |
| Post subject: | Re: Simple Bob |
I got the same error. Would using normalize double on take and stop in the modify order module eliminate these occurrences of this mql quirk? |
|
| Author: | matt_32 [ Mon Sep 30, 2013 1:27 pm ] |
| Post subject: | Re: Simple Bob |
Hi Andy I used both settings ECN true & ECN false, but I get the same error every time. Matt |
|
| Author: | RxCape [ Mon Sep 30, 2013 1:45 pm ] |
| Post subject: | Re: Simple Bob |
I am not following the logic well enough to make a change to fix the error. For the time being, until the smart people show up, I have commented out the Reporting command line. the EA compiles and runs and does not keep putting up the error messages with each tick. TAKE NOTE: I have NOT fixed the issue. I have simply addressed the symptom of the error message continuing to display. Attached is a version with the reporting line commented out. Use it with the knowledge that the logic is not yet fixed. you just won't be annoyed by the error message box popping up. DISREGARD: My editing did not work completely. back to the drawing board. |
|
| Author: | taipan [ Mon Sep 30, 2013 2:19 pm ] |
| Post subject: | Re: Simple Bob |
I am having the same errors as well. My solution is go to ea property on that particular currency pair and hit on the common tab, tick the "Disable alert once hit". This will get rid the continuous alert temporarily. Hope someone can fix the error soonest. |
|
| Author: | SteveHopwood [ Mon Sep 30, 2013 4:34 pm ] |
| Post subject: | Re: Simple Bob |
Looks like an incorrect shriek. Scite line 2448: if (!CloseEnough(OrderTakeProfit(), lp) && !(CloseEnough(lp, 0))) and move the shriek inside the bracket: if (!CloseEnough(OrderTakeProfit(), lp) && (!CloseEnough(lp, 0))) then recompile. See if this solves the problem. |
|
| Author: | RxCape [ Mon Sep 30, 2013 5:00 pm ] |
| Post subject: | Re: Simple Bob |
Sorry to say that did not work. I am also getting the error on pending trades. Sorry I can't be of more help in locating the error. |
|
| Author: | MrLong [ Mon Sep 30, 2013 5:46 pm ] |
| Post subject: | Re: Simple Bob |
Hi Steve, Did you notice this posts TP are both the same and are 2 different pairs? http://www.stevehopwoodforex.com/phpBB3 ... &mode=view They both have the TP of the NZDJPY. Andy |
|
| All times are UTC | Page 10 of 13 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|