rmsuleman:
Hello all. I am trying to learn MQL scripting so that I can start coding my strategies. As such, I would really appreciate and would be grateful if somone could help me in creating a simple EMA crossover EA. The rules are really basic. Lets say you have a slow moving average (i.e. 3) and a fast moving average(i.e. 6). A long strategy would be if slow moving average is > fast moving average. Vice versa for short moving average. Stop should be placed at 25 pips and limit at 50. If someone can kindly help me with programming this strategy, it would be greatly appreciated! Thanks everyone!
Raheem
Hello all. I am trying to learn MQL scripting so that I can start coding my strategies. As such, I would really appreciate and would be grateful if somone could help me in creating a simple EMA crossover EA. The rules are really basic. Lets say you have a slow moving average (i.e. 3) and a fast moving average(i.e. 6). A long strategy would be if slow moving average is > fast moving average. Vice versa for short moving average. Stop should be placed at 25 pips and limit at 50. If someone can kindly help me with programming this strategy, it would be greatly appreciated! Thanks everyone!
![Smile](https://c.mql5.com/smilies/smile.gif)
Hi, do u want to make script or EA?
What's the difference?
rmsuleman:
What's the difference?
What's the difference?
It is a litle big diferent. Script is made for one operation, than stop and u have to put in on chart manualy for next operation. If u close platform, finish, if u change TF, finish, if u... And EAs for ur system are 100s, only realy know, what u need and than u can see in and learn code. This is the difference.
Marko
'marko [IRL:
;10297']It is a litle big diferent. Script is made for one operation, than stop and u have to put in on chart manualy for next operation. If u close platform, finish, if u change TF, finish, if u... And EAs for ur system are 100s, only realy know, what u need and than u can see in and learn code. This is the difference.Marko
;10297']It is a litle big diferent. Script is made for one operation, than stop and u have to put in on chart manualy for next operation. If u close platform, finish, if u change TF, finish, if u... And EAs for ur system are 100s, only realy know, what u need and than u can see in and learn code. This is the difference.Marko
From what I understood, Suleman is looking for an EA here and not a script. The EA he is looking for can be found in coders guru tutorial. Code by code. He can even learn it quite quick.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello all. I am trying to learn MQL scripting so that I can start coding my strategies. As such, I would really appreciate and would be grateful if somone could help me in creating a simple EMA crossover EA. The rules are really basic. Lets say you have a slow moving average (i.e. 3) and a fast moving average(i.e. 6). A long strategy would be if slow moving average is > fast moving average. Vice versa for short moving average. Stop should be placed at 25 pips and limit at 50.
If someone can kindly help me with programming this strategy, it would be greatly appreciated! Thanks everyone!![Smile](https://c.mql5.com/smilies/smile.gif)
Raheem