OPEN-SOURCE SCRIPT

Long RSI

The RSI is a technical indicator generally used with the general setting being 14 days, and often shorter.

The accepted view is that a level of 70 indicates overbought conditions, and 30 indicates oversold conditions.

A short RSI setting will give signals quite often, and they might sometimes contradict each other.

As a individual investor, perhaps with a background in fundamental analysis, the RSI might be overlooked for other fundamental metrics.

But the idea here is that longer RSI settings can be used for investing.

The problem that arises is how to know when the indicator has reached a level that is either overbought or oversold.

This script solves that by using a specific look back period (selectable, but the standard is 1 year), and plotting the highest/lowest value that the RSI has had for that time period.

The idea is that a buy signal occurs when the indicator is at a 'historic' low, and a sell signal occurs when it at its 'historic' high.

Since you generally want to buy when the indicator is at its low, and has stopped decreasing, the script comes with a function that shows you when yesterdays value reached a historic low, but todays value is higher than yesterday.

This is shown by a color change of the background to green. The same is true, but opposite, for sell signals and then the background turns red.


THIS IS NOT TRADING ADVICE, AND YOU SHOULD ALWAYS DO YOUR OWN RESEARCH

GOOD LUCK AND HAPPY TRADING
fundamental-analysisinvestinglong-termOscillatorsRelative Strength Index (RSI)Technical Analysis

Open-source Skript

Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun das Script auch andere Trader verstehen und prüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?

Haftungsausschluss