AlexInc's Bar v1.2 Breakout Accumulation Strategy Based on Meaningful Bar Filtering
Overview
This strategy predicts trends by judging the "meaningful bar" of K-lines, and generates trading signals combined with breakout signals. The strategy filters out excessively small K-lines and only analyzes "meaningful bars" to avoid interference from frequent minor fluctuations, making the signals smoother and more reliable.
Strategy Logic
-
Judge the entity length body of the current K-line. If it is greater than 3 times the average body value of the past 6 K-lines, it is considered a "meaningful bar".
-
If there are 3 consecutive "meaningful bars" with long bodies, it is judged as a long signal. If 3 consecutive bars with short bodies, it is judged as a short signal.
-
While judging the signal, if the price breaks through the previous high or low point, additional trading signals will also be generated.
-
Use SMA as a filter. Open positions only when the price breaks through the SMA.
-
After taking a position, if the price breaks through the entry point or SMA again, close the position.
Advantage Analysis
-
Using “meaningful bars” to judge trends can filter out unnecessary interference and make clearer signals.
-
Combining trend signals and breakout signals improves signal quality and reduces false signals.
-
SMA filters avoid buying high and selling low. Only buy below Close, sell above Close, thus improving reliability.
-
Setting profit taking and stop loss conditions facilitates timely risk control.
Risk Analysis
-
This aggressive strategy judges signals from only 3 bars and may misjudge short-term fluctuations as trend reversals.
-
Insufficient backtesting data. Results may vary between products and timeframes.
-
No overnight position control, with overnight holding risk.
Optimization Directions
-
Further optimize parameters for “meaningful bars”, such as number of bars judged and definition of “meaningful”.
-
Test impacts of different timeframes to find optimum parameters.
-
Add ATR based stop loss to control risks.
-
Consider adding overnight position control.
Summary
This strategy utilizes “meaningful bar” filtering and trend judgment to generate trading signals combined with breakouts. It effectively filters out unnecessary minor fluctuations for clearer and more reliable signals. However, due to short judging cycles, certain misjudgment risks exist. Further improvements can be made through parameter optimization and risk control.
- 1

