alexgrover

Percentage Price Over SMA

Return the percentage of closing prices greater than SMA's with periods within a user-selected range. An exponential moving average applied to these results is also displayed (in orange).

Settings

  • Min : Minimum period of the SMA in the range
  • Max : Maximum period of the SMA in the range
  • Smooth : Period of the EMA
  • Src : Input series of the indicator

Usage

The indicator is a normalized oscillator. A value of 100 indicates that 100% of the current closing price is over SMA's with periods ranging from min to max, this indicates a bullish market, while a value of 0 would indicate a bearish market.


In this image the indicator use min = 50 and max = 200, here AMD has been strongly bullish at the start, and ended being strongly bearish at the end, during this bullish period the indicator is over its overbought level, while it is under its oversold level during the bearish period.

In case the market is ranging we can expect the indicator to be around 50%, using the smoothed result might be more useful to detect ranging markets with this indicator.


If the smoothed result is within the overbought/oversold levels, then we can say that the market is either ranging or transitioning from a bullish / bearish market to an opposite one.
Open-source Skript

Ganz im Sinne von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es verstehen und überprüfen können. Ein Hoch auf den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Publikation unterliegt den Hausregeln. Sie können das Skript den Favoriten hinzufügen, um es auf dem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?
Patreon: https://www.patreon.com/alexgrover

Become a Patreon and get access to exclusive technical indicators!

You can also check out some of the indicators I made for luxalgo : https://www.tradingview.com/u/LuxAlgo/#published-scripts

Kommentare

This is above average :) :) :)
+2 Antworten
alexgrover syrinxflunki
@syrinxflunki, Ooo, I wasn't expecting that, amazing. Thx a lot for always leaving a comment :D
Antworten
Good one, thanks for sharing :)
+1 Antworten
i like your brilliant ideas how you filter the price action zones
+1 Antworten
Cool, simple and effective indicator, appreciated alexgrover for shared <3
+1 Antworten
I really like this Alex!
+1 Antworten
Great idea Alex! I'm going to have a play with it now! Thanks again for sharing the high quality ideas and code with great explanations, they really are appreciated.
+1 Antworten
Very cool! You just keep on pushing such interesting ideas - thank you for sharing this!
+1 Antworten
@nilux, Thank you for your comment, it means a lot. Next indicators should be way more impressive :D
+1 Antworten