通達(dá)信尋底K線公式源碼
2019-05-13 14:56 綜投網(wǎng)
均線:SMA(C,30,1),COLORLIBLUE,LINETHICK3;
下軌:MA(MIN(LLV(L,21),LLV(L,34)),5),COLORYELLOW,LINETHICK2;
上軌:MA(MAX(HHV(H,21),HHV(H,34)),5),COLORGREEN,LINETHICK2;
MM:=(C+O)/2;
空頭K線:REF(MM,1)>MM,COLORGREEN,NODRAW;
STICKLINE(REF(MM,1)>MM,O,C,8,1),COLORGREEN;
STICKLINE(REF(MM,1)>MM AND C>O,H,C,1,0),COLORGREEN;
STICKLINE(REF(MM,1)>MM AND C>O,O,L,1,0),COLORGREEN;
STICKLINE(REF(MM,1)>MM AND C
STICKLINE(REF(MM,1)>MM AND C
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
A:=SMA(RSV,3,1);
B:=SMA(A,3,1);
尋底K線:B<=20,NODRAW,COLORYELLOW;
STICKLINE(B<=20,O,C,8,1),COLORYELLOW;
STICKLINE(B<=20 AND C>O,H,C,1,0),COLORYELLOW;
STICKLINE(B<=20 AND C>O,O,L,1,0),COLORYELLOW;
STICKLINE(B<=20 AND C
STICKLINE(B<=20 AND C
漲停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
STICKLINE(漲停,OPEN,CLOSE,8,0),COLORMAGENTA;
量比:V/REF(MA(V,5),1),NODRAW,COLORYELLOW;
短線:SMA(C,5,2),COLORWHITE;