Relative Strength Index with Highlights and Success Test
This script does two things:
1- Highlights extreme levels on RSI 2- Calculates what % of the time, price closed higher (lower) with some minimum threshold when RSI was below oversold (overbought) level in a predefined number of bars.
I use this to understand if buying the dip/selling the rip works for a security and on what time frame and if it could be a profitable strategy that can generate large enough moves.
No guarantees on the accuracy of the code. Let me know if you see anything wrong
ברוח TradingView אמיתית, המחבר של הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יכולים להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסומים כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.