Who can help me write an indicator called composite mometum in the MT4 language?

 

I found the indicator for other platforms this is the code:

k=4

media1=WeightedAverage[k](Close)

media2=WeightedAverage[k*3](Close)

MOM=average[1](media1-media2)/(media1)*100

 

diffMOM=MOM-MOM[1]

If MOM>MOM[1] then

temp1=diffMOM

else

temp1=0

endif

If MOM<MOM[1] then

temp2=diffMOM

else

temp2=0

endif

 

sumtemp1=summation[5](temp1)

sumtemp2=summation[5](temp2)

abssumdiff=summation[5](abs(diffMOM))

 

aa=((sumtemp1[1]-(sumtemp1[1]/5)+temp1)/(abssumdiff[1]-(abssumdiff[1]/5)+abs(diffmom))*100)

bb=((sumtemp2[1]-(sumtemp2[1]/5)+temp2)/(abssumdiff[1]-(abssumdiff[1]/5)+abs(diffmom))*100)

cc=aa-abs(bb)

key=ExponentialAverage[3](cc)

 

stoco=Stochastic[5,3](close)

xtl=WeightedAverage[3](stoco)*2-100

 

Composite=WeightedAverage[2]((2*key+xtl)/3)

 

l1=50

l2=-50

linea1=80

linea2=-80

linea3=0

 

return linea1,linea2,linea3,l1,l2,Composite 


if anyone can help me? Or know who to contact?

thanks

 

Help you with what? You haven't stated a problem, you stated a want.
     How To Ask Questions The Smart Way. 2004
          Prune pointless queries.

You have only four choices:

  1. Search for it. Do you expect us to do your research for you?

  2. Beg at:

  3. MT4: Learn to code it.
    MT5: Begin learning to code it.

    If you don't learn MQL4/5, there is no common language for us to communicate. If we tell you what you need, you can't code it. If we give you the code, you don't know how to integrate it into your code.

  4. or pay (Freelance) someone to code it. Top of every page is the link Code Base.
              Hiring to write script - General - MQL5 programming forum 2019.08.21

We're not going to code it for you (although it could happen if you are lucky or the problem is interesting.) We are willing to help you when you post your attempt (using CODE button) and state the nature of your problem.
          No free help 2017.04.21

 
William Roeder:

Help you with what? You haven't stated a problem, you stated a want.
     How To Ask Questions The Smart Way. 2004
          Prune pointless queries.

You have only four choices:

  1. Search for it. Do you expect us to do your research for you?

  2. Beg at:

  3. MT4: Learn to code it.
    MT5: Begin learning to code it.

    If you don't learn MQL4/5, there is no common language for us to communicate. If we tell you what you need, you can't code it. If we give you the code, you don't know how to integrate it into your code.

  4. or pay (Freelance) someone to code it. Top of every page is the link Code Base.
              Hiring to write script - General - MQL5 programming forum 2019.08.21

ok sorry I have been a member for a long time but I have recently used MT4 and I have to understand how the site works and the programming language that will surely take some time to learn, this seems to me an interesting indicator.

Isn't there a manual or something that I can use to learn the language gradually step by step?

Thanks for your suggestions