Quantitative Dual-indicator Strategy
Overview
This strategy is a combination strategy based on dual EMA indicator and Bull Power indicator. The strategy name contains keywords like "quantitative" and "dual-indicator", highlighting its characteristic of using two independent indicators.
Strategy Logic
The strategy consists of two parts:
-
2/20 EMA indicator. This indicator calculates the 2-day and 20-day EMA. It generates buy signals when price crosses above EMA and sell signals when price crosses below EMA.
-
Bull Power indicator. This indicator calculates bullish/bearish power based on the current bar's relationship with previous bar. It generates trading signals when bull/bear power exceeds the threshold.
The two parts' signals need to trigger at the same time to open positions. For example, EMA golden cross and Bull Power being positive open long positions, while EMA dead cross and Bull Power being negative open short positions.
Advantage Analysis
- Combine indicators to filter fake signals. Single indicator is prone to be influenced by external factors generating fake signals. Dual-indicator combination can verify each other and filter out fake signals, improving signal quality.
- Customizable parameters. The periods of EMA and threshold of Bull Power are customizable to adapt to different market environments.
- Simple and clear logic. The strategy only uses two common indicators with simple and clear logic, easy to understand and implement.
Risk Analysis
- Indicator failure risk. Despite using combinational indicators, extreme market conditions may still cause indicator failure.
- Parameter optimization risk. Inappropriate parameter settings may lead to insufficient or excessive trading, undermining strategy performance. Requires sufficient testing to find optimal parameters.
Optimization Directions
- Add stop loss mechanisms. Set moving or lookback stop loss to control single trade loss.
- Optimize parameter settings. Test different parameter combinations to find the optimal parameters for better performance.
- Add filtering conditions. Adding conditions like trading volumes or volatility to filter abnormal market conditions when opening positions.
Conclusion
The strategy realizes trading decisions by combining dual EMA and Bull Power indicators. Compared to single indicator strategies, the combination eliminates fake signals effectively while retaining customizable parameters. In conclusion, this strategy features simplicity, flexibility and strong practicality as a quantitative trading strategy.
/*backtest
start: 2022-12-22 00:00:00
end: 2023-12-28 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=5
////////////////////////////////////////////////////////////
// Copyright by HPotter v1.0 12/07/2022
// This is combo strategies for get a cumulative signal. - 1

