At the beginning the EA creates two pending orders:
1. BUYSTOP with the open price (Ask+SAR_Step/2) and stop level (Bid-SAR_Step/2)
2. SELLSTOP with the open price (Bid-SAR_Step/2) and stop level (Ask+SAR_Step/2).
After the opening of any order EA trailing its stop level with the pending order.
Download:
TS2/Lua version.
viewtopic.php?f=31&t=69115