同花顺逃顶抄底副图源码介绍
同花顺逃顶抄底副图源码
自己用的指标,供大家参考。
AA:=LLV(LOW,30);
BB:=HHV(HIGH,30);
DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);
值:DD,colorred,LINETHICK2;
风险:80,COLORFF00FF;
顶部:87.5,COLOR00FF00;
跟踪:10,COLOR0000FF;
强弱分界:35,colorwhite;
VAR1:=(2*CLOSE-HIGH)/4;
算术平均:=MA(VAR1,20);
股海:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);
抄底:IF(CROSS(值,5)AND C>REF(C,1),8,0),coloryellow;
DRAWTEXT(CROSS(值,5)AND C>REF(C,1),73,'抄底'), colorgreen;
买入:IF(CROSS(值,9) AND COUNT((值<9)=1,3) AND C>REF(C,1),12,0),colorgreen;
DRAWTEXT(CROSS(值,9) AND COUNT((值<9)=1,3) AND C>REF(C,1),53,'买涨'), coloryellow;
底追:IF(CROSS(值,10) ,12,0),coloryellow;
DRAWTEXT(CROSS(值,10),33,'建仓'), colorwhite;
小心追马:IF(FILTER(CROSS(值,40) AND C>算术平均,5) ,35,10),coloryellow;
DRAWTEXT(FILTER(CROSS(值,40) AND C>算术平均,5),43,'小心追马'), colorred;
减仓:IF(CROSS(值,83),75,87.5),coloryellow;
DRAWTEXT(CROSS(值,83),72,'止盈'),coloryellow;
顶:IF(CROSS(值,90),67,87.5),colorwhite;
DRAWTEXT(CROSS(值,90),65,'小顶'),colorwhite;
逃顶1:IF(CROSS(值,93),60,87.5),colorred;
DRAWTEXT(CROSS(值,93),60,'逃顶'),colorwhite;
逃顶2:IF(CROSS(值,96),60,87.5),colorred;
DRAWTEXT(CROSS(值,96),60,'逃顶'),colorwhite;
gd47127