大智慧主力解密副图指标
源码
n:=14;n1:=30;m:=55;;
C0:=(h+l+c)/3;
a1:=HHV(C0,n);
a2:=LLV(C0,n);
a3:=a1-a2;
a4:=ema((C0-a2)/a3,2)*100;
b1:=HHV(C0,n1);
b2:=LLV(C0,n1);
b3:=b1-b2;
b4:=ema((C0-b2)/b3,2)*100;
C1:=HHV(C0,M);
C2:=LLV(C0,M);
C3:=C1-C2;
C4:=ema((C0-C2)/C3,2)*100;
A1:a4-50,colorblue;
A2:b4-50,color99ffcc;
A3:C4-50,colorgreen;
drawicon(cross(A1,0),0,4);
PARTLINE(A1>45,A1),COLORred;
PARTLINE(A2>45,A2),COLORred;
PARTLINE(A3>45,A3),COLORred;
0,pointdot;