飞狐春意融融副图指标
源码
Var1:=SUM(WINNER(CLOSE)*100,10 )/10;
Var2:=SUM(WINNER(CLOSE)*100,10 )/20;
ZSYD:Var1-(Var2+10),COLORSTICK;
PP:=Var1-(Var2+10);
PD:=MA(ZSYD,8);
STICKLINE(PP>0,0,PP,0.1,0),COLORGREEN;
河水:STICKLINE(PP<0,0,PP,0.1,0),COLORBLUE;
水面冰封:STICKLINE(PP<0,0,2,4,0),COLORWHITE;
春意融融:STICKLINE(PP>PD,PP+1,PP,1,0),COLOR00FFFF,LINETHICK2;
STICKLINE(PP>PD,PP-2,PP,0.1,0),COLORWHITE;
冲破冰封:IF(CROSS(PP,0),20,0),COLORBLUE;
DRAWTEXT(冲破冰封>0,10,'破冰了!'),COLORWHITE;