I am trying to dewelop ADX indicator, simple to ADX which is realised in WLD but on other trading platform (C# + COM). The problem is, that I am doing the same calculation as are in WLD, buy I still have different result.
The questions is how DIPLus values are smoothed. The Help topick in WLD 4.5 that SMA is used. I am running the next code:
CODE:
Please log in to see this code.
If this code is executed, then I should get only one line on the skreen!!! But here I have 2 lines!
The same situation is if I am using WilderMA, EMA.
How DIPlus is calculated really?
Size:
Color:
QUOTE:
If this code is executed, then I should get only one line on the skreen!!!
Really, why do you think so?
Size:
Color:
It is described in Help in wld 4.5 for DIPlus:
> The +DI is then smoothed over the period specified, the same way as a simple moving average
If I am wrong, could you correct me?
How could I get smmonthed DIPlus(14), If I have calculated values of "+DI = Round( ( +DM / TR ) * 100 ) = DIPlus(1)"
And now I need to smooth them to get DIPlus(14)?
Size:
Color:
Size:
Color: