| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Bob and Shelley Again https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=2759 |
Page 12 of 120 |
| Author: | fxdaytrader [ Wed Aug 07, 2013 8:30 pm ] |
| Post subject: | Re: Bob and Shelley Again |
I wonder about the following condition for re-entry trades: if (OpenTrades > 0) SendLong = false;//5 and if (OpenTrades > 0) SendShort = false;//5 Assuming we got the mainentry already we had an open trade - so opentrades would be at least 1 ... Or do I overlook something? Hm, I think the MaxTradesAllowed variable could be useful to limit the opentrades count also in general (or more sophisticated, e.g. maxopenmaintrades=xyz, maxreentrytrades=abc, maxstacktrades=ghi)? For the re-entry-trades (+ stacktrades) it imho could make sense to check if the previous trades are in profit (may be to be choosen by user if to activate, AddToProfitTradesOnly=true ..). |
|
| Author: | SteveHopwood [ Wed Aug 07, 2013 8:44 pm ] |
| Post subject: | Re: Bob and Shelley Again |
A re-entry trade is a new trade following a retrace. A Main trade is a Main trade. There can only be one of either a Main or a Re-entry trade - we do not need both. Therefore, if there is already a trade open, we do not open a second one following a Re-entry setup. Yet. Don't need it. The first trade is either a Main or a Re-entry trade. There are not one of each. Any successive trade is a Stack. It the user is thick enough to allow stack trades before the previous one is at breakeven, that is his/her fault. There is only so much idiot-checking that I am prepared to do. This is not an EA for Dummies. |
|
| Author: | fxozgirl [ Wed Aug 07, 2013 8:55 pm ] |
| Post subject: | Re: Bob and Shelley Again |
Sounds awesome Steve...I really like the idea of the stacking trades, I've got 2 nice trades running at the moment at around 150 & 190 pips each, so would be good to take advantage of that type of move. Also, just having a quick look over the trades so far (will do more in depth analysis over the weekend) but almost all the trades that hit SL were re-entry trades. I'm hoping that a change to using ATR for SL will reduce that significantly, testing results are good so far. Of the main entry trades only 1 has hit SL, the rest have closed out with JS or at BE+2. So wondered is it possible to turn on/off re-entry trades in case someone would prefer to only trade main entry's? thanks again for your hard work |
|
| Author: | fxozgirl [ Wed Aug 07, 2013 8:57 pm ] |
| Post subject: | Re: Bob and Shelley Again |
Yes, this was always the case...it was my bad that it wasn't done initially, Steve had already fixed this part. |
|
| Author: | MrLong [ Wed Aug 07, 2013 9:03 pm ] |
| Post subject: | Re: Bob and Shelley Again |
Hi Steve, Yes , sorry I get the values from the CSS.Lib to try to confirm, the pullback is over on an hourly TF. |
|
| Author: | SteveHopwood [ Wed Aug 07, 2013 9:18 pm ] |
| Post subject: | Re: Bob and Shelley Again |
Took about 30 seconds. Also added the choice to turn off Main trades - 'First trade choices' at the bottom of 'General inputs'. V 1h in post 1. Haven't updated the post 1 blurb mind - sick to death of updating post 1. There are about 60 people in this forum with the authority to do nearly anything they want - one of you couldn't update post 1, could you? |
|
| Author: | SteveHopwood [ Wed Aug 07, 2013 9:44 pm ] |
| Post subject: | Re: Bob and Shelley Again |
That damn modification did not work - I closed down my re-entry trades and the blasted bot took them again straight away. I have removed it from post 1 and will sort it out in the morning. It is late here in the UK and I am far too irritated to try to deal with it right now. |
|
| Author: | MrLong [ Wed Aug 07, 2013 10:57 pm ] |
| Post subject: | Re: Bob and Shelley Again |
Hi Steve, One trade per bar: Code: Select all Code: Select all Best Regards Andy |
|
| Author: | SteveHopwood [ Thu Aug 08, 2013 7:53 am ] |
| Post subject: | Re: Bob and Shelley Again |
V 1i is in post one. Turning off re-entry trades works now. Adding the stacking code broke the logic that told BASA to stop looking for trades when there was neither a Main or a Re-entry trade, so it thought there was a re-entry trade whenever the market was on the correct side of the 60. It is behaving on my account now, so over to you Shelley for your research this weekend. |
|
| Author: | SteveHopwood [ Thu Aug 08, 2013 7:56 am ] |
| Post subject: | Re: Bob and Shelley Again |
Thanks Andy, but the problem was a structural one that has nothing to do with my one trade per bar code, which was not being called because of the stuff broken by the stack code. Thanks anyhow. |
|
| All times are UTC | Page 12 of 120 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|