dogabot dogabot

strategy

Price Distance Trading Rule

How the Price Distance rule uses a band above and below an EMA for breakout-style buy and sell signals.

strategyprice-distanceema

The Price Distance rule fires when price moves a configured distance from an EMA band.

For the indicator formula, see EMA — Formula.

Signals

ConditionSignal
Price MA + bandBuy
Price MA − bandSell

Default parameters

ParameterDefault
maPeriod20 (EMA length)
typepercentage
value1

type can be percentage (band as % of MA) or distance (absolute price units).

Where to use it

Entry, increase, reversal, exit, and directional filters. Trend-classified.

Tips

Example

maPeriod 20, type percentage, value 1 on BTC/USDT 1h. EMA = $100,000 → buy band starts at $101,000 (+1%). Close $101,050buy. Close $99,000 (below MA −1%) → sell. Useful to confirm breakouts, not every touch of the MA.

Related in the app

Ready to put this into practice?

Create a free account and explore dogabot with paper trading.

Try Backtest