EwoFvBot Strategy Analysis
Strategy ID: Community Strategy (unofficial)
Strategy Type: Multi-Indicator Combined Trend Reversal / Momentum + Bollinger Bands Composite Signal
Timeframe: 15 Minutes (15m) / 1 Hour (1h)
I. Strategy Overview
EwoFvBot is a trend reversal strategy based on multi-indicator confirmation. The "EWO" in the strategy name stands for Elliott Wave Oscillator, which serves as the core momentum judgment tool. The strategy combines three independent indicators — EWO, Fisher Transform, and Bollinger Bands — to achieve precise entries at trend reversal points.
Unlike single-indicator strategies, EwoFvBot employs a "triple confirmation" mechanism: positions are opened only when all three indicators simultaneously issue consistent signals. This design significantly reduces false signal rates but also reduces trading opportunities.
Core Characteristics
| Feature | Description |
|---|---|
| Buy Conditions | 1 core buy signal: EWO turns positive + price touches Bollinger lower band |
| Sell Conditions | 1 core sell signal: EWO turns negative + price touches Bollinger upper band |
| Protection | Hard stop-loss + trailing stop + stepped ROI |
| Timeframe | 15m / 1h (optional) |
| Dependencies | TA-Lib (technical indicator calculation), pandas (data processing) |
II. Strategy Configuration Analysis
2.1 Basic Risk Parameters
# ROI Exit Table
minimal_roi = {
"0": 0.10, # Immediate exit: 10% profit
"60": 0.05, # After 60 minutes: 5% profit
"180": 0.02 # After 180 minutes: 2% profit
}
# Stop-Loss Settings
stoploss = -0.05 # Hard stop-loss: -5%
Design Philosophy:
- Stepped ROI: Initial target is higher (10%), gradually lowering thresholds as holding time extends
- Time decay mechanism: Longer holding = lower profit requirements, embodying the "securing profits" philosophy
- Conservative stop-loss: -5% stop-loss suits reversal strategies, providing adequate price volatility room
2.2 Trailing Stop Configuration
trailing_stop = True
trailing_stop_positive = 0.03 # Activate trailing when profit reaches 3%
trailing_stop_positive_offset = 0.05 # Trailing stop set at 5%
trailing_only_offset_is_reached = True
Trailing Stop Mechanism:
- Trailing activates when profit reaches 3%
- Stop-loss line moves up automatically with price increases
- 5% pullback from peak triggers exit, locking in partial profit
III. Entry Conditions Details
3.1 Core Buy Logic
The strategy's core buy signal is based on dual-condition confirmation:
# Core Buy Condition
dataframe.loc[
(
# Condition 1: EWO turns from negative to positive (momentum reversal)
(qtpylib.crossed_above(dataframe['ewo'], 0)) &
# Condition 2: Price touches Bollinger lower band (oversold position)
(dataframe['close'] <= dataframe['bb_lowerband'])
),
'buy'
] = 1
Logic Breakdown:
| Condition | Code Expression | Technical Meaning |
|---|---|---|
| Momentum reversal | EWO crosses above 0 axis | Wave momentum turns from negative to positive; downward momentum exhausted |
| Oversold confirmation | Price <= Bollinger lower band | Price at statistically extreme low |
Complete Logic Interpretation: When EWO crosses above the 0 axis from negative territory, it indicates the downward trend's momentum is weakening or reversing; simultaneously, the price touching the Bollinger lower band indicates the current price is at a relatively extreme low. When both conditions are met simultaneously, the strategy considers the market ready to reverse upward and executes a buy.
3.2 EWO Indicator Buy Signal
Elliott Wave Oscillator is the strategy's core momentum indicator:
EWO = SMA(5) - SMA(35)
Signal Interpretation:
| EWO State | Market Meaning |
|---|---|
| EWO < 0 and falling | Strong downtrend |
| EWO < 0 but rising | Downward momentum weakening |
| EWO crosses above 0 | Trend shifts from decline to rise |
| EWO > 0 and rising | Strong uptrend |
Buy Signal: EWO crosses above 0 from negative territory, confirming upward trend reversal.
3.3 Bollinger Bands Buy Signal
Bollinger Bands provides price boundary reference:
Middle band = SMA(20)
Upper band = Middle + 2 × StdDev
Lower band = Middle - 2 × StdDev
Buy Signal: Price touching or breaking below the lower band indicates being in a statistically oversold zone.
IV. Exit Conditions Details
4.1 Core Sell Signal
The strategy's sell signal is symmetrically mirrored with the buy signal:
# Core Sell Condition
dataframe.loc[
(
# Condition 1: EWO turns from positive to negative (momentum reversal)
(qtpylib.crossed_below(dataframe['ewo'], 0)) &
# Condition 2: Price touches Bollinger upper band (overbought position)
(dataframe['close'] >= dataframe['bb_upperband'])
),
'sell'
] = 1
Signal Interpretation:
| Sell Signal | Trigger Condition | Technical Meaning |
|---|---|---|
| Momentum reversal | EWO crosses below 0 axis | Wave momentum turns from positive to negative; upward momentum exhausted |
| Overbought confirmation | Price >= Bollinger upper band | Price at statistically extreme high |
4.2 Multi-Layer Take-Profit Mechanism
The strategy employs a three-stage ROI take-profit system:
Holding Time Target Profit Trigger Logic
──────────────────────────────────────────────────
0 minutes 10% Quick profit-taking
60 minutes 5% Medium-term holding profit
180 minutes 2% Long-term holding profit
Design Philosophy:
- Higher initial target, pursuing full profit from reversal moves
- Lower profit threshold as holding time increases
- 2% required after 3 hours to avoid profit-to-loss scenarios
4.3 Forced Exit Mechanism
| Exit Type | Trigger Condition | Purpose |
|---|---|---|
| Hard stop-loss | Loss reaches 5% | Protect principal, control max single-trade loss |
| Trailing stop | Profit retraces 5% | Lock in earned profit |
| ROI take-profit | Target profit reached | Phased profit-taking |
V. Technical Indicator System
5.1 Core Indicators
| Indicator Category | Specific Indicator | Calculation Parameters | Purpose |
|---|---|---|---|
| Momentum Indicator | EWO (Wave Oscillator) | 5/35 SMA | Judge trend momentum direction |
| Trend Indicator | Bollinger Bands | 20/2 | Identify price boundaries |
| Auxiliary Indicator | Fisher Transform | Variable period | Detect extreme prices |
5.2 EWO Indicator Details
Elliott Wave Oscillator is a momentum indicator specifically designed for identifying Elliott Waves:
EWO = SMA(5) - SMA(35)
Calculation Principles:
- Fast SMA (5-period) captures short-term price movements
- Slow SMA (35-period) represents long-term trend baseline
- The difference between the two reflects how current momentum deviates from the long-term trend
Wave Identification:
| EWO Waveform | Corresponding Wave |
|---|---|
| Peak | Wave 3 (main rising wave) |
| Secondary peak | Wave 5 (final rising wave) |
| Lowest trough | Wave A or C (corrective wave) |
| Crossing above 0 | End of Wave 1 or Wave B |
5.3 Bollinger Bands Indicator Details
Bollinger Bands consists of three tracks:
Upper band = SMA(20) + 2 × StdDev(20)
Middle band = SMA(20)
Lower band = SMA(20) - 2 × StdDev(20)
Statistical Principles:
- Approximately 95% of prices fall within the Bollinger Bands range
- Touching upper/lower band indicates the price is at a statistical extreme
- Narrowing band width signals decreasing volatility, potentially heralding a breakout
Role in the Strategy:
| Band Position | Strategy Meaning |
|---|---|
| Price touches lower band | Oversold zone, potential rebound |
| Price touches upper band | Overbought zone, potential pullback |
| Price near middle band | No clear signal |
5.4 Fisher Transform Auxiliary Indicator
Fisher Transform converts prices into Gaussian distribution, facilitating extreme price detection:
Fisher = 0.5 × ln((1 + x)/(1 - x))
where x = (Price - Lowest)/(Highest - Lowest) × 2 - 1
Indicator Characteristics:
- Output values range from -∞ to +∞
- Larger absolute value indicates more extreme prices
- Common threshold: +2/-2 indicates extreme overbought/oversold
VI. Risk Management Highlights
6.1 Hard Stop-Loss Mechanism
stoploss = -0.05 # 5% hard stop-loss
Characteristics:
- Maximum loss per trade controlled within 5%
- Simple and clear, no parameter optimization room
- Suits the reversal strategy's stop-loss style
Reversal Strategy Risk Considerations: Reversal strategies inherently carry the risk of "bottom-fishing at mid-slope." The 5% stop-loss provides adequate price volatility room to avoid being stopped out by normal fluctuations.
6.2 Trailing Stop Mechanism
trailing_stop = True
trailing_stop_positive = 0.03
trailing_stop_positive_offset = 0.05
Working Principles:
- Trailing stop activates when profit reaches 3%
- Stop-loss line moves up automatically with price increases
- 5% pullback from peak triggers exit
- Protects profits in reversal moves
6.3 ROI Time Decay
Risk Control Logic:
- Quick profit (10%) immediate exit: Capture initial reversal profit
- After 60 minutes lowered to 5%: Avoid profit pullback
- After 180 minutes lowered to 2%: Time cost consideration
VII. Strategy Pros & Cons
Advantages
- Multi-indicator confirmation: Three independent indicators simultaneously confirm, greatly reducing false signal rates
- Precise reversal capture: Entry at trend reversal points, large profit potential
- Built-in protection: Bollinger Bands provide natural price boundary protection
- Controllable risk: Clear stop-loss and stepped take-profit, clear risk-reward ratio
- Clear logic: Buy and sell signals are symmetrically mirrored, easy to understand and implement
Limitations
- Few trading opportunities: Triple confirmation mechanism results in fewer signals; may miss some opportunities
- Fails in oscillating markets: Frequent indicator crossovers during consolidation, generating false signals
- Parameter sensitive: EWO and Bollinger Bands parameters require optimization for different trading pairs
- Reversal failure risk: Not all reversal signals succeed; risk of bottom-fishing at mid-slope
- Computational complexity: Multi-indicator calculation has some hardware requirements
VIII. Applicable Scenarios
| Market Environment | Recommended Action | Description |
|---|---|---|
| Trend reversal points | Recommended | Core strategy advantage, precisely captures reversals |
| Oscillating market | Not recommended | Many false signals, frequent stop-losses |
| Unilateral trend | Use with caution | May bottom-fish/top-pick prematurely |
| High volatility market | Recommended | Bollinger Bands and EWO both adapt to high volatility |
| Major coins | Recommended | BTC, ETH technical patterns more reliable |
| Altcoins | Use with caution | High volatility, reversal signal reliability reduced |
IX. Applicable Market Environment Details
EwoFvBot is a typical trend reversal strategy. Based on EWO momentum reversal and Bollinger Bands boundary identification, it is best suited for entry at trend conversion points and performs poorly during unilateral trend continuation and oscillating consolidation markets.
9.1 Core Strategy Logic
- Momentum identification: Identify trend momentum changes through EWO
- Boundary confirmation: Bollinger Bands provide statistical confirmation of extreme price positions
- Reversal entry: Entry under dual confirmation of momentum reversal + price extreme
- Risk control: Hard stop-loss + trailing stop + stepped ROI triple protection
9.2 Performance in Different Market Environments
| Market Type | Performance Rating | Analysis |
|---|---|---|
| Trend reversal | Excellent | Core strategy advantage, precisely captures reversal points |
| Unilateral rise | Below Average | May miss mid-trend profits |
| Unilateral decline | Below Average | Short signals may be few |
| Wide-range oscillation | Below Average | Frequent indicator crossovers, many false signals |
| Narrow-range consolidation | Very Poor | No clear trend, continuous losses |
9.3 Key Configuration Suggestions
| Configuration Item | Suggested Value | Description |
|---|---|---|
| Timeframe | 15m / 1h | Balance signal frequency and reliability |
| EWO periods | 5/35 | Standard configuration, adjustable per trading pair |
| Bollinger Bands periods | 20/2 | Standard configuration, suitable for most pairs |
| Stop-loss | -5% | Stop-loss room suitable for reversal strategies |
| Trailing stop | Enable | Protect reversal profits |
9.4 Market Identification Suggestions
Before running the strategy, it is recommended to first assess the current market state:
# Simple trend identification
ADX_threshold = 25 # ADX < 25 may indicate oscillation; ADX > 25 indicates trend
# Volatility identification
BB_width = (bb_upper - bb_lower) / bb_middle
# Narrowing bandwidth may herald a breakout
X. Summary
EwoFvBot is a trend reversal strategy based on multi-indicator confirmation. Its core value lies in:
- Triple confirmation mechanism: EWO, Fisher, Bollinger Bands three independent indicators simultaneously confirm, greatly reducing false signal rates
- Precise reversal capture: Entry under dual confirmation of trend momentum reversal + price extreme position
- Controllable risk: Hard stop-loss + trailing stop + stepped ROI multiple protection
For quantitative traders, EwoFvBot is a typical example of entry-level reversal strategies. It demonstrates how to improve signal reliability through multi-indicator combinations and how to manage risk in reversal markets. However, when using it, keep in mind:
- Avoid using during unilateral trend continuation
- Avoid using in oscillating consolidation markets
- Parameters require optimization for specific trading pairs
- Accept fewer trading opportunities in exchange for higher signal quality
- Conduct thorough backtesting verification before live trading
Remember: The core of reversal strategies is not predicting the bottom/top, but trading with the trend after confirming reversal signals. The purpose of multi-indicator confirmation is to improve win rate, not to pursue perfect entry.