Shortest SL/TP/Trailing stop code

 

Dear coders,

I wish to challenge you to post the shortest possible code to execute the following functions:

- hide SL/TP: true or false

- SL and TP

- Trailingstart

- Trailingstop

- Trailingstep

These order modifications are intended to be placed after orders have been opened on an ECN server. So far I have found 2 EAs that come close:

- Awoo Management X2

- Hidden SL and TP Manager v1.01

They are included in attachment, feel free to check them out. Who can do better?

awoo_management_x2_v3.2.mq4

hidden_tp_and_sl_manager_v1.01.mq4