EA with StepMA and MACD

To add comments, please log in or register
Egros
99
Egros  

I need some help to create a Simple EA with the StepMA and MACD indicators.

The settings must be as follow:

MACD (20,80,9)

First StepMA : Lenght = 10

Kv = 1.3

Second StepMA: Lenght =25

Kv = 2.2

The EA must have a preset : Stop loss,Take Profit and Trailing Stop

Entry must be when the two StepMA indicators cross and the cross of the MACD indicator is in the same direction.

Use the 30M gbpusd chart.

I will post the StepMA here if someone wants to help.The attached picture shows what I got in mind.

Thank you

Files:
intelligent_14
38
intelligent_14  

Hi

please post us, required Indicators, (Step MA)

thanks

Egros
99
Egros  
saslam
71
saslam  
kumawat
153
kumawat  

When i cimpiled corrected code there is error

ATRO,averange is not defined

janu
6
janu  

the error occours as

As the "AVGR ange" should actually be AVGRange.

janu
6
janu  
kumawat:
When i cimpiled corrected code there is error ATRO,averange is not defined

it should be "AvgRange"

Egros
99
Egros  

I have tried to make the ea with Expert Advisor Builder .Not sure if it will work correct.

Files:
To add comments, please log in or register