WTFutures.
A precision camera shutter partly closed, with copper and lavender reflections
FIELD NOTE 03 / THE EXIT

The exit
earns its
place.

A good entry gets the attention.
An exit makes the next trade possible.

Remove one rule. See what changes.

Nineteen winning trades. Now remove one indicator exit—and there are only two. The entry rules did not change. The account simply stayed busy.

In this saved Strategy Lab test, a Bollinger recovery signal closes a long position. That exit frees the account for later trades. We replayed the same prices, the same entry rules and the same costs, changing only that one exit. Below, you can move between both versions.

Saved net return+32.33%$1,000 → $1,323.28
Winning trades19 / 19Including one end-of-test closure
Maximum drawdown1.31%Within this candle simulation

11 Sep 2026, 02:27 → 10:46 UTC, end exclusive. A 500-candle snapshot; 499 completed candles including warm-up. This short, selected test was optimised on these prices. Its 100% win rate is not a probability of future success.

The signal that says “enough”.

Bollinger Bands place an upper and lower boundary around an average. Here the range-long exit uses six candles and two standard deviations. A close crossing back below the upper band creates a short-side recovery signal. Because the strategy already holds a long, it uses that signal to close it.

That is different from selling just because price touched a band. The previous close must have been at or above the previous upper band, and the new close must be below the new upper band. The engine waits for a completed candle, then closes at the next candle’s open, adjusted for costs.

03:57 UTCOpen long0.01569314 USDT
04:45 candle closesCross back insideClose 0.01657000 < upper band 0.01661193
04:46 UTCClose long0.01655669 USDT

This second trade makes $55.11 after costs. At 04:47, a different recipe can enter a short. There is no room for that next position if the long is still open: this engine allows one position at a time.

02 / A CONTROLLED COMPARISON

One change.
A different sequence.

Only the range-long Bollinger exit is removed. Its 6% trailing stop remains. It has no profit target, holding limit or opposite-entry exit. All three other recipes remain unchanged.

+32.33%19 trades · 1.31% drawdown · Saved result

The Bollinger exit closes the range-long, freeing the account for later entries. Both charts use exactly the same candles and costs.

EXPLORE THE ACTUAL TRADES

Every entry. Every exit.

Fixed historical test

Start with trade #2. Compare its exit and the trades that follow. This is a frozen illustration, not an optimisation tool.

Trade 2 / 19 · Range · Long
O 0.0165H 0.0165L 0.01642C 0.01645VOL 4.2M
0.015610.0158680.0161250.0163820.01664Exit: BB REV centreExit: Upper bandExit: Lower band03:5404:0104:0804:1504:2204:2904:3604:43Long · Indicator exit · $55.11 net P&LLong · Indicator exit · $55.11 net P&LShort · Profit target · $27.12 net P&LSLong · Indicator exit · $55.11 net P&LBLong · Indicator exit · $55.11 net P&LE
56 candlesDrag / Shift-scroll to pan · Scroll to zoom
View: 11 Sept 03:54 – 04:49 · 500-candle history totalUTC
LONG · Range · Long+$55.11+5.38% on trade allocation, after costs
Entry · 11 Sept, 03:57 UTC
0.015693138 USDT
Exit · 11 Sept, 04:46 UTC
0.016556688 USDT
Exit rule
Indicator exit

B Buy / long entry S Sell / short entry E Exit · Lines show the selected trade’s entry recipe and indicator exit, where available. Flags mark fills; an intrabar exit’s flag is anchored to its candle, not an exact second.

Inspect all 19 trades
Trade / entry UTCRecipeExit ruleNet P&LAccount after
Trend · ShortProfit target+$25.11$1,025.11
Range · LongIndicator exit+$55.11$1,080.22
Trend · ShortProfit target+$27.12$1,107.34
Range · LongIndicator exit+$22.09$1,129.42
Range · ShortProfit target+$21.13$1,150.55
Range · LongIndicator exit+$5.37$1,155.92
Range · ShortIndicator exit+$8.89$1,164.81
Range · LongIndicator exit+$21.41$1,186.22
Range · ShortIndicator exit+$5.39$1,191.62
Trend · LongProfit target+$23.32$1,214.94
Range · ShortProfit target+$22.73$1,237.66
Range · ShortIndicator exit+$11.36$1,249.02
Range · LongIndicator exit+$12.31$1,261.33
Range · ShortProfit target+$23.59$1,284.92
Range · LongIndicator exit+$15.86$1,300.79
Range · ShortIndicator exit+$11.20$1,311.98
Range · LongIndicator exit+$9.07$1,321.05
Range · ShortIndicator exit+$1.92$1,322.97
Range · ShortEnd of test+$0.31$1,323.28

Without this exit, trade #2 stays open to the forced end of the test. Return falls to +6.46% and drawdown rises to 5.26%. This shows the exit’s effect on this sample; it does not establish that this setting is best on other periods.

The same idea, in Pine.

The exported script keeps entry and exit jobs separate. These exact excerpts come from this saved setup’s current export; the complete script supplies the helper functions, inputs and order handling.

Detect the return below the upper band
    goShort := sl_down(value, upper)

sl_down checks a downward crossing. The Bollinger helper uses the close as its value and recalculates the upper band on each bar.

Route the signal to the long position’s exit
bool r3IXL = r3UseExit and m7S
bool r3IXS = r3UseExit and m7L

m7S is the short signal from this six-candle Bollinger recovery module. r3IXL makes it an exit for the range-long recipe. It does not open a short by itself.

Close the position and label the reason
            strategy.close(isLong ? "L" : "S", comment = indicatorExit ? "Indicator exit" : oppositeExit ? "Opposite signal" : "Holding limit", alert_message = isLong ? "exit_long" : "exit_short", disable_alert = not enableTradeAlerts)

This sits inside the script’s confirmed-bar decision block. Order-fill alert messages identify the direction being closed. The snippet is not a standalone strategy or a claim that every TradingView fill has been independently matched.

04 / THE WHOLE STRATEGY

Four recipes share one account.

CHOP(51) below 45 selects the trend recipes; 45 or above selects the range recipes. CHOP is a measure of directional versus choppy movement, not an up/down prediction. Open positions keep the exit rules of their entry recipe.

BB1 trade

Trend · Long

Entry trigger
Bollinger breakout: Length 120 · Multiplier 2.3
Confirmations
Double exponential average: Length 61Simple moving average: Length 20Trend direction: price must be above EMA(50) for this long branch.
Stop / target
4% fixed stop · 2.1% target
Indicator exit
Supertrend: Length 10 · Multiplier 3
Other controls
Holding limit: 40 candles · Opposite entry exit: off · Cooldown: 1 candle.
STOCH2 trades

Trend · Short

Entry trigger
Stochastic oscillator: Length 11 · Smoothing 2 · Threshold 17
Confirmations
None
Stop / target
0.92% fixed stop · 2.65% target
Indicator exit
None
Other controls
Holding limit: 150 candles · Opposite entry exit: on · Cooldown: 0 candles.
STOCH7 trades

Range · Long

Entry trigger
Stochastic oscillator: Length 22 · Smoothing 2 · Threshold 26
Confirmations
None
Stop / target
6% trailing stop · No target
Indicator exit
Bollinger recovery: Length 6 · Multiplier 2
Other controls
Holding limit: off · Opposite entry exit: off · Cooldown: 0 candles.
STOCH9 trades

Range · Short

Entry trigger
Stochastic oscillator: Length 16 · Smoothing 3 · Threshold 18
Confirmations
None
Stop / target
1.5% fixed stop · 2.01% target
Indicator exit
Bollinger recovery: Length 17 · Multiplier 1.9
Other controls
Holding limit: off · Opposite entry exit: off · Cooldown: 8 candles.

A trailing stop updates from completed closes, not an unseen intrabar high. If a candle touches both stop and target and their order is unknown, this simulator assumes the stop first. There were no such ambiguous trades in this saved test.

A lesson, not a forecast.

Both versions still show a 100% win rate. One has 19 trades; the other has two. That is why win rate alone is a poor way to compare them. Removing an exit changes holding time, account availability, compounding and which later trades can happen.

The original has one end-of-test closure, and the comparison has one too. A forced closing price is part of this historical experiment, not a repeatable live exit rule. The saved account uses 100% of available equity at 1× exposure, a 0.06% fee and 0.02% adverse slippage per side. Funding, variable spreads, market impact and live fill availability are not modelled.

STRATEGY FIT / EDITORIAL ASSESSMENT

Potential fit: repeated stretches and recoveries.

The exit may be useful when an upward stretch repeatedly fades back into its band. It can also close too early in a persistent advance. This eight-hour sample cannot tell us which behaviour will dominate next.

Evidence strength: limited.

The settings were selected on this same period. There is no untouched test or forward record attached. Freeze the rules, test later periods with realistic costs, and check nearby band lengths before interpreting this as durable evidence. This is not a success-probability score.

Snapshot and reproduction

Immutable public snapshot 4849b770dc36e3baf2bd7b292ecfb8b6df37f872a678ae988204aed1d05424cf. All saved totals were recalculated and matched using bot-replay-1. The comparison deletes only routing.rangeLong.exit.indicator and never runs a search. In TradingView, use BINANCE:SAGAUSDT.P, standard one-minute candles, original Inputs and Properties and “Match the saved Strategy Lab test”.

YOUR RULES. YOUR QUESTIONS.

Look at what happens
after the entry.

Create a strategy, inspect its trades and download the matching Pine Script.

Try Strategy Lab free No card. No coding. TradingView is a separate service.