Loading…

Scale Out Ladder Map

A scale-out plan - close a third at 1R, a third at 2R, let the rest run - usually lives only in a trader's head or a spreadsheet, and is easy to lose track of mid-trade. This indicator draws the whole planned ladder directly on the chart for every open position, with rungs placed at R multiples of the trade's own initial risk so the plan scales automatically with however much was actually risked on that particular trade. Each rung is marked FILLED once price has traded through it and PENDING before that. This deliberately does not claim to know whether a partial close order was actually sent at that level - MT4 gives a purely price-based indicator no event to observe that says "a partial close happened here", and a partial close in MT4 leaves the closed slice under the original ticket while opening a brand-new ticket for whatever volume remains open, which a display-only tool has no reliable way to attribute back to a specific rung. This is a planning map showing what price has done relative to the plan, not a fill confirmation - read it as "price reached this level", not "I definitely took profit here". The initial risk used to scale the ladder is a stop-loss snapshot taken the first time this indicator sees a given ticket, the same technique (and the same honest limitation around stops moved before attachment) used in this catalogue's Open Trade R Multiple Meter, reimplemented here directly since house style forbids one project including another's file. Notes and limitations FILLED means price has traded through that level, not that a partial close was actually executed there - see above. A trade with no stop loss set has no risk unit to scale the ladder against and shows only its entry line, no rungs. Only the chart's own symbol is drawn, since the objects are price/time chart objects. The percentage figures are for display only; nothing in this indicator sends orders or reduces position size.

Indicator · MT4 · v1.0 · Free

About Scale Out Ladder Map

Scale Out Ladder Map is an indicator for MetaTrader 4. It has 9 settings, such as Rung r multiples, Rung percents and Magic filter. MQL source code included.

Files in the download: ScaleOutLadderMap.mq4, ScaleOutLadderMap.txt.

Settings

SettingDefaultWhat it does
Rung r multiples1,2,3Comma-separated R multiples for each ladder rung
Rung percents33,33,34Comma-separated planned close percentage per rung (display only, must sum near 100)
Magic filter-1Only show orders with this magic number, -1 = show all
Rung extend bars15How many bars wide each rung line is drawn
Font size8Rung label font size
Pending colorclrDodgerBlueColour for a rung price has not reached yet
Filled colorclrLimeGreenColour for a rung price has already traded through
Entry colorclrSilverColour for the entry price reference line
Refresh secs2Refresh interval, seconds

How to install

  1. Download the ZIP from your PolyMaria library and unzip it.
  2. In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Indicators.
  3. Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
  4. Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
  5. Drag the indicator from the Navigator onto a chart and adjust the settings.

Download the PDF guide

Tags: MT4 Indicator · MQL4 Source Code

MetaTrader 4 & 5 indicators · PolyMaria