当趋势线红线上穿黄线,形成多头。此时,下方有藍柱变红柱形成共振,为买入机会。红线在高位死叉黄线为卖出。适合做波段。
Var1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
Var2:=SMA(SMA(Var1,3,1),3,1);
Var3:=EMA(Var2,5);
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 ;