Long-only trend follower: enters on a MACD(12,26,9) histogram crossover up
while ADX(14) > 20, exits on the opposite crossover, 0.1% fees. The
browser counterpart of examples/python/strategy_macd_adx.py,
examples/node/strategy_macd_adx.js and the Rust
strategy_macd_adx.rs — same loop, same summary.
Loading WASM module…
Metric
Value
NOTE: Educational example — fees, slippage, funding costs and tax effects
are simplified or omitted. Past performance is not indicative of future
results.