Asctrend indicator in depth

With newdigital, and its topic about Signal System, I started to get interested in Asctrend indicator. The oldest traders certainly knows this indicator, but personally, being a novice trader, I had never heard before. As a programmer, I decided to start this thread to share my analysis of this indicator, as published in the codebase.

My goal is to better understand its operation. For the best use for trading, and then try to make it the basis of an EA. I already made ​​an EA based on the ideas of newdigital, but I would like from this analysis go much deeper.

thank you both for this

Asctrend indicator is mainly based on WPR indicator. WPR is Larry Williams Percent Range indicator natively available in MT5 under William’s Percent Range.

How is Williams %R calculated ?
Default period is 14.

%R = (Highest High - Close) / (Highest High - Lowest Low) * -100 
Lowest Low = lowest low for the period 
Highest High = highest high for the period 
%R is multiplied by -100.

So WPR value is between 0 (if Close = Highest High) and -100 if (Close = Lowest Low). WPR reflect the relative move of Close price relative to Highest high.

Two levels are usually monitored -20 as overbought level and -80 as oversold level.

As I understand - asctrend system (original one which came from AbleSys platform to Metatrader 3 and later on - to Metatrader 4) - it is about WPR as a filter to filter false signals. MT4 versions of those indicators are attached.

I am not going to tell that WPR is the best filter. I only wanted to say that those kind of indicators are/were using in Asctrend for the long time and it is classical approach/style of asctrend. I mean: everything was started from it. Just for information

As you know, Asctrend system (from AbleSys) is composed of several indicators. I am talking here about AscTrend Signal indicator, only one available in Codebase. This AscTrend signal use WPR not as a filter but as main signal. I will come back later.

I will study your files wprfast and wprslow, thanks.

So. See these indicators WPRFast and WPRSlow :

There are exactly the same, only differs by settings : WPRFast P=9, WPRSlow P=54

There are only a another view to WPR indicator, same data but with histogram in red/blue, in place of a line.

WPR Fast
WPR Slow
Level 1 (buy)

< 9 < 9
Level 2 (sell)

These are exactly the same level :

-30 = -30 * -30 / 100 = 9

-70 = -70 * -70 /100 = 49

So WPRFast is WPR with period 9 and levels to -30 and -70, and WPRSlow is WPR with period 54 and identical levels.

And you know what, this is exactly the same settings used within AscTrend for WPR. See a chart with all indicators (MT4) :
As you can see, AscTrend signal (Magenta and Aqua arrows) perfectly match WPRFast first bar followinf reverse color (ex. first blue bar after a red).

So if you use WPRFast to filter AscTrend this is non sense. You only have to change AscTrend Risk settings to obtain same results.

For WPRSlow, similar to AscTrend but with a period of 54, that take more sense as you are comparing a fast and a slow oscillator. But I do not comment on the quality of the filter.

You know - the classical approach of this asctrend system is the following: asctrend signal is confirmed if the following:

WPRfast and WPRslow are agree with each other by same color on close bar.
This is the very very first asctrend system. I mean: everything was started from it. And the meaning of this system is the following: we should take some part of already existing trend to our profit. We can not tal all the trend. we can take just some part of the trend.