什么时间出现的上跳空下跳空?
用在什么周期?
用在什么品种?
公式1:命名为a
cc:VALUEWHEN(time=150500,c);
公式2:
cc:stkindi('if00','a.cc',0,2);
zg:CALLSTOCK('if00',vtHIGH,6,-1);
zd:CALLSTOCK('if00',vtlow,6,-1);
pd1:=zg<o;
pd2:=zd>o;
pk1:=o>cc;
pk2:=o<cc;
if holding>0 and pd1 and pd2 then sell(1,holding,market);
if holding<0 and pk1 and pk2 then sellshort(1,holding,market);