Back to contents

Magic Entry · MT5 trade manager

Partial take profits in MT5: PT levels and the volume split in Magic Entry

The + button on the take profit or stop card adds an intermediate level: when price reaches it, Magic Entry closes part of the position and the rest stays open. Take-side levels are named PT-1, PT-2…, stop-side levels PS-1, PS-2…. The % button sets how much volume each level closes, in money, lots or percent.

+

Add a partial take profit

The plus on the take profit or stop card adds an intermediate level. When price reaches it, the advisor closes part of the position and takes the profit, and the rest keeps going. A main take profit or stop isn't needed for this.

  • On the take side the levels are named PT-1, PT-2…, on the stop side PS-1, PS-2…
  • From the keyboard: P adds a PT, O adds a PS.
  • With a main level, the volume is split evenly between the partial levels and the main one.
  • Without a main level, the partial levels share half of the volume, and the other half stays open. Instead of a zone, a dashed frame is drawn from the entry to each level.
  • A filled level disappears from the chart and the position volume shrinks.
  • The number of levels is limited only by the position volume and the broker's minimum lot.
  • If there is not enough volume for another level, the plus is disabled.
Key P / O
%

Split the volume between take profits

% on the card opens the TP VOLUME menu (SL VOLUME on the stop side). In it, each level's volume is set in money, lots or percent of the position.

  • The % button is there when a side has two or more levels. Without a main level, the open remainder counts too, so even a single PT or PS has %.
  • With a main level: more on PT means less left on the main level.
  • Without a main level, an edit moves volume only into the open remainder and back; other levels don't change. The last row shows how much stays open.
  • Volumes on the cards update immediately.

How to add partial take profits

  1. Click a position or order card at the bottom of the chart so its levels show.
  2. Click + on the take profit card (or press P) and click the price on the chart: PT-1 is placed. Repeat for PT-2 and more.
  3. For a partial stop, click + on the stop card (or press O).
  4. Click % on the card to open TP VOLUME (SL VOLUME on the stop side) and set each level’s volume in money, lots or percent.
  5. To have partials on every new trade, put them in the DEFAULTS scheme as PTT.

Example: how the volume is split

With a main take profit, the volume is split evenly between the partial levels and the main one: a 0.30-lot position with PT-1, PT-2 and TP closes 0.10 lot at each level.

Without a main take profit, the partial levels share half of the volume and the other half stays open: a 0.40-lot position with PT-1 and PT-2 closes 0.10 lot at each, and 0.20 lot keeps running until you place a level or close it.

  • A filled level disappears from the chart and the position volume shrinks.
  • The number of levels is limited only by the position volume and the broker’s minimum lot; when there is no volume left for another level, + is disabled.

Advisor inputs for this function

Set on the Inputs tab (F7) when you attach Magic Entry to a chart. Captions and defaults are the advisor’s own.

  • Set PARTIAL TP placement (+PTT)HOTKEY_TP_PARTDefault: P

    Partial take profit of the selected position or order: the next click places it, pressing again cancels.

  • Set PARTIAL SL placement (+PS)HOTKEY_SL_PARTDefault: O

    Partial stop PS of the selected position: the next click places it, pressing again cancels. A main stop isn't needed for this.

  • Labels RR styleLABELS_RR_STYLEDefault: POINTS

    How RR is calculated in labels. POINTS — distance to the level divided by the initial stop. VOLUME_BASED — how much money the volume closed at that level makes relative to the risk of the whole position: a partial take profit shows less, and the stop shows a minus.

Other Magic Entry functions