OPEN-SOURCE SCRIPT

Trend Strength Index Long Strategy

724
๐Ÿ“ˆ Trend Strength Index Long Strategy

This strategy combines the Trend Strength Index (TSI) with a Volume-Weighted Moving Average (VWMA) to identify high-probability long entries based on trend momentum and price confirmation.

  • ๐Ÿ“Š TSI Calculation: Measures correlation between price and time (bar index) over a user-defined period. Strong TSI values indicate trend momentum.
  • ๐Ÿ“ VWMA Filter: Confirms bullish bias when price is above the VWMA.
  • ๐Ÿš€ Entry Condition: Long position is triggered when TSI crosses above -0.65 and price is above VWMA.
  • ๐Ÿ”’ Exit Condition: Position is closed when TSI crosses above 0.65.
  • ๐ŸŽจ Visuals: Gradient fills highlight bullish and bearish zones. VWMA is plotted for trend context.

  • ๐Ÿงฎ TSI Length: Adjustable (default 14)
  • ๐Ÿ“ VWMA Length: Adjustable (default 55)
  • ๐Ÿ’ธ Commission: 0.1% per trade
  • ๐Ÿ“Š Position Size: 75% of equity
  • โš™๏ธ Slippage: 10 ticks


โœ… Best used in trending markets with steady momentum.
โš ๏ธ Avoid in choppy or range-bound conditions.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.