Skip to content
Script type
Indicator
Source code
Open-source
Purpose
Trade signals

OC Buy/Sell Signals

Also known as OC Signals

Fires buy/sell signals only on big candles that break the prior body

Difficulty Intermediate

No.VOW-000089

The signal rules come down to just three things: whether the candle is bullish or bearish, whether it closes beyond the previous candle's body, and how many times larger its body is than average, so you can grasp them just by looking at the chart. On the other hand, you can choose from four stop-loss modes and three take-profit modes, and settings like whether exits trigger on wicks or closes and how signals are handled during an open trade all interact with each other. Reading the info box stats correctly also requires understanding that results are compounded and exclude fees, which is why we rated it intermediate.

Repainting
No repainting
  1. Live barChanges
  2. On closeFixed
  3. HistoryFixed
Best timeframes
  • Lower TFs≤15m
  • Mid TFs30m–4H
  • Higher TFs1D+
Tested on BTCUSDT (1m, 5m, 15m, 30m, 1H, 4H, 1D, 1W)
Alerts
4 conditions
Buy/sell signals
Yes
Market conditions
Trending, High volatility
Display
Overlay
Chart elements
LinesBoxesLabelsTables
Base indicator
ATRPrice Only
Trading style
Swing TradingDay Trading
SignalsBreakout

“OC Buy/Sell Signals” Review: Buy/Sell Signals With Stop Loss, Take Profit and Stats on One Screen

Diagram gallery 9

Article Summary
What does this indicator do?
Bottom line

"OC Buy/Sell Signals" uses only the open and close to fire BUY and SELL on large candles whose body is 3x the average and breaks the previous candle's body. Signals are rare, but each one comes with a stop loss, take profit and running stats, making it a good fit for traders who wait to catch the first big candle of a move.

Tell me more
Key points
  • It ignores wicks and judges BUY and SELL using only the candle body formed by the open and close.
  • A signal needs a bullish candle, a close beyond the prior body, and a body at least 3x the 50-bar average.
  • By default, signals only print after the bar closes, so confirmed signals never disappear or move later.
  • Entry, stop-loss and take-profit lines with shading appear with each signal, and a blue X marks the exit bar.
  • The default stop sits at the signal candle's low or high, with the target placed at twice that distance.
  • The info box shows win rate, P/L, max drawdown and average time between signals for the last 20 trades.
  • Signals are rare, with gaps averaging over two hours even on the 1m and around two months on the daily.
  • Overlaying Keltner Channels and favoring signals that close outside the bands makes them easier to judge.

“OC Buy/Sell Signals” Only Reacts to the One Big Candle That Moves the Market

New buy/sell signal indicators get published pretty much every day, but “OC Buy/Sell Signals” works off a surprisingly small amount of information. All it uses is each candle’s open and close. Highs and lows, in other words the wicks, play no part in the logic at all. The “OC” in the name literally stands for Open and Close.

A signal fires when a candle with a clearly bigger-than-usual body closes beyond the body of the candle before it. When the chart is full of small candles, it stays completely quiet, and only when a candle prints that anyone would call a real move does it drop a single BUY or SELL label. That’s the personality of this indicator.

The TradingView indicator "OC Buy/Sell Signals" on a 4H chart. BUY and SELL only appear on large-bodied candles, with stop-loss and take-profit lines and a performance table shown at the same time.
The TradingView indicator “OC Buy/Sell Signals” on a 4H chart. BUY and SELL only appear on large-bodied candles, with stop-loss and take-profit lines and a performance table shown at the same time.

Along with each signal, the entry, stop-loss and take-profit lines are drawn automatically, and the top-right corner of the chart shows a results table for the last 20 trades as if you had taken every signal exactly as plotted. It doesn’t stop at giving you a signal. Being able to check “what would have happened if I’d traded this” on a single screen is the standout feature of “OC Buy/Sell Signals.”

Only Three Conditions Trigger a BUY or SELL

The signal logic in “OC Buy/Sell Signals” is very simple. A BUY prints on a candle that meets all three of the following. A SELL is the exact mirror image.

  1. It’s a bullish candle (close above open)
  2. The close breaks above the top of the previous candle’s body
  3. The body is at least 3x the average body size of the last 50 candles

The three conditions behind a BUY

A bullish candle, a close above the prior candle's body, and an outsized body. A BUY prints only when all three line up on the same bar.

The three conditions behind a BUYA bullish candle closes above the top of the prior candle's body with a body at least 3x the average, and a BUY label appears on that bar.BUYTop of the prior candle's body (wicks ignored)Body is 3x+ the 50-bar averageClose confirms above ① → BUY

Vowars DE ver.3.12.36

Enable SL/TP is turned off here so only the signals are shown. Wicks (highs and lows) play no part in the logic.

The key is the second condition, “the previous candle’s body.” Even if the prior candle has a long upper wick, the reference point is the top of its body, so price doesn’t need to clear the tip of the wick Figure 1. Flip that around and a candle that spikes on a wick but gets its close pushed back never qualifies, no matter how wide its range is. A doji, where the open and close are almost identical, has no body, so it can never trigger a signal.

The third condition, “3x the average,” is what makes this indicator so selective Figure 2. The average includes the candle being evaluated, so an unusually large body pulls the average up a little too. Even so, clearing 3x usually only happens when the mood of the market clearly shifts.

On top of that, with the default settings signals only appear after the bar closes Figure 3. Even if the live candle turns into a big green bar mid-session, no BUY shows up until the close is locked in. The BUY candle also gets a small blue dot (the entry marker) at its closing price.

Just How Rare Is “3x”?

Loading it on eight timeframes from the 1-minute to the weekly really shows how few signals it gives. The “Avg Time per Signal” figure in the info box came out to 2.3 hours on the 1m, 19.8 hours on the 15m, 3.3 days on the 1H, 1.6 weeks on the 4H and 2.1 months on the daily (checked on recent charts with default settings).

That means less than one signal per hour even on the 1-minute chart. These numbers shift with whatever market conditions are on your screen, so treat them as a rough guide, but think of this as the exact opposite of indicators that always seem to have a signal on the chart. This is an indicator built around waiting.

What Shows Up on the Chart After a Signal

Once a signal fires, a full trade is laid out on the chart using that candle’s close as the entry price. With the default settings, it looks like this.

One complete trade with the default settings

When a BUY fires, the stop goes at the signal candle's low and the target sits twice that distance away.

One complete trade with the default settingsA stop-loss line at the BUY candle's low, a take-profit line twice the risk distance above entry, and an X on the bar that reaches the target.BUYEntry 119.72SL 112.22TP 134.72XStop loss (SL) atthe signal candle's lowTake profit (TP) at 2xthe entry-to-stop distanceX where the high tags TPEntry = signal candle's close

Vowars DE ver.3.12.36

Default settings: Stop loss mode "Candle wick" and Take profit mode "SL multiple" (2.0x). A blue X marks the bar where price tags the target, and the lines and shading stop there.

The stop loss (SL) goes at the low of the signal candle Figure 1, or the high for a SELL. The take profit (TP) sits at exactly twice the distance from entry to the stop Figure 2. In other words, every trade on the default settings is built as a 1:2 risk-to-reward setup.

The area between entry and stop is shaded light red, the area between entry and target light green, and a blue “X” marks the bar where price tags either level Figure 3. The lines and shading stop at that bar and stay on the chart until the next signal. The lines from a closed trade disappear as soon as the next signal prints.

Putting the stop at the signal candle’s low feels wider than you’d expect once you actually use it. The signal candle is, by design, at least 3x the average size, so the distance to its low is naturally large too. The “Stop Loss” row in the info box shows the most recent stop distance as a multiple of ATR (the average range of a single candle), and across the eight timeframes I checked it ranged from 1.2x to 3.3x.

"OC Buy/Sell Signals" on a 30-minute chart. When a big green candle triggers a BUY, the stop goes all the way to the signal candle's low, so the stop-loss and take-profit zones are drawn wide.
“OC Buy/Sell Signals” on a 30-minute chart. When a big green candle triggers a BUY, the stop goes all the way to the signal candle’s low, so the stop-loss and take-profit zones are drawn wide.

What a Stopped-Out Trade Looks Like

Naturally, not every trade runs cleanly to its target. In fact, this kind of sequence is more common.

A BUY in the middle of a downtrend that gets stopped out

If one big green candle doesn't actually flip the trend, the BUY ends at the stop-loss line.

A BUY in the middle of a downtrend that gets stopped outA BUY that prints during a decline stalls, and an X appears on the bar where the low tags the stop-loss line.BUYEntry 92.14SL 87.76TP 100.91XOne big green candle mid-downtrend → BUYNo new highs,TP never reachedLow tags SL → X (stopped out)

Vowars DE ver.3.12.36

Default settings. Even after the stop-out, the next BUY is blocked while Alternate signals is on, so the indicator waits for a SELL instead.

In the middle of a downtrend, a single big short-covering candle prints and a BUY lights up Figure 1. But from the next bar on, price can’t make a new high and chops sideways without ever reaching the target Figure 2. Eventually the low tags the stop-loss line, an X appears, and the trade is over Figure 3.

One big candle can be the start of real momentum, or it can turn out to be nothing more than a relief bounce. “OC Buy/Sell Signals” doesn’t tell the two apart. It only looks at the size of the signal candle, so figuring out where in the trend a signal appeared is your job.

Missing Signals? How Two Switches Change What You See

After using it for a while, you’ll run into a big green candle that clearly meets every condition but has no BUY on it. That’s not a bug. Two settings that are on by default are doing their job.

  • Alternate signals (on) forces BUY and SELL to always alternate. A signal in the same direction as the previous one is skipped.
  • Ignore signals while a trade is open (on) blocks new signals until the current trade hits its stop or target. If your settings only allow the trade to close on an opposite signal, such as setting the take profit to “Opposite signal,” only same-direction signals are blocked.

The one to watch is Alternate signals. Even after the last BUY gets stopped out and you’re flat, the indicator still remembers that the last signal was a BUY. So if another big green candle comes along, no BUY appears. The only signal that can fire next is a SELL. If you like to re-enter right after getting stopped out, this behavior might catch you off guard.

Turn both off and the way same-direction big candles are handled during an open trade changes completely. The next figure uses exactly the same candles as the default trade example.

With Alternate signals and Ignore signals while a trade is open turned off

A same-direction big candle during an open trade fires a new BUY and resets the trade.

With Alternate signals and Ignore signals while a trade is open turned offWith both settings off, a second bullish candle during an open trade fires another BUY, and the entry, stop and target are redrawn.BUYBUYEntry 131.39SL 125.67TP 142.81First BUYAnother BUY on a big candle mid-tradeTrade 1 closes at this bar's closeSL and TP redrawn from this bar

Vowars DE ver.3.12.36

Same candles as the default trade example. With the defaults, the second big candle got no BUY and the first trade ran straight to its target.

With the defaults, the second big green candle was skipped and the first trade ran straight to its target. With both switches off, the second big candle fires a new BUY Figure 2 and the first trade is closed at that bar’s close. The stop and target are then redrawn from the second candle Figure 3, which pushes the take-profit line even further away.

Neither setup is “correct.” If you want to see each trade through to the end, leave them on. If you want to keep re-entering while momentum keeps going, turn them off. Thinking about it that way makes the choice easier.

Signals on the Same Bar as an Exit Are Skipped

With the default settings, if a qualifying big candle prints on the same bar where a trade hits its stop or target, no signal appears on that bar. At the moment the signal is evaluated, the trade is still treated as open. Remember that when an exit and a signal land on the same bar, the signal is skipped, and you won’t be confused when you scroll back through the chart.

Use the Top-Right Info Box to Sanity-Check Your Settings

The other star of “OC Buy/Sell Signals” is the info box in the top-right corner of the chart. The top half lists your current settings, and the bottom half shows stats for the last 20 trades within the loaded chart history, assuming you had traded them exactly as plotted.

How to read the info box

The top half shows your current settings. The bottom half shows how the last 20 trades would have played out if taken exactly as plotted.

How to read the info boxA table with a settings section at the top, P/L stats for recent trades below, and signal timing at the bottom.OC BUY/SELL SIGNALSChart TypeStandardTimeframe / Session4h / RegularNon-RepaintONAvg Body Length50Min Body3.0xMin VolumeOFFAlternate SignalsONIgnore Signals in TradeONExit TriggerWickStop LossCW: 2.8x ATRTake Profit2.0x SLLOOKBACK P/LTrades Counted20 / 20Exits TP / SL / Signal9 / 11 / 0Net P/L+19.34%Win Rate45% (9W/11L)Avg Win / Loss+4.83% / -2.21%Max Drawdown-4.84%Open Trade P/Ln/aAvg Time per Signal1.6 wksTime Since Last Signal3.3 daysCurrent settings at a glanceResults if the last 20signals were tradedAverage time between signalsand time since the last one

Values in the table are illustrative.

Vowars DE ver.3.12.36

Example from a 4H chart with default settings. Numbers change with the loaded history and timeframe. Fees and spreads are not included.

The top half Figure 1 is a rundown of the conditions currently in play, including the timeframe, chart type, signal thresholds and stop/target method. It’s handy when you share a screenshot, since anyone can see your settings at a glance. If the chart type is set to something other than standard candles, such as Heikin Ashi or Renko, this row turns red. Heikin Ashi builds candles from values that differ from actual prices, so both the signals and the stats drift away from real price action, and the red text is there to warn you.

Here’s how to read the bottom half Figure 2.

RowMeaning
Trades CountedNumber of closed trades included in the stats, and the cap (20 by default)
Exits TP / SL / SignalHow many trades closed at take profit, at stop loss, or on an opposite signal
Net P/LCombined return of all trades, compounded
Win RatePercentage of winning trades, with the win/loss count
Avg Win / LossAverage return of winning trades and of losing trades
Max DrawdownLargest peak-to-trough drop during the counted period
Open Trade P/LUnrealized P/L of the open trade (n/a when flat)

The bottom two rows Figure 3 show the average time between signals and the time since the last one. If the average is 3 days and it’s been 5 days since the last signal, the market is quieter than usual. If it’s been half a day, a signal just fired. Both are measured in calendar time, so they run a bit long on markets that don’t trade on weekends.

Don’t Take the Stats at Face Value

The stats assume an entry at the signal candle’s close and an exit exactly at the stop or target price. Commissions, spreads and slippage are not included. In real trading, the earliest you can get filled is the next bar’s open, so live results will differ from these numbers. The sample is also just 20 trades, and it changes depending on how much history is loaded on your chart.

For reference, with default settings across the eight timeframes, win rates landed between 25% and 45%, and net P/L was positive on three and negative on five. That said, each timeframe covers a completely different stretch of time, so you can’t use this to say one timeframe is better than another. What’s more worth noticing is that with the default 1:2 risk-to-reward, the break-even point is a win rate of roughly 33%. A win rate in the 30s doesn’t automatically mean the setup is useless.

Where this info box really shines is comparing settings. Change Min body vs average (x) or the stop method and the numbers update instantly, so you can compare on the same chart which setup seems to fit your market better. Also note that “OC Buy/Sell Signals” is published as an indicator, not a strategy, so you don’t get the detailed Strategy Tester report. The info box is what fills that role.

The "OC Buy/Sell Signals" info box on a 1H chart, showing the win rate, max drawdown and average time between signals for the last 20 trades.
The “OC Buy/Sell Signals” info box on a 1H chart, showing the win rate, max drawdown and average time between signals for the last 20 trades.

Going Through the Settings One by One

The settings are split into four groups, “Signals,” “Stop Loss / Take Profit,” “Lookback P/L” and “Display,” with the non-repaint switch at the very top. There are a lot of options, but only the first two groups affect how signals are generated.

Settings That Control the Signals

Parameters
SettingDefaultSuggestedEffect
Non-repaint (confirm signals on bar close)OnOnWhen on, signals only print after the bar closes. When off, signals can appear on the live bar and may disappear before it closes
Average body length5050Number of bars used to average the body size. The same length is used for the volume average. No signals appear until this much history has loaded
Min body vs average (x)3.02.0–3.0How many times the average body a candle needs to trigger a signal. Lower means more signals, and 0 removes the size filter
Min volume vs average (x)00 or 1.5Only allows signals on candles with at least this multiple of average volume. 0 turns it off
Alternate signalsOnOnForces BUY and SELL to alternate. When off, same-direction signals can repeat
Ignore signals while a trade is openOnOnBlocks new signals while a trade is open

The setting you’ll touch most is Min body vs average (x). The quickest way to see what lowering it does is with a figure. Below are the same candles as the “three conditions” figure from earlier, with this value dropped from 3.0 to 1.5.

Min body vs average (x) set to 1.5

Dropping the threshold from 3.0 to 1.5 on the same chart bumps the signal count up to four.

Min body vs average (x) set to 1.5With a looser 1.5x body threshold, BUY and SELL start alternating inside the range.BUYBUYSELLSELLBUY and SELL flip back andforth inside the rangeA SELL that 3.0 never firedSame breakout bar as with 3.0

Vowars DE ver.3.12.36

Same candles as "The three conditions behind a BUY," with only Min body vs average (x) changed to 1.5 (Enable SL/TP off).

At 3.0 there was a single signal at the start of the rally on the right. At 1.5 that grows to four. Almost all of the extra signals come from inside the chop Figure 1, with BUY and SELL flipping back and forth in quick succession. The BUY at the start of the rally lands on the same bar as it did at 3.0 Figure 3.

Based on this, I wouldn’t recommend going too low. Loosening the threshold mostly adds half-hearted candles inside a range, while the start of the big moves you actually want to catch is already picked up at 3.0. If signals still feel too rare, for example only once every few months on the daily or higher, the practical approach is to step it down to around 2.0–2.5 and watch how the win rate and average P/L in the info box respond. The spinner in the settings moves in 0.5 increments.

Min volume vs average (x) defaults to 0, which means it’s off. Set it to 1.5 and only candles with a large body and at least 1.5x average volume qualify. It’s a filter that checks whether a big candle was backed by real participation, so it’s worth trying if you want to cut down on fakeouts. Just be aware that on symbols with no volume data, any value above 0 means no signals at all.

Settings That Build the Stop Loss and Take Profit

Parameters
SettingDefaultSuggestedEffect
Enable SL/TPOnOnWhether to use a stop loss and take profit. When off, it becomes pure stop-and-reverse that only exits on an opposite signal, and no lines are drawn
Exit triggerWickWickWick exits at the exact level the moment a wick touches it. Close exits at the close of the bar that closes beyond the line
Stop loss modeCandle wickCandle wickWhere the stop goes. ATR (a multiple of ATR) / Candle wick (signal candle’s high or low) / Candle body (signal candle’s open) / None (no stop)
Stop buffer (x ATR)00–0.2Candle wick and Candle body modes only. Pushes the stop further out by this multiple of ATR
Take profit modeSL multipleSL multipleWhere the target goes. ATR target (a multiple of ATR) / SL multiple (a multiple of the stop distance) / Opposite signal (hold until the opposite signal)
ATR length1414Number of bars used for ATR. The value is locked in on the signal bar
Stop loss (x ATR)1.51.5Stop distance when Stop loss mode is ATR
Take profit (x ATR)3.03.0Target distance when Take profit mode is ATR target
Take profit (x SL)2.01.5–2.0When Take profit mode is SL multiple, the target as a multiple of the stop distance

There are four ways to place the stop. Set Stop loss mode to “Candle body” and the stop goes at the signal candle’s open, the base of its body. That’s closer than “Candle wick” by the length of the wick, but since the signal candle’s body is already large, it’s still a fairly wide stop. With “ATR,” the stop is a fixed 1.5x ATR from entry and no longer depends on the shape of the candle. If you want a consistent stop size from trade to trade, this one should be easier to work with.

Adding 0.1–0.2 to Stop buffer (x ATR) places the stop slightly beyond the low instead of right on it. Stops tend to cluster just below a recent low, which makes it a prime spot for a quick wick that sweeps them and snaps back. The idea is to keep a little distance from that zone. The trade-off is a wider stop, and the target (2x the stop distance) moves further away too.

The most interesting take-profit option is “Opposite signal.” There’s no target line, and the position stays open until a signal in the opposite direction appears.

Riding the whole move with Take profit mode "Opposite signal"

No fixed target. The position stays open until an opposite SELL prints.

Riding the whole move with Take profit mode "Opposite signal"With no take-profit, a long is held through the uptrend, closed on the SELL at the reversal, and flipped short.BUYSELLEntry 121.09SL 117.96Entry 125.84SL 129.14Stop placed 1.5x ATR below entryNo TP, so no exit during the rallyCloses on the SELL bar and flips short

Vowars DE ver.3.12.36

Settings: Stop loss mode "ATR", Take profit mode "Opposite signal", Show closed trades "1". One closed trade is kept on the chart.

In this example the stop sits 1.5x ATR away Figure 1, the trade doesn’t bail during the rally Figure 2, and it closes on the SELL from a big red candle as price rolls over from the top, flipping straight into a short Figure 3. Because the exit is left to the signal, there’s a chance to let profits run much further when a trend keeps going. On the flip side, the opposite signal only comes once a red candle 3x the average body prints, so be prepared to exit some distance below the top.

Exit trigger decides whether the stop and target are judged on wicks or on closes. With “Close,” a quick wick through the level no longer takes you out, but because the exit happens at the close, a loss can end up well beyond the stop line. If you keep a resting stop order in the market, the default “Wick” is closer to how that actually plays out.

Stats and Display Settings

Parameters
SettingDefaultSuggestedEffect
Lookback (last N closed trades)2020–30Number of closed trades used for the info box stats. The average time between signals uses the same count
Show info boxOnOnShows or hides the info box
Info box positionTop RightTop RightWhere the info box sits (9 positions)
Info box sizeSmallSmallText size in the info box
Show closed trades00–5How many closed trades keep their lines and shading on the chart (up to 50)
Show BUY/SELL labelsOnOnShows or hides the BUY and SELL labels. Alerts and the info box are not affected
BUY/SELL label sizeSmallSmallSize of the BUY and SELL labels
Show entry marker (dot)OnOnPuts a blue dot at the signal candle’s close
Show trade linesOnOnShows the entry, stop-loss and take-profit lines
Show trade labelsOnOnShows the price labels attached to the lines
Show exit XOnOnShows an X where the stop or target was hit. When off, the lines and shading disappear at the exit
Show trade zone shadingOnOnShows the stop-side (red) and target-side (green) shading
Line width11Line thickness (1–4)

The display setting worth remembering is Show closed trades. At the default of 0, lines are only drawn for the current trade, and closed ones vanish when the next signal fires. Set it to around 3–5 and past trades stay on the chart, showing where each one started and ended, which makes it easier to spot the kinds of setups that tend to get stopped out. With Lookback (last N closed trades) at 20, a couple of wins or losses can swing the numbers a lot, so bumping it to around 30 makes the trend easier to read. If the loaded history doesn’t contain that many trades, though, the count won’t reach the cap.

Beyond that, the colors of the BUY/SELL labels, entry line, stop and target lines, shading and X can all be changed individually. Shading intensity is set with the opacity slider in the color picker.

Suggested Setups by Trading Style

1 Run a Fixed Risk-to-Reward, Trade After Trade

The default settings (stop on Candle wick, target on SL multiple at 2.0x) are the baseline. The stop is set by the shape of the signal candle and the target is always twice the stop distance, so your risk-to-reward stays the same on every trade. If you’re worried about getting stop-hunted, add 0.1–0.2 to Stop buffer (x ATR).

2 Ride Trends for as Long as They Last

Set Take profit mode to “Opposite signal” and use an “ATR” stop at 1.5–2x. Since the exit is handed to the opposite signal, you can stay in when a move keeps running in one direction, like the figure above. You’ll give back some profit waiting for the reversal to confirm, but it’s a combo that makes it easier to let a single winner run big.

3 Cut Down on Fakeouts as Much as Possible

Keep Min body vs average (x) at 3.0 and raise Min volume vs average (x) to 1.5 to require volume confirmation. You’ll get even fewer signals, but big candles printed during thin, low-volume periods get filtered out. This combo is meant for markets with volume data, like Bitcoin.

Pair It With Keltner Channels to Pick Out the Real Breakout Candles

“OC Buy/Sell Signals” only looks at candle size, so it becomes much more usable when paired with another indicator that adds context about where price sits in the trend. One that I found works especially well is Keltner Channels, which comes built into TradingView. It draws bands 2x ATR above and below a moving average, showing how far price has pushed outside its normal range.

With Keltner Channels: a BUY that closes outside the upper band

When the BUY candle closes above the upper Keltner band, it's a sign volatility is expanding, and the signal earns more trust.

With Keltner Channels: a BUY that closes outside the upper bandThe OC Buy/Sell Signals BUY candle closes above the upper Keltner band, keeps pushing along the top of the channel, and reaches its target.BUYEntry 119.72SL 112.22TP 134.72XBUY candle closes outside the upper bandCloses keep holdingabove the upper band

Vowars DE ver.3.12.36

Keltner Channels at TradingView's built-in defaults (length 20, multiplier 2, ATR length 10). The three blue lines are the channel, with the moving average in the middle.

What you’re looking at is where the BUY candle closes relative to the channel. In this figure, the BUY candle closes outside the upper band Figure 1, and closes keep holding above the upper band all the way to the target Figure 2. A big body that carries price outside its normal range reads as a sign that volatility itself is starting to expand.

With Keltner Channels: a BUY that fires below the midline

Same BUY signal, but when the close can't even reach the channel midline, there's little momentum behind it.

With Keltner Channels: a BUY that fires below the midlineThe BUY candle closes below the Keltner midline, stalls in the middle of the channel, and gets stopped out.BUYEntry 92.14SL 87.76TP 100.91XBUY close sits just under the midlineCan't get goingabove the midlineLow tags SL, trade over

Vowars DE ver.3.12.36

Same candles as the stop-out example, with Keltner Channels at default settings.

This one, on the other hand, uses the same candles as the stop-out example earlier. The BUY candle is a big green bar, but its close doesn’t even reach the channel midline Figure 1. Price never gets going above the midline afterward Figure 2, and the trade ends at the stop Figure 3. In a downtrend, a big green candle that stays inside the channel often turns out to be nothing more than a bounce from oversold.

Filtering Signals With Keltner Channels

Prioritize BUYs that close above the upper band and SELLs that close below the lower band, and either skip signals that fire inside the channel or size down on them. The basic approach is to focus on signals that are both a big candle and a break out of the normal range.

Other pairings that should work well include adding ADX in a lower pane to measure trend strength and avoiding signals when ADX is low (choppy conditions), or using Donchian Channels to check whether the candle also broke the recent high or low. Each of these adds context about the trend a signal appears in, covering the blind spot of “OC Buy/Sell Signals,” which only looks at candle size.

What I Found After Using It: Where It Shines and What to Watch Out For

Where It Shines

  • Only three conditions, so you can explain any signal just by looking at the chart
  • On default settings it only fires after the bar closes, and confirmed signals never move afterward
  • Entry, stop and target are drawn together, so risk-to-reward is set from the start
  • The info box lets you compare the results of different settings on the spot
  • Four stop modes, three target modes and more let you tailor it to how you trade

What to Watch Out For

  • Few signals, and depending on the timeframe you can go days or weeks without one
  • It only looks at candle size, so it also reacts to pullbacks within a trend
  • Signal candles are large, so the default stop tends to be wide
  • Signals come after the bar closes, so you’re entering after a big move has already happened
  • The info box stats are a quick 20-trade summary that ignores fees

The one that bothered me most was the fourth point. Signals only come after a big candle closes, so by then price has already made a move. That’s fine if it keeps going, but price often pulls back after a big candle, and sitting in a drawdown right after the signal was a pretty common sight. The saving grace is that the stop sits at the signal candle’s low, so a normal pullback is unlikely to take you out.

As for timeframes, it works on the 1m and 5m, but candle size there is easily driven by noise, and my impression was that price often didn’t follow through after the signals. Candle size tends to mean more on the 30m to 4H and on the daily. I feel it fits best for day trading through swing trading, catching the moment the market wakes up from a quiet stretch. It should work the same way on markets like gold or stock indices, where news and economic data releases tend to produce big candles.

"OC Buy/Sell Signals" on a weekly chart. On higher timeframes, signals come once every few months and mark major market turning points.
“OC Buy/Sell Signals” on a weekly chart. On higher timeframes, signals come once every few months and mark major market turning points.

Repainting and Alerts

While Non-repaint (confirm signals on bar close) is on (the default), both the signals and the stop/target checks only run on confirmed bars. Once a BUY or SELL appears, it never disappears or jumps to another bar. The signals you see on historical bars are the same ones you would have seen in real time.

Turn it off and a signal appears as soon as the live bar meets the conditions. You get a heads-up a little earlier, but if the bar stops meeting the conditions before it closes, the signal disappears, and the stop level (the signal candle’s low) keeps moving until the bar closes. After the bar closes, what you see is the same as with it on, so turning it off only makes sense if you want to track intrabar moves as early as possible.

There are four alerts, which you can set up by selecting this indicator as the condition in TradingView’s alert dialog.

Alert nameWhat it notifies you of
Buy SignalA BUY signal prints
Sell SignalA SELL signal prints
Take Profit HitThe open trade reaches the take-profit line
Stop Loss HitThe open trade reaches the stop-loss line

With so few signals, this indicator is better suited to waiting on alerts than staring at the chart. Keep Non-repaint (confirm signals on bar close) on and alerts arrive on bar close, so you won’t get an alert for a signal that’s gone by the time you check.

If you want to check bar by bar when past signals fired, you can use TradingView’s Bar Replay. Step forward one bar at a time and you can follow exactly which bar triggered each signal, stop and target. How far back you can go depends on the timeframe and your subscription plan.

Don’t Use It on Heikin Ashi or Renko

If you switch the chart type to Heikin Ashi or Renko, the open and close become calculated values that differ from actual prices. Both the signals and the stats are built from those values, so it’s meant to be used on standard candlesticks. If the “Chart Type” row in the info box turns red, check your chart type.

Ride the Big Candle or Let It Go?

“OC Buy/Sell Signals” is a very no-nonsense indicator that uses only the open and close to find candles that break the previous body with a body 3x the usual size. Signals are rare, and when one does fire, it comes with the entry, stop and target all set. The info box lets you compare results across settings, so the whole process of finding a setup that fits your market and timeframe happens right on the chart.

On the other hand, it can’t tell you what kind of trend a big candle appeared in. It’ll print a BUY on a bounce in a downtrend too. Pairing it with something like Keltner Channels that shows the trend and normal range, and treating each signal as a cue to consider an entry, feels like the right balance. If you don’t mind waiting and want to reliably catch the first candle of a move, it’s well worth keeping on your chart.

Sources: This article is based on hands-on testing and in-depth analysis of the indicator OC Buy/Sell Signals by tgregg75 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