I don't understand predeterming and determing but i think it is Codersguru's EA . EMAcross. There are many EAs based on MAs. A lot. So try to look at this. I may create but it was create already and it was create many times:
-
This section for example,
-
ema help and
-
EMA CROSS upgrade...coders guru please help and
-
Ema Cross! and
-
Universal MA Cross EA
Or just check some EAs which i created using Gordago tool about two months ago:
1. ma_expert.mq4 is simple ema crossing;
2. MA_ExpertProfit.mq4: it is the same EA but it will close the orders in s/l or t/p only.
3. MA_ExpertProfit_all.mq4: it will close the order on s/l or t/p, or on the other crossing signal. This EA should work on particular account only. Just change the line "int Account = 111111;" to your account number inside the code. For example your account is 1235463. So this line should be like this:
int Account = 1235463;
4. MA_ExpertProfit_noacc.mq4: it is the same with item # 3. But without any account and it may work in any account (i mean account in Metatrader).
I am not sure that those EAs will work well as i am not a coder.
So the better way is just to check some links posted above for Codersguru EAs.