Attachments forums

List of attachments posted on this forum.


All files on forums: 160914

Re: MT4 Indicator requests and ideas

mrtools, Mon Sep 18, 2017 1:03 am

nanos wrote: Wed Sep 13, 2017 8:48 pm Help With %R Trend Indicator

I am still learning to code mt4 indicators, hopefully the established coders will bear with me.

I have been trying to code a %R trend analyser

From the description, you start with an exponential moving average. Then take 5-period %R, 10-period %R, and 15-period %R of that moving average and place the trend lines in a single window. A reading of 100 indicates an uptrend. A reading of 0 indicates a downtrend.

The original code used is obliviously not mq4, I have tried to follow as much as I can but have reached my limits. I have managed to add the 3 trend-lines for %R and the associated moving average, but the trend-lines I get are nowhere near what Jeffrey Kennedy's Trend Analyzer Tool looks like.

Can you please help me finish up the indicator? I have attached my indicator and an image of what it currently looks like on the chart and images of what it should like when completed.

Your help is very much appreciated. Thanks in advance
Nanos, think this version would be similar to the version described in the documents, but would recommend longer wpr periods and ma periods.
All files in topic