Bitcoin Multi-factor Trading Strategy
Overview
This is a comprehensive trading strategy designed for 15-min timeframe trading of Bitcoin and other cryptocurrencies. It combines multiple indicators to generate buy and sell signals, including Triple Exponential Moving Average (TEMA), Average True Range (ATR), and Heikin-Ashi candles, together with risk management features like take profit and stop loss.
Strategy Logic
The strategy utilizes the following indicators:
-
Triple Exponential Moving Average (TEMA): Three TEMA lines of different lengths and sources, based on high, low and close prices respectively.
-
Average True Range (ATR): Custom ATR calculation with EMA smoothing to measure volatility.
-
Supertrend: Calculated using ATR and a multiplier to determine trend direction.
-
Simple Moving Average (SMA): Applied on the short TEMA line to smooth its values.
-
Heikin-Ashi Close: Used for additional trend confirmation.
Long entry signal is triggered when the short TEMA is above both long TEMA lines, Supertrend is bullish, short TEMA is above its SMA, and Heikin-Ashi close is higher than previous close.
Short entry signal is triggered when the opposite conditions are met.
Take profit and stop loss are set at 1% and 3% of entry price. Commission is also considered.
Advantage Analysis
-
Multiple factors improve accuracy
Combining trend, volatility, pattern indicators can improve accuracy and avoid false signals. -
Reasonable stop loss/take profit controls risk
Well-set stop loss and take profit levels lock in profits and limit losses. -
Large parameter optimization space
Indicator parameters can be flexibly tuned to adapt to changing markets. -
More realistic with commission factored in
Commission considered makes backtest results closer to live performance.
Risk Analysis
-
Risk of misjudgments from over-optimization
Too many combined indicators may also lead to misjudgments. Effectiveness needs evaluation. -
Higher risk with short-term trading
Compared to longer timeframes, 15-min is more susceptible to sudden events and risks. -
Strategy stability needs further validation
More extensive testing across long history and markets is needed to ensure reliability. -
Lengthy optimization with multiple parameters
Many parameters introduced leads to lengthy process for optimizing all parameter combinations.
Improvement Directions
-
Evaluate real effect of each indicator
Backtest to verify actual incremental benefit of each indicator, avoid redundancy. -
Optimize and test stability
Test optimization results across more markets to ensure robustness. -
Incorporate stop loss strategies
Such as trailing stop, bracket order stop to further control risk. -
Consider more cost factors
Such as slippage to make backtest closer to live performance.
Summary
This strategy combines multiple indicators and risk management techniques tailored for 15-min Bitcoin trading. Large space remains for optimizing parameters, evaluating indicator effectiveness, broad market stability test, and introducing more real-world factors to find the optimal combination within the multi-factor approach. With persistent optimization and verification, it can become an effective tool for crypto high frequency trading.
/*backtest
start: 2023-08-25 00:00:00
end: 2023-09-09 00:00:00
period: 10m
basePeriod: 1m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © deperp
//@version=5
strategy('3kilos', shorttitle='3kilos BTC 15m', overlay=true, initial_capital=100000, max_bars_back=5000, default_qty_type=strategy.percent_of_equity, default_qty_value=10, commission_type=strategy.commission.percent, commission_value=0.07, pyramiding=0)- 1
