1.1. trailing stop loss:
舉例: 買入香港恆生指數期貨, 價位 20010, 止蝕位 19974.
if marketposition=0 then buy 1share at 20010 stop;
if marketposition=1 then sell 1share at 19974 stop;
2.如期貨上升至 20125, 想系統能把止蝕位 改成20074, 該如何編程式
if close>=20125 and marketposition =1 then sell 1share at 20074 stop;