http://www.weistock.com/bbs/dispbbs.asp?boardid=4&Id=96689
是不是同一个问题?
是的话不要重复发了。不是的话参考这里写的
c1:=callstock(stklabel,vtclose,6,-1);
o1:=callstock(stklabel,vtopen,6,-1);
l1:=callstock(stklabel,vtlow,6,-1);
h1:=callstock(stklabel,vthigh,6,-1);
c2:=callstock(stklabel,vtclose,6,-2);
o2:=callstock(stklabel,vtclose,6,-2);
if (h1-max(c1,o1))/abs(c1-o1)>(1/3) and isdown and ref(isup,1) and abs(c-o)/abs(c-o)>(1/2) then buyshort(holding=0,1,marketr);
if isup and ref(isdown,1) and (((min(c,o)-l)/ref(abs(c-o),1)>(1/3)) or (abs(c-o)>ref(abs(c-o),1))) then sellshort(1,0,marketr);
同样的你把开多平多的条件讲讲
c1:=callstock(stklabel,vtclose,6,-1);
o1:=callstock(stklabel,vtopen,6,-1);
l1:=callstock(stklabel,vtlow,6,-1);
h1:=callstock(stklabel,vthigh,6,-1);
c2:=callstock(stklabel,vtclose,6,-2);
o2:=callstock(stklabel,vtclose,6,-2);
if (h1-max(c1,o1))/abs(c1-o1)>(1/3) and isdown and ref(isup,1) and abs(c-o)/abs(c-o)>(1/2) then buyshort(holding=0,1,marketr);
if isup and ref(isdown,1) and (((min(c,o)-l)/ref(abs(c-o),1)>(1/3)) or (abs(c-o)>ref(abs(c-o),1))) then sellshort(1,0,marketr);
同样的你把开多平多的条件讲讲
“多开多平则条件相反”