通达信涨停到位主图指标公式和谐源码


A1:=1;
黄金线:(EMA(C,18)) * A1,LINETHICK4,COLORYELLOW;
决策线:(EMA(C,56)) * A1,COLORCYAN;
A3:=EMA((((SLOPE(C,21)) * 20) + C),68);
A5:=REF(C,2);
A7:=IF(((A6 < (REF(A6,1))) AND (A6 > 79)),A6,0);
A9:=HHV(H,21);
A11:=EMA((((CLOSE - A8) / (A9 - A8)) * 50),13);
A13:=LLV(L,55);
A15:=EMA((((C - A13) / (A14 - A13)) * 100),3);
A17:=EMA(((0.667 * (REF(A15,1))) + (0.333 * A10)),2);
A19:=EMA(((0.667 * (REF(A18,1))) + (0.333 * A18)),2);
A21:=(CROSS(A10,A19)) AND (A19 < 30);
A23:=((C + L) + H) / 3;
A25:=EMA(A24,5);
DRAWICON(A26,(LOW / 1.030),1),LINETHICK2,COLORMAGENTA;
STICKLINE(((C >= 黄金线) AND (C >= O)),H,L,0,1),COLORRED;
STICKLINE(((C >= 黄金线) AND (C <= O)),H,L,0,0),COLORRED;
STICKLINE(((C < 黄金线) AND (C >= O)),H,L,0,1),COLORGREEN;
STICKLINE(((C < 黄金线) AND (C <= O)),H,L,0,0),COLORGREEN;