通达信适用
泛黄金柱选股公式
TP1:=C>REF(C,3) AND LLV(L,3)>=REF(L,3);
TP2:=REF(C,3)>REF(C,4) OR (REF(C,3)-REF(O,3))/REF(O,3)>=0.02;
TP21:=UPNDAY(C,2);
TP22:=REF(C,1)>=REF(C,3) AND REF(C,2)>=REF(C,3) ;
TP23:=MAX(REF(C,1),REF(C,2))>REF(C,3);
TV1:=V<REF(V,3) AND BARSCOUNT(V)>5;
TV2:=REF(V,3)>=1.8*REF(V,4) OR REF(V,3)=HHV(V,5) OR
ABS(REF(V,3)-REF(V,4))/MIN(REF(V,3),REF(V,4))<0.03;
TV31:=REF(V,1)<=REF(V,3);
TV32:=DOWNNDAY(V,2) OR MIN(REF(V,1),REF(V,2))<=REF(V,3);
TJ:=TP1 AND TP2 AND (TP21 OR TP22 OR TP23) AND TV1 AND TV2 AND (TV31 OR TV32);
XG:TJ
标准黄金柱选股公式
TP1:=UPNDAY(C,3) AND LLV(L,3)>REF(L,3) AND
(HHV(H,3)-REF(C,3))/REF(C,3)<0.10;
TP2:=REF(C,3)>REF(C,4) OR REF(C,3)>=REF(O,3);
TV1:=DOWNNDAY(V,3) AND BARSCOUNT(V)>5;
TV2:=COUNT(V>=1.8*REF(V,1),4)=1 OR REF(V,3)=HHV(V,5);
TJ:=TP1 AND TP2 AND TV1 AND TV2;
XG:TJ
|