All indicators

Flawless Victory Strategy - 15min BTC Machine Learning Strategy

Mar 12, 2021

Static chart image
Volume BasedSignalsOscillatorsMachine LearningChannelsMoney Management

The Flawless Victory Strategy indicator provides hyper-optimized long entry and exit signals for Bitcoin on the 15-minute timeframe using parameters derived from machine learning backtesting.

Usage

The strategy is specifically designed for BTC on the 15-minute chart, utilizing optimized Bollinger Bands, Relative Strength Index (RSI), and Money Flow Index (MFI) values. Users can select between three distinct versions of the logic based on their risk tolerance and preferred exit mechanics:

  • Version 1: Focuses on pure signal-based entries and exits. A buy signal is triggered when the price closes below the lower Bollinger Band while the RSI remains above a specific threshold. The position is closed when the price exceeds the upper Bollinger Band and the RSI reaches a defined overbought level.
  • Version 2: Utilizes a modified Bollinger Band length and incorporates fixed percentage-based Stop Loss (SL) and Take Profit (TP) levels to manage risk dynamically.
  • Version 3: Integrates the Money Flow Index (MFI) into the entry and exit logic, providing an additional layer of volume-based filtering alongside fixed SL/TP targets.

Details

The script's parameters were developed using a machine learning library in Python, backtested against historical Binance API data over 5000 epochs to maximize the Sharpe Ratio.

The core logic relies on mean reversion principles:

  • Entries: Target "oversold" conditions where the price deviates significantly from the mean (lower Bollinger Band) but maintains enough relative strength (RSI/MFI) to suggest a reversal rather than a breakdown.
  • Exits: Triggered when the price reaches the upper deviation of the Bollinger Bands combined with specific momentum oscillator thresholds.

While Version 1 prioritizes a high Sharpe Ratio by exiting only on signal changes, Versions 2 and 3 provide safety nets via hard stop losses and profit targets. The strategy is configured with no pyramiding to ensure transparency in win/loss ratios.

Settings

Version Selection

  • Version 1 - Doesn't Use SL/TP: Enables the original signal-to-signal logic.
  • Version 2 - Uses SL/TP: Enables logic with shorter Bollinger Band lengths and fixed risk levels.
  • Version 3 - Uses SL/TP: Enables logic incorporating MFI filters and fixed risk levels.

Version 2 Risk Management

  • v2 Stop Loss %: Sets the percentage decline from the average entry price at which a stop loss is triggered.
  • v2 Take Profit %: Sets the percentage gain from the average entry price at which a take profit is triggered.

Version 3 Risk Management

  • v3 Stop Loss %: Sets the percentage decline for Version 3 entries.
  • v3 Take Profit %: Sets the percentage gain for Version 3 entries.

FAQ

Which timeframe and asset is this strategy optimized for?
The strategy is specifically hyper-optimized for Bitcoin (BTC) on the 15-minute chart.

Can I use multiple versions at the same time?
While the script allows toggling multiple versions, it is recommended to use one version at a time to maintain clarity in backtesting results and position management.

How do I access the Flawless Victory Strategy?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.