以下是通达信圆弧底粘合主图指标公式源码和截图
通达信圆弧底粘合主图指标公式源码:
AA:=(C*2+H+L+O)/5;
A0:=MA(C,5);
A1:(EMA(AA,4)+MA(AA,8)+MA(AA,16))/3,COLORWHITE,LINETHICK2;
A2:(EMA(AA,9)+MA(AA,18)+MA(AA,36))/3,COLORFF00FF,LINETHICK2;
A3:(EMA(AA,13)+MA(AA,26)+MA(AA,52))/3,COLOR00FF00,LINETHICK2;
A4:(EMA(AA,24)+MA(AA,48)+MA(AA,96))/3,COLOR0000FF,LINETHICK2;
A5:=EMA(100*(C-LLV(L,100))/(HHV(H,100)-LLV(L,100)),5);
A6:=A5/4;
A7:=MAX(MAX(A1,A2),MAX(A3,A4));
A8:=MIN(MIN(A1,A2),MIN(A3,A4));
A9:=MIN(MIN(A1,A2),A3);
A10:=MAX(MAX(A1,A2),A3);
黄:=CROSS(A2,A4)ANDA3 REF(A3,1)ANDA0 REF(A0,2)AND(A1-A4)/A4 0.02;
穿四线:=FILTER(H A7ANDLREF(A1,1)ANDA2 REF(A2,1)ANDA4 REF(A4,2)AND(A7-A8)/A8 0.04ANDC OAND(H-C)/(C-O) 0.4,3);
圆弧底:=LONGCROSS(A1,A3,30)AND(A4-A3)/A3 0.05ANDA10REF(A4,2)ANDREF(A1,3) REF(A3,3)ANDC OAND(A10-A9)/A9 0.005,5);
DRAWICON(黄金叉OR双交叉OR穿四线OR三线粘合,L-0.1,9);
DRAWICON(圆弧底,L-0.1,1);
AA:=(C*2+H+L+O)/5;
A0:=MA(C,5);
A1:(EMA(AA,4)+MA(AA,8)+MA(AA,16))/3,COLORWHITE,LINETHICK2;
A2:(EMA(AA,9)+MA(AA,18)+MA(AA,36))/3,COLORFF00FF,LINETHICK2;
A3:(EMA(AA,13)+MA(AA,26)+MA(AA,52))/3,COLOR00FF00,LINETHICK2;
A4:(EMA(AA,24)+MA(AA,48)+MA(AA,96))/3,COLOR0000FF,LINETHICK2;
A5:=EMA(100*(C-LLV(L,100))/(HHV(H,100)-LLV(L,100)),5);
A6:=A5/4;
A7:=MAX(MAX(A1,A2),MAX(A3,A4));
A8:=MIN(MIN(A1,A2),MIN(A3,A4));
A9:=MIN(MIN(A1,A2),A3);
A10:=MAX(MAX(A1,A2),A3);
黄金叉:=CROSS(A2,A4)ANDA3 REF(A3,1)ANDA0 REF(A0,2)AND(A1-A4)/A4 0.02;
穿四线:=FILTER(H A7ANDL A8ANDA1 REF(A1,1)ANDA2 REF(A2,1)ANDA4 REF(A4,2)AND(A7-A8)/A8 0.04ANDC OAND(H-C)/(C-O) 0.4,3);
圆弧底:=LONGCROSS(A1,A3,30)AND(A4-A3)/A3 0.05ANDA10
双交叉:=LONGCROSS(A1,A2,15)ANDCROSS(A2,A3);
三线粘合:=FILTER(A4 REF(A4,2)ANDREF(A1,3) REF(A3,3)ANDC OAND(A10-A9)/A9 0.005,5);
DRAWICON(黄金叉OR双交叉OR穿四线OR三线粘合,L-0.1,9);
DRAWICON(圆弧底,L-0.1,1);
N:=9;
M1:=3;
M2:=3;
XA_1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(XA_1,M1,1),COLORWHITE;
D:SMA(K,M2,1),COLORYELLOW;
J:3*K-2*D,COLORMAGENTA;
IF(J 0,J,DRAWNULL),COLORYELLOW,LINETHICK3;
通达信圆弧底粘合主图指标公式截图