Var1:=1;
Var2:=(HIGH+LOW+OPEN+2*CLOSE)/5*Var1;
Var3:=REF(Var2,1)*Var1;
Var4:=SMA(MAX(Var2-Var3,0),p,1)/SMA(ABS(Var2-Var3),p,1)*100*Var1;
IF(COUNT(Var4<20,n)>=1 AND COUNT(Var2=LLV(Var2,n),m)>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND VOL>REF(VOL,1),1,0),stick,linethick3,colorred;
飞狐玄黄底部副图指标
源码
P:=10;N:=5;M:=10;
Var1:=1;
Var2:=(HIGH+LOW+OPEN+2*CLOSE)/5*Var1;
Var3:=REF(Var2,1)*Var1;
Var4:=SMA(MAX(Var2-Var3,0),p,1)/SMA(ABS(Var2-Var3),p,1)*100*Var1;
IF(COUNT(Var4<20,n)>=1 AND COUNT(Var2=LLV(Var2,n),m)>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND VOL>REF(VOL,1),1,0),stick,linethick3,colorred;