OPEN-SOURCE SCRIPT
TSI Advanced - Enhanced with Signals & Alerts

Measures trend strength and momentum using a double-smoothed price change (True Strength Index), enhanced with automatic signals, divergences, and alerts.
### 🔧 Key Components
* **TSI Line (Blue):** Main momentum measure
* **Signal Line (Pink):** For crossovers (buy/sell)
* **Zero Line:** Defines bullish (above) or bearish (below) zones
* **OB/OS Zones:** +25 = Overbought, -25 = Oversold
### 🚨 Core Signals
1. **Crossovers (Triangles)**
* 🔼 Green = Buy (TSI > Signal)
* 🔽 Red = Sell (TSI < Signal)
2. **Zero Line Cross (Circles)**
* Above 0 → Bullish trend
* Below 0 → Bearish trend
3. **Divergences (Dashed Lines)**
* Green = Bullish divergence
* Red = Bearish divergence
4. **Zone Alerts:** Background turns green/red for OB/OS levels
### 📊 Strategies
* **Crossover Entry:** Trade on crossovers near OB/OS zones
* **Zero Line Momentum:** Ride trend while TSI stays above/below zero
* **Divergence Trading:** Combine divergence + crossover confirmation
* **Trend Confirmation:** Trade only with background color direction
### ⚙️ Recommended Settings
| Style | Long | Short | Signal | OB/OS |
| ------------- | ----- | ----- | ------ | ----- |
| Scalping (5m) | 15–20 | 8–10 | 8–10 | ±20 |
| Swing | 25 | 13 | 13 | ±25 |
| Day Trading | 20 | 10 | 10 | ±22 |
### 🔔 Alerts
* Crossover = Entry
* Zero Cross = Trend confirmation
* OB/OS = Exit or caution
### 💡 Pro Tip
For crypto scalping: bullish crossover in **oversold zone (-25 to -40)** near support + rising volume = high-probability long setup.
---
for more follow me
TG t.me/AlrussiSignals
### 🔧 Key Components
* **TSI Line (Blue):** Main momentum measure
* **Signal Line (Pink):** For crossovers (buy/sell)
* **Zero Line:** Defines bullish (above) or bearish (below) zones
* **OB/OS Zones:** +25 = Overbought, -25 = Oversold
### 🚨 Core Signals
1. **Crossovers (Triangles)**
* 🔼 Green = Buy (TSI > Signal)
* 🔽 Red = Sell (TSI < Signal)
2. **Zero Line Cross (Circles)**
* Above 0 → Bullish trend
* Below 0 → Bearish trend
3. **Divergences (Dashed Lines)**
* Green = Bullish divergence
* Red = Bearish divergence
4. **Zone Alerts:** Background turns green/red for OB/OS levels
### 📊 Strategies
* **Crossover Entry:** Trade on crossovers near OB/OS zones
* **Zero Line Momentum:** Ride trend while TSI stays above/below zero
* **Divergence Trading:** Combine divergence + crossover confirmation
* **Trend Confirmation:** Trade only with background color direction
### ⚙️ Recommended Settings
| Style | Long | Short | Signal | OB/OS |
| ------------- | ----- | ----- | ------ | ----- |
| Scalping (5m) | 15–20 | 8–10 | 8–10 | ±20 |
| Swing | 25 | 13 | 13 | ±25 |
| Day Trading | 20 | 10 | 10 | ±22 |
### 🔔 Alerts
* Crossover = Entry
* Zero Cross = Trend confirmation
* OB/OS = Exit or caution
### 💡 Pro Tip
For crypto scalping: bullish crossover in **oversold zone (-25 to -40)** near support + rising volume = high-probability long setup.
---
for more follow me
TG t.me/AlrussiSignals
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.