Download MetaTrader 5

MACD Xover & Multi-timeframe EMA

To add comments, please log in or register
Trading Journal
19
Trading Journal  

Dear Forex Buddies,

I tried to make some MT4 indicators on my own but it is a failure. Hence, I would like to seek for your assistance.


MACD xOver

Short:=Input("MACD Short MA",1,100,12);

Long:=Input("MACD Long MA",1,200,26);

Signal:=Input("MACD Smoothing Period",1,50,9);

Time:=Input("MACD Time Ratio",1,22,5);

Short:=Short*Time;

Long:=Long*Time;

Signal:=Signal*Time;

f1:=2/(short+1);

f2:=2/(long+1);

f3:=2/(signal+1);

mcd:= OscP(short,long,E,$);

Hist:=mcd-Mov(mcd,signal,E);

sigf:=Ref(Hist,1-Time)/(1-f3)+Mov(mcd,signal,E);

((1-f2)*Mov(CLOSE,long,E)-(1-f1)*Mov(CLOSE,short,E)+sigf)/(f1-f2);


This formula is a MetaStock formula. May I kindly request for MetaTrader 4 formula?


Also, I am looking for some ways to create something shown in the attached. I am looking at both 13 EMA & 26 EMA instead of 5 SMA and 8 SMA.

 MTF MA


I would really appreciate if you can assist me in any way.


Thank you and have a nice day.


Jack Thomas
1869
Jack Thomas  

Formula would be the same. You just need to either write some code for it, or hire a programmer to do it.

https://www.mql5.com/en/docs


Also... Why are you posting this request more than once?

MQL5 Reference - How to use algorithmic/automated trading language for MetaTrader 5
MQL5 Reference - How to use algorithmic/automated trading language for MetaTrader 5
  • www.mql5.com
MQL5 Reference - How to use algorithmic/automated trading language for MetaTrader 5
honest_knave
Moderator
2326
honest_knave  
I have deleted your other thread. Please don't double post.
Trading Journal
19
Trading Journal  
Jack Thomas:

Formula would be the same. You just need to either write some code for it, or hire a programmer to do it.

https://www.mql5.com/en/docs


Also... Why are you posting this request more than once?


Hi Jack,

Thank you for your reply. 

I am sorry for the inconvenience as I am new to this forum. I did not know I can delete the post in Technical Indicators... 

Trading Journal
19
Trading Journal  
honest_knave:
I have deleted your other thread. Please don't double post.


Thank you for your kind assistance.

To add comments, please log in or register