|
本帖最後由 blj0511 於 16-7-4 11:18 編輯
var:counter(0);
if d>d[1] and marketposition<>0 then
counter=counter+1
end if
{您的進場條件}
if entrydate(0)=date then counter=0 end if
if counter=1 and time>132500 then
exitlong("exitlong") next bar at market
exitshort("exitshort") next bar at market
end if
|
|