OPEN-SOURCE SCRIPT

Support line based on RSI

By jonigreen
This indicator builds a support line using the stock price and RSI.

Inputs:

1. Time window for the RSI:
the time window the RSI is calculated with, usually it's 14 but in here I recommend 30.

2. offset by percentage:
just adding or subtructing some percentage of the result, some stocks need a bit of offset to work

3. stability:
the higher it is the less the RSI effects the graph. for realy high stability the indicator the the stock price will be realy close.

formula: (close*(100-newRSI)/50)*(100+offset)/100
when:
newRSI = (RSI + (50 * stability1))/(stability+1)

recommended usage:
Usually, if the indicator becomes higher than the price, (the price lowers). the stock will go up again to around the last price where they met.
so, for example, if the stock price was 20 and going down. while the indicator was 18 and going up, then they met at 19 and later the indicator became 20 while the stock fell to 18. most chances are that the stock will come back to 19 where they met and at the same time the indicator will also get to 19.

In stocks that are unstable, like NVDA. this indicator can be used to see the trend and avoid the unstability of the stock.
Relative Strength Index (RSI)Support and Resistance

نص برمجي مفتوح المصدر

قام مؤلف هذا النص البرمجي بنشره وجعله مفتوح المصدر، بحيث يمكن للمتداولين فهمه والتحقق منه، وهو الأمر الذي يدخل ضمن قيم TradingView. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الرمز في المنشور يخضع لقواعد‎‎قوانين الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟

إخلاء المسؤولية