dogabot’s All-in-One strategy combines multiple trading rules into one automation or backtest. Each rule can contribute buy or sell signals; the engine merges them according to your settings.
Signal sections
| Section | Purpose |
|---|---|
| Entry | Open a new position when conditions align |
| Increase | Add to an open position (scale in) |
| Reversal | Flip or reverse bias when rules fire |
| Exit | Close or reduce a position |
Each section has its own list of rules, combination mode, and (for increase) optional max steps.
Combination modes
- All agree — Every enabled rule in the section must agree on the same side (buy or sell).
- Custom — At least N rules must agree (
agreementThreshold).
Use all agree for conservative setups; custom when you want a majority vote.
Trade direction
Top-level trade direction limits which sides the strategy may take:
- Long — Buy signals only for new exposure
- Short — Sell signals only
- Both — Either side allowed
Per-rule options
Most directional rules support:
- enabled — Turn the rule on or off
- invert — Swap buy ↔ sell after evaluation
- symbol, timeframe, dataSource — Override candle feed for that rule only
Day-trade mode
When day-trade mode is on, dogabot adds a Day Trade Close rule to the exit section. It forces a full exit at a UTC time (default 21:00), using execution tick time—not candle close time.
Filters (gate before signal)
After rules in a section agree on a pending buy/sell, filters for that reason can block the signal. See Strategy filters for UTC time windows, volume thresholds, and directional filter rules.
Available trading rules
Directional (indicator-based)
Risk and position management
Filters only
Example
Entry section: enable RSI (oversold buy) and MACD with all agree. Both must say buy before opening long. Exit: Stop loss at 5% and Take profit at 10%. filters.entry: UTC window blocking 00:00–08:00 UTC so entries only fire in your chosen session.
Related reading
- Strategy filters
- How to read backtest results
- Indicator glossary: EMA, RSI, MACD, ADX