| 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 43 of 71 |
| Author: | garyfritz [ Mon Apr 30, 2012 3:41 pm ] |
| Post subject: | Re: Gday: a D1 Stochastic OB/OS trading robot |
I assume you have your Lot input set properly for your crim? What's your Lotsize and Criminal's minimum lot size? |
|
| Author: | spotdespot [ Mon Apr 30, 2012 3:50 pm ] |
| Post subject: | Re: Gday: a D1 Stochastic OB/OS trading robot |
I'm guessing your original trade size isn't divisible by 3. |
|
| Author: | spyderman [ Mon Apr 30, 2012 4:05 pm ] |
| Post subject: | Re: Gday: a D1 Stochastic OB/OS trading robot |
Bingo |
|
| Author: | kelisa [ Tue May 01, 2012 2:25 am ] |
| Post subject: | Re: Gday: a D1 Stochastic OB/OS trading robot |
Invalid trade volume could mean, maybe lot size set was not accepted or balance equity not enough. |
|
| Author: | fxozgirl [ Tue May 01, 2012 7:22 am ] |
| Post subject: | Re: Gday: a D1 Stochastic OB/OS trading robot |
Pete, you can't...the EA is set up to close the trades in multiples of 3! The idea is to lock in some early profit and secure your trade by moving your stop to BE, and letting the rest of the trade run, closing the 2nd part at 100 pips, and the third part at either a Jumping Stop or full take profit. |
|
| Author: | fxozgirl [ Tue May 01, 2012 7:35 am ] |
| Post subject: | Re: Gday: a D1 Stochastic OB/OS trading robot |
Kenboi.....Yes, this is a Daily strategy, so please don't expect trades every day (even if you have the EA on all pairs). Notwithstanding the few trades taken, it's quite easy for this EA to rack up 500 and more pips a month, so lots of trades are not necessary. Gary, your summary is for the entry logic is correct and according to my charts, there should have been an entry on AUDCHF, CHFJPY, EURJPY (these trades are already well into profit), EURAUD wasn't a valid signal for me, GBPAUD was a valid trade however it looks like it is going to close on the cross of the stoch. |
|
| Author: | fxozgirl [ Tue May 01, 2012 7:57 am ] |
| Post subject: | Re: Gday: a D1 Stochastic OB/OS trading robot |
Hi Kenboi, I'm glad the EA has finally taken some trades for you... The EA waits until the close of the candle to see if the criteria for trading has been met. Looking at the euraud chart you posted, the candle before the trade was taken had not crossed below the 75 level, so no trade was taken. You might find it helpful to draw another line on your stoch for the 75/25 levels...just for the visual. |
|
| Author: | fxozgirl [ Tue May 01, 2012 8:28 am ] |
| Post subject: | Re: Gday: a D1 Stochastic OB/OS trading robot |
This is something I mentioned in a post a while back, in regards to me changing the stoch levels to 75/25. the original settings, waited for the stoch to travel above 80 or below 20 and then waited for both the stoch & signal lines to move back below 80 & above 20, obviously with the new settings of 75/25 the same function occurs (albeit at the 75 & 25 levels.) What I would like to do is have the stoch & signal lines still move above 80 & below 20, but not take the trade until they then cross back below 75 or above 25. I'm not sure if this is possible to code this or if there is even any coders following this thread, but would appreciate it if anyone knows if this is possible. |
|
| Author: | garyfritz [ Tue May 01, 2012 4:13 pm ] |
| Post subject: | Re: Gday: a D1 Stochastic OB/OS trading robot |
It's certainly possible. That's the way I've coded my Tradestation test. The EA currently looks at "if (PrevStochSignal >= OverBought && StochSignal < OverBought)". That won't work for a > 80 < 75 entry, because you can't guarantee you'll go from > 80 to < 75 in one bar. You have to remember that you've gone > 80, then wait until you go < 75 to enter. Steve's the better one to do that to the EA since he wrote it, but if he's too swamped to come back and make that change, let me know and I'll try to work it out. |
|
| Author: | youcrazykids [ Tue May 01, 2012 5:08 pm ] |
| Post subject: | Re: Gday: a D1 Stochastic OB/OS trading robot |
Hey there For the ">80 then <75" sequence and vice versa, I use a "latch" (as I call it). It goes something like: Code: Select all youcrazykids |
|
| All times are UTC | Page 43 of 71 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|