OPEN-SOURCE SCRIPT

Welles Wilder MA [MX]

Updated
The average of 34 periods I observe as a mobile S/R, but I usually observe it more when it is in strong trend, and the average of 72 and 89 as trend dictators, if the asset is above them = Bullish , below = Bearish , and the 144 average as the last moving S/R, and also as an S/R even stronger than all other MAs and when the asset loses that average, I see it as final confirmation of the other previous averages.

I give more importance to the average of 89 periods than to 72, because I see it as an extension to the average of 72, as if it were a trend range.

for those who prefer to observe the crossing of short and long averages as a way to see the trend, I also left this option, although I do not use

//////////////////////////////

A média de 34 periodos eu observo como um S/R móvel, mas eu costumo observar ela mais quando está em forte tendência, estando bem bearish ou jeffish, e a média de 72 e 89 como ditadoras de tendência, se o ativo está acima delas = Bullish , abaixo = Bearish , e a média de 144 como o último S/R móvel, e também como um S/R ainda mais forte que todas as outras MA's e quando o ativo perde essa média, eu vejo como confirmação final das outras médias anteriores.

Eu dou mais importância a média de 89 períodos do que a de 72, porque eu vejo ela como uma extensão a média de 72, como se fosse um range de tendência.

para quem prefere observar o cruzamento das médias curtas com as longas como forma de ver a tendência, eu deixei também essa opção, embora eu não use
Release Notes
I had forgotten to put the credits on the script that I relied on to make mine. I'm sorry for that
Release Notes
1 unused code line has been removed
Release Notes
Code Update and optimization

- code compiled for version 5
- change of calculation formula of moving average
- now the Welles Wilder Moving Average calculation formula is a function
- the variable names are more clearly
- now the colors are set in the inputs tab
averagemovingMoving Averagestrendwelleswilder

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer