Fmfx auto-trader. Another new toy by Steve Hopwood

Post Reply
Fmfx
Trader
Posts: 264
Joined: Sun Dec 18, 2011 10:37 am
Location: West Africa

Re: Fmfx auto-trader. Another new toy by Steve Hopwood

Post by Fmfx »

kwchau wrote:One thing, using this set file, it only takes buy trades only. How could I make it taking short trades. Otherwise the test is invalid.
The current set file will take short and long trades.

Regards
N☺̴̩̩̥̩̩̩ Ri$k. N☺̴̩̩̥̩̩̩ я̩̥̊Ƹwªrd
Fmfx
Trader
Posts: 264
Joined: Sun Dec 18, 2011 10:37 am
Location: West Africa

Re: Fmfx auto-trader. Another new toy by Steve Hopwood

Post by Fmfx »

kwchau wrote:One thing, using this set file, it only takes buy trades only. How could I make it taking short trades. Otherwise the test is invalid.
Here is a sell trade taken, but for euraud set
You do not have the required permissions to view the files attached to this post.
N☺̴̩̩̥̩̩̩ Ri$k. N☺̴̩̩̥̩̩̩ я̩̥̊Ƹwªrd
User avatar
lucklogic
Trader
Posts: 85
Joined: Mon Jan 23, 2012 6:26 pm
Location: On The Hoe in Plymouth, UK

Re: Fmfx auto-trader. Another new toy by Steve Hopwood

Post by lucklogic »

Hi,

I'm sorry to bring up the thorny subject of multiple opening orders then immediate closing when back testing - so all of the money is quickly consumed

I have tried the script ForceLoadHistoricalData.mq4 but this does not improve my situation

Could someone please explain how this is overcome ???

How
Fmfx
Trader
Posts: 264
Joined: Sun Dec 18, 2011 10:37 am
Location: West Africa

Re: Fmfx auto-trader. Another new toy by Steve Hopwood

Post by Fmfx »

lucklogic wrote:Hi,

I'm sorry to bring up the thorny subject of multiple opening orders then immediate closing when back testing - so all of the money is quickly consumed

I have tried the script ForceLoadHistoricalData.mq4 but this does not improve my situation

Could someone please explain how this is overcome ???

How

Hello

Try using the set file i posted and then modify to your taste, if that doesn't fix it then try using another criminal platform.

Regards
N☺̴̩̩̥̩̩̩ Ri$k. N☺̴̩̩̥̩̩̩ я̩̥̊Ƹwªrd
User avatar
lucklogic
Trader
Posts: 85
Joined: Mon Jan 23, 2012 6:26 pm
Location: On The Hoe in Plymouth, UK

Re: Fmfx auto-trader. Another new toy by Steve Hopwood

Post by lucklogic »

Fmfx wrote:
lucklogic wrote:Hi,

I'm sorry to bring up the thorny subject of multiple opening orders then immediate closing when back testing - so all of the money is quickly consumed

I have tried the script ForceLoadHistoricalData.mq4 but this does not improve my situation

Could someone please explain how this is overcome ???

How

Hello

Try using the set file i posted and then modify to your taste, if that doesn't fix it then try using another criminal platform.

Regards
Using your set file and Bully Pepperstone broker - but same multiple open/close - why why why ???
Fmfx
Trader
Posts: 264
Joined: Sun Dec 18, 2011 10:37 am
Location: West Africa

Re: Fmfx auto-trader. Another new toy by Steve Hopwood

Post by Fmfx »

lucklogic wrote:
Fmfx wrote:
lucklogic wrote:Hi,

I'm sorry to bring up the thorny subject of multiple opening orders then immediate closing when back testing - so all of the money is quickly consumed

I have tried the script ForceLoadHistoricalData.mq4 but this does not improve my situation

Could someone please explain how this is overcome ???

How

Hello

Try using the set file i posted and then modify to your taste, if that doesn't fix it then try using another criminal platform.

Regards
Using your set file and Bully Pepperstone criminal - but same multiple open/close - why why why ???
Can you post the tester result?

Regards
N☺̴̩̩̥̩̩̩ Ri$k. N☺̴̩̩̥̩̩̩ я̩̥̊Ƹwªrd
mbkennel
Trader
Posts: 29
Joined: Tue Dec 20, 2011 5:40 am

Re: Fmfx auto-trader. Another new toy by Steve Hopwood

Post by mbkennel »

I don't know about this EA specifically but the usual cause of this class of bug (other than the Empty4 history bug which Steve's shell code works around), is that the conditions for 'Open A Trade' and 'Close A Trade' are active simultaneously.

The EA code goes to LookForTradingOpportunities() finds, one, does it, and then the close is true.

This means that in the LookForTradingOpportunities() you have to make sure the condition to close isn't true when you want to open. That's the easy part.

This still isn't enough always, because the conditions can change within a single bar if you're on the edge. If that's the case, then you have to check when you close that the trade you're trying to close wasn't opened on the same bar (what timeframe depends on the timeframe used in the indicators/statistics to choose the trade in the first place).

As Malibu Barbie says, "Programming class is hard!"

by the way, you need sidus_v3 indicator, check that too. I don't have a link to it, and it's not on 1st post.
"It is a capital mistake to theorize before one has data." Sir Arthur Conan Doyle.
"If your experiment needs statistics, you ought to have done a better experiment" Lord Rutherford.
Fmfx
Trader
Posts: 264
Joined: Sun Dec 18, 2011 10:37 am
Location: West Africa

Re: Fmfx auto-trader. Another new toy by Steve Hopwood

Post by Fmfx »

mbkennel wrote: by the way, you need sidus_v3 indicator, check that too. I don't have a link to it, and it's not on 1st post.
The indicator can be found here
http://www.stevehopwoodforex.com/phpBB3 ... f=12&t=314
N☺̴̩̩̥̩̩̩ Ri$k. N☺̴̩̩̥̩̩̩ я̩̥̊Ƹwªrd
kwchau
Trader
Posts: 305
Joined: Tue Jan 03, 2012 3:37 pm

Re: Fmfx auto-trader. Another new toy by Steve Hopwood

Post by kwchau »

lucklogic wrote:Hi,

I'm sorry to bring up the thorny subject of multiple opening orders then immediate closing when back testing - so all of the money is quickly consumed

I have tried the script ForceLoadHistoricalData.mq4 but this does not improve my situation

Could someone please explain how this is overcome ???

How
You missed the sidu indicator. I fell into the same trap as you initially. Copy the indicator to your expert/indcator folder, problem solved.

My problem now is that using Fmfx set file, I could not make it to take sell trades but Fmfx could, I don't know why ?
User avatar
lucklogic
Trader
Posts: 85
Joined: Mon Jan 23, 2012 6:26 pm
Location: On The Hoe in Plymouth, UK

Re: Fmfx auto-trader. Another new toy by Steve Hopwood

Post by lucklogic »

Fmfx wrote:
mbkennel wrote: by the way, you need sidus_v3 indicator, check that too. I don't have a link to it, and it's not on 1st post.
The indicator can be found here
http://www.stevehopwoodforex.com/phpBB3 ... f=12&t=314


Thank you, that's very kind of you but I had already installed the indicator
Post Reply

Return to “Automated trading systems”