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 5 of 13
Author:  Fmfx [ Mon Feb 06, 2012 3:00 pm ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

Test for †ђξ last eight months on Hourly chart

Edit: these set files A̶̲̥̅̊rε̲̣̣̣̥ for GMT+2 crim.
Author:  Fmfx [ Mon Feb 06, 2012 3:04 pm ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

I can't seem to get †ђξ martingale feature working, №† even †ђξ trend detectors available in †ђξ bot. Has anyone tried it and it works?

Regards
Author:  webregs [ Mon Feb 06, 2012 10:51 pm ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

Have been running the latest EA on demo the last few days and I'm getting the following errors:

20:35:08 Fmfx auto-trading EA EURUSD,M15: modify #12622655 buy 0.01 EURUSD at 1.31430 sl: 1.31530 tp: 1.32030 ok
20:35:08 stdlib EURUSD,M15: loaded successfully

20:35:08 Fmfx auto-trading EA EURUSD,M15: Alert: 12622655 stop loss modification failed with error(1): no error
20:35:08 Fmfx auto-trading EA EURUSD,M15: 12622655 stop loss modification failed with error(1): no error


The first two messages (in blue) show a successful first modify but the last two msgs (in red) occur repeatedly after until the pair trade is closed out.

These have occured on GBPAUD, NZDUSD & EURUSD and presumably would occur on other pairs if traded.

I've run this in parallel across two accounts (AxiTrader and Bully Pepperstone - both in AU) with the same results.

The MQL4 Documentation states that "If unchanged values are passed as the function parameters, the error 1 (ERR_NO_RESULT) will be generated" which suggests the EA is trying to set the SL and/or TP to a value that it already is.

Can anyone shed any light on this as the coding is beyond me (I'm new to EA's).

thanks
webby
Author:  Fmfx [ Mon Feb 06, 2012 11:02 pm ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

I am also getting †ђξ same error message on alpari nz. I don't know what could ßε̲̣ causing it.
Author:  SteveHopwood [ Tue Feb 07, 2012 12:14 am ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

webregs wrote:Have been running the latest EA on demo the last few days and I'm getting the following errors:

20:35:08 Fmfx auto-trading EA EURUSD,M15: modify #12622655 buy 0.01 EURUSD at 1.31430 sl: 1.31530 tp: 1.32030 ok
20:35:08 stdlib EURUSD,M15: loaded successfully

20:35:08 Fmfx auto-trading EA EURUSD,M15: Alert: 12622655 stop loss modification failed with error(1): no error
20:35:08 Fmfx auto-trading EA EURUSD,M15: 12622655 stop loss modification failed with error(1): no error


The first two messages (in blue) show a successful first modify but the last two msgs (in red) occur repeatedly after until the pair trade is closed out.

These have occured on GBPAUD, NZDUSD & EURUSD and presumably would occur on other pairs if traded.

I've run this in parallel across two accounts (AxiTrader and Bully Pepperstone - both in AU) with the same results.

The MQL4 Documentation states that "If unchanged values are passed as the function parameters, the error 1 (ERR_NO_RESULT) will be generated" which suggests the EA is trying to set the SL and/or TP to a value that it already is.

Can anyone shed any light on this as the coding is beyond me (I'm new to EA's).

thanks
webby
Looking at the code, I see a conditional in the jumping stop sell code that is missing from the buy code.

Was the trade in question a buy or a sell?

:D
Author:  webregs [ Tue Feb 07, 2012 12:48 am ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

SteveHopwood wrote:
webregs wrote:Have been running the latest EA on demo the last few days and I'm getting the following errors:

20:35:08 Fmfx auto-trading EA EURUSD,M15: modify #12622655 buy 0.01 EURUSD at 1.31430 sl: 1.31530 tp: 1.32030 ok
20:35:08 stdlib EURUSD,M15: loaded successfully

20:35:08 Fmfx auto-trading EA EURUSD,M15: Alert: 12622655 stop loss modification failed with error(1): no error
20:35:08 Fmfx auto-trading EA EURUSD,M15: 12622655 stop loss modification failed with error(1): no error


The first two messages (in blue) show a successful first modify but the last two msgs (in red) occur repeatedly after until the pair trade is closed out.

These have occured on GBPAUD, NZDUSD & EURUSD and presumably would occur on other pairs if traded.

I've run this in parallel across two accounts (AxiTrader and Bully Pepperstone - both in AU) with the same results.

The MQL4 Documentation states that "If unchanged values are passed as the function parameters, the error 1 (ERR_NO_RESULT) will be generated" which suggests the EA is trying to set the SL and/or TP to a value that it already is.

Can anyone shed any light on this as the coding is beyond me (I'm new to EA's).

thanks
webby
Looking at the code, I see a conditional in the jumping stop sell code that is missing from the buy code.

Was the trade in question a buy or a sell?

:D
It was a BUY but this error also occurs on a SELL trade. See GBPAUD below which shows TWO successful modifies after the SELL and then all subsequent modifies fail.

00:30:01 Fmfx auto-trading EA GBPAUD,M15: open #12632312 sell 0.01 GBPAUD at 1.47427 ok
00:30:01 Fmfx auto-trading EA GBPAUD,M15: modify #12632312 sell 0.01 GBPAUD at 1.47427 sl: 1.47808 tp: 1.46858 ok

<snip>
00:51:00 Fmfx auto-trading EA GBPAUD,M15: modify #12632312 sell 0.01 GBPAUD at 1.47427 sl: 1.47327 tp: 1.46858 ok
00:51:00 stdlib GBPAUD,M15: loaded successfully
00:51:00 Fmfx auto-trading EA GBPAUD,M15: Alert: 12632312 stop loss modification failed with error(1): no error
00:51:00 Fmfx auto-trading EA GBPAUD,M15: 12632312 stop loss modification failed with error(1): no error
Author:  SteveHopwood [ Tue Feb 07, 2012 12:55 am ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

Ah well. The fault may be in the code. It may be in Empty4.

Either way, I am not going to beat myself up over it. If the actual stop loss managed by the actual bot is working ok, then I do not care too much about what is in the journal/experts tab. I never look at them.

I have not experienced the problem. It is quite hard to solve a problem that has not yet occurred. If it occurs on my demo, then I shall solve it. If not, I shall ignore it. I suggest you do the same.

:D
Author:  webregs [ Tue Feb 07, 2012 1:08 am ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

SteveHopwood wrote:Ah well. The fault may be in the code. It may be in Empty4.

Either way, I am not going to beat myself up over it. If the actual stop loss managed by the actual bot is working ok, then I do not care too much about what is in the journal/experts tab. I never look at them.

I have not experienced the problem. It is quite hard to solve a problem that has not yet occurred. If it occurs on my demo, then I shall solve it. If not, I shall ignore it. I suggest you do the same.

:D
Hmm, I hadn't considered it might be still working despite the error :|
Author:  webregs [ Tue Feb 07, 2012 6:09 am ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

A few hours ago there was a big move by AUD pairs resulting from the RBA decision to not move interest rates.

Fmfx EA opened a buy trade on the GBPAUD pair:
fmfx-gbpaud.gif
but it didn't open trades for the AUDUSD or the EURAUD pairs. I've looked and can't see any obvious pair trades limits in the script - any ideas why it missed these? :?
fmfx-audusd.gif
fmfx-euraud.gif
[Edit]

The same thing happened with EURUSD as well. Got a Sidus UP arrow but no trade entered.
fmfx-eurusd.gif
Author:  wynkins [ Tue Feb 07, 2012 8:47 am ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

webregs wrote:A few hours ago there was a big move by AUD pairs resulting from the RBA decision to not move interest rates.

Fmfx EA opened a buy trade on the GBPAUD pair:
fmfx-gbpaud.gif
but it didn't open trades for the AUDUSD or the EURAUD pairs. I've looked and can't see any obvious pair trades limits in the script - any ideas why it missed these? :?
fmfx-audusd.gif
fmfx-euraud.gif
[Edit]

The same thing happened with EURUSD as well. Got a Sidus UP arrow but no trade entered.
fmfx-eurusd.gif

I had the same issue; everything lined up for a trade across a number of AUD pairs, but no trade taken. My journal shows alot of activity at the time of the big price move, with a very long list of "old tick" errors returned. Am I right in assuming that those errors indicate that the trades failed because of slippage/requotes in a fast moving market?
All times are UTC Page 5 of 13