Entry Ladder Risk Calculator: Size the Whole Fucking Ladder First

Entry Ladder Risk Calculator is a free MetaTrader utility for MT5 and MT4. It’s a trade panel that sits on the chart and splits one manual trade into up to 16 entries with one shared Stop Loss. I give it a direction, a Max Risk % of equity, the number of Entries and the Entry Spacing %. It gives me back the lot size for every entry, a Stop Loss and Take Profit, and what the whole ladder loses at the stop if every entry fills. When I click and confirm, it places the basket.

Scaling in by hand is how a 1% idea turns into a 4% hole. You size the first entry, stack three more on the pullback, and nobody did the fucking math on all of them together. So, the rules:

  • The stop sets the size, not my gut.
  • I see the whole loss before I click.
  • Every entry shares one stop.
  • Orders that missed the trade die with it.
  • Nothing fires without my click.

The stop sets the size, not my gut

Get it free from the MQL5 Market (MT5 or MT4), then drag EntryLadderRiskCalculator from the Navigator onto a chart on a demo account. On MT5, tick Allow Algo Trading and turn on Algo Trading. On MT4 it’s Allow live trading and AutoTrading. Same shit, different labels.

The panel opens on the chart. Pick Long or Short, Market or Planned, then set Max Risk %, Entry Spacing % and Entries. It reads the risk from equity and counts only this basket. The lots per entry come from that risk and the distance to the Stop Loss. MT5 uses the broker’s own profit calculation, MT4 uses the symbol’s tick value, and both round down to the lot step. Rounding down means the budget is a ceiling, never a target. On an MT4 EURUSD demo at 1% risk, five entries of 0.02 lots put 0.82% on the line. The broker’s lot step ate the rest, and I’d rather lose that than go over.

Entry Ladder Risk Calculator panel on an MT5 BTCUSD chart, long market ladder with five entries of 1.11 lots
Long, Market, 1% risk, five entries. Each one gets 1.11 lots and the whole ladder loses 0.99% at the stop if all five fill.

I see the whole loss before I click

The bottom of the panel shows the trade before it exists. Average price, total lots, the loss at the Stop Loss and the win at the Take Profit if every entry fills, and the margin level with every entry open. No spreadsheet, and no guessing what five positions do to the account after the third one is already open.

Both lines start on Auto. The Stop Loss sits one spacing step past the farthest entry. The Take Profit sits as far past the average as the stop is on the other side. Type a price or drag either line and it stops being Auto. Every line on the chart is a control. Drag an entry and only that entry moves. Drag the Stop Loss and the lots change, because the stop sets the size. Drag the Take Profit and only the target changes.

Planned ladder with the Stop Loss dragged lower, lots per entry reduced to 0.76, and one entry marked Fixed
Stop dragged further away, so each entry drops to 0.76 lots and the loss still lands at 0.99%. Buy Limit 3 was dragged on its own and is now marked Fixed.

Market opens the first entry now and puts the rest as limit orders on the pullback. Drag one past the current price and it turns into a stop order. Planned makes every entry a pending order around a Ladder Centre price, and dragging the gold average line moves the whole damn ladder at once.

MT4 Planned ladder on EURUSD with two buy stops above the ladder centre and three buy limits from the centre down
Planned mode on MT4. The ladder straddles the centre price, so it places buy stops above the market and buy limits below.

The order button says what it’s about to do, Open Long Basket or Place 5 Pending Orders, and clicking it brings up a confirmation with every price, the lots, and the estimated loss and win. The loss is an estimate. Gaps, slippage, commission and swap can make it bigger. On MT4, when the symbol’s profit currency isn’t the account currency, it also moves with the exchange rate. The panel can’t stop the market from gapping through your stop like it owes you money.

Confirmation dialog listing a long basket of five buy limits with stop loss, take profit, estimated loss and estimated win
The confirmation before anything goes to the broker: five entries, both exits, estimated loss and win, every entry price.

Every entry shares one stop

Once the basket is out, the panel splits into Filled and All filled. The first column is what the positions that already filled lose or make at each exit. The second is the same if every pending entry fills too. Every order carries the same Stop Loss and Take Profit at the broker. Drag a line or type a price and every order follows. No hunting down five tickets to move five stops by hand like an idiot.

Active basket panel with one entry filled and four orders pending, showing Filled and All filled columns
One entry filled, four pending. The two columns show the loss now and the loss if the rest fill.
Take Profit line dragged higher on an active basket, reward to risk at 1.78 to 1
Take Profit dragged up on the live basket. Every order got the new target and the panel shows 1.78 to 1 reward to risk with all filled.

Move to Breakeven puts the stop at the average. That isn’t a free trade. The stop can still close at a small loss. Close Basket is the eject button.

Basket after Move to Breakeven, stop loss line sitting on the filled entry at the average price
After Move to Breakeven the stop sits on the average and the loss at the stop reads zero, before slippage gets a vote.

Orders that missed the trade die with it

When the trade exits, it cancels the entries that never filled. A forgotten buy limit waiting under a dead trade is exactly how you wake up in a position you never wanted. If a fill slips over the budget, it cancels the pending orders. If the open positions alone are over it, it closes them.

The cog opens two margin levels of my own, Soft margin call level % and Soft stop-out level %, off by default and set above the broker’s. Below the soft margin call the panel warns in red. Below the soft stop-out it closes this basket and cancels its orders, checked once a second. It closes nothing else on the account, and a fast move can still hit the broker’s stop-out first.

Settings dialog with the broker's hard margin call and stop-out levels and the soft margin call and soft stop-out inputs at 0
The broker’s hard levels on top, my soft levels below. 0 means off.

The stop and target live at the broker. The cancelling and every other check need the terminal running with the expert attached and algo trading on. Close the terminal and the panel can’t clean up a fucking thing.

One basket per account and symbol in a terminal. On an MT5 netting account, if another trade joins the position, it leaves that position to you. On MT4, keep the Account History tab on All History. It reads the basket’s closed orders there to count the loss they already took, and a shorter period hides them without telling you.

While it runs, it hides MetaTrader’s own trade lines on its chart (and the history arrows on MT5), because that crap draws over the panel, and shows its own lines instead. An input keeps MetaTrader’s lines, and removing the expert brings them back.

Nothing fires without my click

On a live chart it places nothing until I click the order button and confirm. In the Strategy Tester there’s nobody to click, so it places the basket from the inputs once, on the first tick inside the trading session.

Strategy Tester run with a five-entry long basket, two entries filled and three pending
A tester run. Two entries filled, three still waiting, same panel as on a live chart.

The user guide explains every setting, and messages and what to do tells you what the panel’s complaints mean. If you want buys on a schedule instead of one ladder right now, that’s Recurring Buy DCA.

The stop sizes it. I see the loss first. One stop for all of them. Leftovers get cancelled. My click or nothing.

Get Entry Ladder Risk Calculator free on the MQL5 Market for MetaTrader 5 or MetaTrader 4.