黄金K线指标 通达信公式(附图)

[复制链接]
查看122 | 回复0 | 2021-8-20 16:15:56 | 显示全部楼层 |阅读模式

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;

14W923c0130-45628.jpg

14W923c0130-45628.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则