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が提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。