Ease of Movement

← strategies

Strategy

Methodology

This strategy is backtested on daily OHLCV price data across major US equity indices and ETFs. Entry and exit signals are generated from the strategy's indicators with no lookahead bias — trades execute at the open of the bar following the signal.

Performance metrics are computed per symbol and shown individually. The parameter optimization section (where available) runs a grid search over the strategy's key parameters, optimizing for Sharpe ratio. Transaction costs and slippage are not modeled.

The signal logic and indicator code for this strategy is shown in the methodology code section below.

Methodology

Ease of Movement measures how easily price moves relative to volume. High positive EMV means price is rising with little volume (easy upward movement). Enters long when the smoothed EMV crosses above zero.

Implementation

class EaseOfMovement(Strategy):
    n = 14

    def init(self):
        h,l,v = pd.Series(self.data.High), pd.Series(self.data.Low), pd.Series(self.data.Volume)
        dm = ((h+l)/2) - ((h.shift(1)+l.shift(1))/2)
        br = v / (h-l).replace(0,1e-10)
        emv = dm / br.replace(0,1e-10)
        self.emv = self.I(lambda: emv.rolling(self.n).mean(), name="EMV")

    def next(self):
        if self.emv[-1] > 0 and self.emv[-2] <= 0 and not self.position: self.buy()
        elif self.emv[-1] < 0 and self.position: self.position.close()

Performance metrics

Total return+10.246%
Net profit$102,457
Gross profit$605,458
Gross loss$500,978
CAGR+1.244%
Annualized return+1.244%
Monthly average return+0.151%
Median monthly return-0.893%
Best month return+8.322%
Worst month return-8.866%
Rolling 1-month return+13.798%
Return per trade+0.176
Log return CAGR+13.658%
Compounded vs simple return difference-9.909%

Equity curves

Chart for symbol:

Charts & distributions

2024-09 → 2026-04 · 5-year daily data

Equity curve vs ^GSPC — buy/sell signals

Strategy equityIndex (normalized)▲ Buy▼ Sell

34 trades · green dashes = buy entries · red dashes = sell exits

Drawdown (underwater)

Rolling 1-month Sharpe

Rolling 1-month return (%)

Period return (≈ monthly)

Return distribution (bar returns)

MAE vs MFE (trades)

Rolling 12m Beta

Rolling 12m correlation

Monthly returns (run)

Performance Matrix

Total return-1.077%
Net profit-$10,770
Gross profit$401,970
Gross loss$393,210
CAGR-0.325%
Annualized return-0.325%
Monthly average return+0.024%
Median monthly return+0.886%
Best month return+4.444%
Worst month return-11.839%
Rolling 1-month return+8.499%
Return per trade-0.032
Log return CAGR-19.387%
Compounded vs simple return difference-7.120%