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 set­tings.

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 val­ue).
  • 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 val­ue.

  • 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 Visual Trading App DEMO
Visu­al Trad­ing App is an inno­v­a­tive appli­ca­tion devel­oped in MQL4 (new ver­sion) for Meta­Trad­er 4, which adds func­tion­al­i­ty “click trad­ing” or “chart trad­ing” that inte­grate many pittaforms. Impor­tant note — this …
Utilitie EA Pending
Why do I need this? If you use Expert Advi­sors (EA) and you want to be able to add orders that the EA will track and man­age, you need this script. If …
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-trad­ing.
Utilitie Open SELL with magic
Open SELL with mag­ic ” script for using Expert Advi­sors in trad­ing. It allows you to open orders hav­ing cer­tain mag­ic num­bers, so that an EA is able to dis­tin­guish …
Utilitie AllHere for Controladora
All­Here is a plug-in for Con­trol-ado­ra that works as infor­ma­tion pan­el. Its main func­tion is to show you all the Con­trol-ado­ra ele­ments placed in the chart, like the Con­trol-ado­ra’s orders or …
This prod­uct dis­plays 15 orders at a time from His­to­ry. This FREE Prod­uct dis­plays last 15 trades only. To view all trades, buy full ver­sion. The text is dis­played in the fol­low­ing …
Utilitie IceFX DrawProfit
Ice­FX Draw­Prof­it indi­ca­tor can effi­cient­ly help those traders who want to see on the chart all closed posi­tions out­put: prof­it or loss. If you set Draw­Prof­it on your chart man­aged by …
Utilitie Additional Shortcuts for MT4 Demo
This util­i­ty lets you set up key­board short­cuts to change chart sym­bol, peri­od or con­trol oth­er chart prop­er­ties. You can cre­ate hot-keys for: All avail­able sym­bols in “Mar­ket Watch”; 9 time frames (PERIOD_M1, …
Utilitie Display Multipair
This is an indi­ca­tor that allows dis­play­ing three cur­ren­cy pairs in one win­dow. Input Para­me­ters: Symbol1 — first cur­ren­cy pair. symbol1mirrior — mir­ror dis­play of the first cur­ren­cy pair. s1color ‑ col­or of the first cur­ren­cy …
Utilitie CloseAllOrders
A script for clos­ing posi­tions If you need to quick­ly close sev­er­al posi­tions, this script will make all the rou­tine for you! The script does not have any input para­me­ters. Allow Auto­Trad­ing …
Util­i­tie Visu­al Trad­ing App DEMO
Util­i­tie EA Pend­ing
Util­i­tie CloseAl­l­LossSym­bol
Util­i­tie Open SELL with mag­ic
Util­i­tie All­Here for Con­tro­lado­ra
Util­i­tie Ice­FX Draw­Prof­it
Util­i­tie Addi­tion­al Short­cuts for MT4 Demo
Util­i­tie Dis­play Mul­ti­pair
Util­i­tie CloseAl­lOrders

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.