Attachments forums

List of attachments posted on this forum.


All files on forums: 136076

Re: Trend Indicators for MT4

Bleemus, Sat Jul 27, 2019 12:59 am

Esteemed and talented Programmers,

Any chance of getting this indicator modified?

Would like a moving average added to act as a signal line.

As you can see it runs inverted on some pairs. Being able to have an input for it to invert so it is showing correct on all charts would be fantastic.

As a final request if you were able to add regular and hidden divergences it would be the most beautiful day for me!

Regards and thank you for your consideration!

Bleemus

PS: Regarding coeffiofline indicator above I figured out why some were being inverted. Adding a simple minus symbol makes them all show properly.

Code: Select all

      AY=(TYVar+(N-2*ZYVar)*ndot/M)/M;
      AIndicator=(TIndicatorVar+(N-2*ZIndicatorVar)*ndot/M)/M;
      if (Symbol()=="EURUSD" || Symbol()=="GBPUSD" || Symbol()=="USDCAD" || Symbol()=="USDCHF"
       || Symbol()=="EURGBP" || Symbol()=="EURCHF" || Symbol()=="AUDUSD"
       || Symbol()=="GBPCHF")
[b]      {cfl[shift]=(-1000)*MathLog(AY/AIndicator);}
      else {cfl[shift]=(1000)*MathLog(AY/AIndicator);}[/b]
      shift--;
     }
   return(0);
All files in topic