I need some help to create a Simple EA with the StepMA and MACD indicators.
The settings must be as follow:
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.
please post us, required Indicators, (Step MA)
When i cimpiled corrected code there is error
ATRO,averange is not defined
the error occours as
As the "AVGR ange" should actually be AVGRange.
it should be "AvgRange"
I have tried to make the ea with Expert Advisor Builder .Not sure if it will work correct.