See which swing levels were only swept, decided on the close of the candle
Fakeout Swing High Low Signals finds confirmed swing highs and lows on your TradingView chart, rates each one Strong, Normal or Weak, and prints BUY or SELL when a closed candle wicks through the last swing level and closes back inside it.
- Swing highs and lows from a 16-bar pivot, each labelled Strong, Normal or Weak from three tests.
- BUY or SELL only when a closed candle sweeps the last swing level and closes back inside it.
- Small circles mark the first close beyond the current swing high or low, so breaks and sweeps look different.
- Four alert conditions for both fake breakouts and both swing breaks, all behind one switch.
- The full Pine Script source code. Paste it into the Pine Editor, save, and add “Fakeout Swing High Low Signals [AlgoFXStore]” to your chart.
- A 14-page PDF manual with installation, every setting and how to read the chart. One-time €47.

See Fakeout Swing High Low Signals on a real chart
Press play; use the full-screen button to see every detail.
A wick through a swing level is not the same as a break
Price trades above the last swing high, the move looks like a breakout and you buy it. Then the candle closes back below the level and the next few candles fall. Many traders treat every trade beyond a swing high or low as a break, when a large share of those moves are sweeps: price runs the orders resting beyond the level and turns back inside. Buying the poke means buying exactly where those orders were filled.
The second problem is choosing the levels. Swing points drawn by eye shift with your mood and your zoom level, and nothing tells you whether a swing was a clean turn with a long wick and a solid body or a small wobble in a range. A sweep of a minor swing and a sweep of a swing that many traders watched end up looking the same on your chart.
Fakeout Swing High Low Signals separates the two outcomes with fixed rules. Swing points come from one pivot test and get a strength rating. A close beyond the level is a break and gets a circle. A wick beyond the level with a close back inside is a sweep and gets a BUY or SELL, decided when the candle closes. It does not tell you which sweeps will turn. It shows you every one, on the same terms.
Everything Fakeout Swing High Low Signals draws on your chart
Read from the shipped Pine Script code.
- Swing strength labels at each confirmed pivot (16 bars each side): 'Strong High' red, 'Normal High' orange, 'Weak High' gray (label down, white text); 'Strong Low' lime, 'Normal Low' yellow, 'Weak Low' gray (label up, black text); tiny size
- Swing level lines: red width-2 line at each pivot high and lime width-2 line at each pivot low, from the pivot bar to the bar that confirms it (16 bars long) unless 'Extend Swing Levels' is on; newest 20 per side kept
- Current Swing High / Current Swing Low plots: red / lime at 15 % transparency, width 2, step line of the latest confirmed pivot high / low
- Swing break markers: tiny lime circle above the bar on the first close above the last swing high (Bullish Swing Break), tiny red circle below the bar on the first close below the last swing low (Bearish Swing Break)
- Fake breakout signals: lime 'BUY' label-up below the bar (black text) and red 'SELL' label-down above the bar (white text), size small
- AlgoFXStore watermark table, bottom right, gray 55 % transparency, large text
From confirmed swings to a sweep signal on the closed candle
Everything is calculated from the chart's own candles; the Pine Script code requests no other symbol or timeframe. These are the rules in the shipped script.
- 1
Confirm swings with a 16-bar pivot
A swing high is a candle whose high is the highest of the 16 candles on each side (Pivot Strength 16, minimum 2); a swing low mirrors it. Because the 16 candles to the right must exist first, a swing is confirmed 16 candles after it formed. The label and a level line are then placed back on the swing candle, and the Current Swing High and Current Swing Low step lines move to the new level.
- 2
Rate each swing with three tests
At the swing candle the script scores one point each for a distance from the previous swing on the same side of more than 1.0 x ATR(14), a wick on that side longer than 40 % of the candle's range, and a body larger than 50 % of the range. Three points label it Strong, two Normal, fewer Weak. The very first swing of each side has no previous swing to measure, so it is at most Normal.
- 3
Mark the first close beyond a swing
When a candle closes above the current swing high for the first time, a small lime circle is drawn above that candle (Bullish Swing Break). The first close below the current swing low gets a small red circle below the candle (Bearish Swing Break). Each swing level gets one circle at most. These circles are checked on the forming candle, so they can come and go until it closes.
- 4
Detect the sweep and the reclaim
A BUY prints when a candle's low goes below the last swing low, it closes back above that level, and its lower wick is at least 25 % of its range (Minimum Sweep Wick %). A SELL is the mirror at the last swing high with the upper wick. Optional rules can ask for a minimum sweep depth in ATR or a candle of the reversal colour. The whole test only passes on a confirmed, closed candle.
- 5
Keep the chart readable
Swing level lines are red at highs and lime at lows, width 2, running from the swing candle to the candle that confirmed it, or to the right edge with Extend Swing Levels on. The newest 20 per side are kept (Maximum Stored Levels, 5 to 100). The Current Swing lines carry the latest levels forward, and a faint AlgoFXStore watermark sits in the bottom-right corner.
Fakeout Swing High Low Signals on 12 different markets
Every chart below is a screenshot of TradingView itself with the shipped Fakeout Swing High Low Signals [AlgoFXStore] attached at its default settings. Forex, metals, indices, energy and crypto, so you can see how it reads each kind of market. They show what the indicator draws; they are not trading results. Tap or click any chart to open it full size.












Fakeout Swing High Low Signals on a real TradingView chart, frame by frame
Frames of a screen recording of the shipped indicator at its default settings, as the chart updates. Nothing is edited into the chart.




How to trade a sweep signal, step by step
The indicator draws no stop loss and no target. It gives you the swept level, the wick and the opposite swing, and the PDF guide shows how to turn them into a plan. A routine to start from:
- 1
Mark the levels before you trade
Before your session, note where the Current Swing High and Current Swing Low sit and which strength labels they carry. Those are the levels the next BUY or SELL will come from. A Strong swing, far from the previous one with a long wick and a solid body, marks a level more traders watched than a Weak swing close to its neighbour.
- 2
Wait for the closed candle
Do nothing while a candle is trading beyond the level. It can still close outside, which makes it a break and gives a circle instead of a signal. The BUY or SELL appears only when the candle has closed back inside. If two or three candles in a row sweep the same level, each prints a signal; treat the first as the signal and the rest as the same idea.
- 3
Put your stop beyond the sweep wick
If price goes back beyond the wick of the signal candle, the sweep failed. That gives you a stop: a few ticks under the low of a BUY candle or above the high of a SELL candle, with more buffer on fast markets. Count the distance from your entry to that stop and size the position so a stop-out costs no more than you allow per trade.
- 4
Use the opposite swing as a first objective
Above a BUY, the Current Swing High is a natural first objective; below a SELL, the Current Swing Low. Count that distance too. If the objective is closer than your stop, the reward is smaller than the risk, so skip the signal or wait for the next one. Place your own orders in your trading account; the indicator sends nothing.
- 5
Skip the weak and the choppy
Skip signals that sweep a Weak swing sitting close to the previous swing, signals where BUY and SELL have been alternating for the last few candles, and signals whose stop does not fit your risk at your smallest size. Many traders also stand aside for a few minutes around high-impact economic releases, because sweeps there are fast and wide.
- 6
Manage with the circles
Once you are in, a close back beyond the wick means the idea is wrong, and your stop handles that. A swing break circle on the other side, a close through the opposite swing in your direction, is a reason to hold or trail rather than exit early. Decide in advance which of the two you will do.
Everything Fakeout Swing High Low Signals does for you
Swings confirmed, not guessed
Every swing high and low comes from the same 16-bar pivot test on every symbol and timeframe. A smaller Pivot Strength gives more, smaller swings; a larger one gives fewer, more important swings.
A strength rating on every swing
Strong, Normal or Weak from three tests at the swing candle: distance from the previous swing in ATR, wick length and body size. Strong High is red, Normal orange, Weak gray; Strong Low is lime, Normal yellow, Weak gray.
Swept and broken shown apart
A close beyond the current swing level draws a small circle; a wick beyond it with a close back inside prints BUY or SELL. Both outcomes of a test of the level are on the chart, so you can trade either the continuation or the reversal.
Signals decided at the close
The BUY and SELL test includes the confirmed-candle condition, so on a live chart a signal appears when the candle closes and stays on that candle. The two fake breakout alerts use the same condition.
Filters against weak sweeps
The sweep wick must be at least 25 % of the candle by default. Optional: a minimum sweep depth of 0.10 x ATR (Enable ATR Sweep Filter) to ignore one-tick pokes, and a reversal colour rule that asks for a green BUY candle and a red SELL candle.
Levels that stay tidy
Level lines run from the swing to its confirmation or extend to the right edge if you prefer. Maximum Stored Levels keeps the newest 20 per side, and the Current Swing High and Low step lines always show the two levels that matter now.
Four alert conditions, one switch
Bullish Fake Breakout, Bearish Fake Breakout, Bullish Swing Break and Bearish Swing Break appear in TradingView's Create alert dialog. 'Enable Alert Conditions' switches all four off or on at once.
Light and open
18 inputs in five numbered groups, no dashboard to read, and the full Pine Script v6 source in your download. It uses only the chart's own candles, with no request.security call, so it also runs on the free TradingView plan.
Fakeout Swing High Low Signals, feature by feature
Each picture is built from real platform screenshots of the shipped indicator at its default settings, labelled so you can see what every part does. Tap any picture to open it full size.








How traders put it to work
Index futures on 5 minutes
On NQ or ES 5 minute charts, Pivot Strength 16 means 80 minutes on each side of a swing, which picks out the overnight and morning swings that often get swept after the cash open. Use the strength rating to decide which of those sweeps you care about.
Gold and crude on 15 minutes
On a 15 minute chart the same 16 bars make a four-hour swing, so the levels are fewer and cleaner. That suits gold, which often sweeps the highs and lows of earlier sessions, and crude, which is fast enough to sweep tiny swings on lower timeframes. Check the stop distance beyond each wick before sizing.
Forex, crypto and stocks
The rules use only open, high, low, close and ATR, so they work the same on currency pairs, crypto and stock charts on any timeframe. A 24-hour market such as crypto produces swings through the night as well; on stocks, regular and extended session settings change which candles shape the swings.
One minute charts
On a 1 minute chart the default 16 bars is only 16 minutes on each side, so many swings are small. The guide suggests raising Pivot Strength to around 30 to 45 to keep session swings, or moving to a 5 minute chart instead.
Stricter sweep filtering
For fewer and cleaner signals, switch Enable ATR Sweep Filter on with Minimum Sweep ATR between 0.10 and 0.25, raise Minimum Sweep Wick % to 0.35 to 0.50, and turn on Require Reversal Candle Color. Each change removes some signals, so try them one at a time on the same chart.
Every setting, with its default
The names are the ones in the script's Settings dialog in TradingView (Inputs tab); the defaults are what every chart on this page uses.
01. Swing Detection (5)
| Setting | Default | What it does |
|---|---|---|
| Pivot Strength | 16 | Bars on each side a swing high / low must beat; a swing is confirmed this many bars later (min 2). |
| Show Swing Labels | on | Master switch for the strength labels (needs Show Strength Labels on too). |
| Show Swing Levels | on | Draws a red line at each swing high and a lime line at each swing low. |
| Extend Swing Levels | off | Extends every new swing level line to the right edge. |
| Maximum Stored Levels | 20 | Newest level lines kept per side (5-100); older ones are deleted. |
02. Swing Strength (4)
| Setting | Default | What it does |
|---|---|---|
| ATR Length | 14 | ATR period used to rate swing distance. |
| ATR Strength | 1 | A swing scores a point when it is more than this many ATRs from the previous swing of the same side. |
| Minimum Wick % | 0.4 | A swing scores a point when the pivot candle's wick on that side is more than 40 % of its range. |
| Minimum Body % | 0.5 | A swing scores a point when the pivot candle's body is more than 50 % of its range. |
03. Fake Breakout Detection (5)
| Setting | Default | What it does |
|---|---|---|
| Show Fake Breakout Signals | on | Shows the BUY / SELL labels. |
| Require Reversal Candle Color | off | When on, a BUY needs a green candle (close > open) and a SELL a red candle. |
| Minimum Sweep Wick % | 0.25 | The sweep wick (lower for BUY, upper for SELL) must be at least 25 % of the candle's range. |
| Enable ATR Sweep Filter | off | When on, the wick must go beyond the swing level by at least Minimum Sweep ATR x ATR. |
| Minimum Sweep ATR | 0.1 | Minimum sweep depth in ATRs for the ATR Sweep Filter. |
04. Visual Settings (3)
| Setting | Default | What it does |
|---|---|---|
| Show Break Markers | on | Circles on the first close beyond the last swing high / low. |
| Show Strength Labels | on | Strong / Normal / Weak labels (with Show Swing Labels). |
| Show Current Swing Lines | on | Current Swing High / Low step lines. |
05. Alerts (1)
| Setting | Default | What it does |
|---|---|---|
| Enable Alert Conditions | on | Master switch: off makes all four alert conditions false. |

The alert events, one by one
In TradingView: Create alert, choose “Fakeout Swing High Low Signals [AlgoFXStore]” as the condition and pick the event. TradingView then notifies you the way you set in that dialog: a pop-up in TradingView, a sound, the TradingView app on your phone or an e-mail.
- Bullish Fake Breakout: the candle that prints BUY has closed (message: AlgoFXStore | Bullish Fake Breakout detected. Price swept below swing low and reclaimed it.)
- Bearish Fake Breakout: the candle that prints SELL has closed (message: AlgoFXStore | Bearish Fake Breakout detected. Price swept above swing high and rejected it.)
- Bullish Swing Break: the first close above the current swing high (message: AlgoFXStore | Bullish Swing High Break detected.)
- Bearish Swing Break: the first close below the current swing low (message: AlgoFXStore | Bearish Swing Low Break detected.)
Fakeout Swing High Low Signals next to the usual options
Where it wins, and where it does not.
| Fakeout Swing High Low Signals | Typical free swing high low indicator | Reading it by hand | |
|---|---|---|---|
| Swing points | One 16-bar pivot rule on every chart, confirmed 16 bars later | Usually a pivot or fractal rule, often with fewer settings | Your eye, changing with zoom and mood |
| Swing quality | Strong, Normal or Weak from ATR distance, wick and body | Rarely rated | Your own judgement |
| Sweep versus break | Circle for a close beyond, BUY or SELL for a wick beyond with a close back inside | Usually only the level, no signal | Possible, if you watch every candle close |
| When a signal is decided | Only on the closed candle | Depends on the code | When you notice it |
| Stop and target | None drawn: you place the stop beyond the wick and pick the objective yourself | Usually none | Yours to decide |
| Simplicity | 18 inputs and three kinds of marks to learn | Often a single length input | No software to learn |
| Cost | A one-time payment | Free | Free, paid for in screen time |
Honest about who this fits
A good fit if you
- You trade reversals after liquidity sweeps or stop runs and want the sweep defined the same way on every candle.
- You want to tell a real break from a sweep at a glance, with the two outcomes drawn differently.
- You like to judge a level before you trade it, and a Strong, Normal or Weak label helps you do that.
- You trade index futures, gold, crude, forex or crypto on TradingView, usually on 5 to 15 minute charts.
- You place your own stops and are happy to put them beyond a wick rather than have them drawn for you.
Not for you if you
- Traders who want an indicator that places or manages orders: it draws and alerts, and every order is yours.
- Anyone who wants a stop loss and take profit drawn on the chart: there are none, only the levels you build them from.
- Traders who need to know a swing the moment it forms: swing points are confirmed 16 candles later by design.
- Anyone who expects every sweep to reverse: a sweep can turn into a real breakout, and stops get hit.
The full code, one manual, installed in two minutes
- 1Pine Script source codeFakeout_Swing_High_Low_Signals_TradingView_Code.txt (12 KB): the full code. Paste it into the Pine Editor and it appears as “Fakeout Swing High Low Signals [AlgoFXStore]”.
- 14Page PDF manualInstallation, every setting with its default and how to read the chart.
- 18SettingsEvery one explained above, with the defaults the charts use.
- ✓Alert eventsYou choose which ones are on in the settings.
- 60Day money-back guaranteeIf it is not for you, request a full refund within 60 days through your Digistore24 order e-mail.
Install in five steps
- Download the zip from the page Digistore24 sends you to after checkout and unzip it.
- Open Fakeout_Swing_High_Low_Signals_TradingView_Code.txt in a text editor, select all and copy the whole code.
- In TradingView, open the Pine Editor, paste the code over everything that is there and click Save.
- Click Add to chart: “Fakeout Swing High Low Signals [AlgoFXStore]” appears on your chart.
- Read the PDF manual; the defaults are the settings shown on this page.

Kestutis Balciunas
AlgoFXStore · chart indicators
Kestutis Balciunas builds and publishes chart indicators under the AlgoFXStore name. Every product page shows what the indicator draws on real charts, and every number on it comes from the shipped build.
The charts on this page were captured in TradingView from the shipped Fakeout Swing High Low Signals [AlgoFXStore] at its default settings and are shown unedited.
No get-rich claims and no quoted win rates. Every trade is uncertain, and no indicator changes that. If you want to know whether it suits the way you trade before you buy, e-mail [email protected] and you will get a straight answer.
One price, one payment
- The full Pine Script source code of Fakeout Swing High Low Signals and the 14-page PDF manual
- Delivered as a digital download: one zip with the code file and the PDF manual on your download page
- Return period: 60 days, with a full refund if it is not for you
- Free updates to the current version on the same download page
60-day money-back guarantee. Install it, run it on your own charts and read the manual. If Fakeout Swing High Low Signals is not for you within 60 days of purchase, request a full refund from Digistore24, no questions asked: use the refund link in your Digistore24 order e-mail or Digistore24's order page digistore24.com/en/cancel-revoke-contract. Digistore24 refunds to your original payment method. It is a digital download: right after checkout you land on your download page, and the link to it is also in your Digistore24 order e-mail.
About the signals
Does it repaint?
The BUY and SELL signals do not: their test includes the confirmed-candle condition, so on a live chart they appear when the candle closes and stay there. Two other parts behave differently by design. Swing labels and level lines appear 16 candles after the swing and are placed back on the swing candle. Swing break circles are checked on the forming candle, so a circle can appear and disappear before the close and is final once the candle has closed.
Why did BUY print on two or three candles in a row?
There is no one-signal-per-level rule. If several candles in a row trade below the same swing low and close back above it with a long enough lower wick, each one prints a BUY. Treat the first as the signal and the others as the same idea, not as extra reasons to add to the trade.
What is the difference between a circle and a BUY or SELL?
A circle means a candle closed beyond the current swing level: a break, which breakout traders read as continuation. A BUY or SELL means a candle traded beyond the level but closed back inside: a sweep, which reversal traders read as a move back into the range. Note the placement as coded: the bullish break circle sits above its candle and the bearish one below.
Why is a swing that looks important only rated Weak or Normal?
The rating uses three fixed tests at the swing candle, not how the swing looks later. A turn made of several small candles can fail the wick and body tests even if price reversed far from it. The very first swing on each side has no earlier swing to measure the distance from, so it can be Normal at most.
What does each colour and mark mean?
Red, orange and gray labels above highs: Strong, Normal and Weak swing highs. Lime, yellow and gray labels below lows: Strong, Normal and Weak swing lows. Short red and lime lines: swing levels. Red and lime step lines: Current Swing High and Low. Small lime or red circles: swing breaks. Lime BUY under a candle and red SELL over a candle: fake breakouts.
Settings and markets
Which symbols and timeframes does it work on?
Any TradingView symbol and timeframe: futures, forex, gold, crypto, stocks and index charts. It needs 33 candles for the first swing, 16 on each side plus the swing candle, and a few hundred candles give a full picture. Good starting charts are 5 or 15 minutes for index futures and 15 minutes for gold and crude.
Does it work on the free TradingView plan?
Yes. It uses only the candles of the chart it is on, with no other symbols, no request.security call and no lower-timeframe data. How many alerts you can keep active at the same time depends on your TradingView plan, not on the indicator.
Should I keep the defaults?
Start with them, then change one input at a time on the same chart. For fewer signals raise Minimum Sweep Wick %, switch on the ATR Sweep Filter or raise Pivot Strength. For more signals lower the wick setting or use a smaller Pivot Strength. If nothing prints for a long time, no candle swept the current level with a long enough wick.
Why are old labels and levels missing on a long history?
TradingView keeps the newest 300 labels of this script, and Maximum Stored Levels keeps the newest 20 level lines per side, so the far left of a long chart shows no old swing marks. Raise Maximum Stored Levels, up to 100, if you want more lines kept. The BUY and SELL marks and the circles are not affected.
Alerts and charts
How do I set up the alerts?
Open Create alert on the chart and symbol you want to watch, choose Fakeout Swing High Low Signals as the condition, then one of the four alert conditions, for example Bullish Fake Breakout. Use the trigger Once Per Bar Close, which matters most for the two swing break alerts. Create one alert per condition, and re-create them after you change a setting, because an alert keeps the settings it was created with.
What does an alert message say?
Each message starts with AlgoFXStore and names the event, for example 'Bullish Fake Breakout detected. Price swept below swing low and reclaimed it.' The text carries no price, so give each alert a clear name with the symbol and timeframe when you create it. 'Enable Alert Conditions' must stay on, or all four conditions stay false.
Why do two charts of the same market show different signals?
Swings depend on the exact candles. A full-size and a micro futures contract are separate symbols with slightly different candles, and regular versus extended session settings or a different timeframe change which swings form. Each chart runs its own copy with its own settings, so compare charts with the same symbol, session and timeframe.
How it works
Will it place trades for me?
No. Fakeout Swing High Low Signals is an indicator: it draws on the chart and can alert you. It never sends an order.
Do I need a paid TradingView plan?
No. It reads only the chart's own bars, so the free TradingView plan runs it. Alerts count against your plan's alert limit.
After you buy
How do I get it after paying?
Digistore24 runs the checkout. Right after payment it takes you to your download page with one zip holding the Pine Script source code file and the PDF guide; the link to that page is also in your Digistore24 order e-mail, so you can download again at any time.
How do I install it?
Open the code file, open the Pine Editor in TradingView, paste the whole code, click Save and then Add to chart: “Fakeout Swing High Low Signals [AlgoFXStore]” appears on your chart. The guide walks through it step by step.
Who is Digistore24?
Digistore24 is the reseller that sells Fakeout Swing High Low Signals for Kestutis Balciunas (AlgoFXStore): it runs the checkout, charges your card or PayPal, collects the VAT for your country and delivers the download. Its name is the one on your statement, and its order e-mail holds your download link and the refund link.
What is the refund policy?
A 60-day money-back guarantee, handled by Digistore24. If Fakeout Swing High Low Signals is not for you within 60 days of purchase, use the refund link in your Digistore24 order e-mail or Digistore24's order page (digistore24.com/en/cancel-revoke-contract) for a full refund, no questions asked. Digistore24 makes the refund to your original payment method.
Do I get the source code?
Yes. You get the full Pine Script source code as a text file for your own use; the licence line at the top of the code does not allow resale, sharing or republishing.
Fakeout Swing High Low Signals for TradingView.
Add Fakeout Swing High Low Signals to your TradingView charts and see every swept swing level, decided at the close. The full code, the manual and every setting explained. Instant download for €47, one payment.
Get instant access