飞狐无敌波段副图指标
源码
{无敌波段}
Var1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
Var2:=SMA(SMA(Var1,3,1),3,1);
Var3:=EMA(Var2,5);
Var2;
91.307, , COLORred;
6.788, , COLORwhite;
49.048, , COLORgreen;
BB: Var3, , COLORYELLOW;
无敌: 3*Var2-2*Var3 , COLORRED;
STICKLINE(CROSS(无敌,Var2) AND 无敌<21,Var2-5,Var2+15,8,0), , COLORYELLOW;
STICKLINE(CROSS(Var2,无敌) AND 无敌>55,Var2-5,Var2+15,8,0), , colorblue;
DRAWTEXT(CROSS(无敌,Var2) AND 无敌<21,Var2-3,'进'), , COLORYELLOW;
DRAWTEXT(CROSS(Var2,无敌) AND 无敌>55,Var2+15,'出'), , colorwhite;