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

Fmfx auto-trader. Another new toy by Steve Hopwood
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=318
Page 8 of 13
Author:  Fmfx [ Wed Feb 15, 2012 10:17 am ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

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
Author:  Fmfx [ Wed Feb 15, 2012 4:24 pm ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

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
Author:  lucklogic [ Wed Feb 15, 2012 5:18 pm ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

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
Author:  Fmfx [ Wed Feb 15, 2012 5:33 pm ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

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
Author:  lucklogic [ Wed Feb 15, 2012 6:42 pm ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

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 ???
Author:  Fmfx [ Wed Feb 15, 2012 6:54 pm ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

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
Author:  mbkennel [ Wed Feb 15, 2012 7:36 pm ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

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.
Author:  Fmfx [ Wed Feb 15, 2012 7:56 pm ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

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
Author:  kwchau [ Thu Feb 16, 2012 2:03 am ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

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 ?
Author:  lucklogic [ Thu Feb 16, 2012 6:06 pm ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

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
All times are UTC Page 8 of 13