Dibs method auto trading robot by Steve Hopwood MOD

Post Reply
Dennis4x
Trader
Posts: 16
Joined: Wed Feb 22, 2012 2:27 pm

Re: Dibs method auto trading robot by Steve Hopwood MOD

Post by Dennis4x »

There is only one reason why it's on the screen.
StopTrading was set to true. Should be false.
Dennis4x
Trader
Posts: 16
Joined: Wed Feb 22, 2012 2:27 pm

Re: Dibs method auto trading robot by Steve Hopwood MOD

Post by Dennis4x »

I think this is what happened. You edited the .mq4 file while the EA was turned on. This is a bad idea as the EA will revert to default settings without you realizing it. You will find your lots, and other settings reset to the default by the EA. ;)
Next time, close the EA before you compile and then open it again after. :)
fx800
Trader
Posts: 1334
Joined: Sun Dec 04, 2011 4:11 am

Re: Dibs method auto trading robot by Steve Hopwood MOD

Post by fx800 »

Dennis4x wrote:I think this is what happened. You edited the .mq4 file while the EA was turned on. This is a bad idea as the EA will revert to default settings without you realizing it. You will find your lots, and other settings reset to the default by the EA. ;)
Next time, close the EA before you compile and then open it again after. :)
Dennis4x

You are absolutely right. I wonder how I didn't spot it. I went through the ea input several times last night looking for some silly mistakes like that when Jjgengis PM me asking if my ea was trading.

I shall correct the ea input and UPDATE IN POST 1.

Thank you very much again for your help.

Regards
Peter.
Dennis4x
Trader
Posts: 16
Joined: Wed Feb 22, 2012 2:27 pm

Re: Dibs method auto trading robot by Steve Hopwood MOD

Post by Dennis4x »

Hi Peter,
You don't have to correct the MQ4 file. It should be set to true in your MQ4 file, but set to false in your settings. Otherwise, it will not be able to catch your EA when it accidentally reverted its settings.
This may not be easy to understand but once you have this happen to you a couple of times, a light bulb will be turned on. ;)
fx800
Trader
Posts: 1334
Joined: Sun Dec 04, 2011 4:11 am

Re: Dibs method auto trading robot by Steve Hopwood MOD

Post by fx800 »

Dennis4x wrote:Hi Peter,
You don't have to correct the MQ4 file. It should be set to true in your MQ4 file, but set to false in your settings. Otherwise, it will not be able to catch your EA when it accidentally reverted its settings.
This may not be easy to understand but once you have this happen to you a couple of times, a light bulb will be turned on. ;)

Hi Dennis4x

I have just set the stop trading to false and compiled it, like many other ea's in the forum. Many people will just load the ea onto the charts and missed the stop trading input and then wondered why the ea is not trading. I have come across it in the FF in the past.

I haven't changed the code.

Regards
Peter
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Dibs method auto trading robot by Steve Hopwood MOD

Post by SteveHopwood »

Ehup Guys.

Sorry I was a bit grumpy the other night. Great to see you helping each other out.

I have moved this thread to the Automated section, so it does not get buried in the Dummies section. fx800, if you object, then I can move it back again.

:D
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
fx800
Trader
Posts: 1334
Joined: Sun Dec 04, 2011 4:11 am

Re: Dibs method auto trading robot by Steve Hopwood MOD

Post by fx800 »

SteveHopwood wrote:Ehup Guys.

Sorry I was a bit grumpy the other night. Great to see you helping each other out.

I have moved this thread to the Automated section, so it does not get buried in the Dummies section. fx800, if you object, then I can move it back again.

:D

No apology needed, Steve. I trust in your judgement that by moving it to the Automatic trading section would help to improve participation by other members and thus help to improve this ea further.

This bot has a sound trading logic and I can see no reason why we can't make it to trade profitably.

Besides, Dennis4x has very kindly offered his expertise and I sincerely hope other members would chip in too.

Peter
Last edited by Anonymous on Fri Apr 20, 2012 12:26 am, edited 1 time in total.
fx800
Trader
Posts: 1334
Joined: Sun Dec 04, 2011 4:11 am

Re: Dibs method auto trading robot by Steve Hopwood MOD

Post by fx800 »

On another matter, since changing the stop trading input to false yesterday evening, the ea has sent one pending order on H4 TF.

There has been no trade setups for the H1 demo, so I am waiting to see if any po when there is one.

Peter
fx800
Trader
Posts: 1334
Joined: Sun Dec 04, 2011 4:11 am

Re: Dibs method auto trading robot by Steve Hopwood MOD

Post by fx800 »

Hi Dennis4x

I just received a PM from Jjgengis regarding a coding error in his suggested fix earlier :

I found an error on my modify.....
Say 0.0002 or 20*points isn't the same thing. Because on pairs with jpy , you never have 4 decimal numbers.

So, the modify is this:

at the end of "-Trade management module-" put this row:
CODE: SELECT ALL
extern int AvoidStopLevel=2;



At the and of the list of variablexxxx *= multiplier you put this row:
CODE: SELECT ALL
AvoidStopLevel*= multiplier;



and in place of 0.0002 you put: AvoidStopLevel * Point

Would you be kind enough to cast an eye on the above amendment before I incorporate it into the ea in post 1.

Thanks.

Peter

P.S. I am leaving any offer of code fixes in your safe pair of hands unless they are from regular contributors in Steve’s forum because I do not wish to inadvertently introduce bugs into the ea.
Last edited by Anonymous on Fri Apr 20, 2012 5:15 am, edited 1 time in total.
fx800
Trader
Posts: 1334
Joined: Sun Dec 04, 2011 4:11 am

Re: Dibs method auto trading robot by Steve Hopwood MOD

Post by fx800 »

Post deleted.
Last edited by Anonymous on Thu Apr 26, 2012 7:07 pm, edited 1 time in total.
Post Reply

Return to “Automated trading systems”