OPEN-SOURCE SCRIPT
TSI Pure 5-Candle Predictor (No Signals)

1. Trend Following Breakout (Trending Market)
Enter the market when the prediction lines become steep and long, indicating strong momentum.
Long Entry: If the price breaks above a recent resistance level and a long, steep Green prediction line appears, buy immediately.
Short Entry: If the price breaks below a key support level and a long, steep Red prediction line points downward, sell immediately.
Take Profit: Use the very end of the prediction line (the 5th candle target price, p5) as your short-term take-profit target.
2. Color Reversal Entry (Counter-Trend / Swing Trading)
Capture the exact moment when the market momentum shifts and the line color flips.
Long Target: Enter a Long position on the exact candle close where the prediction line switches from Red to Green.
Short Target: Enter a Short position on the exact candle close where the prediction line switches from Green to Red.
Stop Loss: Place your Stop Loss right below the recent swing low (for longs) or above the recent swing high (for shorts). This offers an excellent risk-to-reward ratio.
3. The 200 EMA Filter (Trend Protection)
To avoid false signals in a choppy, sideways market, combine this indicator with a major trendline like the 200-period Exponential Moving Average (EMA).
When Price is ABOVE 200 EMA: Only take Long trades when the Green prediction line appears. Completely ignore Red prediction lines (treat them as simple pullbacks, not short entries).
When Price is BELOW 200 EMA: Only take Short trades when the Red prediction line appears. Completely ignore Green prediction lines.
Enter the market when the prediction lines become steep and long, indicating strong momentum.
Long Entry: If the price breaks above a recent resistance level and a long, steep Green prediction line appears, buy immediately.
Short Entry: If the price breaks below a key support level and a long, steep Red prediction line points downward, sell immediately.
Take Profit: Use the very end of the prediction line (the 5th candle target price, p5) as your short-term take-profit target.
2. Color Reversal Entry (Counter-Trend / Swing Trading)
Capture the exact moment when the market momentum shifts and the line color flips.
Long Target: Enter a Long position on the exact candle close where the prediction line switches from Red to Green.
Short Target: Enter a Short position on the exact candle close where the prediction line switches from Green to Red.
Stop Loss: Place your Stop Loss right below the recent swing low (for longs) or above the recent swing high (for shorts). This offers an excellent risk-to-reward ratio.
3. The 200 EMA Filter (Trend Protection)
To avoid false signals in a choppy, sideways market, combine this indicator with a major trendline like the 200-period Exponential Moving Average (EMA).
When Price is ABOVE 200 EMA: Only take Long trades when the Green prediction line appears. Completely ignore Red prediction lines (treat them as simple pullbacks, not short entries).
When Price is BELOW 200 EMA: Only take Short trades when the Red prediction line appears. Completely ignore Green prediction lines.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。