Does anyone know how to change this EA from a SMA crossover to a EMA crossover?
Here are the peramiters:
Slow MA- Expotential with a period of 3 and on a CLOSE.
Fast MA- Expotential with a period of 5 and on a Median Price (HL/2)
Please see existing EA.
Hi, I think slow MA always have greater number than fast MA. So according to your statement, if you like :
Fast MA- Expotential with a period of 3 and on a CLOSE, then set :
- MAFastPeriod = 3
- MAFastShift = 0
- MAFastMethod = 1
- MAFastPrice = 0
Slow MA- Expotential with a period of 5 and on a Median Price (HL/2), then set :
- MASlowPeriod = 5
- MASlowShift = 0
- MASlowMethod = 1
- MASlowPrice = 4
Or you can just change the source code and recompile. Hope this help
your right, I got it reversed.
I will try your suggestion
Please enable the necessary setting in your browser, otherwise you will not be able to log in.