DCA Martingale Calculator
Simulate a base order plus safety orders with volume and step scaling. Useful for DCA bot planning.
Calculate
Results
From estimate to a live bot scenario
Carry the same logic into Veles: set comparable parameters, preview the order grid, then backtest before you launch.
- Match direction, leverage, grid, Martingale, and TP/SL
- Inspect orders, capital allocation, and average entry
- Stress-test fees, drawdown, and MAE in a backtest
Assumptions & conventions
- All safety orders fill at their trigger prices (no partial fills).
- Long-biased ladder: cumulative deviation below entry (increment i = firstDeviation × stepScale^i).
- Quote sizing; convert to base at trigger price. Rejects cumulative deviation ≥ 100%.
Frequently asked questions
What is a DCA / Martingale bot calculator?
It models a base order plus geometric safety orders (volume scale and step scale) to project average entry, total invested quote, total base quantity, deepest fill price, price coverage, and max drawdown from entry.
Traders use it to stress how much capital a DCA or Martingale ladder needs before price recovers — a common planning step before configuring bots like those in Veles.
What is volume scale vs step scale?
Volume scale multiplies each next safety order’s quote size. Step scale multiplies the price deviation increment so gaps between safety orders can widen as the ladder deepens.
Increment i ≈ firstDeviation × stepScale^i; cumulative deviation sums those increments through order i. Enter deviations as human percents (1 = 1%).
What does price coverage mean?
Price coverage is the cumulative deviation at the deepest safety order — how far below entry the ladder reaches if every order fills.
Max drawdown from entry expresses that depth as an adverse move percentage against the original entry price.
Is Martingale the same as dollar-cost averaging?
Both add size on adverse moves, but Martingale-style ladders often increase order size geometrically (volume scale > 1), which raises capital use and average-entry improvement at the cost of larger tail risk.
Classic DCA may use equal or slowly changing sizes. This tool supports both philosophies through the scale inputs.
Does the calculator assume every safety order fills?
Yes. It assumes each safety order fills at its trigger price with no partial fills and rejects ladders whose cumulative deviation reaches or exceeds 100%.
Real markets can gap through levels, so treat total invested as a planned maximum deployment, not a guarantee.
How do I use these DCA numbers in a trading bot?
Mirror base order, safety order size/count, volume scale, step scale, and first deviation in your bot builder, then backtest fees and MAE. The Veles CTA opens the builder; values are not auto-imported.
Always keep max deployed capital inside risk limits you can tolerate if the ladder completes.