racer8

Trend Sentiment [racer8]

racer8 Aktualisiert   
Trend Sentiment is a trend indicator with enhanced graphics, that is, it has many different shades of blue and red.
The brighter the blue, the more bullish.
The brighter the red, the more bearish.
It is a simple indicator with a basic formula:

a = close > prev.close? ---> If yes, a = 1, otherwise a = 0.
b = sma of a over n periods -----1st parameter, n...."Length"
c = sma of b over j periods ----- 2nd parmeter, j..."Smoothing"
plot (c)

Is c > 0.5? ---> If yes, background color = blue, otherwise red.
plot background color.
plot 0.5 as dotted midline.

The Trend Sentiment value represents the percentage of bullish force in the market.
Signals are generated when it crosses the 50% mark.
Values above 0.50 are bullish and values below 0.50 are bearish.

Enjoy and hit the like button :)
Versionshinweise:
Added area fill color.
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?