飞狐抄底先锋副图指标
源码
n :=18; m:= 1; Var2:=MA(CLOSE,N); Var3:=(CLOSE-Var2)/Var2*100; Var4:=MA(Var3,M); 升跌: Var4; Var5:=BARSLAST(CROSS(-10,Var4)=1); Var6:=BARSLAST(CROSS(Var4,10)=1); Var7:=Var4<-10 AND Var5>=5; Var8:=Var4>10 AND Var6>=5; C1: IF(Var4<-10 AND Var5>=5,Var4,0), , COLORWHITE; C2: C1, COLORSTICK; C3: IF(Var4>10 AND Var6>=5,Var4,0), , COLORWHITE; C4: C3, COLORSTICK; D: 升跌>REF(升跌,1) AND Var7*25, , COLORRED;
移动端首页 | PC端
© by gszx.com.cn Mobile Web
飞狐抄底先锋副图指标
源码
n :=18; m:= 1;
Var2:=MA(CLOSE,N);
Var3:=(CLOSE-Var2)/Var2*100;
Var4:=MA(Var3,M);
升跌: Var4;
Var5:=BARSLAST(CROSS(-10,Var4)=1);
Var6:=BARSLAST(CROSS(Var4,10)=1);
Var7:=Var4<-10 AND Var5>=5;
Var8:=Var4>10 AND Var6>=5;
C1: IF(Var4<-10 AND Var5>=5,Var4,0), , COLORWHITE;
C2: C1, COLORSTICK;
C3: IF(Var4>10 AND Var6>=5,Var4,0), , COLORWHITE;
C4: C3, COLORSTICK;
D: 升跌>REF(升跌,1) AND Var7*25, , COLORRED;