maxchinaski,
With respect to a log file, I used this line: TWSLink.INITDLL(2,"twslink.log",6,1,3,4000);
However, I searched for twslink.log on my computer drives and could not find the file after executing the Amibroker script.
Concerning the stop and profit orders, I need option (3)...