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 22 of 71
Author:  SteveHopwood [ Thu Dec 22, 2011 7:04 pm ]
Post subject:  Re: Gday: a D1 Stochastic OB/OS trading robot

gaheitman wrote: Well, I've been infatuated with the bars != Bars logic since I first saw it, but it does seem susceptible to this kind of error. Especially on a brand spankin' new account. Perhaps the safer, less sexy CurrentBarTime != Time[0] is a better bet for this sort of thing.
Let's give it a whirl.

Latest update in post 1, containing a comparison of an OldBarTime with the open time of the current candle.

:D
Author:  SWG123 [ Thu Dec 22, 2011 7:28 pm ]
Post subject:  Re: Gday: a D1 Stochastic OB/OS trading robot

gaheitman wrote:
SteveHopwood wrote:
SWG123 wrote:At least the false trades were profitable :lol:
:lol: :lol: :lol:

The code that separates to two adherence rules is so simple that a child could code it.

I notice that init() in scoobs has a 1 minute sleep time on startup. I have not asked him why; maybe he is giving the platform time to sort out all its wrinkles before unleashing the code.

Never mind exactly how this works if you are not a coder; in outline, this is how Gday stops a trade being sent until the new candle forms:
  • Declare a variable OldBars that is equal to the number of bars on the D1 chart.
    Do not allow a trade until there is a new candle, meaning that OldBars no longer equals the bars on the chart. Therefore a new candle has formed, so the new day has dawned.
Maybe it is possible for the charts to be incorrectly populated, or for it to be possible in some way for the function that counts the bars to return an incorrect result until the EA has got going properly? No idea really. Empty4 is such a turd that anything is possible.

Any takers for a 1 minute sleep on startup? Any other suggestions, George?

:D
Well, I've been infatuated with the bars != Bars logic since I first saw it, but it does seem susceptible to this kind of error. Especially on a brand spankin' new account. Perhaps the safer, less sexy CurrentBarTime != Time[0] is a better bet for this sort of thing.
George, Steve, I have no idea what either of you is talking about so, clearly, Steve's earlier implication that I am an idiot is closer to the truth.

However I can report that since reinstalling there has been no more errant behaviour. I suppose the moral is that sooner or later Empty4 will make fools of us all...

Nunc est bibendum
Author:  fxozgirl [ Thu Dec 22, 2011 8:13 pm ]
Post subject:  Re: Gday: a D1 Stochastic OB/OS trading robot

Good morning....just about ready to go to work, last day for me before Christmas :D but it's going to be a doozy :(

Anyway a quick update, cadjpy & eurjpy are still open with cadjpy secure at be, still waiting for eurjpy to get there (almost did earlier but has slipped back a bit at the moment)

All other trades have closed after retraces to be.

I have attached Gday (semi auto mode, strict rules) to gbpcad & eurchf
Author:  SteveHopwood [ Thu Dec 22, 2011 10:07 pm ]
Post subject:  Re: Gday: a D1 Stochastic OB/OS trading robot

SWG123 wrote:George, Steve, I have no idea what either of you is talking about so, clearly, Steve's earlier implication that I am an idiot is closer to the truth.
Hehe. Oops. Sorry. I promise you I did not intend any such implication.

I tend to be a bit more direct, so any such implication is accidental. You will know if I ever do think you are an idiot. :lol:

:D
Author:  ROBST3R [ Thu Dec 22, 2011 10:35 pm ]
Post subject:  Re: Gday: a D1 Stochastic OB/OS trading robot

have a good last day fxozgirl :D And enjoy your X-mass

I still got 2 trades running from last tuesday! Both the first part are closed!
Free trades for a long time now!

Then i noob question as that i am one!

If i want to play this strategy live with 0.03 lots and i will only open 2 trades at the same time. What is the best start ammount for the best rm mm? Because with a stoploss of 200 And i want to risk 2% of my account for 1 trade hen i have to start with a minimum of 6k$?

Sorry if someone is annoyed by this question!

Thnx in advance!

Greetings from the Netherlands
Author:  alex_forex [ Thu Dec 22, 2011 11:08 pm ]
Post subject:  Re: Gday: a D1 Stochastic OB/OS trading robot

No more trade for me tonight with Alpari UK.

Trading pairs (with garyfritz advice ;) ) :
AUDUSD
CADCHF
EURAUD
EURJPY
GPBUSD
NZDJPY
USDCAD
USDJPY

Regards
Alex
Author:  SteveHopwood [ Thu Dec 22, 2011 11:58 pm ]
Post subject:  Re: Gday: a D1 Stochastic OB/OS trading robot

alex_forex wrote:No more trade for me tonight with Alpari UK.

Trading pairs (with garyfritz advice ;) ) :
AUDUSD
CADCHF
EURAUD
EURJPY
GPBUSD
NZDJPY
USDCAD
USDJPY

Regards
Alex
I am waiting for the new Cowboy IBFX candle in a few minutes time. Live, I stopped trading on Monday, but cannot resist the lure of the demo.

Alex, you might consider demo trading everything in sight like the rest of us, just to see what works for you and what does not. Only a suggestion.

:D
Author:  gaheitman [ Fri Dec 23, 2011 12:16 am ]
Post subject:  Re: Gday: a D1 Stochastic OB/OS trading robot

ROBST3R wrote:have a good last day fxozgirl :D And enjoy your X-mass

I still got 2 trades running from last tuesday! Both the first part are closed!
Free trades for a long time now!

Then i noob question as that i am one!

If i want to play this strategy live with 0.03 lots and i will only open 2 trades at the same time. What is the best start ammount for the best rm mm? Because with a stoploss of 200 And i want to risk 2% of my account for 1 trade hen i have to start with a minimum of 6k$?

Sorry if someone is annoyed by this question!

Thnx in advance!

Greetings from the Netherlands
Yep, $6,000 is the right number. If you are limiting your entries, you might want to make sure you don't trade pairs with high correlation. You'll double your winners, but double your losers as well. I'm not sure if you meant this or not, but since trades can go for several days and be at BE or better for most of the trip, you might want to trade so you only have two trades that are not at BE open at a time.

The 200 pips is a big SL. It would be nice if we can whittle that down a bit.

George
Author:  SteveHopwood [ Fri Dec 23, 2011 12:24 am ]
Post subject:  Re: Gday: a D1 Stochastic OB/OS trading robot

Nope. No more trades for now. That is probably it until January. I will leave the demo open after Christmas, but don't expect much action.

Hey ho

:D
Author:  garyfritz [ Fri Dec 23, 2011 3:41 am ]
Post subject:  Re: Gday: a D1 Stochastic OB/OS trading robot

gaheitman wrote:The 200 pips is a big SL. It would be nice if we can whittle that down a bit.
Yes it is, and yes it would. But with the current entry logic, I don't think we can, at least not for most pairs. There are a few pairs that did well with smaller SLs in my tests. Maybe you could limit your basket to those?

I think the best bet would be to find a way to improve the entry signal. Don't have any brainstorms for that at the mo.
All times are UTC Page 22 of 71