if marketposition < 0 then Setprofittarget((value1*value2*200)*bigpointvalue) //用v1*v2*200元 當作停利
-->這行是說, 若為空單, 則設停利v1*v2*200
Else if marketposition > 0 then Setstoploss((value1*value3*200)*bigpointvalue); //停損用 v1*v3*200元 當作停損
-->這行是說, 若為多單, 則設停損v1*v3*200
那....空單的停損與多單的停利呢?
|