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.