Skip to content
All library documents

SuperTrend and RSI Trend-Following Strategy with Session Controls

Article TradingView scripts

Summary

This strategy for Vietnamese index futures combines SuperTrend direction changes with RSI and an optional moving-average slope filter. A long signal occurs when SuperTrend turns upward and RSI is below its overbought threshold; a short signal requires a downward turn and RSI above its oversold threshold. The SMA filter can restrict entries to the direction of its slope, while opposite raw signals can still close existing positions.

The script supports configurable trading hours, forced closure when the session ends, fixed-point stop losses, and optional take-profit targets. Orders are intended to execute at the next bar’s open after a signal is confirmed at the close. The document provides implementation details and indicator settings, but no performance results or testing evidence. Its fixed point exits and session assumptions may need adaptation to the instrument, chart timeframe, and execution conditions.

Key ideas

  • SuperTrend direction flips provide the initial long and short signals.
  • RSI thresholds filter entries that occur in potentially extended conditions.
  • An optional SMA slope filter constrains entries while raw opposite signals remain available for exits.
  • The strategy can close positions at the end of its configured session and apply fixed stop and optional profit levels.
  • Signals confirmed at a bar close are intended to execute at the following bar’s open.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.