Skip to main content

BbRoi Strategy: The Old Driver Inside Bollinger Bands

Nickname: Trend Follower, EMA Three Musketeers
Profession: Hunter of Bull Markets
Timeframe: 15 minutes


1. What Is This Strategy?

Simply put, BbRoi is a:

  • Strategy that only trades bullish trends
  • Finds opportunities inside Bollinger Band channels
  • Protected by three EMA lines

It's like an old driver—only drives when the road is clear (trend upward), always stays within the lane (Bollinger Band channel), and stops when seeing a red light (RSI overbought). 🚗

Name Origin: Bb (Bollinger Bands) + Roi (Return on Investment), translated as "Bollinger Bands Help Me Make Money"!


2. Core Configuration: Simply "Go With The Flow"

Take-Profit Rules (ROI Table)

Immediate gain after buy: Take profit at 17.552%
After 53 minutes: Drop to 11.466%
After 226 minutes: Drop to 6.134%
After 400 minutes: Must exit

Translation: This strategy is also greedy—wants 17.5% right after buying! But if you're slow and price won't budge, it forces liquidation after 6+ hours.

Stop Loss Rules

Hard Stop Loss: -23.7%
Trailing Stop: Activates after 1.8% profit, locks in 1% profit

Translation:

  • Can lose 23.7% before admitting defeat—more reasonable than Bandtastic's 34.5%
  • Starts protecting profits after earning 1.8%—this setup is relatively conservative

Order Configuration

Buy: Market orders (no hesitation)
Sell: Market orders (run fast)
Stop Loss: Limit orders + Exchange execution (reduce slippage)

Translation: Market orders mean this strategy doesn't fuss over a few cents of slippage; stop loss on exchange means the author is afraid of network latency.


3. Buy Conditions: 5 Security Checkpoints

This strategy has strict buy conditions—all 5 conditions must be met simultaneously:

🚧 Checkpoint 1: Price Above Middle Track

close > bb_middleband

Plain English:

"Price must be in the upper half of the Bollinger Band channel—no bottom fishing!"

🚧 Checkpoint 2: Price Below Upper Track

close < bb_upperband

Plain English:

"Price hasn't broken the upper track yet—don't chase highs!"

🚧 Checkpoint 3: Price Above Short-Term EMA

close > ema9

Plain English:

"Price is above 9-period EMA—short-term trend is up!"

🚧 Checkpoint 4: Price Above Long-Term EMA

close > ema200

Plain English:

"Price is above 200-period EMA—long-term trend is up!"

🚧 Checkpoint 5: Medium-Term Trend Confirmation

ema20 > ema200

Plain English:

"20-period EMA is above 200-period EMA—confirms it's a bullish trend!"


Buy Area Diagram

Bollinger Band Upper Track (bb_upperband)

| ┌─────────────────────┐
| │ │
| │ ✅ Valid Buy Area │
| │ (Middle < Price < Upper) │
| │ │
| │ Also must satisfy: │
| │ close > ema9 │
| │ close > ema200 │
| │ ema20 > ema200 │
| └─────────────────────┘

Bollinger Band Middle Track (bb_middleband)

Bollinger Band Lower Track (bb_lowerband) ← Strategy never touches this

Roast: 5 conditions simultaneously—this strategy is stricter than matchmaking! 🤦


4. Sell Conditions: 2 Escape Routes

Sell conditions use "OR" logic—meet either one and run:

🚪 Route 1: RSI Overbought

RSI > 75

Plain English:

"RSI is over 75—price is too hot, RUN!"

🚪 Route 2: Break Below Middle Track + Bearish Candle

(close < bb_middleband * 0.97) and (open > close)

Plain English:

"Price broke below middle track by 3%, AND it's a bearish candle—trend might reverse, RUN!"


Sell Signal Diagram

Scenario 1: RSI Overbought
────────────────
RSI: 76 (Over 75!)
Price: Still rising
Strategy: SELL! Don't be greedy!

Scenario 2: Trend Reversal
────────────────
Price: Broke below middle track by 3%
K-line: Bearish (Close < Open)
Strategy: RUN! Don't wait!

Roast: That "bearish candle" condition in Route 2 is interesting—author doesn't want to sell on bullish candles, afraid of selling too early. But is this 3% too tight? 🤔


5. This Strategy's "Personality Traits"

✅ Pros (Praise Session)

  1. Clear Logic: 5 buy rules, 2 sell rules—simple and clear
  2. Trend Filtering: EMA200 ensures only long positions, no shorts
  3. Risk Control: 23.7% stop loss, trailing stop, RSI take-profit
  4. Simple Parameters: No Hyperopt parameters, no overfitting
  5. Exchange Stop Loss: Reduces network latency risk

⚠️ Cons (Roast Session)

  1. Conditions Too Strict: 5 simultaneous conditions may miss opportunities
  2. Cannot Tune Parameters: Parameters are hardcoded, can't adjust for market
  3. Fixed RSI: 75 value may not suit all coins
  4. Long Only, No Short: Basically no trading in bear markets

6. When to Use It?

Market EnvironmentRecommended ActionReason
Bullish Trend⭐⭐⭐⭐⭐This is the strategy's home turf
Oscillating Uptrend⭐⭐⭐⭐☆In-channel buying is effective
Sideways Consolidation⭐⭐⭐☆☆May have opportunities but not many
Bearish Trend⭐☆☆☆☆EMA200 filter, basically no trading
Violent Volatility⭐⭐☆☆☆May trigger stop loss frequently

7. Summary: How's This Strategy Really?

One-Sentence Review

"Concise and effective trend-following strategy—great in bull markets, lies flat in bear markets."

Who Should Use It?

  • ✅ Trend traders (long only, no shorts)
  • ✅ People who like simple logic (no complex parameters)
  • ✅ Newbies learning (clear and easy to understand logic)
  • ✅ Intraday traders (15-minute timeframe)

Who Should NOT Use It?

  • ❌ People wanting to make money in bear markets (long only)
  • ❌ People who like frequent trading (strict conditions)
  • ❌ People needing custom parameters (parameters hardcoded)
  • ❌ High-frequency traders (15-minute frame too slow)

My Recommendations

  1. Only use in bull markets: EMA200 will filter out bear market opportunities
  2. Choose major coins: Good liquidity, Bollinger Bands effective
  3. Coordinate with大盘 (broad market) judgment: Turn off strategy when Bitcoin trend is down
  4. Small position testing: Backtest first, then live trade

8. What Markets Can This Strategy Make Money In?

8.1 Core Logic: Trend Following

BbRoi is a typical trend-following strategy, core approach:

  • Trend Confirmation: EMA200 judges big direction
  • Position Selection: Find entry points inside Bollinger Band channel
  • Risk Control: RSI take-profit + middle track stop loss

Money-Making Philosophy: Only trade in bullish trends, buy at channel pullbacks.

8.2 Performance in Different Markets (Plain English Version)

Market TypePerformance RatingPlain English Explanation
📈 Bullish Trend⭐⭐⭐⭐⭐This is home turf! EMA200 upward, strategy makes money like crazy
🔄 Oscillating Uptrend⭐⭐⭐⭐☆Trend still exists, pullback buying effective
📉 Bearish Trend⭐☆☆☆☆EMA200 filter, basically no trading (protects you!)
⚡️ Violent Volatility⭐⭐☆☆☆Frequently triggers stop loss, fees eat all profits

One-Sentence Summary: Bull markets are its home turf; bear markets are its vacation.


9. Want to Run This Strategy? Check These Configurations First

Configuration ItemDefault ValueRecommended ActionRoast
Timeframe15mKeepSuitable for intraday trading
Stop Loss-23.7%Keep or tightenThis value is okay
Trailing Stop1.8%/1%Can loosenToo conservative
Trading Pairs-Major coinsSufficient liquidity

9.2 Hardware Requirements

This strategy has very low computation, extremely low hardware requirements:

Number of PairsMinimum RAMRecommended RAMExperience
1-50 pairs2GB4GBEasy
50-200 pairs4GB8GBSmooth
200+ pairs8GB16GBNo problem

Roast: This strategy really saves resources—even an old computer can run it! 👍

9.3 Backtest vs Live Trading

Strategy parameters are fixed, low overfitting risk. But note:

  • Strategy design defaults to bull market
  • Basically no trading in bear markets
  • Choose correct time period for backtesting

Recommended Process:

  1. Backtest using bull market time periods
  2. Observe buy frequency and win rate
  3. Small position live testing
  4. Adjust based on broad market trend

10. Easter Eggs: The Author's "Little Schemes"

Look carefully at the code, you'll find some interesting things:

  1. Only uses middle and upper Bollinger Bands

    # Buy conditions
    (dataframe['close'] > dataframe['bb_middleband']) &
    (dataframe['close'] < dataframe['bb_upperband'])

    "Lower track? I never look at the lower track—long only, no shorts!"

  2. Uses 3 EMAs

    ema9, ema20, ema200

    "Short-term, medium-term, long-term trends all confirmed—safety first!"

  3. Stop loss on exchange

    'stoploss_on_exchange': True

    "I don't trust my network latency."

  4. RSI threshold hardcoded at 75

    dataframe['rsi'] > 75

    "75 is overbought—no negotiation!"

  5. Middle track breakdown adds 3%

    dataframe['close'] < dataframe['bb_middleband'] * 0.97

    "Breaking middle track isn't enough—need to drop 3% before I admit defeat!"


11. Last But Not Least

One-Sentence Review

"Simplicity is beauty—great in bull markets, lies flat in bear markets."

Who Should Use It?

  • ✅ Trend traders
  • ✅ People who like simple logic
  • ✅ Bull market players
  • ✅ Newbies learning

Who Should NOT Use It?

  • ❌ People wanting to make money in bear markets
  • ❌ Frequent trading enthusiasts
  • ❌ Parameter tuning OCD sufferers
  • ❌ High-frequency traders

Manual Trader Recommendations

If you trade manually, you can borrow this strategy's ideas:

  1. Use EMA200 to judge trend: Only go long when price is above EMA200
  2. Use Bollinger Bands to find entry points: Watch when price is in upper half of channel
  3. Consider take-profit when RSI > 70: Don't wait for RSI to reach 75 to run
  4. Be alert when breaking below middle track: Trend might reverse

12. ⚠️ Risk Re-emphasis (MUST READ THIS SECTION)

Backtests Are Beautiful, Live Trading Requires Caution

BbRoi has simple logic, but there are several pitfalls:

Long only, no short: Basically no trading in bear markets—if you run this strategy in a bear market, you'll either not make money or lose money.

Hidden Risks of Simple Strategies

In live trading, simple logic can lead to:

  • Missing Opportunities: 5 buy conditions too strict, many good opportunities filtered out
  • Fixed Parameters: RSI 75 may not apply to certain coins
  • Long Only: Completely ineffective in bear markets
  • Bollinger Band Limitations: Channel continuously expands in trending markets

My Recommendations (Honest Truth)

1. Only use in bull markets or oscillating uptrends
2. Choose major coins with good liquidity
3. Watch Bitcoin broad market—turn off when trend is down
4. Consider loosening RSI threshold to 70
5. Small position testing—don't go all-in immediately

Remember: Simple strategy doesn't mean guaranteed profit strategy. The core of trend following is "go with the flow," but nobody knows when the trend will end. Survival is most important! 🙏


13. Bandtastic vs BbRoi: Dual Heroes Comparison

Since both strategies are Bollinger Band-related, let's compare:

Comparison ItemBandtasticBbRoi
ComplexityHigh (16 Hyperopt parameters)Low (Fixed parameters)
Buy Conditions1 trigger + 3 optional protections5 must be met simultaneously
Sell Conditions1 trigger + 3 optional protections2 exit paths
Stop Loss34.5%23.7%
Trend FilteringOptional EMAMandatory EMA200
Applicable MarketSideways marketsBullish trends
Overfitting RiskHighLow
Learning CurveSteepGentle

One-Sentence Summary:

  • Bandtastic: Complex Bollinger Band bottom-fishing expert, needs optimization
  • BbRoi: Simple trend follower, bull market专用 (specialized)

Final Reminder: No matter how good the strategy, the market won't say hello before teaching you a lesson. Light position testing—survival is most important! 🙏