ATR Trailer EA VertexFX

TraderEd

Master Trader
May 8, 2014
167
1
74
Hello,

I have converted the ATR Trailer Expert Adviser to VertexFX client side VTL Script.

ATR Trailer is a client side VTL Expert Adviser. The EA opens a position when the EA is started on VertexFX client terminal. It then applies a stop loss based on ATR and ATR multiplier (default 3).

The stop loss is calculated as (entry price - ATR * ATR multiplier). Then as the trade progress, the stop loss is trailed, subtracting ATR stop loss from the maximum favorable level the price has reached. This continues until the stop loss is hit. When stop loss is hit, the EA opens new trade in the opposite direction to the closed trade, and ATR trailing stop loss is applied until stop loss is hit.

Hope this is useful to VertexFX terminal users.

9s4is1.jpg
 

Attachments

  • ATR Trailer.zip
    3.3 KB · Views: 33
  • atr.jpg
    atr.jpg
    276.8 KB · Views: 30

galahad007

Trader
Nov 17, 2015
1
0
6
54
hi,
this atr trailer ea has a "magic number" entry.
what is the magic number, for ecn users? how should it be applied?
thank you
 

Enivid

Administrator
Staff member
Nov 30, 2008
18,530
1,355
144
Odesa
www.earnforex.com
Magic number is EA's unique number which is assigned to orders so that the EA knows its own orders from the orders created by some other EAs or manually. Just set any random number, which is different from Magic number you are using with other EAs in the platform.