{N代表横盘天数.N1代表股价整理的幅度.}
N:=42;N1:=20;
倍量柱:=IF(V/REF(V,1)>1.9 AND C>REF(C,1),1,0);
高量柱:=IF(V=HHV(V,10),3,2);
低量柱:=IF(V=LLV(V,10),9,8);
并肩平量柱:=IF((V/REF(V,1)>0.95 AND V/REF(V,1)<1.05),7,6);
缩量柱:=IF(V<REF(V,1) AND REF(V,1)<REF(V,2) AND REF(V,2)<REF(V,3),25,35);
梯量柱:=IF(V>REF(V,1) AND REF(V,1)>REF(V,2) AND REF(V,2)>REF(V,3),11,10);
DIFF2:=( EMA(CLOSE,12) – EMA(CLOSE,26))*100;
DEA2:=EMA(DIFF2,9);
LL:=倍量柱>0 OR 高量柱>2 OR 梯量柱>10;
V1:=REF(((HHV(H,N)-LLV(L,N))/LLV(L,N)),1)<=(N1/100) AND
C>=REF(HHV(H,N),1) AND BARSCOUNT(C)>N;
霸占选股:IF( crOSS(DIFF2,DEA2) AND LL AND V1 AND C>=REF(((C-O)/3)*2+O,14) AND C/REF(C,1)>=1.06 AND C>=REF(((C-O)/3)*2+O,10) ,100,0),COLORRED,LINETHICK2;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。