通达信黄金K线指标公式
2020/12/29 18:41:02
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,3,1),COLORRED,LINETHICK2;
D:SMA(K,3,1),COLORYELLOW,LINETHICK2;
20;
80;
A1:=BARSLAST(REF(CROSS(K,D),1));
底背:=REF(CLOSE,A1+1)>CLOSE AND K>REF(K,A1+1) AND CROSS(K,D);
底:DRAWLINE(A1=0,D,底背,D,0),,COLORMAGENTA,LINETHICK2;
DRAWTEXT(底背,D,'底B'),COLORMAGENTA;
A2:=BARSLAST(REF(CROSS(D,K),1));
顶背:=REF(CLOSE,A2+1)<CLOSE AND REF(D,A2+1)>D AND CROSS(D,K);
顶:DRAWLINE(A2=0,D,顶背,D,0),COLORGREEN;
DRAWTEXT(顶背,D,'顶B'),COLORGREEN;
双金叉:IF(SUM(CROSS(K,D)AND D<20,15)>=2 AND CROSS(K,D)AND C>O,100,0),COLORRED;
看股吧公 式 www .kanguba.com
其它股票公式列表