同花顺分型和统计副图源码
2017-09-18网络 编 辑:翔博软件
分型的简单统计
底分型:CLOSE>REF(H,1) AND REF(H,1)<REF(H,2) AND REF(H,2)<REF(H,3);
顶分型:IF(CLOSE<REF(L,1) AND REF(H,1)>REF(H,2) AND REF(H,2)>REF(H,3),-1,0);
历史底分:REF(底分型,N)=1;
历史顶分:REF(顶分型,N)=1;
底分成型:COUNT(底分型,5)=1;
顶分成型:COUNT(顶分型,5)=1;
GKDF:OPEN>REF(H,1) AND REF(H,1)<REF(H,2) AND REF(H,2)<REF(H,3);
GKDF1:REF(GKDF,N)=1;
DKDF:OPEN<REF(L,1) AND REF(H,1)>REF(H,2) AND REF(H,2)>REF(H,3);
DKDF1:REF(DKDF,N)=1;