OPEN-SOURCE SCRIPT
Moving Averages Trend Filter

A filter to determine the trend using moving averages.
Plotted as text on a different panel.
Different outputs:
- Bullish Trend
- Bearish Trend
- Sideways
You can use up to 4 MAs. Fill in the inputs in order, be it the first being the fastest and the last being the slowest.
You can change between EMAs and SMAs. You can activate/deactivate the MAs to be used as a filter and choose them .
There's an option of minimum bars to define the trend.
**If the pane is mixed with the indicators, move it below using right click.
Plotted as text on a different panel.
Different outputs:
- Bullish Trend
- Bearish Trend
- Sideways
You can use up to 4 MAs. Fill in the inputs in order, be it the first being the fastest and the last being the slowest.
You can change between EMAs and SMAs. You can activate/deactivate the MAs to be used as a filter and choose them .
There's an option of minimum bars to define the trend.
**If the pane is mixed with the indicators, move it below using right click.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.