Expert Advisor TrailingByMovingAverages

Buy TrailingByMovingAverages Expert Advisor in the store selling algo trading systems

The Expert Advi­sor trails open posi­tions based on the val­ue of the Mov­ing Aver­ages on the same sym­bol. Once the posi­tion prof­it exceeds a val­ue spec­i­fied in the set­tings (it can be neg­a­tive), trail­ing stop is switched on. Posi­tion stop is trailed at the amount equal to the MA val­ue and at the pre­set dis­tance from it.


Posi­tion para­me­ters:

  • Mag­ic­Num­ber (-1 == all posi­tions) — the mag­ic num­ber of the orders to trail. For exam­ple, 100500 — it will trail the stops of the EA that opens posi­tions with the mag­ic num­ber 100500. If you enter ‑1, all avail­able mar­ket posi­tions will be trailed.

Trail­ing para­me­ters:

  • Pips prof­it to run trail­ing — the trail­ing trig­ger lev­el. Once the posi­tion prof­it in points exceeds the val­ue, the EA will start to trail the posi­tion stop based on the MA val­ue. The val­ue can be neg­a­tive. In this case, the stop can be set in the region of neg­a­tive gains.
  • Trail­ing only prof­it area — trail stops only when a posi­tion shows prof­it. In this case the stop lev­el will be trailed only when a posi­tion is in the prof­itable area.
  • Steps trail­ing in points. To avoid trade serv­er over­load­ing by send­ing con­stant requests to mod­i­fy stop loss at each tick, this lim­i­ta­tion is used. If the stop has been trailed, now the next mod­i­fi­ca­tion will be made only after the next stop lev­el will dif­fer from the cur­rent one by a pre­de­ter­mined num­ber of points. If set to 3 points, and stop is at 100 points, the next stop mod­i­fi­ca­tion will only hap­pen when the stop lev­el is more than 103 pips.

Mov­ing Aver­age Para­me­ters:

  • Peri­od MovAvg for trail - MA peri­od.
  • Price used to cal­cu­late the MovAvg.
  • Method of smooth­ing MovAvg.
  • Shift the MovAvgMA shift rel­a­tive to the price chart.
  • Used bar MovAvgMA bar, which data are used for posi­tion stop cal­cu­la­tion.
  • Used time­frame MovAvg — time­frame used for MA cal­cu­la­tion. May dif­fer from the time­frame of the chart the EA is run­ning on.
  • Dis­tance from the stop lev­el of MA in points.

Addi­tion­al para­me­ters:

  • Draws graph­ics Yes/No — show/hide graph­ic rep­re­sen­ta­tion of the trail­ing start lev­els and posi­tion stop lev­els.
  • Col­or lev­el for Buy
  • Col­or lev­el for Sell
  • Show objects descrip­tions Yes/No — show/hide infor­ma­tion about the tick­et of the trail start lev­el (the tick­et of the posi­tion to which the lev­el belongs is show on the left of the lev­el). This para­me­ter should be used only when graph­ics is allowed (Yes in the Draws graph­ics para­me­ter).
  • Descrip­tions text size.

Trade order para­me­ters:

  • Num­ber of attempts to trade on fail­ure — the num­ber of attempts to trade in case of trade request exe­cu­tion error. If the serv­er returns some mod­i­fi­ca­tion error, the EA process­es the code returned by the serv­er and sends a sec­ond request adjust­ed under the new con­di­tions. The num­ber of attempts is set in this para­me­ter.
  • Slip­page - price slip­page. This is the dif­fer­ence of the price sent in a trade request and the price of the exe­cu­tion returned by the trade serv­er. If they dif­fer by no more than the spec­i­fied num­ber of points, the lev­el will be mod­i­fied. If the dif­fer­ence is greater, the EA will try to do a sec­ond trade request (as many times as spec­i­fied in the para­me­ter Num­ber of attempts to trade on fail­ure)
  • Use sound Yes/No — a sound alert on exe­cu­tion of trade oper­a­tions.


Relat­ed Posts
Expert Advisor DI GAP Strategy
The strat­e­gy is based on restor­ing the price after the weekends.  Set­tings Inter­val TP Close — the inter­val from the last Fri­day can­dle to TP lev­el (in points). Stop Loss — lim­it the …
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 Advisor Morning Trade Demo
The EA is ded­i­cat­ed to EURUSD for a peri­od before open­ing or in the begin­ning of the Euro­pean ses­sion. The EA tracks false sig­nals to the trend and works against …
Expert Advisor Smart Grid Executor Demo
Smart Grid Execu­tor Demo is an Expert Advi­sor built for Meta­Trad­er 4 plat­form only. I work at a demo accounts only. It runs to the end of 2014. Play­ing with the …
Expert Advisor Universal Partial Close Demo
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
Expert Advisor Zoomio Economic News Updater Basic
Zoom-io Basic Free, Eco­nom­ic News Updater. Down­load Eco­nom­ic Cal­en­dar News/Events by press­ing but­ton Update Eco­nom­ic Cal­en­dar News/Events in fold­er /Files/Tradebook-YYYY.MM.DD.csv Show Eco­nom­ic Gal­en­dar events on the chart Gives Mov­ing Aver­age sig­nals in time­frames M1, M5, …
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 Nevada demo
This is a demo ver­sion of Neva­da Expert Advi­sor. It does not have set­tings and can­not be opti­mized. Intend­ed for acquain­tance. This is a non-indi­ca­tor trad­ing robot. The trad­ing is per­formed …
Expert Advisor Crushing Forex Market Demo
Descrip­tion The Expert Advi­sor uses a Trend Fol­low­ing strat­e­gy based on Bollinger Bands. Mon­ey Flow Index and Par­a­bol­ic SAR are used as sup­port. In this demo ver­sion you can use only 0.01 micro …
Expert Advisor EnvMACD H1
The EnvMACD H1 Expert Advi­sor trades by sig­nals of the Envelopes and MACD indi­ca­tors on the H1 time­frame. This is a ful­ly auto­mat­ed sys­tem that requires min­i­mal set­ting and suit­able for any sym­bol. Para­me­ters: Dig­it lot — …
Expert Advi­sor DI GAP Strat­e­gy
Expert Advi­sor MCAD Prb­SAR noise
Expert Advi­sor Morn­ing Trade Demo
Expert Advi­sor Smart Grid Execu­tor Demo
Expert Advi­sor Uni­ver­sal Par­tial Close Demo
Expert Advi­sor Zoomio Eco­nom­ic News Updater Basic
Expert Advi­sor TimeScalper Free
Expert Advi­sor Neva­da demo
Expert Advi­sor Crush­ing Forex Mar­ket Demo
Expert Advi­sor EnvMACD H1

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.