Reversal Short-term Breakout Trading Strategy
1
Follow
1779
Followers
Overview
This strategy aims to capture short-term reversal trading opportunities. It will open short position after N consecutive up-bars and close position after M consecutive down-bars. It also incorporates time frame filter and stop loss/take profit features.
Logic
- Input parameters: Number of consecutive up-bars N, consecutive down-bars M
- Definition:
- ups counts number of up-bars, price>price[1] then +1, otherwise reset to 0
- dns counts number of down-bars, price<price[1] then +1, otherwise reset to 0
- Entry: short when ups≥N; close position when dns≥M
- Exit: fixed stop loss/take profit or end of time frame
Pros
- Capture reversal trading chances, suitable for short-term trading
- Flexible time frame setting catering to different trading plans
- Embedded stop loss/take profit facilitating risk management
Risks
- Short-term reversal may fail and reverse again leading to loss
- Reasonable N, M parameters needed, too large or small unfavourable
- Improper stop time may unable to stop loss in time
Optimization Directions
- Combine with trend indicator to avoid against trend trades
- Dynamic adjustment of parameters N, M
- Optimize stop loss mechanism
Conclusion
The strategy captures short-term trading opportunities through statistical K-line patterns. Reasonable parameter tuning and risk control measures are crucial for steady profits. Further improvements on combining trend analysis and dynamic parameter adjustment may lead to even better performance.
Source
Pine
/*backtest
start: 2023-11-13 00:00:00
end: 2023-11-20 00:00:00
period: 3h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=4
// Strategy
strategy("Up/Down Short Strategy", overlay=true, initial_capital = 10000, default_qty_value = 10000, default_qty_type = strategy.cash)Strategy parameters
Related strategies
Comment
All comments (0)
No data
- 1

