Skip to content
Script type
Indicator
Source code
Open-source

SwiftEdge Opening Range

Also known as SE Opening Range

Compares opening range breakouts and their results session by session

Difficulty Advanced

No.VOW-000117

The chart stacks up a range box and band, extension levels, dots and × marks, red and green simulated trade boxes and R-multiple results, with a 19-row stats panel in the bottom-right corner. Reading that panel means being comfortable with R-multiples and out-of-sample testing, and the settings are spread across seven groups. Just watching the ranges is easy enough, but getting to the point where you compare simulated trade setups and read the stats with confidence takes some time to get used to.

Repainting
Backpaints
  1. Live barChanges
  2. On closeFixed
  3. HistoryBackpaints
Only while the range is forming does the box's height update back to the session's first bar; once a bar is confirmed, its dots, × marks and trade results never repaint.
Best timeframes
  • Lower TFs≤15m
  • Mid TFs30m–4H
  • Higher TFs1D+
Tested on BTCUSD (1m, 5m, 15m, 30m, 1H, 4H, 1D, 1W)
Alerts
5 conditions
Buy/sell signals
Yes
Market conditions
Any
Display
Overlay
Chart elements
BoxesLinesLabelsTables
Base indicator
ATROpening Range (ORB)
Trading style
ScalpingDay Trading
DashboardsBreakout

“SwiftEdge Opening Range” Shows Which Session’s Breakouts Hold and Which Fake Out

Diagram gallery 9

Article Summary
What does this indicator do?
Bottom line

SwiftEdge Opening Range plots opening ranges and breakouts for up to four sessions and tallies whether each breakout held or faked out. It suits day traders who want to decide between trading the breakout and fading it based on their own chart history rather than gut feel.

Tell me more
Key points
  • Plots the high and low of the first N minutes (30 by default) of up to four sessions as the opening range.
  • By default the Asia, London and New York sessions are color-coded, with all times read in New York time.
  • The first bar that closes outside the locked range gets a dot in the session color, and only one breakout is counted per session.
  • A close back inside the range within 6 bars flags a fake-out with an ×; breakouts that survive the window count as held.
  • Simulated breakout trades and fades of failed breakouts are drawn as red and green stop and target boxes, with results in R.
  • The panel compares each session's held and fake-out rates, simulated win rate and average R, and recent-only (last 30%) stats.
  • Choose between entering on the close, a stop order at the range edge or a retest, and switch common stop/target setups with Preset.
  • Everything is decided on bar close. Use a chart timeframe at or below the range length, such as 5m or 15m for a 30-minute range.

An indicator that turns the first 30 minutes of a session into a data-driven game plan

The first 30 minutes after the New York open. The first 30 minutes when London traders pile in. The high and low of that window is called the “opening range,” and trading in the direction price breaks out of it is the opening range breakout (ORB). It’s about as simple as a setup gets, which is why day traders in stocks, futures and FX have used it for decades.

Trade it live, though, and the questions pile up fast. You buy the breakout and it snaps right back into the range. You can’t decide whether the London open or the New York open is the one worth trading. “SwiftEdge Opening Range” answers those questions by crunching the numbers on your own chart history.

SwiftEdge Opening Range on a 5-minute chart, showing the opening ranges of three sessions alongside the stats panel.
SwiftEdge Opening Range on a 5-minute chart, showing the opening ranges of three sessions alongside the stats panel.

SwiftEdge Opening Range plots the opening range for up to four sessions at once and tags every breakout as either “held” or a “fake-out”. On top of that, it runs simulated trades both with the breakout and against the fakeout, then lines up the results per session in a stats panel.

Purple is the Asia session, orange is London and blue is New York. The panel in the bottom-right corner lists, session by session, how often breakouts held and how often they turned into fakeouts. Rather than firing buy and sell signals, the indicator is built to find out which session, and which way of entering, actually fits your symbol and timeframe.

What this article covers

We’ll walk through it step by step with annotated charts: reading the range box, band and extension levels, how breakouts and fakeouts are classified, how to read the simulated trade boxes, how to use the panel stats, and how to dial in the settings. Every setting is referred to by the exact name shown in TradingView, so you can follow along with the settings dialog open.

Everything the indicator draws, from top to bottom

There’s a fair amount on screen, but it’s easy to follow once you group it by job. Let’s start with a single session and see what gets drawn and why.

The first 30 minutes become a box, and that box becomes the day’s reference

How the opening range gets drawn

The high and low of the 30 minutes after 9:30 New York time become the reference for the rest of the day.

How the opening range gets drawn① The first 30 minutes: the solid box is the forming range ② Once locked, the band and high/low/mid lines extend to the session close ③ Dot on the first bar that closes outside the rangeNew York · 30m+1×−1×+2×−2×The first 30 minutes:the solid box is the forming rangeOnce locked, the band and high/low/midlines extend to the session closeDot on the first bar thatcloses outside the rangeExtension levels at 1x and 2x the range

Vowars DE ver.3.22.0

5-minute chart, default settings, New York session only. Extension levels at 1x and 2x the range width are drawn automatically as a guide for how far price may run after a breakout.

When a session opens, a solid box starts on the first bar and expands with the high and low for the time set in OR min (30 minutes by default). That is the opening range still forming, shown in Figure 1.

On the first bar after the 30 minutes are up, the range locks in. From there a light band, solid lines at the high and low, and a dotted midline extend to the right until the session closes. Figure 2 shows this state. For New York the same lines stay on the chart until 16:00, so they work as levels the market keeps reacting to throughout the day.

The dashed lines above and below are the extension levels, drawn at 1x and 2x the range width and labeled “+1×” and “−1×” and so on. They give you a yardstick for how far a breakout might run and where to put a profit target.

The first bar that closes outside the locked range gets a dot in the session’s color, as in Figure 3. A wick through the level isn’t enough. You only get one dot per session, so later breakouts in the same session won’t be marked.

The red and green boxes are a simulated “what if I took this breakout” trade

A breakout that holds and hits the 2R target

A simulated trade enters on the bar that closes outside the range. If price doesn't close back inside within the next 6 bars, the breakout counts as "held."

A breakout that holds and hits the 2R target① Simulated entry on the breakout close Stop on the other side of the range ② No close back inside within 6 bars = "held" ③ Top of the green box is the 2R target Tagged, closed and marked "+2R"New York · 30m+1×−1×+2×−2×+2RSimulated entry on the breakout closeStop on the other side of the rangeNo close back insidewithin 6 bars = "held"Top of the green box is the 2R targetTagged, closed and marked "+2R"

Vowars DE ver.3.22.0

Default settings (enter on close, stop at the opposite edge, 2R target). The red box is the stop distance, the green box the target distance, and the result is printed in R on the exit bar.

Along with the dot, a red box and a green box appear. They work just like TradingView’s Long Position and Short Position drawing tools: red is the distance to the stop, green is the distance to the target. By default the trade enters at the close of the breakout bar, puts the stop on the opposite side of the range, and sets the target at twice the stop distance (2R). Figure 1 marks the entry.

“R” is a profit/loss unit where your stop distance equals 1. +2R means you made twice your risk, and −1R means you got stopped out exactly. Because R puts every symbol and volatility level on the same scale, all of this indicator’s results are shown in R. As in Figure 3, the result is printed to the right of the exit bar, for example “+2R” or “-0.5R.”

If no bar closes back inside the range within 6 bars of the breakout, the breakout counts as “held,” as in Figure 2. Commission and slippage are deducted by default, so the R you see is slightly conservative.

Quick reference: what’s on the chart

On the chartMeaningRelated setting
Solid boxOpening range while it formsRange box / Box transparency
Light band with solid and dotted linesHigh, low and midpoint of the locked rangeRange band / High / low / Mid
Dashed lines with labels like “+1×”Extension levels at multiples of the range widthExtension levels / Level labels
Text such as “New York · 30m”Session name and range lengthSession title
DotFirst closing breakout of the sessionBreakout / fake-out marks
×Breakout classified as a fake-outBreakout / fake-out marks
Red box / green boxStop distance and target distance of the simulated tradeTrades (position boxes)
Numbers like “+2R”Result of the simulated tradeTrade result
Table in the bottom-right cornerPer-session stats panelShow panel

The panel is toggled under “7 · Panel,” everything else under “6 · Style.” While you’re getting used to it, I found price action easier to follow with the trade boxes turned off, leaving just the range, the dots and the ×s.

Where “held” ends and “fake-out” begins

Every stat in SwiftEdge Opening Range is built on this one classification. There’s only a single rule, and once you know it the panel numbers make a lot more sense.

How a breakout is classified as held or fake-out

Every decision is made on bar close, and once a result is set it never changes.

How a breakout is classified as held or fake-out① Window length set in Fake-out window ② Decided on the close of the bar that comes back ③ Held is confirmed on the 7th bar Flow: Opening range locks in(High and low of the first N minutes after the session opens) → Bar closes outside the range(First one per session only · dot) → Close back inside within 6 bars? → (Yes) Fake-out(× mark · breakout trade closed) / (No) Held(Breakout trade stays open), Fake-out(× mark · breakout trade closed) → Fade the other way(Target: opposite side of the range), Held(Breakout trade stays open) → Exit at target, stop or session end(Default: 2R target, stop on the other side)。YesNoOpening range locks inHigh and low of the first N minutesafter the session opensBar closes outside the rangeFirst one per session only · dotClose back insidewithin 6 bars?Fake-out× mark · breakouttrade closedHeldBreakout tradestays openFade the other wayTarget: oppositeside of the rangeExit at target, stopor session endDefault: 2R target,stop on the other sideWindow length setin Fake-out windowDecided on the closeof the bar that comes backHeld is confirmedon the 7th bar

Vowars DE ver.3.22.0

"Fake-out window" defaults to 6 bars. Breakouts that hold are tallied through the "Breakout playbook," and fake-outs through the "Fade playbook," each as simulated trades.

Counting from the breakout bar, if any bar closes back inside the range within the number of bars set in Fake-out window (bars after the breakout) (6 by default), it’s a fake-out. For an upside breakout that means a close back below the range high; for a downside breakout, a close back above the range low. The watch window is shown in Figure 1, and the decision is made on the close of the bar that comes back in, as in Figure 2.

If price holds outside for all 6 bars, the breakout is confirmed as held on the 7th bar, as in Figure 3. If the session ends before the window is over and price never came back in, it also counts as held.

Everything waits for the bar close

Both breakouts and fakeouts are decided on the bar close only. Even if a live bar pokes outside the range, no dot appears until that bar closes. Watching in real time you’ll sometimes think “it broke out, so where’s the dot?” That’s simply because the bar hasn’t closed yet.

The moment a breakout fails, it flips to a fade

Spotting a fake-out and flipping to a fade

If price closes back inside the range right after a breakout, it gets an × as a fake-out, the breakout trade is closed, and a fade in the opposite direction takes over.

Spotting a fake-out and flipping to a fade① Back inside on the 3rd bar: flagged as a fake-out with × ② Breakout trade exits at this close ③ Fade opens on the same bar Target: other side of the rangefadeNew York · 30m+1×−1×+2×−2××-0.5R+0.8RBack inside on the 3rd bar:flagged as a fake-out with ×Breakout trade exits at this closeFade opens on the same barTarget: other side of the range

Vowars DE ver.3.22.0

Default settings. "Exit on a fake-out" closes the breakout trade on the close of the bar that comes back in. The fade's stop goes just beyond the breakout high and its target is the opposite side of the range.

In this example, price broke out to the upside and closed back inside the range three bars later, printing the × in Figure 1. The × sits at the furthest point the breakout reached (the lowest point for a downside break), so you can see at a glance how far it ran before getting rejected.

Once the fake-out is confirmed, Exit on a fake-out closes the breakout trade at the close shown in Figure 2. Instead of waiting for the stop, it cuts the trade for a smaller loss.

On that same bar, a trade in the opposite direction opens, shown in Figure 3. This is the “fade”: using the failed breakout as a trap and playing the move back to the other side of the range. The red box is labeled “fade” in small text, so you can tell it apart from the breakout trade. By default the stop goes 0.1 ATR beyond the breakout high (or low), and the target is the opposite side of the range.

Trade the breakout, or wait for the trap and fade it? The answer changes by symbol and session, so the indicator records both side by side. That design choice is what makes it interesting.

When do the three sessions start in your time zone?

Tracking the Asia, London and New York ranges on one chart

By default three sessions run at the same time, Asia (purple), London (orange) and New York (blue), each with its own range and breakout calls.

Tracking the Asia, London and New York ranges on one chart① Asia: upside breakout that held ② London: downside break rejected right away, × (fake-out) ③ New York: downside breakout that heldNew York · 30mAsia · 30mLondon · 30m×New York · 30mAsia: upside breakoutthat heldLondon: downside breakrejected right away, × (fake-out)New York: downsidebreakout that held

Vowars DE ver.3.22.0

A full day on the 15-minute chart (extension levels and trade boxes turned off for clarity). All times are read in New York time, the default "Timezone."

By default the Asia, London and New York sessions are all on, and each one builds its own range and judges its own breakouts. From Figure 1 to 3 you can see how differently each session played out. Being able to compare a day where Asia broke up and kept going while London’s downside break got rejected right away is genuinely useful.

Session times are read in Timezone (America/New_York by default). Because everything is anchored to New York time, the start times shift by one hour in UTC whenever US daylight saving time switches on or off.

Session (default)New York timeUTC (US standard time)UTC (US daylight time)
Asia20:00–02:0001:00–07:0000:00–06:00
London03:00–11:3008:00–16:3007:00–15:30
New York09:30–16:0014:30–21:0013:30–20:00
Custom (off by default)08:00–12:0013:00–17:0012:00–16:00

In UTC terms, during US standard time the Asia box starts at 01:00 and the London box at 08:00. Keep in mind that this puts the default Asia session one hour after the Tokyo open (09:00 JST = 00:00 UTC) during US standard time.

Anchoring a session to another time zone

Timezone applies to all four sessions. Switching it to Asia/Tokyo and entering “0900-1500” locks a session to the Tokyo open, but then you have to re-enter New York and London in Tokyo time as well, and they will no longer follow US daylight saving changes automatically.

Another option is to leave the time zone on New York and turn on the unused fourth “Custom” slot for the window you care about. Just remember the times you enter are still read as New York time, so that window shifts by an hour between US standard and daylight time too.

The London session opening range and simulated trade boxes on a 1-minute chart, with extension levels stacked above and below the range.
The London session opening range and simulated trade boxes on a 1-minute chart, with extension levels stacked above and below the range.

Read each session’s personality from the panel

The part of SwiftEdge Opening Range worth spending the most time on is the panel in the bottom-right corner. It recounts every past session loaded on your chart and turns the breakout behavior into a table.

Reading each session's breakout tendencies in the panel

The panel is a scorecard of how breakouts behaved in each session across the price history loaded on your chart.

Reading each session's breakout tendencies in the panel① Sessions counted Orange when below 50 ② Held vs. fake-out split Breakout or fade? ③ Last 30% of history only If it disagrees, stand asideSwiftEdge Opening RangeNew York · 30mLondon · 30mAsia · 30mTodayclosedfake-out ▼closedToday's range1.28 ATR · 49 pct0.9 ATR · 15 pct2.53 ATR · 87 pct Sessions454646Breakout rate100%100%100%Up / down51 / 4970 / 3050 / 50Held / fake-out47 / 53%59 / 41%37 / 63%Reached 1× extension87%80%80%Held · narrow / wide range39% / 55%58% / 59%33% / 41% Breakout trades45 · 42% · +0.3546 · 43% · +0.446 · 24% · -0.12Target 1 hit27%30%17%Fade trades22 · 23% · -0.519 · 58% · +0.1223 · 35% · -0.39Breakout · out-of-sample13 · 31% · +0.0714 · 29% · +0.0614 · 14% · -0.28Fade · out-of-sample6 · 17% · -0.518 · 50% · +0.018 · 50% · +0.04 trades · win% · avg RSetup: close · stop opposite side · T1 2RSessions countedOrange when below 50Held vs. fake-out splitBreakout or fade?Last 30% of history onlyIf it disagrees, stand asideToday's range in ATR andwhere it ranks historically

Vowars DE ver.3.22.0

Values were calculated on synthetic price data generated for this figure, not on a real symbol. "Text size" is set to Small.

The figure above was calculated on synthetic price data, but the layout and meaning match what you’ll see on your chart. Rather than reading it top to bottom, decide which rows answer the question you have.

1 Start with “Sessions” to check the sample size

“Sessions” is the number of session days counted. As Figure 1 shows, it turns orange below 50. While that number is small, every percentage can be swung by luck, so don’t read too much into the rows below it.

2 Use “Held / fake-out” to decide between breakout and fade

Figure 2 is the held vs. fake-out split. Sessions where breakouts mostly hold favor trading the breakout; sessions full of fakeouts favor fading. “Reached 1× extension” is the share of breakouts that traveled at least one full range width, which tells you whether the extension levels make sense as profit targets.

“Held · narrow / wide range” splits the held rate between days when the range was narrower than the historical median and days when it was wider. The third row from the top, “Today’s range,” shows today’s range in ATR units and where it ranks in the history (pct), so you can say “today is a narrow-range day, so check the narrow-range held rate.”

3 Use “out-of-sample” to check the edge still works

“Breakout trades” and “Fade trades” show the number of simulated trades, win rate and average R. The two “out-of-sample” rows below them repeat the same stats using only the most recent 30% of the loaded history (the default for Out-of-sample = last % of history), which is Figure 3.

If the full history is positive but the recent slice is negative, the setup may have worked in the past and stopped working since. Put more weight on whether the full sample and the recent sample point the same way than on how good the numbers look.

The SwiftEdge Opening Range stats panel on a 30-minute chart.
The SwiftEdge Opening Range stats panel on a 30-minute chart.
The panel is not a forecast

The panel is a tally of what happened in the price history currently loaded on your chart. It does not guarantee the same rates going forward, so treat it strictly as evidence of how a session has tended to behave.

Simulated fills are based on each bar’s high and low. When a stop and a target could both have been hit in the same bar, the stop is assumed first, so the assumptions lean conservative, but real fills and order book conditions can’t be reproduced.

Same breakout, different results depending on how you enter

For breakout trades you can pick one of three entry methods in Entry. Your choice changes the entry bar, the entry price and the stop distance.

How the three Entry options change entry price and risk

On the same price action, the Entry setting changes the entry bar and price, and with them the size of the red box (stop distance) and the green box (2R target).

How the three Entry options change entry price and risk[Bar close]① Enters on the confirmed close Highest entry of the three [Stop order at range edge]② Filled the moment the bar touches the edge (stop order) [Retest of the edge]③ Filled on the pullback to the edge (limit order)Bar closeNew York · 30mEnters on the confirmed closeHighest entry of the threeStop order at range edgeNew York · 30mFilled the moment the bartouches the edge (stop order)Retest of the edgeNew York · 30mFilled on the pullbackto the edge (limit order)

Vowars DE ver.3.22.0

All three use the opposite side of the range as the stop and a 2R target. A retest entry is skipped if price doesn't come back to the edge within 10 bars (the Retest window default).
  • Bar close (default). Enters once the breakout bar’s close is confirmed. You get confirmation, but as Figure 1 shows, it usually gives you the worst entry price of the three.
  • Stop order at range edge. Think of it as a buy stop or sell stop resting at the edge of the range: the trade is filled the moment a bar trades through the edge. Figure 2 shows where. The entry price is better, but a wick that tags the level and snaps back still counts as filled.
  • Retest of the edge. After the breakout, enters with a limit order when price comes back to the broken edge. In Figure 3 the fill comes on the pullback bar. If price doesn’t come back within Retest window (bars after the breakout) (10 bars by default), the trade is skipped.

In the figure, entering on the close means a wider stop, which pushes the 2R target further away, while the stop order and retest put the target closer. To see which entry suits your market, compare the “Breakout trades” row across settings.

Switch between common setups in one click with “Preset”

Changing entry, stop, target and trailing one at a time gets tedious, so Preset comes with four ready-made setups. When you pick anything other than Custom, the preset overrides the individual settings below for entry, stop, targets, moving the stop to break-even and trailing.

PresetEntryStopTake profit
ClassicCloseOpposite side of the rangeAll out at 2R
RetestRetest of the edgeRange midpointHalf at 1R, rest at 3R. Stop to break-even after 1R
MomentumStop order at the edge1x ATRHalf at 1.5 ATR, rest trailed by 1.5 ATR. Stop to break-even after the first target
Range targetsCloseRange midpointHalf at the 1x range extension, rest at 2x. Stop to break-even after the first target
Custom (default)Per individual settingsPer individual settingsPer individual settings

My suggestion: cycle through the presets and watch how “Breakout trades” and “Breakout · out-of-sample” in the panel react. If you find a session where neither the full sample nor the recent sample falls apart under any preset, that’s a good candidate for the window to focus on for your symbol. Comparing whole setups shows the differences far more clearly than tweaking one setting at a time.

Settings worth adjusting

The settings are split into seven groups, and there are quite a few of them. Here I’ll focus on the ones that move the results the most, group by group.

1 · Sessions

Parameters
SettingDefaultSuggestedEffect
TimezoneAmerica/New_YorkLeave as isTime zone used to read session times. Shared by all four sessions
Session on/off / name / time windowNew York 0930-1600, London 0300-1130, Asia 2000-0200, Custom 0800-1200 (off)Turn on only the sessions you tradeUp to four. Turning a session off also removes it from the stats
OR min30 (15 for Custom)15–60Minutes used to build the opening range
DrawOnOn only for sessions you want to seeStats keep running even when off

A shorter OR min gives a narrower range and earlier, more frequent breakouts, but you’ll catch more fakeouts too. A longer one widens the range and makes breakouts more meaningful, but they tend to come later in the session. For markets with a strong push right after the open, like index futures, try 15 minutes; for markets whose character changes by time of day, like gold, try 30 to 60 minutes.

Turning Draw off hides a session from the chart while still counting it in the stats. That lets you show only New York on the chart while comparing all three sessions in the panel, which is handy to know.

2 · Breakout definition

Parameters
SettingDefaultSuggestedEffect
Buffer beyond the range (× ATR14)00–0.2How many ATRs price must clear beyond the range to count as a breakout
Min relative volume on the breakout bar (0 = off)0 (off)0, or 1.2 to 1.5Requires the breakout bar’s volume to be at least this multiple of its 20-bar average
Fake-out window (bars after the breakout)6Match it to your timeframeNumber of bars watched for a fake-out

Same breakout, different call depending on Fake-out window

Price closes back inside the range on the 4th bar after the breakout. With a 6-bar window that is a "fake-out"; with a 3-bar window it is "held."

Same breakout, different call depending on Fake-out window[Fake-out window = 6 (default)]① Inside the 6-bar window ② Back in on bar 4: × [Fake-out window = 3]③ Past the 3-bar window, so no × and it counts as heldFake-out window = 6 (default)New York · 30m×Inside the 6-bar windowBack in on bar 4: ×Fake-out window = 3New York · 30mPast the 3-bar window,so no × and it counts as held

Vowars DE ver.3.22.0

Both are 5-minute charts with a 30-minute range. A shorter window shortens the period in which a fake-out can be called, so the held rate goes up. Revisit the bar count whenever you change chart timeframe.

Fake-out window (bars after the breakout) is the setting that moves the panel’s held rate the most. As the figure shows, the same breakout that came back in on the 4th bar is counted as a fake-out with 6 bars but as held with 3.

The window is counted in bars, not minutes, so revisit it whenever you change timeframe. The default 6 bars covers 30 minutes on a 5-minute chart but only 6 minutes on a 1-minute chart. If you think of it as “a fake-out is a break that fails within 30 minutes,” use about 30 bars on the 1-minute and 2 bars on the 15-minute.

Setting Buffer beyond the range (× ATR14) to 0.1–0.2 stops bars that barely poke past the edge from counting as breakouts, which cuts fakeouts but also cuts the number of breakouts. Min relative volume on the breakout bar (0 = off) keeps only high-volume breakouts; starting around 1.2–1.5 makes its filtering effect easy to see. It relies on volume, so it won’t work on symbols where the data feed provides no volume.

3 · Breakout playbook and 4 · Fade playbook (simulated trades)

Parameters
SettingDefaultSuggestedEffect
Trade the breakoutOnOnRecords simulated trades in the breakout direction
PresetCustomStart by comparing with ClassicApplies a common setup in one go
EntryBar closeDepends on your goalChoose close, stop order or retest
StopOpposite side (1.0)Opposite side or Range midStop placement. ATR or range multiples and beyond the breakout bar are also available
Target 1R multiple (2.0)1.5–2RFirst target. Session end means no target, hold until the session closes
% closed at target 1100100 or 50Share of the position closed at target 1
Target 2None (3.0)Set only when scaling outTarget for the remainder
Exit on a fake-outOnOnCloses the breakout trade when a fake-out is confirmed
Fade fake-outsOnOnRecords simulated trades fading the fake-out
StopBreakout extreme (0.1)Leave as isStop for 4 · Fade playbook. Just beyond the breakout’s high or low
TargetOpposite side (2.0)Opposite side or Range midTarget for 4 · Fade playbook

There are two settings called “Stop,” one for the breakout side and one for the fade side, so use the group headings in the settings dialog to tell them apart. Target 2 only matters when % closed at target 1 is below 100; it’s how you let the runner go further.

5 · Exit management

Parameters
SettingDefaultSuggestedEffect
Stop to break-even after target 1OnOnMoves the stop to break-even after target 1
Stop to break-even at R (0 = off)0 (off)0 or 1.0Moves the stop to break-even once open profit reaches the set R
Trailing stopNone (1.5)ATR × when you want to let winners runTrailing stop based on ATR or range-width multiples
Trail only after target 1OnOnTrails only after target 1 is hit
Max hold (bars, 0 = off)0 (off)0Time-based exit after the set number of bars
Commission per side (%)0.01Your broker or exchange feeCommission per side
Slippage per fill (ticks)11–2Slippage per fill
Out-of-sample = last % of history3030Most recent share of history tallied separately as out-of-sample

Commission and slippage hit the simulated R directly. Taker fees on many crypto exchanges are higher than 0.01%, so if you don’t match this to your own account the results will look better than they really are. Treat this one as “set it to reality” rather than a recommended value.

6 · Style and 7 · Panel (display)

A handy display option is “Last N sessions” under Show, together with N (5 by default). Drawings for older sessions are removed automatically so only the last five days remain. If the chart still feels cluttered, “Today only” keeps just today’s session. Removing drawings has no effect on the stats.

Enter something like “0.25, 0.75” in Inner levels (fraction of range) to add dotted lines inside the range. Extension levels (× range) defaults to “1, 2” and takes any comma-separated list, such as “0.5, 1, 1.5.” The panel position is set in the menu next to Show panel, and the font size in Text size. The default Tiny is small, so switch to Small if you’re on a smaller screen.

Rule of thumb: chart timeframe at or below the range length

The indicator runs on any timeframe. But an opening range is built from “the first N minutes,” so if your chart timeframe is longer than the range, a single bar ends up forming the whole range. For a 30-minute range, I found the 5-minute and 15-minute charts gave the cleanest picture.

SwiftEdge Opening Range on a 15-minute chart. Each 30-minute range is built from two bars, with breakouts and simulated trades for three sessions.
SwiftEdge Opening Range on a 15-minute chart. Each 30-minute range is built from two bars, with breakouts and simulated trades for three sessions.

When I switched timeframes to test it, the range on the 4-hour chart was set by roughly one bar, and on the daily and weekly charts the New York and London sessions weren’t counted at all, leaving those panel columns blank. Sessions don’t really exist on daily and higher charts, so this isn’t a swing trading tool. The 1-minute chart, on the other hand, shows the fine detail but, as mentioned earlier, covers fewer days of history for the stats.

TimeframeHow a 30-minute range looksBest used for
1-minuteRange built from 30 bars, the most detailed viewIntraday entry decisions. Fewer days in the stats
5-minuteRange built from 6 bars. Good balance of detail and historyThe go-to combo for day trading
15-minuteRange built from 2 bars. Easy to cover months of sessionsProfiling each session’s tendencies
30-minute and aboveRange set by one bar or lessRough reference for the stats only

Add CMF underneath to see what’s really behind a breakout

SwiftEdge Opening Range looks at price relative to the range. It does have a volume filter, but it’s off by default. So I added Chaikin Money Flow (CMF), which shows whether money is flowing in on the buy side or the sell side, in a pane below.

Confirming breakouts with Chaikin Money Flow (CMF)

If CMF also lifts off the zero line on the bar that breaks above the range, the breakout has buying money behind it.

Confirming breakouts with Chaikin Money Flow (CMF)① Closes above the range ② CMF crosses above zero on the same bar and jumps on the next one ③ As long as it stays positive, it supports the move continuingCMF(20)New York · 30m+1×−1×+2×−2×Closes above the rangeCMF crosses above zero on the same barand jumps on the next oneAs long as it stays positive,it supports the move continuing

Vowars DE ver.3.22.0

CMF is TradingView's built-in "Chaikin Money Flow" with default settings (length 20) in a lower pane. It uses volume, so it won't work on symbols without volume data.

CMF weights each bar’s volume by where it closed between its high and low, sums that over the last 20 bars and divides by total volume over the same bars. Above zero means buyers are in control, below zero means sellers are. If CMF crosses above zero on the same bar that breaks out of the range in Figure 1, as in Figure 2, and then stays positive as in Figure 3, you can read it as a breakout backed by money flow, not just price.

On the flip side, if price breaks out but CMF stays negative, that’s a reason to be wary of a fakeout. It also helps when you’re deciding whether to fade.

Other indicators that pair well: ADX to gauge momentum after the breakout (a rising ADX after the break hints that a trend is developing), VWAP as a reference for the session’s average cost, and ATR to check whether today’s range is wide or narrow compared with normal. All of them are built into TradingView, so you can try them right away.

After using it: where it shines and where you still need to fill in

Where it shines

  • Plots up to four session ranges at once, color-coded so you can follow the whole day
  • Splits breakouts into held and fake-out, and compares the rates per session in the panel
  • Records breakout and fade trades side by side so you can see which approach fits
  • Shows recent-only (out-of-sample) results, making it easier to spot setups that only worked in the past
  • Test common setups in one click with Preset
  • Breakouts and fakeouts are decided on bar close, so confirmed dots and ×s never disappear

Where you’ll need to fill in

  • Lots of settings, and it takes time to understand them all
  • The number of days in the stats depends on how many bars are loaded, and tends to be small on the 1-minute chart
  • Only one time zone can be chosen for all sessions
  • Session stats don’t work on daily or higher timeframes
  • Simulated trades are estimated from highs and lows, so they will differ from real fills

Repainting and alerts

Breakouts, fakeouts and simulated trades are all evaluated only on confirmed bars. Once a bar closes, its dots, ×s and trade results never disappear or move.

The one exception is the box while the range is still forming: each new high or low redraws its height all the way back to the session’s first bar. With a 30-minute range, expect the box to keep changing shape for those 30 minutes only. After the range locks in, the band and lines just extend to the right and the past portion never changes.

Five alert conditions are available. In TradingView’s Create Alert dialog, choose SE Opening Range under “Condition” and pick from the following.

Alert nameFires when
Opening range completeAny session’s opening range locks in
Breakout upAn upside breakout occurs
Breakout downA downside breakout occurs
Fake-outA breakout is classified as a fake-out
Trade entryA simulated trade is entered (breakout or fade side)
Alerts don’t distinguish between sessions

Alerts are shared across all enabled sessions. If you only want London breakouts, add a second copy of SwiftEdge Opening Range with the other sessions turned off and set the alert on that one so they don’t get mixed up.

Because everything is decided on bar close, alerts also fire when the bar closes.

Ride the breakout or wait for the fakeout? Let your own chart decide

SwiftEdge Opening Range

SwiftEdge Opening Range takes the classic opening range breakout and adds a reality check: “Does this actually work in this session?” The boxes and dots on the chart are easy to read; the panel takes a bit more effort. But once you get in the habit of checking three things, the Sessions count, the Held / fake-out split and the direction of the out-of-sample rows, you can choose your session and entry method based on numbers instead of gut feel.

Whether you trade the New York open in futures, chase London breakouts in FX, or want to know which hours move the most in round-the-clock crypto markets, start by loading it on a 5-minute chart and studying the panel. Once you can see which sessions tend to hold their breakouts, deciding which hours to sit out gets a lot easier too.

Sources: This article is based on hands-on testing and in-depth analysis of the indicator SwiftEdge Opening Range by SwiftEdge on the charting platform TradingView.

Disclaimer: This article summarizes our own testing and analysis of how an indicator published on TradingView works and behaves. The symbols, timeframes, and settings used here were chosen to check how the indicator displays—they are not a recommendation to trade those instruments or to use the suggested settings. Indicators can change when their authors update them, so this article reflects the version we tested. All investment decisions are your own.

Never miss a new indicator
Get Vowars in Google search, a browser alert on publish, or updates on X.
YUZURU
AuthorYUZURUFounder & Reviewer, Vowars
View profileClose

An editor for content sites at a web agency, I started trading crypto in 2018. Working my way from spot to futures got me hooked on chart analysis, and I now build my own custom indicators on TradingView. On Vowars, I test TradingView indicators one by one on my own charts and review everything from the math behind them to how to use them and where they fall short, with custom visuals throughout.…

Created by

Vowars Picks

Stochastic Heat Map

“Stochastic Heat Map” Tested: Bottom-to-Top Color Shifts That Show How Real a Move Is

"Stochastic Heat Map" is an oscillator that stacks 28 Stochastics with lengths from 10 to 280 as colors, showing where price sits in its range on every lookback at once. The way color spreads from the bottom rows to the top tells you how strong a move is, but red stays pinned in strong trends, so it works best with direction handled separately by something like an EMA.

DifficultyIntermediate 8 figures

CME Institutional Order Flow & AMT Lens

Auction Market Theory on One Chart: An Indicator That Flags Volume Absorption by Color

“CME Institutional Order Flow & AMT Lens” is a TradingView indicator that combines a volume profile, candle coloring, shelves, and a dashboard in one. It gives no buy or sell signals and instead automatically marks key prices such as the POC and Value Area.

DifficultyAdvanced 7 figures

Fibonacci Trend Continuation Signals [AlgoAlpha]

Measure Pullback Depth Inside a Trend With “Fibonacci Trend Continuation Signals”

"Fibonacci Trend Continuation Signals" is a free TradingView indicator that automatically draws a Fibonacci range in the direction of the trend and prints a continuation signal the moment price starts moving again after a pullback or bounce. It gives you an objective read on pullback depth.

DifficultyIntermediate 5 figures

Smart Trader, Episode 06, Isotropic Trend Lines

Isotropic Trend Lines: Measuring Trend Strength with a Volatility-Adjusted Angle

Isotropic Trend Lines is a channel indicator that puts price on a log scale and divides it by volatility (σ) to produce a trend angle that does not depend on chart scaling. On one screen you get direction, strength, and position in the channel, plus breakout and retest status.

DifficultyIntermediate 10 figures

Strong Burst Fader

Strong Burst Fader: Measure Overextension with Diamond Stacks and Color for Mean-Reversion Fades

“Strong Burst Fader” measures how far the wick pokes outside a hidden moving average plus ATR band and shows that depth as diamond stack height and color, making it a mean-reversion indicator for fading overextended moves. The taller and redder the stack, the deeper the overshoot, and the best setups come when the burst stops at one stack and price closes back inside the band.

DifficultyBeginner 9 figures

Divergence for Many Indicators v4

Divergence for Many Indicators v4 : How to Read Divergence Across 10 Indicators in One Label

"Divergence for Many Indicators v4" is a TradingView indicator that detects divergence across 10 indicators, including RSI and MACD, and shows how many line up in a single label. Signals come early, but only the last one survives within the same swing. It works best once you've defined market direction.

DifficultyIntermediate 6 figures

Browse by goal

1 / 5