Utilitie Partial Close EA

Buy Partial Close EA trading application in the store of automated robot systems

The most sim­ple and easy to use Par­tial Close (by Riman­tas Petrauskas). The main idea of this EA is to apply par­tial close to your posi­tions. EA will auto­mat­i­cal­ly find your open mar­ket posi­tions and apply par­tial close accord­ing to your settings.

For those who do not know what Par­tial Close is: it is sim­ply an action to close only a part of your posi­tion. For exam­ple, if your trade lot size is 1.2 and you close 25% of it (which is 0.3) you will still have 0.9 lot size trade run­ning and exist­ing bank prof­its from that 0.3 lot size that was just closed. This action obvi­ous­ly can be per­formed man­u­al­ly, but if you want to pro­gram your MT4 to do this for you then you need “Par­tial Close EA”.

How to use Partial Close EA?

The EA should be attached to a sep­a­rate chart on your MT4 and it will apply par­tial close to all trades select­ed by mag­ic num­ber or trade num­ber. The EA will see trades of that cur­ren­cy pair (instru­ment) that it is attached to. By default the EA will apply par­tial close to any mar­ket order on the cur­ren­cy pair (instru­ment) it is attached to. The EA can also be applied to non-Forex pairs/instruments like Indices, Com­modi­ties, etc. For this you might need to use Cus­tom­Pip­Sizes option (read expla­na­tion below).

Partial Close EA Inputs

  • Man­ageMag­ic­Num­ber ” This tells the EA to apply par­tial close to trades only with cer­tain mag­ic num­ber you choose. If this val­ue is set to zero, the EA will man­age only man­u­al­ly opened trades. If you set this to ‑1 (neg­a­tive one), the EA will man­age all of the trades run­ning on the account (default value).
  • Man­age­Trade­Num­ber ” This tells the EA to apply par­tial close only to the trade num­ber spec­i­fied. This will also make the EA ignore the Man­ageMag­ic­Num­ber option.
  • Par­tial­CloseC­ount ” This tells the EA to apply par­tial close X times. Set this to zero to dis­abled Par­tial Close option.
  • Par­tial­CloseOn­Hold­Pips ” This tells the EA to start par­tial close when trade reach­es X pips in prof­it. Zero means EA will start apply­ing par­tial close at the first tar­get (Par­tial­Clos­eS­tep­Pips). If this option is set to 50 pips and PartialCloseStepPips=20 pips, then EA would wait for the trade to reach prof­it of 50 + 20 = 70 pips to close the first part of the trade.
  • Par­tial­Clos­eS­tep­Pips ” This tells the EA to apply par­tial close each X pips in prof­it. If this option is set to 20 pips and PartialCloseCount=3, then EA will apply par­tial close 3 times every 20 pips. This means TP1 = 20 pips, TP2 = 40 pips and TP3 = 60 pips.
  • Par­tial­Clos­eS­tep­Per­cent ” This tells EA to close X% of the trade. Per­cent­age of the lot size is count­ed from the ini­tial lot size.
  • Par­tial­Close­BreakEve­nAfter ” This indi­cates after how many par­tial clos­es EA should move stop loss to a break-even point (open price + few pips to cov­er com­mis­sion expens­es). Zero val­ue means no break-even will be applied.
  • Cus­tom­Pip­Sizes ” I have added this option because there are no stan­dard pip sizes for indices and oth­er non-Forex pairs between bro­kers. This option allows you to over­ride the pip size that the EA will detect auto­mat­i­cal­ly. In 99% cas­es EA will work fine on all Forex pairs, but for non-Forex pairs you might notice that pip size is dif­fer­ent between bro­kers. For exam­ple NAS100 with one bro­ker might be quot­ed with 1 dec­i­mal and anoth­er bro­ker might quote it to 2 dec­i­mals. Here is an exam­ple how to enter in a com­ma sep­a­rat­ed list of cus­tom pip sizes:


    For those who are using EA on a non-Forex pairs please set the Cus­tom­Pip­Sizes option cor­rect­ly accord­ing to your bro­ker set­tings. Sor­ry, I am unable to help you set­ting this option, because each bro­ker might need dif­fer­ent value.

  • Slip­page­ClosePips ” This is the slip­page set­ting EA will use to exit the mar­ket (close the trade). Note that not all bro­kers use this. If you do not know what that is, sim­ply leave it as is.

Partial Close EA 

Relat­ed Posts
Utilitie CloseAll Pro
The CloseAll Pro script clos­es all deals for a select­ed sym­bol. Just drag it to the chart, and it will: arrange descend­ing sort­ing of deals based on the lot val­ue (first largest …
Utilitie Symbol Switcher Basic Version
This util­i­ty allows you to switch all open charts with the click of a but­ton. The basic ver­sion works on 4 majors. If you press one but­ton, all open charts will …
Utilitie KL Visual Order Manager DEMO
KL Visu­al Order Man­ager is mul­ti-func­tion tool for man­ag­ing orders and charts. First, I cre­at­ed this tool (end of 2012) to sep­a­rate chart analy­sis from order lines that cause mess and …
Utilitie CloseAllLossSymbol
The script clos­es all los­ing orders for the sym­bol on whose chart it is run­ning. Before run­ning the script, you need to allow auto-trading. 
Utilitie Fibo
The script sets Fibonac­ci lev­els on the chart using max­i­mums and min­i­mums vis­i­ble on the chart. The script names Fibo with such time­frame on which it has been launched (Fibo D1 …
Utilitie History Loader
This util­i­ty indi­ca­tor auto­mat­i­cal­ly scrolls back to load more his­to­ry bars from serv­er. It’s handy and use­ful when you are using strat­e­gy tester. To use it, sim­ply attach it to any chart. 
Utilitie CloseAllMagic
This free prod­uct clos­es all orders by mag­ic. It is based on one of the scripts found in one of my Code­Base arti­cles, CloseAll. Descrip­tion A col­lec­tion of scripts for clos­ing var­i­ous types …
Utilitie ObeyTheLimits CloseAll
This is anoth­er man­u­al trade util­i­ty for ObeyThe­Lim­its EA. The ObeyThe­Lim­it Man­u­al­Trade util­i­ty opens new posi­tions, this one clos­es them all. EA man­ages the posi­tions look­ing at their mag­ic num­bers. So …
Utilitie Account Info Free for MT4
Overview The script dis­plays infor­ma­tion about the trade account: Account — account num­ber and type (Real or Demo); Name — name of the account own­er; Com­pa­ny — name of a com­pa­ny that pro­vide the …
Utilitie NotifyMe Free for MT4
Overview The Expert Advi­sor sends noti­fi­ca­tions to a mobile phone, via e‑mail or acti­vates an audio alarm in case a posi­tion is opened or closed on the trad­ing account. The Expert …
Util­i­tie CloseAll Pro 
Util­i­tie Sym­bol Switch­er Basic Version 
Util­i­tie KL Visu­al Order Man­ag­er DEMO
Util­i­tie CloseAllLossSymbol 
Util­i­tie Fibo 
Util­i­tie His­to­ry Loader 
Util­i­tie CloseAllMagic 
Util­i­tie ObeyThe­Lim­its CloseAll 
Util­i­tie Account Info Free for MT4
Util­i­tie Noti­fyMe Free for MT4

Leave a Reply


Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.