White Rose / Perfil
Amigos
8
Solicitudes
Enviadas
![White Rose](https://c.mql5.com/avatar/avatar_na2.png)
White Rose
Hello Everyone,
I am coding a EA which uses 2 MA. I have some difficult when Open and Close order. When MA1>MA2 the EA will Open a Buy order and then it Close order when the profit is 20pips. However, when the EA Close the order, the MA1 is still cross up the MA2 so the EA open a new order again. It is not a good way I expect. So I want the EA Open an oder at the first candle once the MA1 > MA2 ( Buy) or the MA1<the MA2( Sell)
Please anybody help me to solve this situation ?
I am coding a EA which uses 2 MA. I have some difficult when Open and Close order. When MA1>MA2 the EA will Open a Buy order and then it Close order when the profit is 20pips. However, when the EA Close the order, the MA1 is still cross up the MA2 so the EA open a new order again. It is not a good way I expect. So I want the EA Open an oder at the first candle once the MA1 > MA2 ( Buy) or the MA1<the MA2( Sell)
Please anybody help me to solve this situation ?
![White Rose](https://c.mql5.com/avatar/avatar_na2.png)
![White Rose](https://c.mql5.com/avatar/avatar_na2.png)
White Rose
Hello Everyone!
I am learning coding EA. Who can help me to call/create Stochastic Oscillators in EA coding ?
I am learning coding EA. Who can help me to call/create Stochastic Oscillators in EA coding ?
![White Rose](https://c.mql5.com/avatar/avatar_na2.png)
White Rose
How to create a Smooth Moving Average which is different from normal MA. Pls see 2 images of these kind of MA for the comparision
![](https://c.mql5.com/1/50/Smooth_MA.png)
![White Rose](https://c.mql5.com/avatar/avatar_na2.png)
White Rose
How to create a Smooth Moving Average which is different from normal MA. Pls see images for the comparision
![](https://c.mql5.com/1/50/Normal_MA.png)
![AlexFeg AlexFeg](https://c.mql5.com/avatar/2016/10/57F4CE89-5C6B.jpg)
: