JMAslope & slope direction line

 

Hello,
I have the indicator  " JMA slope " and " slope line direction " but I look for the indicator " JMA slope " in MTF and the indicator " slope line direction " in MTF (for MQL5)

The code is complex but if somebody can help me to write it

 

What do you think of these indicators and how you use them

I squeeze up to find a trend(tendency) and I also use the "RVi"


Thank you very much