| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Nanningbob 10.2 Autotrader's new home https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=781 |
Page 36 of 38 |
| Author: | al3xx [ Tue Sep 25, 2012 10:36 pm ] |
| Post subject: | Re: Nanningbob 10.2 Autotrader's new home |
Don't beat yourself up. Alex |
|
| Author: | al3xx [ Tue Sep 25, 2012 10:37 pm ] |
| Post subject: | Re: Nanningbob 10.2 Autotrader's new home |
Appreciated George. Thank's once again for all the help. Alex |
|
| Author: | droland [ Wed Sep 26, 2012 7:35 am ] |
| Post subject: | Re: Nanningbob 10.2 Autotrader's new home |
I am super impressed with this attitude. There is no good, better, best programmer here. The synergy of the group is bigger than its parts. Impressive and acknowledged. Thanks everyone. Dave R. |
|
| Author: | SteveHopwood [ Wed Sep 26, 2012 7:56 am ] |
| Post subject: | Re: Nanningbob 10.2 Autotrader's new home |
Alex, have you seen TIG's post at http://www.stevehopwoodforex.com/phpBB3 ... 008#p24008. I have not checked, but it looks as though he has found the bloop that causes the occasional rapid trade open-close thingy. I have not actually checked, but I cannot recall catching George getting something wrong. |
|
| Author: | cuzgeorge [ Wed Sep 26, 2012 4:50 pm ] |
| Post subject: | Re: Nanningbob 10.2 Autotrader's new home |
Hi Alex, all, just to confirm what George, Gaheitman found , i had this error come up on v1.3a1, first time. regards, cuzgeorge EDIT- sorry forgot the pic as it's not one that is tracked by fxbook. |
|
| Author: | gaheitman [ Wed Sep 26, 2012 6:39 pm ] |
| Post subject: | Re: Nanningbob 10.2 Autotrader's new home |
This looks a little different than what we had in the other EA. The TP for these trades is zero and the stop loss wasn't hit, so that suggests the code is manually closing them. I have added some debug statements to help pinpoint the issue. Unfortunately, I probably won't get a hit until the markets pick up a bit.... George |
|
| Author: | cuzgeorge [ Wed Sep 26, 2012 7:05 pm ] |
| Post subject: | Re: Nanningbob 10.2 Autotrader's new home |
Hi George, I think this might help, and i'm also including my set file in-case it's something i've done wrong with the settings. The EA is hardcoded with this set file, i'm only running on 4 main charts, NO MPTM is set up here to conflict with the trades like i had on another EA. RecoveryVirtualStop is set to '0' unlike others. BollingerBands is 'true' and set 60/20/1 with minimum range TP at 15 UseZeljko is set to 'false' and the last difference i see is the setting for 'EnforcePriceToWeeklyOpen' and 'TradeWeeklyPivotCross' are both set to 'true.' Correlation is set to 'true' - 75 Hope this helps and thank you very much for the time and effort. cuzgeorge |
|
| Author: | gaheitman [ Wed Sep 26, 2012 7:22 pm ] |
| Post subject: | Re: Nanningbob 10.2 Autotrader's new home |
Well, first of all AdjustStopLoss() is trying to set the SL to 1.803, which doesn't make sense for that currency. I don't see that it is successful, however, which is even weirder. Update: OK, since it is trying to set the SL on a sell to be lower than the current price, it is closing the trade (as it is WAY past stop loss George |
|
| Author: | gaheitman [ Wed Sep 26, 2012 7:45 pm ] |
| Post subject: | Re: Nanningbob 10.2 Autotrader's new home |
In CountOpenTrades(), TicketNo is only set to OrderTicket() for the first trade it looks at. So, if there are more than one ticket being examined the code that looks at the lines on the chart will use an incorrect TicketNo when looking up the lines. I suspect the code should be changed to use OrderTicket(). The lines are: Code: Select all George |
|
| All times are UTC | Page 36 of 38 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|