Was there any output in the Experts or Journal tabs of the terminal?I have run EAs before and never had any problem but with this one
(Adjustable_MA) I am not getting any trades. I put it on a 1 minute
eur/usd chart (MT4) and left all setting at default except I made
Period 1 a value of 2, Period 2 a value of 1, and MA Method a value of 0. I made sure the allow live trading was checked and yes the platform is green for
expert advisors (even have the little smily face). So why am I not
getting any trades? Please respond to my e-mail email@example.com.
And that output from Experts and Journal tabs is after you've waited for several hours, right?I let it run for several hours.
I did your suggested strategy test although I don't understand how this helps with not issuing any trades during live trading
I had discovered earlier that I get no results when the 'min diff' parameter is 3 so I changed it to 0 (I also have it at 0 with the live trading).
In both cases I did look at the 'open chart' and discovered that shorts / sells seemed to be good but that longs / buys had 10 pips added to the entry price; i.e. sells were the open price of the bar immediately after the cross but the buys were the open price of the bar immediately after the cross PLUS 10 PIPS. Of course this made the results all negative.
1) min diff seem to have a negative effect on the operation.
2) Placing longs / buys seems to ha a significant error in the process.
3) The EA seems to have a fatal problem in that it accepts trades even if the market price really does not hit the order price.
The ST run was using a M1 period, use dates of 2011.05.09 to 2011.05.13, total trades was 2,820. And yes the min diff was 0 in the ST and when live.
The 10 pips added on to the buys were standard not fractional. If this is a ST issue shouldn't you see the same thing?
Try turning off SL and TP completely (set them to 0) and see if that helps.I left everything at default levels except I upped the lot size to 1 full lot and I did change the MA periods to 2 and 1 and changed min diff to 0. I did get a 130 following all send operations. How can this be?
Thanks for the suggestion to 0 the sl and 0 the tp - THAT WORKED even with a lot size of .01. But it has to be a min diff of 0. Strange, I am almost positive I tried the 0 of sl and tp before but I think what I have discovered is that any time you want to make those changes to the ea that you have to remove it and then reload it with the desired settings as if it were a new ea being added to the chart.
Now if only it was coded to add the sl and tp using a modify order I could get those in as well.
Adjustable MA EA was updated to new version - optional adjustable money management was added. Now you can set how many lots will it trade depending on the available free margin on the account. Pyramiding at its best!
Both MT4 and MT5 versions of the expert advisor got that update.