We use cookies to understand how the site is used and improve it. We only load analytics after you accept. Privacy Policy
Tests RSI-2 dips above a 200-bar SMA, with ATR-based stops and configurable partial exits.
Published by AlgoNexta, who builds and documents these tools so you can inspect the logic before using it. About AlgoNexta · Trading Scripts · AlgoNexta Research
Dip Ladder is a TradingView strategy, not just a signal overlay. It tests entries when a short RSI pullback occurs on the permitted side of a trend SMA, then manages the position with an ATR-based stop, partial exits, and a bounce or time exit.
01 · When a pullback qualifies
Once Trend SMA (200) and RSI (2) are available, a long condition needs a close above the SMA and RSI strictly below 10. An optional short reverses those comparisons, using RSI strictly above 90.
02 · When an entry is submitted
On a confirmed signal bar, the strategy checks the daily guard and Direction setting, then attempts a market entry only while flat and with a valid stop distance. A qualifying circle on the chart does not establish that these order checks passed.
E0 · Reconstructed reference
algonexta-reference · OANDA · EURUSD · 1h
Net profit
▼ −89 pips
Max drawdown
▼ −169 pips
Trades
17
Symbol · TF
EURUSD · 1h
Equity curve
| Opened (UTC) | Side | Entry | Exit | Result |
|---|---|---|---|---|
| 2026-10-16 16:00 | ▲ Buy | 1.12204 | 1.11897 | ▼ −30.7 pips |
| 2026-10-23 01:00 | ▲ Buy | 1.12118 | 1.11860 | ▼ −25.8 pips |
| 2026-10-23 20:00 | ▼ Sell | 1.12032 | 1.11645 | ▲ +38.7 pips |
| 2026-10-28 15:00 | ▼ Sell | 1.11394 | 1.11686 | ▼ −29.2 pips |
| 2026-10-29 17:00 | ▼ Sell | 1.11694 | 1.12076 |
⚠Executed from the versioned AlgoNexta IR on the same OHLC dataset used by the chart.
⚠This is an independent reference backtest; TradingView Strategy Tester remains the official comparison.
⚠This is an AI-reconstructed approximation of the script’s logic, not an execution of the exact source — verify the real script in TradingView Strategy Tester.
Vision Grade Standard v1.0
NOT GRADED — VALIDATION INCOMPLETE
Vision Grade measures the strength of validation evidence, not the probability of future profit. A score of 82 is not an 82% chance of profit.
No grade is published until every mandatory gate has been verified. The measurements below are preliminary evidence, not a grade.
G1 No look-ahead bias — not yet verified
G2 No undisclosed repainting — not yet verified
G3 Realistic costs included — passed
G4 Genuine out-of-sample evidence — not yet verified
G5 Reproducible evaluation — not yet verified
Probabilistic Sharpe (PSR vs 0): 0.00 · Deflated Sharpe (DSR): not computed — no registered trial count
Audit: standard v1.0 · engine 1.0.0 · strategy v1+sha256:5c3d57019f233253 · data sha256:1cade7f766710e81e6a609015a60970a · evaluated 2026-12-02
Legacy VG-Signal · E2 · LOW confidence · 30/100
The measured component from the earlier VG engine, kept for transparency. It is not the VG score.
Legacy VG-Signal components (not part of the VG score)
Predictive power
22
Trading performance
7.3
Robustness
40
Risk
75
Signal-Based Performance
Only 17 signals, below the 100 we need for a reliable read. Treat these numbers as a direction, not a result.
Signals
17
Win rate
17.6%
Profit factor
0.14
Max drawdown
▼ −1.80%
Robustness — chronological out-of-sample split
In-sample IC
—
Out-of-sample IC
—
OOS retention
—
OOS_SAMPLE_TOO_SMALL
ic here is a pooled event-conditional Spearman rank correlation (signal_strength vs forward return), not a cross-sectional factor IC — see methodology.
⚠Vision Grade measures the strength of statistical and trading-quality evidence. It does not predict future returns.
⚠A high Information Coefficient does not guarantee profitability.
⚠Trading Performance here is Signal-Based Performance, not an execution backtest against the original source.
⚠Historical results do not guarantee future performance.
⚠Only 17 valid signals (config minimum is 100) — results below are directional, not reliable.
⚠Horizon 50: 1 signals dropped (not enough forward OHLC bars).
Published by AlgoNexta, an evidence-first platform for building, reviewing, and documenting algorithmic trading tools. This page explains the script's actual logic and intended use; it does not promise profitability or replace verification in TradingView.
Dip Ladder is a TradingView strategy, not just a signal overlay. It tests entries when a short RSI pullback occurs on the permitted side of a trend SMA, then manages the position with an ATR-based stop, partial exits, and a bounce or time exit.
alert() calls to receive them. Historical Strategy Tester results, native compilation, paper trading, and live execution are different evidence levels; none should be described as live verification of another.dip-ladder-rsi-2-pullback-strategy-algonexta.pine · 277 lines · 20.4 KB
Not yet verified on the native platform — test it before relying on it.
The original uploaded source.
// ============================================================================
// © algonexta
// This script is for education and research; it does not guarantee results.
// Verify this source in TradingView before use.
// ============================================================================
// Dip Ladder. Buys short, sharp dips inside an uptrend (RSI-2 below 10 above the 200 SMA) and sells
// the bounce in two steps. Long only by default; shorts of spikes in a downtrend can be switched on.
// Backtest results describe the past only and do not predict future results. Not financial advice.
//@version=6
strategy("Dip Ladder: RSI-2 Pullback Strategy [AlgoNexta]", shorttitle = "Dip Ladder", overlay = true, initial_capital = 10000, currency = currency.NONE, default_qty_type = strategy.percent_of_equity, default_qty_value = 10, commission_type = strategy.commission.percent, commission_value = 0.01, slippage = 2, pyramiding = 0, max_boxes_count = 300, max_lines_count = 300, max_labels_count = 300)
string NAME = "Dip Ladder"
//──────────────────────────────────────────────────────────────────────────────
// Strategy inputs
//──────────────────────────────────────────────────────────────────────────────
string G_TRD = "Trend"
string G_ENT = "Entry and exit"
int trendLen = input.int(200, "Trend SMA", minval = 20, group = G_TRD, tooltip = "Longs only above this average, shorts only below it.", display = display.none)
int rsiLen = input.int(2, "RSI length", minval = 2, maxval = 14, group = G_ENT, display = display.none)
float buyBelow = input.float(10, "Buy when RSI is below", minval = 1, maxval = 50, group = G_ENT, display = display.none)
float sellAbv = input.float(90, "Sell short when RSI is above", minval = 50, maxval = 99, group = G_ENT, display = display.none)
int exitLen = input.int(5, "Exit SMA", minval = 2, maxval = 50, group = G_ENT, tooltip = "The remaining position closes when a bar closes above this average (below it for a short).", display = display.none)
float stopAtr = input.float(2.5, "Initial stop (ATR)", minval = 0.5, step = 0.25, group = G_ENT, tooltip = "Distance from the signal close to the initial stop, in ATR(14). This distance is 1R.", display = display.none)
int maxBars = input.int(10, "Close after (bars, 0 = off)", minval = 0, maxval = 100, group = G_ENT, display = display.none)
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// LADDER RISK ENGINE, part 1 of 3: inputs. This block is the same in all AlgoNexta Ladder
// strategies; only the default values differ.
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
string G_RISK = "Risk"
string G_TP = "Targets: the position is closed in steps"
string G_STOP = "Stop management"
string G_DAY = "Daily guard"
string G_VIS = "Display"
string SM_OFF = "Never"
string SM_BE = "To entry after target 1"
string SM_STEP = "To entry after target 1, then one target behind"
string LE_FIX = "Its fixed target"
string LE_TRL = "A trailing stop"
string LE_NONE = "Only the stop or the strategy's own exit"
float riskPct = input.float(1.0, "Risk per trade (% of equity)", minval = 0.1, maxval = 5.0, step = 0.1, group = G_RISK, tooltip = "The position size is set so that a full stop-out from the signal price loses this share of equity. 1R is the distance from the signal bar's close to the initial stop.", display = display.none)
float maxLev = input.float(0.9, "Largest position (multiple of equity)", minval = 0.1, maxval = 20.0, step = 0.1, group = G_RISK, tooltip = "Caps the position when the stop is very close. With the default 100% margin, keep this below 1.", display = display.none)
string tradeDir = input.string("Long only", "Direction", options = ["Both", "Long only", "Short only"], group = G_RISK, display = display.none)
int nT = input.int(2, "Number of targets", minval = 1, maxval = 4, group = G_TP, tooltip = "1 to 4 steps. Each step closes part of the position at its target. The last active step always closes whatever is left.", display = display.none)
float t1R = input.float(0.75, "Target 1 (R)", minval = 0.2, step = 0.25, group = G_TP, display = display.none)
float p1 = input.float(50, "Target 1 closes (% of the position)", minval = 1, maxval = 100, group = G_TP, display = display.none)
float t2R = input.float(2.0, "Target 2 (R)", minval = 0.2, step = 0.25, group = G_TP, display = display.none)
float p2 = input.float(30, "Target 2 closes (% of the position)", minval = 1, maxval = 100, group = G_TP, display = display.none)
float t3R = input.float(3.0, "Target 3 (R)", minval = 0.2, step = 0.25, group = G_TP, display = display.none)
float p3 = input.float(20, "Target 3 closes (% of the position)", minval = 1, maxval = 100, group = G_TP, display = display.none)
float t4R = input.float(4.0, "Target 4 (R)", minval = 0.2, step = 0.25, group = G_TP, tooltip = "Percentages are shares of the initial position. Keep their sum below 100 so that the last step has something left to close.", display = display.none)
string lastExit = input.string(LE_NONE, "The last part exits by", options = [LE_FIX, LE_TRL, LE_NONE], group = G_TP, tooltip = "Its fixed target: the last step closes at its own target. A trailing stop: the last step has no target and leaves when the trailing stop is hit. Only the stop or the strategy's own exit: no target and no trailing; the last part rides until the (moved) stop, the session end or a trend flip, depending on the strategy.", display = display.none)
int trailFrom = input.int(1, "Trailing starts after target", minval = 0, maxval = 3, group = G_TP, tooltip = "0: the stop trails from the entry. 1: after target 1 is reached, and so on. Used only when the last part exits by a trailing stop.", display = display.none)
float trailMult = input.float(3.0, "Trailing distance (ATR)", minval = 0.5, step = 0.25, group = G_TP, display = display.none)
string stopMove = input.string(SM_BE, "Move the stop", options = [SM_OFF, SM_BE, SM_STEP], group = G_STOP, tooltip = "The stop only ever moves in the trade's favour. A move decided on one bar takes effect from the next bar.", display = display.none)
int maxDayTrades = input.int(0, "Max new positions per day (0 = no limit)", minval = 0, group = G_DAY, display = display.none)
float maxDayLoss = input.float(0.0, "No new entries after a daily loss of % (0 = off)", minval = 0.0, step = 0.5, group = G_DAY, tooltip = "Measured on equity since the first bar of the day. Open trades are not closed by this rule.", display = display.none)
bool showLevels = input.bool(true, "Show stop and targets", group = G_VIS, display = display.none)
bool showTable = input.bool(true, "Show status table", group = G_VIS, display = display.none)
string tblPos = input.string("Top right", "Table position", options = ["Top right", "Top left", "Bottom right", "Bottom left"], group = G_VIS, display = display.none)
color upCol = input.color(#22ab94, "Long / target colour", group = G_VIS, display = display.none)
color dnCol = input.color(#f23645, "Short / stop colour", group = G_VIS, display = display.none)
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// LADDER RISK ENGINE, part 2 of 3: state and order functions (identical in all five strategies).
// One position at a time. Entry is a market order sent at the close of the signal bar; it fills
// at the next bar's open. Stop and targets are fixed prices measured from the signal bar's close.
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
type Trade
int dir = 0 // 1 long, -1 short, 0 no trade
float entry = na // signal bar close (planned entry)
float stop = na // live stop price
float risk = na // 1R as a price distance
float qty = na // initial position size
float t1 = na
float t2 = na
float t3 = na
float t4 = na
bool h1 = false // price has reached target 1
bool h2 = false
bool h3 = false
int bar = na // signal bar
int count = 0 // positions taken so far
var Trade tr = Trade.new()
// Daily guard
bool newDay = timeframe.change("D")
var float dayEq = na
var int dayTrades = 0
if newDay or na(dayEq)
dayEq := strategy.equity
dayTrades := 0
bool dayOk = (maxDayTrades == 0 or dayTrades < maxDayTrades) and (maxDayLoss == 0 or (strategy.equity - dayEq) / dayEq * 100.0 > -maxDayLoss)
f_pos(string s) =>
s == "Top left" ? position.top_left : s == "Bottom right" ? position.bottom_right : s == "Bottom left" ? position.bottom_left : position.top_right
// The stop that protects more: the higher one for a long, the lower one for a short.
f_better(int dir, float a, float b) =>
dir == 1 ? math.max(a, b) : math.min(a, b)
// Units that risk riskPct of equity over the stop distance, capped by the position limit.
f_qty(float dist) =>
float riskCash = strategy.equity * riskPct / 100.0
float byRisk = riskCash / (dist * syminfo.pointvalue)
float byCap = strategy.equity * maxLev / (close * syminfo.pointvalue)
math.max(0.0, math.min(byRisk, byCap))
// Call once per bar BEFORE the entry logic: forgets a trade that has been fully closed.
f_sync(Trade t) =>
if t.dir != 0 and strategy.position_size == 0 and bar_index > t.bar
t.dir := 0
t.dir
// Opens a trade if none is open. Returns true when the entry order was sent.
f_open(Trade t, int dir, float stop) =>
bool opened = false
float dist = math.abs(close - stop)
bool side = dir == 1 ? stop < close : stop > close
if strategy.position_size == 0 and t.dir == 0 and side and dist > syminfo.mintick
float q = f_qty(dist)
if q > 0
t.dir := dir
t.entry := close
t.stop := stop
t.risk := dist
t.qty := q
t.t1 := close + dir * t1R * dist
t.t2 := close + dir * t2R * dist
t.t3 := close + dir * t3R * dist
t.t4 := close + dir * t4R * dist
t.h1 := false
t.h2 := false
t.h3 := false
t.bar := bar_index
t.count := t.count + 1
strategy.entry(dir == 1 ? "Long" : "Short", dir == 1 ? strategy.long : strategy.short, qty = q)
alert(NAME + ": " + (dir == 1 ? "LONG " : "SHORT ") + syminfo.ticker + " at about " + str.tostring(close, format.mintick) + ", stop " + str.tostring(stop, format.mintick) + ", target 1 " + str.tostring(t.t1, format.mintick), alert.freq_once_per_bar_close)
opened := true
opened
// Call once per bar AFTER the entry logic: marks reached targets, moves the stop, and keeps one
// exit order per remaining step. trailPx is the trailing price that the strategy logic proposes, or na for none.
f_manage(Trade t, float trailPx) =>
if t.dir != 0
int d = t.dir
string id = d == 1 ? "Long" : "Short"
string px = d == 1 ? "L" : "S"
if strategy.position_size != 0
if not t.h1 and (d == 1 ? high >= t.t1 : low <= t.t1)
t.h1 := true
alert(NAME + ": target 1 reached on " + syminfo.ticker, alert.freq_once_per_bar_close)
if nT >= 2 and not t.h2 and (d == 1 ? high >= t.t2 : low <= t.t2)
t.h2 := true
alert(NAME + ": target 2 reached on " + syminfo.ticker, alert.freq_once_per_bar_close)
if nT >= 3 and not t.h3 and (d == 1 ? high >= t.t3 : low <= t.t3)
t.h3 := true
alert(NAME + ": target 3 reached on " + syminfo.ticker, alert.freq_once_per_bar_close)
float ns = t.stop
if stopMove != SM_OFF and t.h1
ns := f_better(d, ns, strategy.position_avg_price)
if stopMove == SM_STEP
if t.h2
ns := f_better(d, ns, t.t1)
if t.h3
ns := f_better(d, ns, t.t2)
int hits = (t.h1 ? 1 : 0) + (t.h2 ? 1 : 0) + (t.h3 ? 1 : 0)
if lastExit == LE_TRL and hits >= trailFrom and not na(trailPx) and (d == 1 ? trailPx < close : trailPx > close)
ns := f_better(d, ns, trailPx)
t.stop := ns
// Steps before the last one: a fixed share of the initial position each.
if nT >= 2 and not t.h1
strategy.exit(px + "1", id, qty = t.qty * p1 / 100.0, limit = t.t1, stop = t.stop, comment_profit = "T1", comment_loss = "Stop")
if nT >= 3 and not t.h2
strategy.exit(px + "2", id, qty = t.qty * p2 / 100.0, limit = t.t2, stop = t.stop, comment_profit = "T2", comment_loss = "Stop")
if nT >= 4 and not t.h3
strategy.exit(px + "3", id, qty = t.qty * p3 / 100.0, limit = t.t3, stop = t.stop, comment_profit = "T3", comment_loss = "Stop")
// Last step: whatever is left, at its target or with no target when it trails.
float lastT = nT == 1 ? t.t1 : nT == 2 ? t.t2 : nT == 3 ? t.t3 : t.t4
float lim = lastExit == LE_FIX ? lastT : na
strategy.exit(px + "F", id, limit = lim, stop = t.stop, comment_profit = "Last target", comment_loss = "Stop")
t.dir
//──────────────────────────────────────────────────────────────────────────────
// Trend, dip and bounce
//──────────────────────────────────────────────────────────────────────────────
float atr = ta.atr(14)
float smaT = ta.sma(close, trendLen)
float smaX = ta.sma(close, exitLen)
float rsi = ta.rsi(close, rsiLen)
bool longSig = close > smaT and rsi < buyBelow
bool shortSig = close < smaT and rsi > sellAbv
float longStop = close - stopAtr * atr
float shortStop = close + stopAtr * atr
//──────────────────────────────────────────────────────────────────────────────
// Orders: confirmed bars only
//──────────────────────────────────────────────────────────────────────────────
f_sync(tr)
bool opened = false
if barstate.isconfirmed and dayOk
if longSig and tradeDir != "Short only"
opened := f_open(tr, 1, longStop)
else if shortSig and tradeDir != "Long only"
opened := f_open(tr, -1, shortStop)
if opened
dayTrades += 1
if barstate.isconfirmed and strategy.position_size != 0 and bar_index > tr.bar
if tr.dir == 1 and close > smaX
strategy.close("Long", comment = "Bounce")
if tr.dir == -1 and close < smaX
strategy.close("Short", comment = "Bounce")
if maxBars > 0 and bar_index - tr.bar >= maxBars
strategy.close_all(comment = "Time")
f_manage(tr, tr.dir == 1 ? close - trailMult * atr : close + trailMult * atr)
plot(smaT, "Trend SMA", color = close > smaT ? upCol : dnCol, linewidth = 2, display = display.all - display.status_line)
plot(smaX, "Exit SMA", color = color.new(chart.fg_color, 50), display = display.all - display.status_line)
plotshape(longSig and strategy.position_size == 0 and tradeDir != "Short only", "Dip", style = shape.circle, location = location.belowbar, color = color.new(upCol, 40), size = size.tiny, display = display.all - display.status_line)
plotshape(shortSig and strategy.position_size == 0 and tradeDir != "Long only", "Spike", style = shape.circle, location = location.abovebar, color = color.new(dnCol, 40), size = size.tiny, display = display.all - display.status_line)
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// LADDER RISK ENGINE, part 3 of 3: stop and target lines, status table (identical in all five).
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
f_lvl(int i, float price, bool reached) =>
showLevels and tr.dir != 0 and nT >= i and not reached and not (i == nT and lastExit != LE_FIX) ? price : na
plot(showLevels and tr.dir != 0 ? tr.stop : na, "Stop", color = dnCol, style = plot.style_linebr, linewidth = 2, display = display.all - display.status_line)
plot(f_lvl(1, tr.t1, tr.h1), "Target 1", color = upCol, style = plot.style_linebr, display = display.all - display.status_line)
plot(f_lvl(2, tr.t2, tr.h2), "Target 2", color = upCol, style = plot.style_linebr, display = display.all - display.status_line)
plot(f_lvl(3, tr.t3, tr.h3), "Target 3", color = upCol, style = plot.style_linebr, display = display.all - display.status_line)
plot(f_lvl(4, tr.t4, false), "Target 4", color = upCol, style = plot.style_linebr, display = display.all - display.status_line)
var table tb = table.new(f_pos(tblPos), 2, 8, bgcolor = color.new(chart.bg_color, 10), border_color = color.new(chart.fg_color, 85), border_width = 1, frame_color = color.new(chart.fg_color, 70), frame_width = 1)
f_cell(int col, int row, string txt, color c) =>
table.cell(tb, col, row, txt, text_color = c, text_size = size.small, text_halign = text.align_left)
// Two rows (k1/v1 and k2/v2) belong to the strategy; the rest is the same everywhere.
f_dash(string k1, string v1, string k2, string v2) =>
if showTable and (barstate.islastconfirmedhistory or barstate.isrealtime)
color fg = chart.fg_color
int hits = (tr.h1 ? 1 : 0) + (tr.h2 ? 1 : 0) + (tr.h3 ? 1 : 0)
string stateTxt = tr.dir == 0 ? "No trade" : (tr.dir == 1 ? "Long" : "Short") + ", now " + str.tostring((close - tr.entry) * tr.dir / tr.risk, "#.##") + " R"
string plan = str.tostring(t1R) + "R" + (nT >= 2 ? " / " + str.tostring(t2R) + "R" : "") + (nT >= 3 ? " / " + str.tostring(t3R) + "R" : "") + (nT >= 4 ? " / " + str.tostring(t4R) + "R" : "") + (lastExit == LE_TRL ? ", last part trails" : lastExit == LE_NONE ? ", last part rides" : "")
string tgtTxt = tr.dir == 0 ? plan : str.tostring(math.min(hits, nT)) + " of " + str.tostring(nT) + " reached (" + plan + ")"
f_cell(0, 0, NAME, fg)
f_cell(1, 0, stateTxt, tr.dir == 1 ? upCol : tr.dir == -1 ? dnCol : fg)
f_cell(0, 1, "Targets", fg)
f_cell(1, 1, tgtTxt, fg)
f_cell(0, 2, "Stop", fg)
f_cell(1, 2, tr.dir == 0 ? "-" : str.tostring(tr.stop, format.mintick), fg)
f_cell(0, 3, k1, fg)
f_cell(1, 3, v1, fg)
f_cell(0, 4, k2, fg)
f_cell(1, 4, v2, fg)
f_cell(0, 5, "Positions taken", fg)
f_cell(1, 5, str.tostring(tr.count), fg)
f_cell(0, 6, "Net result", fg)
f_cell(1, 6, str.tostring(strategy.netprofit / strategy.initial_capital * 100.0, "#.#") + "% at " + str.tostring(riskPct, "#.##") + "% risk", fg)
f_cell(0, 7, "Profit factor", fg)
f_cell(1, 7, strategy.grossloss > 0 ? str.tostring(strategy.grossprofit / strategy.grossloss, "#.##") : "-", fg)
f_dash("Trend", close > smaT ? "above the SMA: dips are bought" : "below the SMA: spikes are sold", "RSI", str.tostring(rsi, "#.#"))On a confirmed bar, the close must be above Trend SMA (200) and RSI length (2) must be below 10. An entry also requires permission from the direction and daily-guard settings, no existing position, and a valid ATR-based stop.
No. Although Number of targets defaults to 2 and Target 2 (R) to 2.0, the default last-part setting supplies no fixed target order; the remainder exits through its stop, bounce exit, or time exit.
The code does not specify a market or timeframe. All indicator lengths and the default ten-bar time exit operate on the selected chart timeframe, so evaluate the settings on the market and timeframe you intend to study.
Entry and bounce/time-exit decisions use confirmed bars, without higher-timeframe lookahead or pivots, but condition circles can change before a realtime bar closes. This is a strategy that submits simulated orders for TradingView Strategy Tester; a plotted circle alone is not an order.
The script calls `alert()` when it submits a new entry and when bar highs or lows first reach tracked target levels. Those target alerts report a price touch, not independently confirmed execution; configure a TradingView strategy alert to receive them.
No. This is not financial advice. TradingView Strategy Tester is the source of truth for this strategy’s historical simulated results under the chosen chart and settings; those results do not establish paper-trading or live outcomes.
Describe the change in plain English and AlgoNexta rebuilds it as a fresh Pine v6 script — with its own explanation, evidence, and walkthrough.
Build your own versionEducational content only — not financial advice. TradingView is the source of truth for live data, compilation, and Strategy Tester results.
| ▼ −38.2 pips |
| 2026-11-02 01:00 | ▼ Sell | 1.11702 | 1.12036 | ▼ −33.4 pips |
| 2026-11-02 15:00 | ▲ Buy | 1.11968 | 1.12656 | ▲ +68.8 pips |
| 2026-11-05 10:00 | ▲ Buy | 1.12280 | 1.11967 | ▼ −31.3 pips |
| 2026-11-09 01:00 | ▼ Sell | 1.11557 | 1.11815 | ▼ −25.8 pips |
| 2026-11-10 12:00 | ▲ Buy | 1.12144 | 1.11835 | ▼ −30.9 pips |
| 2026-11-12 00:00 | ▼ Sell | 1.10976 | 1.10450 | ▲ +52.6 pips |
| 2026-11-17 03:00 | ▼ Sell | 1.10074 | 1.09592 | ▲ +48.2 pips |
| 2026-11-19 07:00 | ▼ Sell | 1.09826 | 1.10089 | ▼ −26.3 pips |
| 2026-11-20 13:00 | ▼ Sell | 1.09942 | 1.09314 | ▲ +62.8 pips |
| 2026-11-24 00:00 | ▼ Sell | 1.09107 | 1.09415 | ▼ −30.8 pips |
| 2026-11-25 15:00 | ▼ Sell | 1.09486 | 1.09823 | ▼ −33.7 pips |
| 2026-12-01 01:00 | ▼ Sell | 1.08900 | 1.09138 | ▼ −23.8 pips |