| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Nanningbob 10.2 auto-trading EA https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=552 |
Page 30 of 54 |
| Author: | phil_trade [ Tue May 29, 2012 5:30 pm ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
If you can find something in the code, you're welcome ! I just resolve it for a friend with the same problem by installing a new Empty4. I think the problem was in History data. Try this solution first. |
|
| Author: | Dumuzi [ Tue May 29, 2012 6:05 pm ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
Uninstalled Empty4, deleted program folder and subfolders, downloaded build 427 and installed it. First thing EA did was taking a trade and closing it. hmmm... Just to verify: Only files I need to install in addition to EA are indicators from NanningBob's thread at FF. Right? To look at totally unknown code is something I prefer not to do because it takes time just to feel comfortable inside it. Oh, well. I have the problem in front of me so I guess that's reason enough to try. |
|
| Author: | phil_trade [ Tue May 29, 2012 6:20 pm ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
Just to verify: Only files I need to install in addition to EA are indicators from NanningBob's thread at FF. Right? No, all is explain in post 1 ! Try with my SET file to confirm it's not your parameters. |
|
| Author: | Dumuzi [ Tue May 29, 2012 7:17 pm ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
Will try your SET file as soon as the problem reappears. Everything is working good at the moment. |
|
| Author: | AGT [ Tue May 29, 2012 7:24 pm ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
hi phil_trade - which version do you use ? "1x" ? .... oh no, we have already "1y" !! "1y" is the last ... isnt it ? Look Steves post today 11:46 am. |
|
| Author: | phil_trade [ Wed May 30, 2012 4:03 am ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
what did you do after reinstall Empty4 and read post 1 ? |
|
| Author: | Dumuzi [ Wed May 30, 2012 6:55 am ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
I had a short debugging session, but had to stop because the problem went away again. There are some preliminary results and guesses though: 1) In function LookForTradeClosure the variable "take" has a bad value and my OP_SELL was closed. 2) The problem seems to appear when I have one active trade and a second is taken. The problem is with the second trade. 3) The value of variable "take" seems to come from the first trade, meaning its value is logical in the context of the first trade. Cannot see why though. Of course, being a programmer, I make mistakes and bad guesses faster than most... |
|
| Author: | phil_trade [ Wed May 30, 2012 6:58 am ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
See my yesterday post 15:41 about what I have found. |
|
| Author: | Dumuzi [ Wed May 30, 2012 7:30 am ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
Problem is back so I debugged some more: Set CloseThisTrade back to False so I could see the lines. The Tpxxx and Slxxx lines for the second active trade are way off and equal those in the first trade. Don't know if they are initially wrong or has been changed. As I said earlier my brain puts up a fuss when I do this kind of work so I need a break. |
|
| Author: | phil_trade [ Wed May 30, 2012 7:43 am ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
Are the 2 trades from same Pairs ? If yes, it's a problem cause EA trade only one trade at a time. Look in this direction. |
|
| All times are UTC | Page 30 of 54 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|