大智慧雪飞买入副图指标
源码
P1:=10;P2:=10;P3:=20;
Var1:=INDEXA/100000000;
Var2:=INDEXADV;
Var3:=INDEXDEC;
Var4:=Var2/(Var2+Var3)*Var1;
Var5:=Var3/(Var2+Var3)*Var1;
Var6:=EMA(Var4,P1);
Var7:=EMA(Var5,P1);
Var8:=EMA(Var6,P2);
Var9:=EMA(Var7,P3);
A1:= EMA(Var6,3);
X1:= EMA(Var8,6);
Y1:= EMA(Var9,2);
VarA:=X1-Y1;
VarB:=X1-REF(X1,1)>0 AND REF(X1,1)-REF(X1,2)<0;
VarC:=IF(CROSS(a1,X1) AND X1<=20,30,0);
if(a1>X1,A1,X1),stick,linethick2 ,COLORRED;X1,stick,linethick2 ,COLOR000000;
if(a1<X1,a1,X1),COLORGREEN;
A:A1;
X:X1;
Y:Y1;
80, POINTDOT;
20, POINTDOT;
抄:=VarC;
排序:if(抄>0,80,0),STICK,COLORWHITE;
出击:if(排序>0,80,1);
{RAWTEXT(排序>0,60, '★出击')COLORWHITE ;}