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
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน