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 ;}
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)