Investoz

© Investoz trendwarning

ema
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.
Release Notes: 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.
Release Notes: More language changes.
Skript med en öppen källkod

I sann TradingView-anda har författaren till detta skript publicerat det som öppen källkod, så att handlare kan förstå och verifiera det. Skål för författaren! Du kan använda den gratis men återanvändning av den här koden i en publikation regleras av våra Ordningsregler. Du kan göra den till favorit för att använda den i ett diagram.

Vill du använda det här skriptet i ett diagram?

Kommentarer

Change this script:
line 34: tid=Endbar + startbar - 371
to:
tid=Endbar + startbar + 1
or change
line 30: Endbar= bar_index + 1
line 34: tid=Endbar + startbar
That is the correct calculation for total bars in the script.
Svara