Skip to content
ziiiggy ziiiggy

Esc to close · Ctrl/Cmd+K

Orderflow

Sweep Detector

A study you add to a chart. Ready-made charts are in the chartbook shop.

Description

Sweep Detector marks where a large market order, or a group of them, trades through several prices in a row and all of the volume is on one side. A buy sweep is ask volume with the bid at 0. A sell sweep is bid volume with the ask at 0. That usually happens in one of two ways: the order is large enough to move the price many ticks, or the book is so thin that the order moves through many prices. Smaller runs are skipped by a volume filter, and the price has to travel a minimum number of price changes before a sweep is marked.

The arrows are not buy or sell signals. A green up arrow marks the location of a buy sweep, and a red down arrow marks the location of a sell sweep. Each arrow is drawn at the close of the last bar of that sweep, and only after both filters pass: the combined volume on the active side, and the distance from the first price of the run to the last.

Key Notes

  • Any volume on the opposing side ends the run. The next one-sided bar can start a new one.
  • The volume counted is only the active side, ask for a buy sweep and bid for a sell sweep, added across the bars in the run.
  • The distance is the price travel from the first price of the run to the last, in ticks. On this chart each bar is one price change.
  • The study reads bid and ask volume. It does not place orders.

Requirements

  • The chart must be a 1 price change chart. In Sierra Chart: Chart >> Chart Settings >> Bar Period >> Bar Period Type: Price Changes Per Bar, set to 1. On any other bar period the study does not run, and a message is written to the Message Log.
  • For that bar period, keep the chart to 1 or 2 days. Loading many days produces a very large number of bars and slows the chart.

Important Inputs

Sweep Detector important inputs
Input What it does
Minimum Sweep Size The minimum combined volume of the sweep. It starts at 24. A run below this is not marked. The range is 1 to 100000000.
Minimum Sweep Distance How far the price must travel, in ticks, from the first price of the sweep to the last. It starts at 5. The range is 1 to 10000.
Bars To Load (0 For All) How many recent bars are scanned. It starts at 0, which uses every bar loaded on the chart. A number smaller than Minimum Sweep Distance is raised to that distance.

Questions

Before you buy

How does it work?

Buy access from the plans on this page . At checkout, enter your Sierra Chart username. After the purchase, restart Sierra Chart, open the Studies window, and click Add Custom Study. Ziggy_Clear_Tools is on that list. It often appears within an hour, and sometimes takes longer, so restart again if it is not there yet.

Why do I enter my username?

That name is how Clear Tools is turned on for your Sierra Chart account. This is the standard way developers share custom studies. Enter the username only. Do not enter your password. I never see it, and I cannot open your account or anything private on it.

Where do I copy the username from?

In Sierra Chart, open Help, then About, and copy the Registered To name. That is the username. A space before or after the name is fine. Do not enter your password.

Do I get every study?

Yes. There is one package. Monthly is $29.99. The 3-month plan is $80, a limited-time discount versus paying monthly. Every Clear Tools study on this page is included, and so are studies added to the package later.

What happens if I cancel?

You keep Clear Tools through the time you already paid. A monthly plan covers that month. A 3-month plan covers those 3 months. When the next payment goes through, access is extended.

Where is support?

Study documentation and support are in the Discord . It is public.

What do I need installed?

Sierra Chart. MBO Blocks and MBO Blocks Timed also need Sierra Chart Package 12 with MBO turned on. The other indicators in the current set do not.

Lucid Trading promo

Preferred prop firm

Lucid Trading

Up to 40% off with code ZIGGY. No activation fee. No recurring billing.

Coupon Code ZIGGY

4.5★ on Trustpilot · 5,500+ reviews

Affiliate link. Purchases may pay a commission at no extra cost to you. Details on the privacy page.

Clear Tools

$29.99/mo · $80 for 3 months

Buy