飞狐监庄金尊副图指标
源码
Var1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
Var2:=SMA(Var1,20,1);
Var3:=SMA(Var2,15,1);
Var4:=(3*Var2+2*Var3)/4;
Var5:= REF(Var4,1);
RSA:SMA(MAX(Var4-Var5,0),2,1)/SMA(ABS(Var4-Var5),2,1)*100;
RSB:MA(RSA,10);
初升介入:IF(CROSS(RSA,RSB),50,0),STICK,LINETHICK2;
洗盘加仓:IF(CROSS(RSB,90),50,0),STICK,LINETHICK2;
DRAWTEXT(CROSS(RSA,RSB),-15,'初升介入'),COLORBLUE;
DRAWTEXT(CROSS(RSB,90),-15,'洗盘加仓'),COLOR00FFFF;
-30;