Expert Advisor Universal Partial Close Demo

Buy Universal Partial Close Demo Expert Advisor in the store selling algo trading systems
An age-old ques­tion: “How to save earned prof­it?” You can use Par­tial Close (PC). PC is rec­om­mend­ed to make on resistance/support lev­els.

This EA main­tains any amount of orders per­form­ing PC for each of them. You can make sev­er­al PC for each order grad­u­al­ly clos­ing them.

The EA’s oper­a­tional vari­ables are locat­ed on the con­trol pan­el (val­ues in blue and pink cells can be changed):

- Trade is Stopped but­ton is locat­ed at the top of the pan­el. Mar­gin lev­el (“Lev­el”) is dis­played when it is in oper­a­tion mode. The EA turns off/on when you push the but­ton.

- Next goes a table of PC types (there are 6 types of PC):

PC Вид Номер. %
1 ТР 3 1
2 SL 2 1
3 Con­tact- 2 1
60 Close - 2 1
5 Con­tact+ 5 1
6 Close + 9 1

The first table col­umn shows PC num­ber, the sec­ond col­umn is a PC type, the third col­umn is an amount of PC of that type, the fourth rep­re­sents per­cent­age of clos­ing of an order lot.

PC per­cent­age is always cal­cu­lat­ed from an ini­tial order lot. For instance, when you open an order with a lot equal to 80 units and %PC=20%, clos­ing of a lot equal to 16 units will be hap­pen­ing every time.

% PC are always equal to 1 in the demo ver­sion

You can make 9 PC for each PC type, i.e. “Num.” <= 9. Num = 0 turns this PC type off.

Types of PC:

  1. ТР“. PC with Take Prof­it step (ТР). I.e. first PC will be on TP lev­el, then — on the lev­el of 2*TP, fur­ther — on the lev­el of 3*TP etc.
  2. SL”. PC with Stop Loss step (SL). I.e. first PC will be on SL lev­el, then — on the lev­el of 2*SL, fur­ther — on the lev­el of 3*SL etc.
  3. Con­tact -”. PC occurs when the price cross­es the bot­tom ver­tice of the Zig Zag.
  4. Close -”. PC occurs when the bar is closed low­er than the bot­tom ver­tice of the Zig Zag.
  5. Con­tact +”. PC occurs when the price cross­es the top ver­tice of the Zig Zag.
  6. Close +”. PC occurs when the bar is closed upper than the bot­tom ver­tice of the Zig Zag.

NB: claus­es 3–6 indi­cate terms for a Buy order, do vice ver­sa for a Sell order.

  • PC modes switch­ing but­ton: (PC “+” and “-” prof­it) or (PC only “+” prof­it).
  • Dist. PC” (in points) — if the order is closed per PC, the breakeven lev­el will not set until the price exceeds the “Dist.PC”+“WL PC” of the order open­ing price.
  • WL PC” (в пунктах) — (in points) — order breakeven lev­el (With­out Loss) after PC of the order.
  • Trail­ing stop (TS) modes but­ton: “TS after PC” or “TS inde­pen­det”.
  • TS” (в пунктах) — (in points) — trail­ing stop begins if the price is on the dis­tance of “TS”+“WL TS”.
  • Step TS” (in points) — step of the trail­ing stop. TS turns off if “TS”=0 or “Step TS”=0.
  • WL TS” — breakeven in case of trail­ing stop.

Zig Zag line:

  • TF zz” — time­frame of the Zig Zag. Set by enter­ing sym­bols as in the Meta­Trad­er: M1, M5, M15 etc. (you can use small let­ters or num­bers)
  • Depth zz” — Zig Zag depth. The greater the val­ue, the rar­er the Zig Zag will be.

Trading line:

  • up=1” — Buy orders main­te­nance is allowed. Pro­hib­it­ed when “up=0”.
  • dw=1” — same for Sell

Next cell says how many orders are main­tained by the EA: “Uses … orders”.

Magic line:

You can enter mag­ic val­ue at the right from the “Mag­ic” cell. If you enter 0, only man­u­al orders will be main­tained. If Magic=-1, orders with any mag­ic, i.e. all orders will be main­tained.

But you can man­u­al­ly select orders which need to be main­tained. To do this you shall place a “Tri­an­gle” on the main screen such that it cov­ers all select­ed orders. The word “Tri­an­gle” appears instead the word “Mag­ic” in the Tri­an­gle mode. In this case spec­i­fied mag­ic is not tak­en into account.

Orders main­tained by the EA are empha­sized by the PC Label on the screen. This label is locat­ed under the order. It can look as fol­lows:

^â€¢.34.X2 or ^23.11.23, and indi­cates amount and type of PCs made for that order.

^ — (arrow) a point­er to the order .

.” — (dot) a sep­a­ra­tor (for ease of read­ing of a line).

Two left num­bers indi­cate num­ber of order clos­ing accord­ing to TP and SL.

Two mid­dle num­bers are for “Con­tact -” and “Close -” PC types

Two right num­bers are for “Con­tact +” and “Close +”.

X” (cross) — this PC type is off.

E” (“End”) — all PC of this type are done.

External variables:

  • number_waves, Color_waves — num­ber of waves and Zig Zag col­or
  • Slip­page — slip­page
  • sdvig_label, clr_label — shift and col­or of PC Labels
  • Sound — sound onn/off
  • panel_dist_x, panel_dist_y — pan­el shift
  • Inf_RUS — Russian/Latin alpha­bet on the pan­el

Universal Partial Close Demo 

Relat­ed Posts
Expert Advisor News trading MT4 demo
News Trad­ing MT4 Demo is a cal­en­dar of eco­nom­ic news in Russ­ian and Eng­lish down­load­able from Invest­ing com web­site, a trad­ing robot and a trade pan­el. In order to down­load the …
Expert Advisor MACD EMA nois
The MACD EMA noise Expert Advi­sor trades by sig­nals of MACD and EMA indi­ca­tors and is opti­mized for EURUSD H1 by default. It can be opti­mized for any instru­ment and …
Expert Advisor EXECUTOR FREE
EXECUTOR FREE is a sim­ple and effec­tive strat­e­gy. The EA uses WPR indi­ca­tor. Fea­tures EURJPY, GBPJPY only. Inter­val — H1 rec­om­mend­ed. Work­ing with 4 and 5‑digit bro­kers. Long posi­tions only. Input Para­me­ters Para­me­ter — para­me­ter for opti­miz­ing …
Expert Advisor TimeScalper Free
The Free ver­sion of TimeScalper has a fixed lot val­ue set to 0.01 and works only on EURUSD. This EA works with inter­nal log­ic, no addi­tion­al indi­ca­tors need­ed. Here is the expla­na­tion …
Expert Advisor LFAT
LAFT is a unique trad­ing sys­tem that works based on any price move­ment. This trad­ing robot is dis­tinct in that it uses the aver­ag­ing sys­tem that has been tem­pered and improved …
Expert Advisor The Tree EA Free
The Tree EA Free is a ful­ly auto­mat­ed break­out Expert Advi­sor designed for trad­ing on the H1 time­frame. The prod­uct is a free ver­sion of The Tree EA that can …
Expert Advisor CloseDeleteEA
This Expert Advi­sor clos­es all open posi­tions and pend­ing orders. It is pos­si­ble to close only buy or sale orders, mar­ket or pend­ing orders, posi­tions with prof­it or loss. Para­me­ters CloseAll­Buy — close …
Expert Advisor ADX MT4
ADX MT4 is a medi­um-term trad­ing robot that works around the clock regard­less of the trad­ing ses­sion. It is rec­om­mend­ed that you always keep the Meta­Trad­er 4 ter­mi­nal switched on, …
Expert Advisor The Wolf Of Wall Street
The Wolf Of Wall Street is the first Neur­al and the most advanced, intel­li­gent self-updat­ing forex robot. The robot auto­mat­i­cal­ly adapts to the cur­rent mar­ket con­di­tion. Forex robot opens posi­tions 24/5 …
Expert Advisor MCAD PrbSAR noise
The MCAD Prb­SAR noise Expert Advi­sor trades by sig­nals of MACD and Par­a­bol­ic SAR indi­ca­tors and is opti­mized for EURUSD H1 by default. It can be opti­mized for any instru­ment …
Expert Advi­sor News trad­ing MT4 demo
Expert Advi­sor MACD EMA nois
Expert Advi­sor EXECUTOR FREE
Expert Advi­sor TimeScalper Free
Expert Advi­sor LFAT
Expert Advi­sor The Tree EA Free
Expert Advi­sor CloseDele­teEA
Expert Advi­sor ADX MT4
Expert Advi­sor The Wolf Of Wall Street
Expert Advi­sor MCAD Prb­SAR noise

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.