ATR Trailer EA VertexFX

TraderEd

Master Trader
May 8, 2014
159
0
72
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: 27
  • atr.jpg
    atr.jpg
    276.8 KB · Views: 26

galahad007

Trader
Nov 17, 2015
1
0
6
50
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
15,241
697
144
Odessa
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.