| 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 30 of 71 |
| Author: | gaheitman [ Mon Jan 09, 2012 9:19 am ] |
| Post subject: | Re: Gday: a D1 Stochastic OB/OS trading robot |
You are correct, the return (false) skips the retry logic within SendSingleTrade() (and should be fixed), but outside of that loop in LookForTradingOpportunities(), if SendSingleTrade() returns false, it resets the bar count and tries again on the next tick. We should probably differentiate between temporary and permanent errors and only retry on temporary ones. From stderror.mqh: Code: Select all Code: Select all Code: Select all Code: Select all George |
|
| Author: | markft [ Mon Jan 09, 2012 9:55 pm ] |
| Post subject: | Re: Gday: a D1 Stochastic OB/OS trading robot |
We can also change the call to OrderSend to use a replacement "safe" version such as the one in liborderreliable or 7bit's version. These retry for temporary errors and give up for permanent errors... Just my 2 cents |
|
| Author: | gaheitman [ Mon Jan 09, 2012 10:12 pm ] |
| Post subject: | Re: Gday: a D1 Stochastic OB/OS trading robot |
I'm not familiar with the first library you mention, but I believe 7bit's is GPL. Steve would have to be willing to accept that yoke before we included it in the shell. George |
|
| Author: | markft [ Mon Jan 09, 2012 10:42 pm ] |
| Post subject: | Re: Gday: a D1 Stochastic OB/OS trading robot |
True, it might not be possible due to licencing. The first libray is GPLed as well. |
|
| Author: | SteveHopwood [ Mon Jan 09, 2012 10:45 pm ] |
| Post subject: | Re: Gday: a D1 Stochastic OB/OS trading robot |
And he isn't. So far as I am aware, the existing code isn't bust so I have no intention of fixing it. If I am wrong and it is in fact bust, then someone please post a fix that is easily applied. I am not interested in completely replacing existing code with something different. |
|
| Author: | markft [ Mon Jan 09, 2012 10:56 pm ] |
| Post subject: | Re: Gday: a D1 Stochastic OB/OS trading robot |
No problem, this was a suggestion to easily implement the temporary vs permanent errors idea. Not sure if an error retry is required. Recalculate at next tick logic should also do the trick you would think. |
|
| Author: | Rapheal [ Wed Jan 11, 2012 5:20 am ] |
| Post subject: | Re: Gday: a D1 Stochastic OB/OS trading robot |
Dear all, What is 'semi-auto"? How to make it work? Does it mean after I enable the EA, I need to choose "buy/sell" manually in the EA ? thank you |
|
| Author: | fxozgirl [ Wed Jan 11, 2012 6:31 am ] |
| Post subject: | Re: Gday: a D1 Stochastic OB/OS trading robot |
Hi Raphael, Semi Auto means you need to attach the ea to the chart when you have identified a potential trade set up. This allows you to visually confirm the signal before trading. I personally prefer this method as I like to make sure stoch signal is clearly confirmed at the open of the candle, I also take into consideration the angle of the signal as well before trading. eg. If stoch signal has crossed over ob/os but is running fairly flat, it would still trigger a trade with the auto ea, however I would probably give it another day to make sure price is definitely starting to trend and not just ranging. |
|
| Author: | Gamma_gallus [ Wed Jan 11, 2012 3:36 pm ] |
| Post subject: | Re: Gday: a D1 Stochastic OB/OS trading robot |
I just wonder how much is the impact of using different brokers / Time zones on this EA (since it takes a position on the open of a new candle) ex. : broker [GMT - 5h] gets a valid signal on EU today, but on a different broker [GMT +2] no more valid signal on the open of the new candle.. Results may be completly random !? (so not worth comparing them) Anyway i like the simplicity of this system, thanks a lot Fxozgirl ! Gamma |
|
| Author: | DING [ Wed Jan 11, 2012 4:25 pm ] |
| Post subject: | Re: Gday: a D1 Stochastic OB/OS trading robot |
Hello Gamma, what is the difference between Gday and your myfxbook Gfay_RevisedV_P10 ? your Gfay_RevisedV_P10 performance seems better than Gday ! |
|
| All times are UTC | Page 30 of 71 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|