I have a lot of time to learning to code. I really want to learn to code this EA. I know I did wrong to make this code. but I don't know the way to fix it. or someone can teach me step by step coding EA?
there are a lot learning material on here..
thanks albert. Im still reading one by one material on this forum.. hope i can finish my EA.
![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
Helo.
I want to make my first EA. but I have a problem here.
my EA work basicly at the price market. not using any indicators. heres the problem.
first strategy :
at first run my ea will do a buy order. then if the first order reach stoploss, how to make a sell order at stoploss price at the same time?
second strategy :
at first run my ea will do 2 order. first, do buy order, then place a sellstop order at first order stoploss. if the price reach first order stoploss and reach the sellstop order, how to make a buystop order?
and If my order reach take profit I want to back to my first order or stop EA.. but I dont know the code...
logicly like this...
would u guys help me?
sorry, I'm not good speaking english..
Thanks.
Sifor