FREE FOREX STRATEGIES

Developing a system #16 (40 pips per trend)


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 >>>


 


i found a bug today and edited the ea. thomas could you replace the file to the latest one?
yantz_swing_v1.31.mq4

thx
yantz

Hi. I've probably missed something really obvious here but I just wondered. Are people going to get different trades depending on when they have turned on their computer or EA. For example - if someone has been running the EA and just had a long signal their next signal has to be a short and it will therefore ignore the next long signal if that comes first. However if I just turn on the EA my EA is not going to know this and will pick up on the long signal where as the EA already running wont. The two EA's would then be taking differing alternative trades. Would this happen or have I missed something?
Justin

Do we need to delete the EA on our platform and reload the one you've just attached.

Out of interest what was the bug? Was it something that effected trading signals?

Cheers,
Justin

hi justin! i'm not very sure if someone who started the ea on different times than someone else would get different signals. according to the initial rules, your reasoning is very correct. but sometimes, i do get back to back signals for long/short entries. maybe someone, like philipp, could edit the ea to correct it to follow the rules. but although it didn't follow the exact initial rules, it is still very profitable. infact i scored +240 pips yesterday.

the bug that i found is that when it moves down more than minimum moves+10 pips, that sell entry should be void. but instead it didnt void it but keep it until the price goes back up to within the entry zone and gives a sell entry. it should not work this way because the price is going up now, not down. i checked thru all my previous trades made on my micro account and only 1 was effected by the bug. that trade was a loser.
you can delete the older version as its not required now but its not necessary to delete. the filename is different anyway.

yantz

Hi,

It threw me this morning when two gbp/usd trades opened up in a row, both in the same direction. Mind you they both made money so fine by me! Infact I was thinking last night about the logic of having it enter alternative directions. Yantz - was there a reason for this? I don't have enough price action knowledge to know the pro's/cons of having or not having it like that. What got me thinking intially was envisioning a strong move (lets say upward) where price moved 60 pips and triggered a signal. If this move carries on and is profitable the price may then move back 30-40-50 pips etc and then push up triggering another signal - except it can't take it because its in the same direction. I was just thinking that with a big trending move the EA may only pick up the first part of it. However as I mentioned I don't have enough knowledge to think this through fully and to know what the pitfalls may be. It may be that this type of move rarely occurs with the parameters we are using and would just create losing trades, or maybe the fact that the EA currently switches between directions may mean it catches the first / strongest part of a swing and therefore higher win ratio????

Mind you it does appear it can trade in the same direction twice in a row. Yantz - do you think the fact that the EA has traded back to back means that the EA is not alternating directions anyway and back to back trades just happens very rarely or something is making it do it occasionally but not at other times?

cheers,
Justin

hi justin! the reason why i had implemented alternative directions is to filter out bad trades. during the early stages of development, there are quite a number of back to back trades that are losers. so i implemented alternative trades. that period was pre-adx. now that you mentioned it, i realised that part of the rules is not required after having adx as filter.

since the first time i wrote the ea, up till now, i did a lot of amendments to follow the rules, before and after additions of adx. philipp was right, i think i'm lost as to what certain routine does what lol. eventually the ea refuses to follow the rules.

so do you think we should not do alternate trades, but just depend on movement and adx? i will try this and have written another ea for it. it is for multiple symbol, so you need to edit the settings in metaeditor and compile. this way, your mt4 will be less cluttered.
yantz_swing_multi_v1.mq4

yantz

Hiya. I have no idea as to whether to not do alternative trades. If you used to get back to back losers I'm not sure to what extent the ADX will filter that out. As it seems to be producing good results part of me thinks if it aint broke then don't fix it!! I guess the only way to see is to have both the EA's running at the same time on seperate demo / micros accounts etc and see what happens. generally speaking I always think its a good idea not to change things all the time otherwise the is never enough of a period to verify whether the performance is consistent. I think, as I mentioned above that running things at the same time gives the greatest comparision.

This aside the current EA which is not supposed to do back to back trades already seems to do them. I have had 3 gbp/usd trades in a row in the same direction and 2 gbp/yen trades doing the same today. Has something happened to the current EA? Has it not done this before today/yesterday? If the current EA allows them then do I need the new one??

cheers,
Justin

P.s Yantz - could you let me know about whether you have this EA running the entire time (or when you have it running)and where you're based timezone so I can sent you some of my trades today. I seem to have had a run of loses and I want to check my system is in line with yours.

thanks

Hi,

I just had a look at the EA and added a few options.
These are:
-Money Management (you can now enter a number in percent how much of your margin you want to risk on a single trade)
-BreakEven (you can now enter an amount of pips when your StopLoss will be moved to BreakEven)
-Trailing-Stop (you can now enter an amount of pips you want to trail your stop loss)
-alternating trades (if the EA opend a buy order, next will be a sell order)
And the important thing: All of them can be activated or deactivated according to your wishes.

You can download it here:
yantz_swing_v1.32.mq4

Happy trading,

Philipp


 

Post new comment