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.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.