AA:=LLV(LOW,30);
BB:=HHV(HIGH,30);
DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);
值:DD,colorlimagenta,LINETHICK1;
風(fēng)險(xiǎn):80,COLORFF00FF;
頂部:87.5,COLOR00FF00;
跟蹤:10,COLOR0000FF;
強(qiáng)弱分界:35,colorwhite;
VAR1:=(2*CLOSE-HIGH)/4;
算術(shù)平均:=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>算術(shù)平均,5) ,35,10),coloryellow;
DRAWTEXT(FILTER(CROSS(值,40) AND C>算術(shù)平均,5),43,'追'), colorred;
減倉(cāng):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;
加倉(cāng):21,colorgreen;
平衡:51,colorwhite;
注意:81,colorcyan;
VAR3:=LLV(LOW,18);
VAR4:=HHV(HIGH,18);
趨勢(shì):EMA((CLOSE-VAR3)/(VAR4-VAR3)*100,13),colorbrown;
趨勢(shì)1:EMA(0.618* REF(趨勢(shì),1)+0.382*趨勢(shì),3),coloryellow;
短趨勢(shì)線:MA(CLOSE,13),colorred,LINETHICK2;
漲:IF(短趨勢(shì)線>REF(短趨勢(shì)線,1),短趨勢(shì)線,DRAWNULL),colorred,LINETHICK2;
平:=IF(短趨勢(shì)線=REF(短趨勢(shì)線,1),短趨勢(shì)線,DRAWNULL),COLOR00FFFF,LINETHICK2;
跌:IF(短趨勢(shì)線<REF(短趨勢(shì)線,1),短趨勢(shì)線,DRAWNULL),colorgreen,LINETHICK2;
強(qiáng)弱分界:50,LINETHICK1;
var1:=REF(CLOSE,1);
var2:=SMA(MAX(CLOSE-var1,0),7,1)/SMA(ABS(CLOSE-var1),7,1)*100,coloryellow;
var21:IF(var2<20,40,20),colorcyan;
var22:IF(var2>80,60,80),COLORFFFF50;
var2↑:STICKLINE(FILTER(REF(var2,1)<20 AND var2>REF(var2,1),5),20,40,8,0),colorred;
var2↓:STICKLINE(FILTER(REF(var2,1)>80 AND var2<REF(var2,1),5),60,80,8,0),COLORFFFF50;
DRAWTEXT(FILTER(REF(var2,1)<20 AND var2>REF(var2,1),5),40 ,'買入' ),COLORFFFFFF;
DRAWTEXT(FILTER(REF(var2,1)>80 AND var2<REF(var2,1),5),60 ,'賣出' ),COLORFFFFFF;
80,colorgreen;
20,colorwhite;
VAR1:=REF(CLOSE,1);
VAR2:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100;
FILTER(REF(VAR2,1)<20 AND VAR2>REF(VAR2,1),5)