| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Gday: a D1 Stochastic OB/OS trading robot https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=168 |
Page 42 of 71 |
| Author: | garyfritz [ Sun Apr 29, 2012 9:26 pm ] |
| Post subject: | Re: Gday: a D1 Stochastic OB/OS trading robot |
I dug a bit into the EA in post 1, assuming that's current. (I'm not sure it is, because it doesn't seem to implement the > 80 & < 75 logic that I think Shelley uses now, but it's a start.) Warning, I don't know this code, and it's 3500 lines, so what I say below is the result of a very cursory examination. There are a number of options that can be switched on: Hanover, CBI, etc. There is also a TrendDetectionModule that uses AllAverages or RSI to determine a direction. If any of those are activated then that will reduce the # of trades. If all of those options (and possibly others?) are switched off, then I think it collapses back into the stoch model I described. You'd have to look at the setfile you use to see if any of those are switched on in your test. I asked Shelley a few weeks ago to clarify exactly how she trades it now so I could update my Tradestation backtest, but she's been gone and hasn't responded. |
|
| Author: | Kenboi [ Sun Apr 29, 2012 10:01 pm ] |
| Post subject: | Re: Gday: a D1 Stochastic OB/OS trading robot |
Thanks for your explanation on those settings. I had those options turned off and the EA just triggered 2 pairs of sell trades (EURJPY and EURAUD) as soon as the market opens. It looks to me that the EA opens the trade at the beginner of the daily candle where it sees a signal. But, is it a little bit late for an entry especially on EURAUD based on the stochastic indicator? Take a look at the pictures. |
|
| Author: | RisingSun [ Mon Apr 30, 2012 1:24 am ] |
| Post subject: | Re: Gday: a D1 Stochastic OB/OS trading robot |
Hi fx8000, Am using an EA that closes all trades when profit reaches an input USD amount, which could be used for your purpose. It's not in % profit, so you would need to calculate the target value to input. Another EA is for closing all at a specific USD amount. Both are attached herewith. I apply these to GBPJPY M1 chart for frequent refreshing. If anyone can add codes to allow input in % of balance, that would be a great improvement. The profit/loss line graph is drawn by an indicator, which is also attached. Your dashboard looks great. Mind sharing the indicators used and your template? Cheers from Tokyo. RS |
|
| Author: | garyfritz [ Mon Apr 30, 2012 3:27 am ] |
| Post subject: | Re: Gday: a D1 Stochastic OB/OS trading robot |
It doesn't catch the top of a move. It doesn't enter until the stoch has dropped from >80 to <75 -- or possibly >80 to <80, that seemed to be what the post 1 EA does. The market has to move down a bit before the stoch drops that far. See e.g. these examples from my Tradestation test: So it often enters well after the swing. I just tried something: instead of waiting for it to go > 80 and then < 75, I changed my TS system to wait for it to go > 80 and then come down 5 from its max value. So if it runs up to 91, it will enter when the stoch gets down to 86. This seemed to make a big improvement in some pairs, not much in others. With that change, I experimented with changing the trigger level. Trading when it gets > 70 & then drops 5, or < 30 and raises 5, looks really promising. I'll keep poking at it. |
|
| Author: | Kenboi [ Mon Apr 30, 2012 4:52 am ] |
| Post subject: | Re: Gday: a D1 Stochastic OB/OS trading robot |
Your Tradestation test looks great. I like your entries. They seem to be perfect entries. At the moment, my overbought/oversold are 75 and 25. Maybe this would give me more entries than >80 and <20. I will see how this setting goes. If it's profitable, I will keep this setting. If not, I'll keep the overbought higher and oversold lower. I begin to edge closer to this EA's behavior. Thank you for the clarification. |
|
| Author: | RisingSun [ Mon Apr 30, 2012 5:25 am ] |
| Post subject: | Gday on Oanda |
Hi all, First off, many thanks to Steve and fxozgirl for the great forum and the EA. Have read through the thread and finally decided to put it on Oanda, which starts the day at 13:00 Japan time, to see how things would look like. Two entries were made today with the OOTB configuration; AudNzd and GbpNzd. Both look like good entries from the bar formation. Let's see how they develop. |
|
| Author: | kelisa [ Mon Apr 30, 2012 7:54 am ] |
| Post subject: | Re: Gday: a D1 Stochastic OB/OS trading robot |
This EA is running on D1, so I guess we have to be patient. |
|
| Author: | spotdespot [ Mon Apr 30, 2012 8:57 am ] |
| Post subject: | Re: Gday: a D1 Stochastic OB/OS trading robot |
I like the idea of this Gary - GU stoch is sitting around the mid 90's right now so to get to trigger a trade it needs to move quite a way, when it eventually head South. Please let us know how you get on with this. I might even dabble in a bit of code tampering myself. |
|
| Author: | fx800 [ Mon Apr 30, 2012 11:55 am ] |
| Post subject: | Re: Gday: a D1 Stochastic OB/OS trading robot |
Very kind of you to offer your ea's, RisingSun. I have not been following this thread for a little while now, just popping in to see what is going on here. Since I posted my request, we now have Donefortheday ea by I think Magft which does the job of closing a basket when the gains reach xxx% of account balance for the day. Thanks for your offer of help anyway. Cheers, Peter |
|
| Author: | spyderman [ Mon Apr 30, 2012 3:37 pm ] |
| Post subject: | Re: Gday: a D1 Stochastic OB/OS trading robot |
I'm getting some weird error messages. I have an order in cad/jpy that's over 100 pips in profit ( "13225934 stop loss modification failed with error(131): invalid trade volume" Any ideas. |
|
| All times are UTC | Page 42 of 71 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|