Help needed - how to generate buy and sell indicators in mt4 using ema

#1
Dear All,


Kindly help me/guide me for generating buy and sell arrows in MT4 for
EMA. e.g If the candle closes above 10 EMA the buy arrow will be
generated and like wise if the candle closes below 10 EMA the sell arrow
to be generated.

I request the seniors to help me in this regard.

Regards,

S.ATHARSH
 

KelvinHand

Well-Known Member
#2
Dear All,


Kindly help me/guide me for generating buy and sell arrows in MT4 for
EMA. e.g If the candle closes above 10 EMA the buy arrow will be
generated and like wise if the candle closes below 10 EMA the sell arrow
to be generated.

I request the seniors to help me in this regard.

Regards,

S.ATHARSH
sample
http://www.35pip.com/metatrader-indicators/ema-crossover-signal-mq4/

Change the MODE_LWMA to MODE_EMA
Change SlowerEMA to 10
Change FasterEMA to 1


OR
masked off extern int FasterEMA
Change fasterEMAnow = Close;
Change fasterEMAprevious = Close[i+1];
Change fasterEMAafter = Close[i-1];

and try out
 
Last edited:
#4
Dear Kelvinhand

Quote:
Originally Posted by atharsh View Post
Dear All,


Kindly help me/guide me for generating buy and sell arrows in MT4 for
EMA. e.g If the candle closes above 10 EMA the buy arrow will be
generated and like wise if the candle closes below 10 EMA the sell arrow
to be generated.

I request the seniors to help me in this regard.

Regards,

S.ATHARSH
sample
http://www.35pip.com/metatrader-indi...er-signal-mq4/

Change the MODE_LWMA to MODE_EMA
Change SlowerEMA to 10
Change FasterEMA to 1


OR
masked off extern int FasterEMA
Change fasterEMAnow = Close;
Change fasterEMAprevious = Close[i+1];
Change fasterEMAafter = Close[i-1];

and try out
unquote

I followed your advise. But in the metatrader4/experts/indicators only the
EMA CROSSOVER SIGNAL.MQ4 available. The EMA CROSSOVER SIGNAL.ex4 file not available. How to generated the .ex4 file.

Kindly help me.

Regards,

S.ATHARSH
 

KelvinHand

Well-Known Member
#7
Dear Kelvinhand

Quote:
Originally Posted by atharsh View Post
Dear All,


Kindly help me/guide me for generating buy and sell arrows in MT4 for
EMA. e.g If the candle closes above 10 EMA the buy arrow will be
generated and like wise if the candle closes below 10 EMA the sell arrow
to be generated.

I request the seniors to help me in this regard.

Regards,

S.ATHARSH
sample
http://www.35pip.com/metatrader-indi...er-signal-mq4/

Change the MODE_LWMA to MODE_EMA
Change SlowerEMA to 10
Change FasterEMA to 1


OR
masked off extern int FasterEMA
Change fasterEMAnow = Close;
Change fasterEMAprevious = Close[i+1];
Change fasterEMAafter = Close[i-1];

and try out
unquote

I followed your advise. But in the metatrader4/experts/indicators only the
EMA CROSSOVER SIGNAL.MQ4 available. The EMA CROSSOVER SIGNAL.ex4 file not available. How to generated the .ex4 file.

Kindly help me.

Regards,

S.ATHARSH


If you are using MT4 Build 6.xx, then your EMA CROSSOVER SIGNAL.MQ4 should be in the
.....\AppData\Roaming\MetaQuotes\Terminal\......\MQL4\Indicators

Open the Menu [File]->[Open Data Folder], it will show you to your own as above. Copy the EMA CROSSOVER SIGNAL.MQ4 in your old metatrader4/experts/indicators to this location.

Shut down and restart should compile for you.

OR

press F4 to launch the MetaEditor to load the EMA CROSSOVER SIGNAL.MQ4, press F4 [OR Compile] .
 
Last edited:
#8
Dear Kelvinhand


Thank you much for your help. The EMA CROSSOVER SIGNAL is working fine
with MT4.

Thank you once again.

Regards,

S.ATHARSH
 

Similar threads