matt_32 wrote:I seem to get this error again and again, and don't know why.
Can anyone help?
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.
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 ?
You do not have the required permissions to view the files attached to this post.
RxCape wrote: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 ?
The error appears to be coming from CountOpenTrades function.
matt_32 wrote:I seem to get this error again and again, and don't know why.
Can anyone help?
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
Hi Andy
I used both settings ECN true & ECN false, but I get the same error every time.
Matt
"Wise men speak because they have something to say; Fools because they have to say something." - Plato 347 BC
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.
RxCape wrote: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.
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.