红眼副图 源码介绍
红眼副图 源码
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,'B'),coloryellow;
DRAWTEXT(CROSS(Var2,红眼) AND 红眼>55,Var2+15,'S'),colorwhite;
Var1A:=(-100)*(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13));
VAR2A: Var1A;
-50;
-90;
-10;
STICKLINE(VAR2A>-50,-50,VAR2A,0),colorred ;
STICKLINE(VAR2A<-50,-50,VAR2A,0),colorFF0000 ;
gd24375