OPEN-SOURCE SCRIPT
מעודכן RSI Screener and Divergence [5ema]

- Displayed on the RSI chart according to a custom timeframe.
- Displays the RSI tracking table of various timeframes.
- Identify normal divergence, hidden divergence on RSI chat.
- Show buy and sell signals (strong, weak) on the board.
- Send notifications when RSI has a buy or sell signal.
-----
I reused some functions, made by (i believe that):
- *©paaax: The table position function.*@everget: The RSI divergence function.*@QuantNomad: The function calculated value and array to show on table for input symbols.
I have commented in my code. Thanks so much!
-----
How it works:
1. Input :
- input.int length of RSI => calculate RSI.
- input.int upper/lower => checking RSI overbought/oversold.
- input.int right bars / left bars => returns price of the pivot low & high point => checking divergence.
- input.int range upper / lower bars => compare the low & high point => checking divergence.
- input.timeframe => request.security another time frame.
- input.string table position => display screener table.
2. Input bool:
- plot RSI on chart.
- Plot Regular Bullish divergence .
- Regular Bearish divergence.
- Hidden Bullish divergence .
- Hidden Bearish divergence.
3. Basic calculated:
- Make function for RSI , pivot low & high point of RSI and price.
- Request.security that function for earch time frame.
- Result RSI, Divergence.
4. Condition of signal:
Buy condition:
- RSI oversold (1)
- Bullish divergence (2).
- => Buy if (1) and (2), review buy (1) or (2).
Sell condition:
- RSI overbought (3).
- Bearish divergence (4).
=> Sell if (3) and (4), review sell (3) or (4).
5. Table screener:
- Time frame.
- RSI (green - oversold, red - overbought)
- Divergence (⬈⬈ - regular bullish , ⬊⬊ regular bearish , ⬊ - hidden bullish , ⬈ - hidden bearish ).
- Signal (🟢 - Buy, 🔴 - sell, green 〇 - review buy, red 〇 - review sell)
----
This indicator is for reference only, you need your own method and strategy.
If you have any questions, please let me know in the comments.
הערות שחרור
Update the reused code:Reused some functions from. I believe made by:
- ©paaax: The table position function.
- kingthies: The RSI divergence function.
- QuantNomad: The function calculated value and array screener for 40+ instruments.
Thanks!
הערות שחרור
Update chart sample.thanks!
הערות שחרור
Change the signal shape: 🔴 - > red ⦿Reason: Pine updated not support.
Thanks
הערות שחרור
Update divergence shape.Reason: Pine changed to support.
הערות שחרור
Update signal shape.Final:
>>: Regular Bull Divergence.
<<: Regular Bear Divergence.
>: Hidden Bull Divergence.
<: Hidden Bear Divergence.
Green ⦿: Buy.
Red ⦿: Sell.
Green 〇: Review Buy.
Red 〇: Review Sell.
---
Reason change: Pine update not to support special symbol.
Thanks.
הערות שחרור
Updated Alert conditions and message.הערות שחרור
Update:- Modified Alert.
- Select only strong signal or all.
Thanks!
הערות שחרור
Update position of signal.thanks!
הערות שחרור
Some bros recommend me to return the signal shape to the original.thanks.
הערות שחרור
Update: Add the Alert for Regular Divergence (review Buy, Sell).thanks!
הערות שחרור
Update: changed title and short titlethanks!
הערות שחרור
Update:- Position some items.
- Tooltip of some items.
הערות שחרור
Update:Change content of Alert.
הערות שחרור
add RSI MAהערות שחרור
add Overbought and Oversold fill colorהערות שחרור
Add strong signal conditionהערות שחרור
modify conditionהערות שחרור
- Optimizing the code
- Add theme color
סקריפט קוד פתוח
ברוח TradingView אמיתית, היוצר של הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יכולים לבדוק ולאמת את הפונקציונליות שלו. כל הכבוד למחבר! למרות שאתה יכול להשתמש בו בחינם, זכור שפרסום מחדש של הקוד כפוף לכללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.
סקריפט קוד פתוח
ברוח TradingView אמיתית, היוצר של הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יכולים לבדוק ולאמת את הפונקציונליות שלו. כל הכבוד למחבר! למרות שאתה יכול להשתמש בו בחינם, זכור שפרסום מחדש של הקוד כפוף לכללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.