| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Bob's Biggest Balls Ever https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=1375 |
Page 19 of 26 |
| Author: | Wiggy1965 [ Wed Jan 23, 2013 5:55 am ] |
| Post subject: | Re: Bob's Biggest Balls Ever |
Hi Frank, These are the pairs i have configured.... GBPJPY,EURAUD,GBPUSD,EURJPY,AUDJPY,USDJPY,EURUSD,AUDNZD,NZDUSD,AUDUSD,EURGBP I believe my broker is ECN....i think i mentioned in an earlier post that the broker is GFT.... The EA has traded a number of times both trend and scalp before this happened... I have turned trend off for the moment until i get some feedback at to what may be causing his.... If you have a close look at the picture i sent, you will notice al trades were open at the same time....The ea also opened a single scalp at the same time... Regards Wiggy I |
|
| Author: | fmuir [ Wed Jan 23, 2013 7:22 am ] |
| Post subject: | Re: Bob's Biggest Balls Ever |
@ Wiggy1965, If your setfile says that CriminalIsECN is true (default), then your broker is an ECN. My question about the symbols that you were trading was meant to find out the number of symbols that you were attempting to trade. If only one or two symbols, then that might contribute to the multiple trades. If over twenty symbols, that wouldn't provide enough time to have multiple trades all showing the same time. I had added a post (a few before this one) that posed a question to SteveHopwood about what might be causing multiple trades to be allowed. Haven't had a response yet. Hopefully, we'll see a fix, soon, for the issue of having multiple trades for the same symbol at the same time. Regards, -Frank |
|
| Author: | McNish [ Wed Jan 23, 2013 8:20 am ] |
| Post subject: | Re: Bob's Biggest Balls Ever |
@ Frank : Hi there, thanks for taking time out to study and post the code. I'm a very basic level programmer with only mix, match capability. I did study the code and the particular trading opportunities section but I wasn't too sure to post anything about it. Since you have made a heads up, I'm more than happy to follow and post my observations. Here's one. Swaps : In the LookForTradingOpportunities section right before the commented " ///// " conditions, there is TradeLong = true; TradeShort=true; Why reset the boolean value once it is already calculated in the TradeDirectionBySwap section? Will it not override the swap conditions already calculated? Will post more when I spot them. Regards, |
|
| Author: | Lifesys [ Wed Jan 23, 2013 1:08 pm ] |
| Post subject: | Re: Bob's Biggest Balls Ever |
McNish LookForTradingOpportunities() is where the process starts. As the rest of the lines says, it has not got to filters or Swap yet. Must start with 'true' by default or there will be no trading at all. They are being set, NOT reset - code runs in logical order not literal. Code: Select all |
|
| Author: | McNish [ Wed Jan 23, 2013 2:12 pm ] |
| Post subject: | Re: Bob's Biggest Balls Ever |
OK, So it's just initializing, shouldn't that be done in the void TradeDirectionBySwap section. Sorry, this has got off topic, I thought maybe this is missed but it seems correct with the coders. I guess in this case the void TDBSwap is called after initializing TradeLong, TradeShort. |
|
| Author: | Wiggy1965 [ Wed Jan 23, 2013 3:26 pm ] |
| Post subject: | Re: Bob's Biggest Balls Ever |
Hi Guys, Can i ask what trade management settings people are using for 10.3 Scalpe....I'm running just a straight 20pip stop and it seems too close.... Any suggesting would be appreciated... Wiggy |
|
| Author: | SteveHopwood [ Wed Jan 23, 2013 4:33 pm ] |
| Post subject: | Re: Bob's Biggest Balls Ever |
And a good one. I will look into it. |
|
| Author: | SteveHopwood [ Wed Jan 23, 2013 5:03 pm ] |
| Post subject: | Re: Bob's Biggest Balls Ever |
I had a look frank, and no. The point of the while (!TradeReturnedFromCriminal){} snippet is to drive the user nuts with repeated alerts to attract the user's attention, because it will not stop calling the O_R_CheckForHistory(ticket); function. Extra layers of security never do any harm, so I will add to this. I will add code to suspend trading but allow management should some strange concatenation of events cause this to fail. Can't see how, and Matt is an exceptionally clever programmer with levels of understanding way, way beyond mine but hey, I can add an extra layer so why not? |
|
| Author: | fmuir [ Wed Jan 23, 2013 6:18 pm ] |
| Post subject: | Re: Bob's Biggest Balls Ever |
LookForTradingOpportunities() calls IsTradingAllowed() which will call TradeDirectionBySwap() only for trend trades. TradeLong and TradeShort will be set in TradeDirectionBySwap only if the variables CadPairsPositiveOnly, AudPairsPositiveOnly, NZDPairsPositiveOnly or OnlyTradePositiveSwap had been set to true in the setfile. TradeLong or TradeShort could conceivably be in the wrong state if they weren't re-initialized to true in LookForTradingOpportunites, which could affect whether trend trades or scalp trades are made. And, remember, this EA is trading multiple pairs (usually). The location where they are initialized is correct, which is just prior to them being changed (if necessary), just prior to them being used. I haven't had enough trades to really be able to judge the effectiveness of the SL that this EA places. Hopefully, improvements will come. Regards, -Frank |
|
| Author: | fmuir [ Wed Jan 23, 2013 6:28 pm ] |
| Post subject: | Re: Bob's Biggest Balls Ever |
@ SteveHopwood, Thanks for the response. Regards, -Frank |
|
| All times are UTC | Page 19 of 26 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|