以下是同花顺稳重出手副图源码
低位出现连续黄柱同时个股走势上出现止跌企稳,买入。高位出现连续蓝柱同时配合高位滞涨,卖出落袋为安。这个指标是从同花顺指标平台拿来的。
VAR2:=LLV(LOW,18);
VAR3:=HHV(HIGH,18);
VAR4:=EMA(((CLOSE-VAR2)/(VAR3-VAR2))*(100),13);
VAR5:=EMA((0.61799997)*(REF(VAR4,1))+(0.38199999)*(VAR4),3);
DRAWTEXT((VAR5-REF(VAR5,1))>0,VAR5,’·’),Culor00FFFF,POINTDOT,Linethick3;
DRAWTEXT((VAR5-REF(VAR5,1))<0,VAR5,’·’),CulorFF0000,POINTDOT,Linethick3;
DRAWTEXT(((VAR5-REF(VAR5,1)<0) AND (REF(VAR5,1)>REF(VAR5,2)) AND (VAR5>40)),(VAR5*0.98),’↓’),Culor0000FF,Linethick3;
IF(CROSS(80,VAR5),80,100),CulorFFFFFF;
VAR6:=((CLOSE-MA(CLOSE,6))/(MA(CLOSE,6)))*(100);
VAR7:=((CLOSE-MA(CLOSE,12))/(MA(CLOSE,12)))*(100);
VAR8:=((CLOSE-MA(CLOSE,24))/(MA(CLOSE,24)))*(100);
VAR9:=(VAR6+(2)*(VAR7)+(3)*(VAR8))/(6);
VARA:=MA(VAR9,3);
警戒:IF((VARA<-6),15,0),CulorFFFF00;
15,Culor0000FF;
50,Culor008000;
80,CulorFF0000;
评论(0)