通达信三线粘合买点副图指标公式源码


AA:=(C*2+H+L+O)/5;
A1:(EMA(AA,4)+MA(AA,8)+MA(AA,16))/3,COLORWHITE,LINETHICK2; 
A3:(EMA(AA,13)+MA(AA,26)+MA(AA,52))/3,COLOR00FF00,LINETHICK2; 
A5:=EMA(100*(C-LLV(L,100))/(HHV(H,100)-LLV(L,100)),5);
A7:=MAX(MAX(A1,A2),MAX(A3,A4));
A9:=MIN(MIN(A1,A2),A3);
黄金叉:=CROSS(A2,A4)AND A3>REF(A3,1)AND A0>REF(A0,2)AND (A1-A4)/A4<0.02;
圆弧底:=LONGCROSS(A1,A3,30)AND (A4-A3)/A3<0.05 AND A10<A4;
三线粘合:=FILTER(A4>REF(A4,2)AND REF(A1,3)<REF(A3,3)AND C>O AND(A10-A9)/A9<0.005,5); 
DRAWTEXT(黄金叉 OR 双交叉 OR 穿四线 OR 三线粘合,L*0.95,'粘合');