stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Once a Day 'n Bob
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3817
Page 3 of 10
Author:  magft [ Thu Sep 04, 2014 10:30 pm ]
Post subject:  Once a Day 'n Bob

Not that I know of.

:xm:[/quote]

Hmmm... I know there was some offline chart thing. I will dig around and find it.[/quote]

I think you are thinking of Basket6 indy by Pat. Or maybe one of the others on FF. I do have a copy but not on pc at mo. If no joy i'll dig out a copy tomorrow.

So how do you propose to use the indicator?

Regards

Mike
Author:  SteveHopwood [ Thu Sep 04, 2014 10:59 pm ]
Post subject:  Once a Day 'n Bob

My account took a beating today after the Euro news sent the markets into a spike. It will be good to see if OAD can make up the lost ground next week.

:xm:
Author:  Cubic [ Fri Sep 05, 2014 7:35 am ]
Post subject:  Once a Day 'n Bob

Hmmm... I know there was some offline chart thing. I will dig around and find it.
A couple are here: http://www.forexfactory.com/showthread.php?t=277193

..this points to another one for build 610 or later: http://www.forexfactory.com/showthread. ... ost7401674

A number of variations are in this thread: http://www.forexfactory.com/showthread.php?t=391229
Author:  SteveHopwood [ Fri Sep 05, 2014 7:38 am ]
Post subject:  Once a Day 'n Bob

I forgot to add a check that the trade opened today, in the history pips calculation function. I have added this to V 1b in post 1.

Make the change yourselves by going to line 841 and inserting this:

Code: Select all

//And that the trade opened today
            int day = TimeDayOfWeek(TimeLocal() );
            if (UseBrokerTime)
               day = TimeDayOfWeek(TimeCurrent() );
            if (TimeDayOfWeek(OrderOpenTime()) != day)
               continue;
               
            
:xm:
Author:  SteveHopwood [ Fri Sep 05, 2014 11:18 am ]
Post subject:  Once a Day 'n Bob

OAD closed my basket at +75 a few minutes ago. I was left with +70 by the time all the trades had closed. Not bad for NFP Friday. :clap:

:xm:
Author:  patmontes [ Fri Sep 05, 2014 2:15 pm ]
Post subject:  Once a Day 'n Bob

SteveHopwood » Fri Sep 05, 2014 11:18 am wrote:OAD closed my basket at +75 a few minutes ago. I was left with +70 by the time all the trades had closed. Not bad for NFP Friday. :clap:

:xm:
Doing good as well for NFP Friday!!! :good:
Author:  SteveHopwood [ Fri Sep 05, 2014 7:12 pm ]
Post subject:  Once a Day 'n Bob

currymonster » Fri Sep 05, 2014 6:50 pm wrote:Awe all my weekly profit gone and more cos the EA is opening and closing trades at daft times, doh!

Hope you can sort the time issue guys that would be cool :)

Have a great weekend everyone :)
There is one possibility. Open the code in your editor and go to line 1236 which currently reads:

Code: Select all

DayTradingStatus = nottradingtoday;
Insert this line of code before 1236:

Code: Select all

if (UseBrokerTime) day = TimeDayOfWeek(TimeCurrent() );
   
The whole three line snippet will look like this:

Code: Select all

   int day = TimeDayOfWeek(TimeLocal() );
   if (UseBrokerTime) day = TimeDayOfWeek(TimeCurrent() );
   DayTradingStatus = nottradingtoday;
Recompile and try again on Monday. If this fixes the problem then great. If not you are stuffed, because the EA works flawlessly on my GP demo platform and it is a tad difficult to fix something that aint broke here.

Let me know if it works next week and I will add a version to post 1 for the code-phobics.

:xm:
Author:  SteveHopwood [ Fri Sep 05, 2014 8:48 pm ]
Post subject:  Once a Day 'n Bob

currymonster » Fri Sep 05, 2014 7:16 pm wrote:I'm using a GP demo too Steve. If you look at the screen shot I posted the other day, the screen info the EA was showing for the local time was completely different to the actual time on my computer. Will have a play with the code this weekend, thanks for the baby tips :)

Have a great weekend Steve and everyone
Well, leaving aside the fact that someone kindly explained the thingy about the time display - did you not bother to read it - in the only screen shot that I can find from you I see a damn great 'ENTROPY TradeBot' thingy in the bottom right of the screen but no time display.

What the blue blazes makes you think that anything can compete with Entropy on a single platform? The damn thing is the biggest resource hog I have met in my foray into the train wreck of retail Forex trading. Last time I loaded the damn thing, which admittedly is a while ago, having it on more than three charts fried my cpu.

And you expect OAD to compete with that?

Right. I am seriously annoyed now.

This bit of post 1 appears to have escaped a lot of our more dimwitted members attention:
  • To trade this robot, you have to understand:
    • How to use EA's.
Not entirely sure which bit of that is causing such a lot of bother.

Now, take this next bit seriously guys, because I am annoyed.

I am about to go back over this thread and remove every single post that has anything to do with any member's inability to tell the time. This one I shall leave as a warning to those who follow.

The next person who whinges that the ea is not opening/closing trades on time gets banned. Sort it out for yourselves. I am sick and tired of having my coding called into question by people with less understanding of all this than would be possessed by a Gerbil. Instead of assuming there is something wrong with my utterly fantastic (and mostly contributed by truly fantastic coders) code - most of which has stood the test of time over and over and over again - work our what you are getting wrong.

Capiche?
Author:  SteveHopwood [ Fri Sep 05, 2014 9:12 pm ]
Post subject:  Once a Day 'n Bob

Hmmmmmm. Having deleted umpteen rubbish or kind-but-rubbish-related posts I see this thread is several pages lighter.

I trust I make myself clear?
Author:  hndymann [ Sat Sep 06, 2014 2:42 am ]
Post subject:  Once a Day 'n Bob

Cubic » Fri Sep 05, 2014 8:35 am wrote:
Hmmm... I know there was some offline chart thing. I will dig around and find it.
A couple are here: http://www.forexfactory.com/showthread.php?t=277193

..this points to another one for build 610 or later: http://www.forexfactory.com/showthread. ... ost7401674

A number of variations are in this thread: http://www.forexfactory.com/showthread.php?t=391229
Excellent, thanks!
All times are UTC Page 3 of 10