OPEN-SOURCE SCRIPT
Trend Strength Index Long Strategy

๐ 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.
โ Best used in trending markets with steady momentum.
โ ๏ธ Avoid in choppy or range-bound conditions.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.