飞狐阴阳区域副图指标
源码
Var1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
Var2:=SMA(Var1,20,1);
Var3:=SMA(Var2,15,1);
Var4:=100-3*Var2+2*Var3;
Var5:=(3*Var2+2*Var3)/4;
Var6:=ABS(ABS(Var5)-ABS(Var4));
Var7:=ABS(ABS(Var5)-ABS(Var6));
阴跌区域: Var4-Var7;
见顶区域: STICKLINE(阴跌区域<0,阴跌区域,0,1,0), ,
COLORBLUE;
龙脉: Var5-Var7, COLORSTICK;
Var5-Var7;
DRAWTEXT(CROSS(阴跌区域,龙脉),-10,'阴跌开始'), ,
COLORGREEN;
DRAWTEXT(CROSS(阴跌区域,-0.1),-10,'注意见顶'), ,
COLORWHITE;