大智慧金钻副图公式
源码
分界:0;
var1:=1;
var2:=ma(llv(c,9)*1.1,14);
var3:=ma(hhv(c,26)*0.9,14);
var4:="H000001$CLOSE";
var5:=ma(llv(var4,9)*1.1,14);
var6:=ma(hhv(var4,26)*0.9,14);
强度A:=(var2+var3)/2*((ma(c,1)-(var2+var3)/2)/((var2+var3)/2)-((var5+var6)/2-ema(var4,3))/((var5+var6)/2));
强度1A:=ema(强度A,5);
v1:if(强度A>0,强度A,分界),stick,linethick0,colorffffff;
v2:if(强度A>1,强度A,分界),stick,linethick2,color00ffff;
v3:if(强度A>2,强度A,分界),stick,linethick3,colorff00ff;
v4:if(强度A>3,强度A,分界),stick,linethick4,colorred;
v5:if(强度A>5,强度A,分界),stick,linethick5,color00ff00;
v6:if(强度A<0,强度A,分界),stick,linethick0,colorblue;
v7:if(强度A<-2,强度A,分界),stick,linethick2,colorF0F000;
v8:if(强度A<-4,强度A,分界),stick,linethick3,colorGREEN;
v9:if(强度A<-7,强度A,分界),stick,linethick4,color00FF00;
v10:if(强度A<-10,强度A,分界),stick,linethick5,colorred;
强度:强度A,colorred,linethick2;
强度1:强度1A,color00FF00,linethick2;
if(cross(强度,强度1) and FILTER(cross(强度,强度1) and 强度<-1.5 ,5 ),强度,0),linethick3,coloryellow;
if(cross(强度1,强度) and filter(cross(强度1,强度),5) and 强度>1.5,强度,0),linethick3,colorBLUE;