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

Nanningbob 10.1 The EA is here
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=128
Page 7 of 25
Author:  SteveHopwood [ Thu Dec 08, 2011 7:10 pm ]
Post subject:  Re: Nanningbob 10.1 The EA is here

Dewey McG wrote:I am excited about this one's potential. I already have it on a demo account and will start doing some back testing as soon as I get some time.
Have fun.

:D
Author:  blazko [ Thu Dec 08, 2011 7:14 pm ]
Post subject:  Re: Nanningbob 10.1 The EA is here

Steve,
im getting SL modification errors "2011.12.08 20:12:17 The Incomparable Bob GBPUSDm,H1: 104474806 stop loss modification failed with error(1): no error" - weird?
Im testing on Cowboy IBFX US.
Author:  SteveHopwood [ Thu Dec 08, 2011 7:23 pm ]
Post subject:  Re: Nanningbob 10.1 The EA is here

blazko wrote:Steve,
im getting SL modification errors "2011.12.08 20:12:17 The Incomparable Bob GBPUSDm,H1: 104474806 stop loss modification failed with error(1): no error" - weird?
Im testing on Cowboy IBFX US.
Do you know if the trade was in profit at the time, and TIB trying to modify the stop loss?

:D
Author:  blazko [ Thu Dec 08, 2011 7:36 pm ]
Post subject:  Re: Nanningbob 10.1 The EA is here

yes it was in profit.
I moved all the settings to match 1H TF to make it trade more often and see how it actually works. Probably it was the moment when candletrailingstop was trying to hit...
Author:  gaheitman [ Thu Dec 08, 2011 9:33 pm ]
Post subject:  Re: Nanningbob 10.1 The EA is here

SteveHopwood wrote:
blazko wrote:Steve,
im getting SL modification errors "2011.12.08 20:12:17 The Incomparable Bob GBPUSDm,H1: 104474806 stop loss modification failed with error(1): no error" - weird?
Im testing on Cowboy IBFX US.
Do you know if the trade was in profit at the time, and TIB trying to modify the stop loss?

:D
Steve,

What if you change the code in the various Stop Loss Adjustment Routines (SLARs :) ) so that before you set modify to true, you actually do a test to make sure it will more the SL by a point or more. Like this for buys:

Code: Select all

if (NewStop-OrderStopLoss()>=Point)
   modify = true;   
and sells:

Code: Select all

if (OrderStopLoss()-NewStop>=Point || OrderStopLoss() == 0)
   modify = true;   
It looks like it should work for all the routines and should eliminate some of the messages. I think it will also allow for combining stop methods that might otherwise conflict, since they would only move SLs closer.

George
Author:  SteveHopwood [ Thu Dec 08, 2011 9:54 pm ]
Post subject:  Re: Nanningbob 10.1 The EA is here

Stunning yet again George. Thanks.

Instantly adopted into the post 1 update, and about to be added to the shell.

:D
Author:  blazko [ Thu Dec 08, 2011 10:20 pm ]
Post subject:  Re: Nanningbob 10.1 The EA is here

SteveHopwood wrote:Stunning yet again George. Thanks.

Instantly adopted into the post 1 update, and about to be added to the shell.

:D

and a recent buy on usdcad just got its SL modified on 1h tf :)
thank you
Author:  SteveHopwood [ Thu Dec 08, 2011 10:27 pm ]
Post subject:  Re: Nanningbob 10.1 The EA is here

blazko wrote:
SteveHopwood wrote:Stunning yet again George. Thanks.

Instantly adopted into the post 1 update, and about to be added to the shell.

:D

and a recent buy on usdcad just got its SL modified on 1h tf :)
thank you
Hehe. Thank George not me. G is gradually dragging my programming into the late 1990's. :lol:
Author:  gaheitman [ Thu Dec 08, 2011 11:12 pm ]
Post subject:  Re: Nanningbob 10.1 The EA is here

SteveHopwood wrote:
blazko wrote:
SteveHopwood wrote:Stunning yet again George. Thanks.

Instantly adopted into the post 1 update, and about to be added to the shell.

:D

and a recent buy on usdcad just got its SL modified on 1h tf :)
thank you
Hehe. Thank George not me. G is gradually dragging my programming into the late 1990's. :lol:
We should skip the late 1990's so that we don't have to get hysterical about the pending doom from the y2k bugs. :D
Author:  SteveHopwood [ Thu Dec 08, 2011 11:24 pm ]
Post subject:  Re: Nanningbob 10.1 The EA is here

That was funny, wan't it? My wife and I sat waiting for the clock to tick over to 2000 and for the electricity to go off, the bank steal all our money (again) and planes to fall out of the sky all over the place.

The lack of event was almost disappointing.

Hey, this reminds me. Back in the 1980's, when I was battling to make my BBC 'B' comp do anything in BBC Basic, I had this little card on the wall next to the machine:
"Everyone can make mistakes.
This fact is true indeed.
But, to really screw things up
A computer's what you need."

:D
All times are UTC Page 7 of 25