Category Archives: Uncategorized

How to Use the %B Indicator for Smarter Trading

In a recent Zoom meeting, Steve Hill, CEO of AIQ Systems, shared Bollinger Bands Setups, Variations & Trade Timing. In this article, we’ll expand on using %B and creating custom indicators to help identify trade setups using Bollinger Bands and %B.

When John Bollinger introduced Bollinger Bands in the 1980s, traders gained a powerful visual tool for understanding market volatility and potential turning points. But tucked away inside the Bollinger Band toolkit is a lesser-known gem: %B.

If Bollinger Bands are the map, %B is the GPS — it tells you exactly where price is, relative to the bands, at any given time. This extra precision can help you spot breakouts, reversals, and trend confirmations faster.


What is %B?

%B measures the position of the last closing price within the Bollinger Band range.

  • %B = 1.0 → Price is exactly at the upper Bollinger Band.
  • %B = 0.0 → Price is exactly at the lower Bollinger Band.
  • %B > 1.0 → Price is above the upper band (potential breakout or overbought).
  • %B < 0.0 → Price is below the lower band (potential breakdown or oversold).

Why Use %B Instead of Just the Bands?

While the bands themselves are great for visual trading, %B turns them into a precise numeric oscillator that’s perfect for:

  1. Coding trading systems (like in AIQ’s Expert Design Studio).
  2. Screening for setups in thousands of stocks.
  3. Backtesting with exact entry/exit rules rather than “eyeballing” the chart.

Five Ways to Use %B in Trading

1. Overbought/Oversold Mean Reversion

  • Buy when %B < 0.05 (price hugging lower band) and momentum turns up.
  • Sell when %B > 0.95 (price hugging upper band) and momentum turns down.

2. Trend Breakouts

  • Buy when %B crosses above 1.0 (price breaks above upper band in an uptrend).
  • Sell when %B crosses below 0.0 (price breaks below lower band in a downtrend).

3. Band “Walks”

In strong trends, price can “walk” the band.

  • In an uptrend, %B will often stay above 0.8 for extended periods.
  • In a downtrend, %B will often stay below 0.2.

For AIQ TradingExpert Pro, we’ll create an EDS strategy that looks for all these setups and generates two indicators.

%B as a histogram in Charts, and a Walk the BBands indicator, where we’ll create upper and lower thresholds, where we can see %B stays above or below these thresholds for several days.

Example Setups from the EDS scan 8-1-2025

Buy when %B < 0.05 (price hugging lower band) and momentum turns up. Ticker RSG %B histogram is 0.05 8-1-25, prices moved moderately up.


Sell when %B > 0.95 (price hugging upper band) and momentum turns down. Ticker PI %B histogram is 1.16, prices turned down.


Walk the band up. In an uptrend, %B will often stay above 0.8 for extended periods. Ticker INCY shows above our 80 line in the Walk the BBands indicator and continues to do so.


Walk the band down. In a downtrend, %B will often stay below 0.2. Ticker XRAY shows below our 20 line in the Walk the BBands indicator and continues to do so.


Click here to download this zipped EDS file. Locate the Bollinger%25B.zip file usually in your downloads folder and extract the Bollinger%25B.EDS file to your /wintes32/EDS strategies folder.

The code is below

EDS code

! — How to Use the %B Indicator for Smarter Trading

! — When John Bollinger introduced Bollinger Bands in the 1980s, traders gained
! — a powerful visual tool for understanding market volatility and potential turning points.
! — It tells you exactly where price is, relative to the bands, at any given time.
! — This extra precision can help you spot breakouts, reversals, and trend confirmations faster.

Periods is 20.
Multiplier is 2.

! Step 1: Moving Average of Close

MA20 is simpleavg([close],Periods).

! Step 2: Squared Deviations from MA

Deviation is ([close] - MA20) * ([close] - MA20).

! Step 3: Average of Squared Deviations

Var20 is simpleavg(Deviation,Periods).

! Step 4: Square Root to get Standard Deviation

SD20 is sqrt(Var20).

! Step 5: Upper and Lower Bands

UpperBand is MA20 + Multiplier * SD20.
LowerBand is MA20 - Multiplier * SD20.

! Step 6: %B Calculation

PercentB is ([close] - LowerBand) / (UpperBand - LowerBand).

! — Buy when %B < 0.05 (price hugging lower band) and momentum turns up.

BuyReversal if PercentB < 0.05 and [close] > val([close],1).

! — Sell when %B > 0.95 (price hugging upper band) and momentum turns down.

SellReversal if PercentB > 0.95 and [close] < val([close],1).

! — Buy when %B crosses above 1.05 (price breaks above upper band in an uptrend).

BuyBreakout if PercentB > 1.05.

! — Sell when %B crosses below -0.05 (price breaks below lower band in a downtrend).

SellBreakdown if PercentB < -0.05.

! — create an indicator for walking the bands use a one line indicator with upper at 80 lower at 20 by %B x100

walkindicator is PercentB*100.

! — Band “Walks” in strong trends up, price can walk, the band %B will often stay above 0.8 for extended periods.

walkuptoday if walkindicator>80.
walkup1ydy if valresult(walkindicator,1)>80.
walkup2back if valresult(walkindicator,2)>80.
wlkupfor3days if walkuptoday and walkup1ydy and walkup2back.

! — Band “Walks” in strong trends down, price can walk, the band %B will often stay below 0.2 for extended periods.

walkdowntoday if walkindicator<20.
walkdown1ydy if valresult(walkindicator,1)<20.
walkdown2back if valresult(walkindicator,2)<200.
wlkdownfor3days if walkdowntoday and walkdown1ydy and walkdown2back

Adding the %B and Walking the BBands Indicator

Open Charts.

Go to Chart → Settings → Indicator Library → EDS Indicators.
Click Add.

Select the Bollinger%25B.EDS file from your /wintes32/EDS strategies folder and click Open.

Choose a Plot Type Histogram for %B

Give it a Description/Name, then choose the UDF to Plot (PercentB).

Click Finish, then Done. Your new indicator now appears in the Indicator Library and can be added to charts like any other study.

Repeat for the Walk the BBands but select Plot Type One Line with Upper/Lower Limits

Give it a Description/Name, then choose the UDF to Plot (Walkindicator) and select Upper Support 80, Lower Support 20.

Click Finish, then Done. Your new indicator now appears in the Indicator Library and can be added to charts like any other study.

Final Thoughts

%B adds mathematical precision to Bollinger Band analysis. Whether you’re hunting for reversals, breakouts, or just trying to understand volatility better, %B gives you an exact reading of the price’s location in the band structure.

TradingExpert Pro Sector Rotation — How to Spot Leading vs Lagging Groups

Knowing what the overall market is doing is useful — but knowing which sectors and industry groups are leading or lagging gives you tactical precision.

TradingExpert Pro’s Group/Sector module analyzes over 150 industry groups and 11 broad sectors. Each day, it assigns a score based on recent performance, momentum, and breadth.

You can find top-ranked groups, then drill down to find the strongest stocks within them. This rotation-based approach keeps you on the right side of macro moves. When a group moves from lagging to leading (or vice versa), you’ll see it reflected in the daily scores.

Smart traders pair this with chart setups, AI ratings, and EDS strategies to align timing and selection. Sector rotation isn’t just for institutions anymore — TradingExpert Pro makes it usable for everyone.

👉 Start your 30-day trial of AIQ TradingExpert Pro. This is your chance to trade with the tools the pros use, system testing, backtesting, and expert ratings included.

Stay ahead of the market.

🔗 Start Your $1 Trial Now

🏆 Traders Voted. AIQ Delivered

In the highly competitive AI Trading Platform category of the 2025 Stocks & Commodities Readers’ Awards, AIQ TradingExpert Pro came in strong as 1st Runner Up — and we’re just getting started.

Why? Because serious traders know AIQ isn’t just software—it’s a full system for data-driven decisions. From smart Money Flow indicators to advanced market scanning and group/sector analysis, TradingExpert Pro gives you an edge in any market. 

🌟 What sets us apart:

  • AI-enhanced signal generation
  • Backtesting and custom rule scripting
  • Personalized onboarding call with Steve Hill, AIQ’s CEO

PLUS much much more…all the ins and outs are here https://aiqeducation.com/

👉 Grab the $1 30-day trial and take a serious step forward.

👉 Claim Your $1 Trial Now

Tune into a special edition of NewsWare’s Trade Talk August 1, 2025

With Trading Anchor Bill Olsen and Steve Hill, CEO of AIQ Systems.

In this episode of NewsWare’s AIQ Markets podcast, we explore the impact of recent tariff escalations on market volatility.

Host Emily Advani, along with experts Bill Olsen of NewsWare and Steve Hill, CEO of AIQ Systems, dive into how these developments affect various sectors, including retail, software, and soft drinks. Learn how traders can leverage both fundamental and technical analysis to navigate these turbulent times and uncover opportunities in stocks Nike (NKE) and Salesforce (CRM), amongst others. Tune in to gain valuable insights on staying ahead in an unpredictable market landscape.

Listen to the podcast

Why Do Serious Traders Rely on AI-Based Expert Ratings in TradingExpert Pro?

Serious traders are always on the hunt for tools that can give them an edge — something that cuts through the noise and reveals high-probability trade setups. That’s where TradingExpert Pro’s AI-based expert ratings come in. With over 400 built-in rule sets, this proprietary system assigns a bullish or bearish score to each stock, ranging from +100 (strong buy) to -100 (strong sell).

These scores are generated from technical rules developed by top traders and analysts, analyzing indicators like RSI, MACD, stochastic, volume, momentum, and dozens more. The AI scans every stock nightly, summarizing complex conditions into one clear rating. Traders use these scores to validate their setups, spot new opportunities, and avoid false breakouts.

In short, it’s a technical signal aggregator that saves time, reduces bias, and adds discipline — everything a serious trader wants.

AIQ Expert Rating signals are designed to anticipate changes in the direction of price movement.  Some are accurate, while others are not. However, more often than not, the Expert Rating signals are accurate. Of the signals that are accurate, some are early, some are late, and some are timed perfectly. Since traders cannot predict next week’s market prices, they must decide whether to make a trade or to stand aside based on the information available. 

In order to help the prudent trader increase the number of profitable trades, AIQ TradingExpert Pro provides a wide array of information that can be used for signal validation.  The process of using other information to validate signals is called signal confirmation. Signal confirmation is accomplished in a variety of ways.  Inherent in each method is a certain risk vs. reward characteristic; the specific method must be decided by each trader.  As the level of confirmation increases, the level of risk is reduced.  As risk is reduced, the level of potential reward is also reduced.  Traders must balance their levels of risk tolerance against their reward objectives.

The Signal Confirmation rules are: 1. No Confirmation 2. Price Confirmation 3. Price/Volume Confirmation 4. Independent Corroboration by Separate TradingExpert Components Important

How Does Intraday Snapshot Work in TradingExpert Pro and Why It Matters

TradingExpert Pro users have long relied on end-of-day data for clean, bias-free decision-making. But what if you could run those same scans during the market day?

The Intraday Snapshot feature makes that possible. For just $18/month https://aiqeducation.com/plans/, users can download delayed market data up to four times daily — capturing snapshots of the trading session. Once downloaded, you can run the same AI ratings, scans, charts, and system rules on the data.

This means you can catch emerging signals before the close, verify if a stock is maintaining strength after a morning breakout, or identify group/sector shifts in real time. It keeps your process consistent while making your decisions more timely.

For traders who want intraday agility without abandoning proven rules — Snapshot bridges the gap.