Indicators: Average Directional Movement Index Wilder

 

Average Directional Movement Index Wilder:

Average Directional Movement Index Wilder (ADX Wilder) helps to determine if there is a market trend.

This technical indicator is constructed as a strict correspondence with the algorithm described by Welles Wilder in his book "New concepts in technical trading systems".

Trading rules of this indicator are described in the Average Directional Movement Index.

Author: MetaQuotes Software Corp.

 
tr(i) = Max(ABS(High(i) - High(i-1)), ABS(High(i) - Close(i-1)), ABS(Low(i) - Close(i-1)))

description error

tr(i) = Max(ABS(High(i) - Low(i)), ABS(High(i) - Close(i-1)), ABS(Low(i) - Close(i-1)))
 

First, the positive (dm_plus) and negative (dm_minus) changes at each bar are calculated, as well as the true range of tr:

Если High(i) - High(i-1) > 0  dm_plus(i) = High[(i) - High(i-1), иначе dm_plus(i) = 0.

If Low(i-1) - Low(i) > 0 dm_minus(i) = Low(i-1) - Low(i), otherwise dm_minus(i) = 0.

If High(i) - High(i-1) > 0 dm_plus(i) = High[(i) - High(i-1), else dm_plus(i) = 0.

If Low(i-1) - Low(i) > 0 dm_minus(i) = Low(i-1) - Low(i), else dm_minus(i) = 0.

If (dm_plus(i)>dm_minus(i)) dm_minus(i) = 0;

otherwise {

if (dm_plus(i)<dm_minus(i)) dm_plus(i)=0;

otherwise dm_minus(i) = 0,dm_plus(i)=0;

}

 
Good Job! I was looking for how to use advanced_adx and saw you charts. I'm trying your strategy and seems to work good! Congrats!
 

Please post codes for ADX Wilder for MT4.....

adonis

 
Is there an MT5 Android version of this indicator?