Supertrend Breakout + Signal High/Low + SL & Targets — Strategy by rrk2006hyd
By rrk2006hyd
Performance Metrics
- Author: rrk2006hyd
- Symbol: NSE:NIFTY261201P25600
- Timeframe: 1 minute
Description
This intraday strategy identifies a bullish Supertrend signal candle, then enters a long position on a breakout above that candle's high (or a reclaim of its low), with a configurable stop loss and R:R-based target.Entry LogicA signal candle is marked when the close crosses above the Supertrend line or the Supertrend flips bullish, with the close above Supertrend.After the signal candle, a buy entry fires when the close crosses above the signal candle's high (Condition A), with the stop placed at the signal candle's low.Optionally, an alternative entry fires when the close crosses above the signal candle's low (Condition B), with the stop placed at the Supertrend line — enabled via the "Enable Close Above Signal Low Entry" setting.The setup expires if more than the configured number of candles pass, the session ends, or price closes back below Supertrend.Risk ManagementStop loss is placed at the signal candle's low (Condition A) or the Supertrend line (Condition B).Target 1 (1:1 R:R) is plotted for reference.Primary target is a configurable R:R multiple (default 2:1), set as the limit exit order.Optional square-off window closes any open position before market close (default 15:15–15:30).VisualsSupertrend line plotted in green (bullish) or red (bearish).Signal candle high (orange) and low (purple) lines plotted from the signal candle onward.Active stop loss (red), Target 1 (teal), and Primary Target (lime) lines shown while a position is open.Signal candle marked with an orange circle labeled "SIG"; buy entry marked with a lime triangle labeled "BUY".Usage InstructionsAdd the script to a 1-minute chart of your preferred instrument.Open the strategy Settings (gear icon) to configure inputs.Under Supertrend Settings, adjust the ATR Length and Factor to tune Supertrend sensitivity.Under Entry, Stop Loss & Target Settings:Toggle Mark Signal Lines Even If In Trade to show signal lines even while a position is open.Set Max Candles to Wait for Breakout to control how long a signal setup stays valid.Enable or disable Enable Close Above Signal Low Entry to toggle the alternative entry mode.Set your preferred Primary Target (R:R Multiple) — default is 2.0.Toggle Show 1:1 Target Line and Show Primary Target Line to control which target lines appear.Under Intraday Session Settings, enable Restrict Signal Lines to Session if you want signals limited to the trading window, and adjust the trading/square-off windows to match your market's hours.Review the strategy's Performance/Backtest tab to evaluate results before considering live use.Settings ExplanationATR Length / Factor: Supertrend calculation parameters — higher factor means a wider, less sensitive Supertrend.Mark Signal Lines Even If In Trade: When enabled, signal candle high/low lines are plotted even while a position is already open.Max Candles to Wait for Breakout: How many candles the strategy waits for a breakout after a signal candle before the setup expires.Enable Close Above Signal Low Entry: Toggles the alternative entry mode (Condition B) with the stop at Supertrend.Primary Target (R:R Multiple): Sets the profit target as a multiple of the risk (distance from entry to stop).Show 1:1 Target Line / Show Primary Target Line: Toggles visibility of the reference (1:1) and primary target lines.Restrict Signal Lines to Session: When enabled, signal detection and entries only occur within the configured trading window.Trading Window (Exchange Time): The session during which signals and entries are allowed.Square Off Before Market Close: When enabled, any open position is closed during the square-off window.Square-Off Window: The time window at session end during which open positions are closed.NotesLong-only strategy; no short side.Best viewed on a 1-minute chart.Position sizing uses 100% of equity by default — adjust default_qty_value in the strategy settings before live use.Backtest results use bar-close order fills, which may differ from real-time stop-order fills.Release NotesThis intraday strategy identifies a bullish Supertrend signal candle, then enters a long position on a breakout above that candle's high (or a reclaim of its low), with a configurable stop loss and R:R-based target.Entry LogicA signal candle is marked when the close crosses above the Supertrend line or the Supertrend flips bullish, with the close above Supertrend.After the signal candle, a buy entry fires when the close crosses above the signal candle's high (Condition A), with the stop placed at the signal candle's low.Optionally, an alternative entry fires when the close crosses above the signal candle's low (Condition B), with the stop placed at the Supertrend line — enabled via the "Enable Close Above Signal Low Entry" setting.The setup expires if more than the configured number of candles pass, the session ends, or price closes back below Supertrend.Risk ManagementStop loss is placed at the signal candle's low (Condition A) or the Supertrend line (Condition B).Target 1 (1:1 R:R) is plotted for reference.Primary target is a configurable R:R multiple (default 2:1), set as the limit exit order.Optional square-off window closes any open position before market close (default 15:15–15:30).VisualsSupertrend line plotted in green (bullish) or red (bearish).Signal candle high (orange) and low (purple) lines plotted from the signal candle onward.Active stop loss (red), Target 1 (teal), and Primary Target (lime) lines shown while a position is open.Signal candle marked with an orange circle labeled "SIG"; buy entry marked with a lime triangle labeled "BUY".Usage InstructionsAdd the script to a 1-minute chart of your preferred instrument.Open the strategy Settings (gear icon) to configure inputs.Under Supertrend Settings, adjust the ATR Length and Factor to tune Supertrend sensitivity.Under Entry, Stop Loss & Target Settings:Toggle Mark Signal Lines Even If In Trade to show signal lines even while a position is open.Set Max Candles to Wait for Breakout to control how long a signal setup stays valid.Enable or disable Enable Close Above Signal Low Entry to toggle the alternative entry mode.Set your preferred Primary Target (R:R Multiple) — default is 2.0.Toggle Show 1:1 Target Line and Show Primary Target Line to control which target lines appear.Under Intraday Session Settings, enable Restrict Signal Lines to Session if you want signals limited to the trading window, and adjust the trading/square-off windows to match your market's hours.Review the strategy's Performance/Backtest tab to evaluate results before considering live use.Settings ExplanationATR Length / Factor: Supertrend calculation parameters — higher factor means a wider, less sensitive Supertrend.Mark Signal Lines Even If In Trade: When enabled, signal candle high/low lines are plotted even while a position is already open.Max Candles to Wait for Breakout: How many candles the strategy waits for a breakout after a signal candle before the setup expires.Enable Close Above Signal Low Entry: Toggles the alternative entry mode (Condition B) with the stop at Supertrend.Primary Target (R:R Multiple): Sets the profit target as a multiple of the risk (distance from entry to stop).Show 1:1 Target Line / Show Primary Target Line: Toggles visibility of the reference (1:1) and primary target lines.Restrict Signal Lines to Session: When enabled, signal detection and entries only occur within the configured trading window.Trading Window (Exchange Time): The session during which signals and entries are allowed.Square Off Before Market Close: When enabled, any open position is closed during the square-off window.Square-Off Window: The time window at session end during which open positions are closed.NotesLong-only strategy; no short side.Best viewed on a 1-minute chart.Position sizing uses 100% of equity by default — adjust default_qty_value in the strategy settings before live use.Backtest results use bar-close order fills, which may differ from real-time stop-order fills.