OPEN-SOURCE SCRIPT

© Investoz trendwarning

Atualizado
The indicator is built as an educational purpose and is therefore not a recommendation for buying/selling shares.

The idea is to create a visual form in a graph that shows if there is any trend, both positive and negative. A dialog box with a warning tells you what trend prevails.

In the code, there is an opportunity to take a position or go out of position if you want to create a strategy around this trend indicator. However, I strongly recommend not to rely solely on this indicator as a buy/sell decision as the results will most likely be negative if you buy on a positive trend and sell on a negative trend. It must be combined with other ideas and therefore this script works more as a complement to your own strategy.

It is free for anyone to use this indicator and make it better.
Notas de Lançamento
Total number of days issue is now edited and I also changed the language from Swedish to English. I also changed the aesthetic of the indicator.
Notas de Lançamento
More language changes.
Notas de Lançamento
Updated to color.new() function.
Exponential Moving Average (EMA)

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal