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
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.