OPEN-SOURCE SCRIPT
TSI v2 [JopAlgo] – Sniper Version

TSI v2 [JopAlgo] — “Sniper” momentum that’s fast, clean, and actionable
Core idea
TSI (True Strength Index) turns raw price momentum into a smoothed, normalized oscillator so you can see trend side, turns, and follow-through without chop.
Workflow: momentum (close - close[1]) → double EMA smooth (fast = shortLength, slow = longLength) → normalize vs smoothed absolute momentum → scale to ±100 → signal EMA (signalLength) for triggers.
Above 0 → bullish momentum regime
Below 0 → bearish momentum regime
TSI vs Signal cross → momentum turn
Farther from 0 → stronger impulse
What you’ll see
TSI line (blue) — main momentum read
Signal line (orange) — trigger for turns
Zero line (gray) — bull/bear divider
Alerts for bullish/bearish crosses (enable if you want pane markers)
Read it in 3 seconds: Which side of 0? Did TSI cross its signal? Are bars expanding or fading?
How to use it (simple playbook)
Direction filter
Longs while TSI ≥ 0, shorts while TSI ≤ 0.
Cleanest continuation: TSI crosses up its signal above 0 (mirror down).
Act at real locations
Volume Profile v3.2 [JopAlgo] (VAH/VAL/POC/LVNs) or Anchored VWAP [JopAlgo] reclaims/rejections.
No level, no trade.
Break + retest
Break a level with TSI > 0 and crossing up → enter on the first retest that holds (mirror down).
Trend pullback
In an uptrend, TSI dips toward the signal (ideally holds above 0), then re-crosses up near a level → continuation entry.
Do less in chop
If TSI and signal braid around 0, it’s balance—only trade edges with tight risk.
Entries, exits, risk
Continuation long: TSI > 0, crosses up at VAL/AVWAP/MA cluster → enter.
Stop: below structure/last swing. Targets: POC/HVNs or next swing high.
Fresh short: Breakdown + TSI < 0 crosses down → enter on failed retest.
Invalidation: quick re-cross up + level reclaim.
Manage: Trim when TSI flattens or crosses against you into target/HVN.
Settings that matter (and how to tune)
Short EMA (default 13): responsiveness (lower = faster, noisier).
Long EMA (default 25): backbone smoothing (higher = steadier).
Signal EMA (default 7): trigger sensitivity (lower = earlier, more flips).
Suggested presets
Scalp (1–5m): 8 / 21 / 5
Intraday (15m–1H): 13 / 25 / 7 (Sniper defaults)
Swing (2H–4H): 21 / 50 / 9
Daily backdrop: 25 / 100 / 9 (execute on lower TF)
Pattern cheat sheet
Zero-line reclaim: TSI crosses 0 and signal together → regime shift; use first retest.
Continuation curl: TSI pulls toward signal, holds above 0, then re-crosses up → add/enter with trend.
Weak break tell: Level poke while TSI fails to cross or stalls near 0 → skip/wait.
Light divergence: Price higher high while TSI lower high → thinning; trail tight into HVNs.
Best combos (kept simple)
Volume Profile v3.2: entries at VAH/VAL/LVNs, targets at POC/HVNs.
Anchored VWAP: reclaim/reject + TSI cross same direction = high-quality timing.
CVDv1 (optional): take TSI-aligned trades with flow (Alignment OK, no Absorption).
RVOL (optional): prefer breaks with participation above cutoff.
Common mistakes this helps you avoid
Longs with TSI < 0 or shorts with TSI > 0.
Chasing when TSI is flattening/crossing against you into a level.
Trading mid-range while TSI/signal whipsaw around 0.
Quick defaults to start
13 / 25 / 7 on 15m–1H
Process: Location → TSI side (0) → TSI vs Signal cross → (optional) CVD/RVOL check → Structure-based risk
Disclaimer
This indicator and write-up are for education only and not financial advice. Trading involves risk; you can lose money. Results vary by market, venue, and settings. Test before using live, trade at defined levels, and manage risk. No guarantees or warranties are provided.
Core idea
TSI (True Strength Index) turns raw price momentum into a smoothed, normalized oscillator so you can see trend side, turns, and follow-through without chop.
Workflow: momentum (close - close[1]) → double EMA smooth (fast = shortLength, slow = longLength) → normalize vs smoothed absolute momentum → scale to ±100 → signal EMA (signalLength) for triggers.
Above 0 → bullish momentum regime
Below 0 → bearish momentum regime
TSI vs Signal cross → momentum turn
Farther from 0 → stronger impulse
What you’ll see
TSI line (blue) — main momentum read
Signal line (orange) — trigger for turns
Zero line (gray) — bull/bear divider
Alerts for bullish/bearish crosses (enable if you want pane markers)
Read it in 3 seconds: Which side of 0? Did TSI cross its signal? Are bars expanding or fading?
How to use it (simple playbook)
Direction filter
Longs while TSI ≥ 0, shorts while TSI ≤ 0.
Cleanest continuation: TSI crosses up its signal above 0 (mirror down).
Act at real locations
Volume Profile v3.2 [JopAlgo] (VAH/VAL/POC/LVNs) or Anchored VWAP [JopAlgo] reclaims/rejections.
No level, no trade.
Break + retest
Break a level with TSI > 0 and crossing up → enter on the first retest that holds (mirror down).
Trend pullback
In an uptrend, TSI dips toward the signal (ideally holds above 0), then re-crosses up near a level → continuation entry.
Do less in chop
If TSI and signal braid around 0, it’s balance—only trade edges with tight risk.
Entries, exits, risk
Continuation long: TSI > 0, crosses up at VAL/AVWAP/MA cluster → enter.
Stop: below structure/last swing. Targets: POC/HVNs or next swing high.
Fresh short: Breakdown + TSI < 0 crosses down → enter on failed retest.
Invalidation: quick re-cross up + level reclaim.
Manage: Trim when TSI flattens or crosses against you into target/HVN.
Settings that matter (and how to tune)
Short EMA (default 13): responsiveness (lower = faster, noisier).
Long EMA (default 25): backbone smoothing (higher = steadier).
Signal EMA (default 7): trigger sensitivity (lower = earlier, more flips).
Suggested presets
Scalp (1–5m): 8 / 21 / 5
Intraday (15m–1H): 13 / 25 / 7 (Sniper defaults)
Swing (2H–4H): 21 / 50 / 9
Daily backdrop: 25 / 100 / 9 (execute on lower TF)
Pattern cheat sheet
Zero-line reclaim: TSI crosses 0 and signal together → regime shift; use first retest.
Continuation curl: TSI pulls toward signal, holds above 0, then re-crosses up → add/enter with trend.
Weak break tell: Level poke while TSI fails to cross or stalls near 0 → skip/wait.
Light divergence: Price higher high while TSI lower high → thinning; trail tight into HVNs.
Best combos (kept simple)
Volume Profile v3.2: entries at VAH/VAL/LVNs, targets at POC/HVNs.
Anchored VWAP: reclaim/reject + TSI cross same direction = high-quality timing.
CVDv1 (optional): take TSI-aligned trades with flow (Alignment OK, no Absorption).
RVOL (optional): prefer breaks with participation above cutoff.
Common mistakes this helps you avoid
Longs with TSI < 0 or shorts with TSI > 0.
Chasing when TSI is flattening/crossing against you into a level.
Trading mid-range while TSI/signal whipsaw around 0.
Quick defaults to start
13 / 25 / 7 on 15m–1H
Process: Location → TSI side (0) → TSI vs Signal cross → (optional) CVD/RVOL check → Structure-based risk
Disclaimer
This indicator and write-up are for education only and not financial advice. Trading involves risk; you can lose money. Results vary by market, venue, and settings. Test before using live, trade at defined levels, and manage risk. No guarantees or warranties are provided.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน