GMMA EA Coding

Hi Team,

Need to create strategy for the GMMA indicator…

I am looking to add on Chart called Guppy Multiple Moving Averages (GMMA)

The averages would be

Short Term Average = 3,5,8,10,12,15

Long Term Average = 30,35,40,45,50,60

All theses above averages are Exponential.

Condition:When all Short term average above long term average Buy signal

Condition:When all short term average below long term average Sell signal

Please help to create the EA ASAP

For the above given condition

Buy script:

EMA(CLOSE,3)>EMA(CLOSE,30) AND EMA(CLOSE,5)>EMA(CLOSE,35) AND 
EMA(CLOSE,7)>EMA(CLOSE,40) AND EMA(CLOSE,10)>EMA(CLOSE,45) AND 
EMA(CLOSE,12)>EMA(CLOSE,50) AND EMA(CLOSE,15)>EMA(CLOSE,60)

Sell script:

EMA(CLOSE,3)<EMA(CLOSE,30) AND EMA(CLOSE,5)<​EMA(CLOSE,35) AND EMA(CLOSE,7)<​
EMA(CLOSE,40) AND EMA(CLOSE,10)<​EMA(CLOSE,45) AND EMA(CLOSE,12)<​EMA(CLOSE,50) AND 
EMA(CLOSE,15)<​EMA(CLOSE,60)

NOTE: As there are so many EMA lines to be plotted the chart may fill or may get struck, so recommended to add the Exponential moving average lines manually in the chart under study drop down.

Hi
Provided code tried to apply in Script getting error required more information
Looking for Group=(EMA(3,5,8,10,12,15) ) crossover Group(EMA(30,35,40,45,50,60)
Please do the needfull for the same…

Hi Team,
Still not received response, can you please share the code for the same…