Skip to main content

Black Rock Strategy

Overview

The Black Rock Strategy is a breakout-based trading system designed to capture strong directional moves when price breaks out of a significant rolling high or low. The strategy continuously tracks the highest high and lowest low of the previous rolling 24-hour period (fully configurable by the user) and plots these levels directly on the chart as breakout zones. When price successfully breaks above the rolling high, the strategy enters a Long position. When price breaks below the rolling low, the strategy enters a Short position. To maximize profits during strong trends, the strategy also includes an advanced Pyramiding (Winner Averaging) feature, allowing traders to add to winning positions as additional breakouts occur. The strategy comes with built-in Mirrorpip automation support, enabling fully automated trade execution across supported exchanges. here is the source code

Key Features

Dynamic Rolling High & Low Detection

The strategy continuously calculates:
  • Rolling High
  • Rolling Low
based on a user-defined lookback period. By default:
  • Rolling High = Highest price of the last 24 hours
  • Rolling Low = Lowest price of the last 24 hours
These levels automatically update as new candles form.

Visual Breakout Levels

The strategy plots two highly visible yellow lines:

Upper Yellow Line

Represents the rolling high. Acts as a bullish breakout level.

Lower Yellow Line

Represents the rolling low. Acts as a bearish breakout level. These levels help traders clearly identify potential breakout zones on the chart.

Customizable Lookback Period

Although the default setting is 24 hours, traders can configure any lookback period. Examples:
  • 12 Hours
  • 24 Hours
  • 48 Hours
  • 72 Hours
  • Multi-Day Breakouts
This flexibility allows the strategy to adapt to different markets and trading styles.

Long Entry Logic

A Buy signal is generated when:
  • Price closes above the rolling high.
  • The breakout is confirmed by candle close.
Once the breakout occurs:
  • Mirrorpip automatically places a Long order.
  • Trade management begins immediately.

Example

24-Hour High = 100,000 Price closes at 100,250 → Long Position Triggered

Short Entry Logic

A Sell/Short signal is generated when:
  • Price closes below the rolling low.
  • The breakout is confirmed by candle close.
Mirrorpip automatically executes the Short trade on supported exchanges.

Example

24-Hour Low = 95,000 Price closes at 94,800 → Short Position Triggered

Advanced Winner Averaging (Pyramiding)

One of the most powerful features of the Black Rock Strategy is its ability to add to winning positions. Unlike traditional averaging, which increases exposure during losing trades, this strategy allows traders to add only when the market continues moving in their favor.

Long Position Pyramiding

After a Long position is opened:
  • If a new rolling high is created and subsequently broken again,
  • The strategy can add another Long position.
This process can repeat multiple times depending on user settings. Benefits:
  • Increases exposure during strong uptrends.
  • Maximizes gains from powerful breakout moves.
  • Allows systematic position scaling.

Short Position Pyramiding

After a Short position is opened:
  • If a new rolling low is created and subsequently broken again,
  • The strategy can add another Short position.
Benefits:
  • Captures extended downtrends.
  • Builds larger positions only when the trend is working.

Full Control Over Position Sizing

Users can define:

Maximum Pyramid Levels

Examples:
  • 1 Entry Only
  • 2 Entries
  • 3 Entries
  • 5 Entries
  • Unlimited (subject to Pine settings)

Position Size Per Entry

Examples:
  • Fixed Quantity
  • Fixed Capital Allocation
  • Percentage-Based Allocation
This gives traders complete control over risk and exposure.

Dual Profit Targets

The strategy supports two independent profit targets.

Target 1 (T1)

Can be configured in:
  • Percentage (%)
  • Points
Examples:
  • 1%
  • 2%
  • 100 Points

Target 2 (T2)

Can be configured independently in:
  • Percentage (%)
  • Points
Examples:
  • 3%
  • 5%
  • 300 Points
This allows partial profit booking while keeping the remaining position open for larger breakout moves.

Stop Loss Management

Risk management is fully customizable.

Percentage-Based Stop Loss

Examples:
  • 1%
  • 2%
  • 3%

Point-Based Stop Loss

Examples:
  • 50 Points
  • 100 Points
  • 200 Points
Mirrorpip automatically exits positions if the stop loss level is reached.

Trailing Stop Loss (TSL)

The strategy includes dynamic Trailing Stop Loss functionality.

TSL Options

Configure TSL using:
  • Percentage
  • Points
Benefits:
  • Protects profits automatically.
  • Helps capture larger trends.
  • Reduces drawdowns during reversals.

Best Markets for the Black Rock Strategy

The strategy performs particularly well in markets that experience strong directional breakouts. Popular markets include:
  • Bitcoin (BTC)
  • Ethereum (ETH)
  • Crypto Futures
  • Forex Pairs
  • Gold
  • Silver
  • Index Futures
  • Bank Nifty
  • Nifty Futures

Intraday Trading

  • 5 Minute
  • 15 Minute
  • 30 Minute

Swing Trading

  • 1 Hour
  • 4 Hour

Positional Trading

  • Daily
  • Weekly

Fully Automated with Mirrorpip

The strategy comes with built-in Mirrorpip automation support.

Setup Process

  1. Add the Black Rock Strategy to your TradingView chart.
  2. Configure the rolling high/low lookback period.
  3. Set pyramiding levels.
  4. Configure Targets, Stop Loss, and Trailing Stop Loss.
  5. Create a TradingView Alert.
  6. Connect the alert to Mirrorpip.
  7. Mirrorpip automatically executes and manages trades on your exchange account.
No coding knowledge is required.

Supported Exchanges

Mirrorpip supports automated execution on multiple exchanges including:
  • Bybit
  • Binance
  • Delta Exchange
  • CoinSwitch
  • OKX
  • Bitget
  • Gate.io
  • KuCoin
  • Shark Exchange
and many more.

Why Traders Use the Black Rock Strategy

  • Simple breakout-based logic.
  • Fully objective trading rules.
  • Captures powerful trending moves.
  • Dynamic breakout levels.
  • Advanced winner averaging through pyramiding.
  • Complete position sizing control.
  • Works across stocks, futures, forex, and crypto.
  • Fully automated with Mirrorpip.

Risk Disclaimer

Breakout strategies can experience false breakouts and periods of consolidation. Always:
  • Use appropriate stop losses.
  • Configure sensible position sizes.
  • Limit pyramiding according to risk tolerance.
  • Backtest settings before live deployment.
Trading involves risk and no strategy guarantees profits.

Conclusion

The Black Rock Strategy is a powerful breakout trading system that identifies opportunities using rolling high and low levels while providing advanced position-building capabilities through pyramiding. With customizable breakout periods, dual profit targets, flexible stop loss and trailing stop loss management, and seamless Mirrorpip integration, traders can fully automate a disciplined breakout trading approach across virtually any market.