OPEN-SOURCE SCRIPT
TrendShift [MOT]

📈 TrendShift [MOT] – Multi-Factor Momentum & Trend Signal Suite
TrendShift [MOT] is a precision-built momentum and confluence tool designed to highlight directional shifts in price action. It combines EMA slope structure, oscillator confirmation, volume behavior, and dynamic SL/TP logic into one cohesive system. Whether you're trading with the trend or catching reversals, TrendShift provides data-backed clarity and visual confidence — and it’s available free to the public.
🔍 Core Signal Logic
Buy (🟢 Long) and Sell (🔴 Short) signals are triggered when multiple conditions align within a set bar window (default: 5 bars):
🧭 Visual Trend Dashboard – Signal Table
A real-time on-chart dashboard displays:
Dashboard theme and position are fully customizable.
📐 Trend Structure with EMA Slope Logic
Plots four EMAs (21, 50, 100, 200) color-coded by slope:
These feed into the dashboard's EMA Trend display.
🎯 Optional Take Profit / Stop Loss Zones
When enabled, SL/TP lines plot automatically on valid signals:
🔁 Trailing Stop Filter (Internal Logic)
A custom ATR-based trailing stop helps validate directional strength:
Used internally — not plotted — to confirm trend progression before entry.
⚙️ Customizable Parameters
Every core component is user-configurable:
🔔 Alerts Included
Compatible with webhook automation or mobile push notifications.
⚠️ Disclaimer
This tool is for educational purposes only and is not financial advice. Trading involves risk — always do your own research and consult a licensed professional before making trading decisions.
TrendShift [MOT] is a precision-built momentum and confluence tool designed to highlight directional shifts in price action. It combines EMA slope structure, oscillator confirmation, volume behavior, and dynamic SL/TP logic into one cohesive system. Whether you're trading with the trend or catching reversals, TrendShift provides data-backed clarity and visual confidence — and it’s available free to the public.
🔍 Core Signal Logic
Buy (🟢 Long) and Sell (🔴 Short) signals are triggered when multiple conditions align within a set bar window (default: 5 bars):
- Stochastic RSI K/D cross
- RSI crosses above 20 (long) or below 80 (short)
- Stochastic RSI breaks 20 (long) or 80 (short)
- Volume exceeds 20-bar average
🧭 Visual Trend Dashboard – Signal Table
A real-time on-chart dashboard displays:
- EMA Trend: Bullish / Bearish / Mixed (based on 4 EMA slopes)
- Stoch RSI: Oversold / Overbought / Neutral
- RSI: Exact value with zone label
- Volume: Above or Below average
Dashboard theme and position are fully customizable.
📐 Trend Structure with EMA Slope Logic
Plots four EMAs (21, 50, 100, 200) color-coded by slope:
- Green = Rising
- Red = Falling
These feed into the dashboard's EMA Trend display.
🎯 Optional Take Profit / Stop Loss Zones
When enabled, SL/TP lines plot automatically on valid signals:
- Fixed-distance targets (e.g., 10pt TP, 5pt SL)
- Auto-remove on TP or SL hit
- Separate lines for long vs. short trades
- Fully customizable styling
🔁 Trailing Stop Filter (Internal Logic)
A custom ATR-based trailing stop helps validate directional strength:
- ATR period
- HHV window
- ATR multiplier
Used internally — not plotted — to confirm trend progression before entry.
⚙️ Customizable Parameters
Every core component is user-configurable:
- EMA periods: 21 / 50 / 100 / 200
- ATR trailing logic: period, HHV, multiplier
- Oscillator settings: Stoch RSI & RSI
- Volume length
- SL/TP toggles and point values
- Bar clustering window
- Dashboard theme and location
🔔 Alerts Included
- BUY Signal Triggered
- SELL Signal Triggered
Compatible with webhook automation or mobile push notifications.
⚠️ Disclaimer
This tool is for educational purposes only and is not financial advice. Trading involves risk — always do your own research and consult a licensed professional before making trading decisions.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.