OPEN-SOURCE SCRIPT
Second chart

This is a trend-following momentum confirmation indicator designed to filter trades in the direction of the dominant trend while timing entries using RSI momentum shifts.
Best suited for:
✅ Forex & Crypto
✅ 5m – 1H timeframes
✅ Trend continuation strategies
⚙ Inputs Explained
▸ Trend MA Length
Controls the EMA trend filter
Lower value (20–30) → faster, more signals
Higher value (50–100) → slower, stronger trend filter
▸ RSI Length
Controls responsiveness of momentum
Standard setting: 14
Lower → aggressive entries
Higher → conservative entries
▸ Show Buy/Sell Signals
ON → Displays BUY/SELL labels
OFF → Hides all trade signals
▸ Trend Background
ON → Green = Bullish / Red = Bearish
OFF → Clean chart mode
🧠 Signal Logic Breakdown
Best suited for:
✅ Forex & Crypto
✅ 5m – 1H timeframes
✅ Trend continuation strategies
⚙ Inputs Explained
▸ Trend MA Length
Controls the EMA trend filter
Lower value (20–30) → faster, more signals
Higher value (50–100) → slower, stronger trend filter
▸ RSI Length
Controls responsiveness of momentum
Standard setting: 14
Lower → aggressive entries
Higher → conservative entries
▸ Show Buy/Sell Signals
ON → Displays BUY/SELL labels
OFF → Hides all trade signals
▸ Trend Background
ON → Green = Bullish / Red = Bearish
OFF → Clean chart mode
🧠 Signal Logic Breakdown
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.