以下是同花顺波段操作主图指标
同花顺波段操作主图指标
源码
年:=216;月:=23;日:=4;
MA4: MA(CLOSE,4),color00ffff;
MA13: MA(CLOSE,13),colorff00ff;
MA21: MA(CLOSE,21),color00ff00;Var3:=(LOW+HIGH+CLOSE)/3;
Var4:=MA(Var3,5);
Var5:=HHV(Var4,13);
Var6:=HHV(Var4,60);
Var7:=LLV(Var4,13);
Var8:=LLV(LOW,60)*1.02;
Var9:=HHV(HIGH,60)*0.98;
DRAWTEXT(CROSS(Var8,Var7),LOW,’小顶’),colormagenta;
VarA:=EMA(WINNER(COST(50)),4);
VarB:=EMA(WINNER(CLOSE),4)-VarA;
VarC:=EMA(VarB,8);
VarD:=2*(VarB-VarC);
VarE:=3*VarB-2*VarC;
DRAWTEXT(CROSS(VarE,0) OR CROSS(VarE,-0.335),H*1.04,’压力’),coloryellow;
DRAWTEXT(CROSS(VarE,0.249),HIGH*1.02,’冲顶’), colorcyan, ;
DRAWTEXT(CROSS(VarE,0.524),CLOSE,’小顶’), colormagenta ;
DRAWTEXT(CROSS(VarE,0.58),HIGH,’顶部’), colorred, ;
DRAWTEXT(CROSS(0.81,VarE),OPEN,’大顶’), colorred, ;
DRAWTEXT(CROSS(VarE,-0.515),CLOSE,’买’),colorgreen , ;
VarF:=LLV(LOW,36);
Var10:=HHV(HIGH,30);
Var11:=EMA((CLOSE-VarF)/(Var10-VarF)*4,4)*25;
Var12:=(Var11-LLV(Var11,4))/(HHV(Var11,4)-LLV(Var11,4))*4*25;
Var13:=CROSS(Var12,87.5) AND Var11<40;
DRAWTEXT(CROSS(VarE,-0.5) AND Var13,(LOW+HIGH)/2,’底买’), colorgreen, ;
DRAWTEXT(CROSS(VarE,-0.638) OR CROSS(VarE,-0.57) OR CROSS(VarE,-0.478),LOW-0.1,’反弹’),
评论(0)