Developing a system #16 (40 pips per trend)
Submitted by User on June 4, 2009 - 04:10.
Submitted by Yantz
Hi Edward!
I have written a small ea that needs some tweaking. perhaps adding some indicators would be good. basically it just wait for the price to move 60 pips then enter for another 40 pips.
Read entire post >>>









hi justin! i started mt4 at abt 0600 ET. up till now i only have 1 gbp/usd buy order at 0709 ET @ 1.63838. i have none for gbp/jpy. looks like the ea is inconsistent.
yantz
I'll post my trades from today in the next post. I live in London and to confuse matters my platform works 1 hr ahead but I'll work it out. Philipp would be useful to see whether you are getting same trades or different ones as well. Would there be any reason for this??
Here are my trades from today. I have written the time triggered in London and ET in brackets. I imagine there will be some slight discrepencies in time and price due to different brokers. I'm hoping you guys have the same trades as me otherwise I'm lost. I know nothing about programming (as you may have gathered from my emails Yantz - lol!) but I'm not sure how an EA can do different things. Surely it can only operate in line with its rules? Can something happen to it when downloading or compiling?? Do some MT4 platforms differ depending on which broker???? (I'm with Alpari UK)
08:46(03:46) eur/usd buy 1.41183 -60
08:47(03:47) gbp/usd buy 1.64005 +40
08:50(03:50) gbp/yen buy 160.175 +40
08:54(03:54) eur/yen buy 137.945 -60
10:00(05:00) usd/chf sell 1.07246 -60
11:31(06:31) gbp/usd buy 1.63848 +40
12:40(07:40) usd/cad sell 1.09652 -60
14:00(09:00) gbp/usd buy 1.63839 +40
14:04(09:04) gbp/yen buy 160.735 -60
Current open position 20:23(15:23) gbp/yen buy 160.415
As you can see I have 3 gbp/usd trades - all buys and aslo 2 gbp/yen trades - both buys. This is on the EA that Yantz posted which had the bug removed so should therotically not allow back to back trades.
I can see how some trades may differ in terms of when they are closed out and whether at profit or loss depending on broker. For example my current open gbp/yen came within 2 pips of the target price before falling back to around entry level. I can well imagine that depending on pricing other brokers may have closed this out at a profit. The same probably applies to stops. There will be times when some brokers would close the position out while others may remain in it. However this is not likely to effect actually whether a trade is triggered apart from the occasional instance when it barely makes the minimum move.
What is added confusion is that I seem to have the gbp/usd trade you mentioned Yantz but the time is all out??
Does everyone have the same trades??
Cheers,
Justin
hi justin! could you paste my latest email to you here because i forgot to check save to sent folder lol. now i cant get back what i wrote to you
yantz
FROM YANTZ
hi justin! i turn on my pc daily from abt 10 am to 3 pm ET and 7 pm to 4 am ET. from my observations, the ea CAN and WILL give different entry signals depending on when you launch mt4. let me give you an example. you turned on your computer first, and after a while gets a buy signal for eur/usd. a while later, i turn on my computer and after a while i get a sell signal. you will not get this sell signal because your position is still waiting to close. theres 1 discrepency there. but your ea will take it as a valid sell entry as it is indeed a valid sell entry because i receive it too. your ea will then wait for a buy opportunity. after a while, you hit sl/tp. now your ea will not be looking for a sell signal because it has already found a valid sell entry but did not generate the signal because you have an open position. it will now continue to look for a buy signal. that explain the back to back trades happening. same goes for mine. in fact, we could be having different positions all day long!!
when i wrote the new ea for multiple pair, i have consistency in mind. it will not do alternate or do alternate. in fact, your previous trade have no bearing on your future positions. whats important are:
1. it must have moved minimum move
2. it must not have moved beyond the entry zone
3. adx must be above 25
4. +di must be rising and -di dropping for buy entry
now lets go back to our example. lets say, before my sell position is closed, my ea did not find any valid buy signal and my sl/tp is hit. it will now be looking for a buy signal and from now on, our position should match up. if it found a valid buy signal before its closed, it will look for a sell signal next. and if it closed before it found another sell signal, our position will never match up. but with the new rules, we will always be looking for the same entry points no matter when we lauched mt4 and no matter if you've just closed a long trade or short trade, we will always be looking for the same entry points.
before posting it first there, i tested visually/manually using charts from way back in jan to may this year. as i say i dont trust mt4 strategy tester so i do a manual back testing. i will try to show you during that period all the entry points that gives me 78% strike rate for eur/usd alone. give me a few hours/day, i will send you an excel file showing all the entry points from jan, given your pc is on 24/7. the problem with it, as i found out now, with your help is that it gives 78% only if my pc is on 24/7 since jan. when mt4 is launched at different times, then you'll get totally different results. it just goes to show that i've been very lucky since letting it loose on my micro account. now luck will not be there for long, that is why now i'm trying to make the system consistent. it has a good potential and a sound reasoning that after moving a certain number of pips, it should continue on a further number of pips.
Thanks Yantz for the explanation. Any reason you run them at those times?
I guess with any EA on the FX market, it needs to run the entire time otherwise you add the element of luck into it in terms of when the platform is running. Although by the sounds of it your manual checking was over 24hr period rather than certain periods and the win ratio from the 24hr doesn't sound that different from some of the results you have posted from the more limited times. The only time running it 24hrs doesn't apply is if over a period of time there appears to be a statistical factor which indicates a certain period produces a high % of losing trades (i.e a less volatile period like the Asian session). In which case we could adjust the EA to run only between certain times.
I guess when you visually/manually checked it did you operate like the EA is operating (as per your explanation in prior post).
Which EA are we now supposed to be using? There seems to be two latest ones - one from Yantz and one from Philipp. I may try to download more Alpari demo's and run the various EA's at the same time. I'm mindfull of the fact that you seemed to have an EA that was working well and I highlighted a couple of things that were happening/not happening and some things have been changed. It may well be that what it was doing (regardless of my confusion over whether it should be doing that) fits in with how the price action moves. So the fact that it was doing some alternative trades and some back to back - well maybe it was just fitting in with the market movement. As always there is only one way to tell and thats to run them simultaneously.
As a result I'm hesitant to stop using the EA completely that appears to have been working for you. After all its got a 78% hit rate and appears to have been producing results in the Micro account (How long have you had the Micro account running?) Its the reason I asked the question above about whether when you checked manually whether you did it in the same way as the EA has been opertating (i.e ignoring signals if a position is already open and creating back to back trades etc). Obviously if when doing it manually you stuck strictly to alternative trades then the results will not be representative of that version of the EA.
Are you guys running each EA at a time i.e you just replace the last EA with the new one or are you running them alongside each other?
cheers,
Justin
p.s part of me thinks (but without the brain power to fully think it through!!) that if two people ran it 24hrs but started at different times then even if it starts out with different trades it would fall in line with each other at some point.
Hi,
the version of the EA I uploaded should do exactly the same thing as the version 1.31 from Yantz, as long as you keep every additional function disabled (I just added what I would like to have in an EA and what I think could be useful (alternating trades)).
@Justin: If there are not too much entry signals, then you are right saying that the EAs will be in line after some time (as long as they did not open in different directions with alternating trades enabled).
Happy trading,
Philipp
I'm now running both version 1.31 on one demo and the multi symbol one on another so we can compare what they do in the same market action.
Philipp - what have you got enabled on your version that makes it different from version 1.31.
Once I give it 24 hrs I'll post some of the trades. I'm slightly concerned that for whatever reason they are running strangely on my platform. I've run version 1.31 for over 24 hrs already and as you saw yesterdays trades were 80 pips down. So far today I am 200 pips down (4 losers / 1 winner). Considering version 1.31 is same as Yantz has been using all along (just with the bug removed) and from the posts this was making 120,180, 280 pips etc, it just seems odd that suddenly making losses. Admittedly it is only 48 hrs but Yantz to my knowledge didn't have a losing day.
I don't know whether in removing the bug from version 1.3 something else got changed??
(Just so I've got it right in my head - version 1.31 was just same as version 1.3 but with the bug taken out. This bug only effected 1 of Yantz's trades. Version 1.31 takes alternative direction trades except for the reason explained in Yantz's post above? So this version is the one that has been responsible for the wins of 120, 180, 280 pips etc that Yantz posted.
Post new comment