X_1:=AMOUNT/CLOSE/(HHV(AMOUNT,10)/HHV(CLOSE,10));
量能饱和度:IF(X_1>1,1,X_1)*100,NODRAW,COLORYELLOW;
活跃度:IF(DATE>1000101,(MA(VOL,11)+MA(VOL,11*2)+MA(VOL,11*3)+MA(VOL,11*4))/4/CAPITAL*1000,1),NODRAW;
X_2:=REF(CLOSE,1);
X_3:=SMA(MAX(CLOSE-X_2,0),7,1)/SMA(ABS(CLOSE-X_2),7,1)*100;
X_4:=WINNER(CLOSE)*100;
X_5:=100-X_2;
X_6:=ABS(X_2-X_3);
X_7:=REF(CLOSE,1)<HHV(CLOSE,10)*0.8 AND REF(HHV(CLOSE,10)/LLV(CLOSE,10),1)<REF(HHV(CLOSE,10)/LLV(CLOSE,10),5) AND CLOSE/OPEN>1.05 AND COUNT(CLOSE/OPEN<0.95,5)>=1;
X_8:=IF(EMA(CLOSE,3)>MAX(EMA(CLOSE,13),EMA(CLOSE,55)),1,IF(EMA(CLOSE,3)<MIN(EMA(CLOSE,13),EMA(CLOSE,55)),(-1),0));
哈哈:IF(X_8=1 AND VOL>1,12,0),COLOREEEE8D;
STICKLINE(X_8=(-1) AND VOL>1,0,3,2,1),COLOR00FF7F;
STICKLINE(X_8=0 AND VOL>1,0,3,2,0),COLOR004600;
STICKLINE(X_8=1 AND VOL>1,0,3,2,0),COLORRED;
STICKLINE(CURRBARSCOUNT=26,30*1.9,30*1.5,100,1),COLORE8E8E8;
STICKLINE(CLOSE>OPEN AND CURRBARSCOUNT=21,30*1.88,30*1.52,量能饱和度,0),COLOR0033FF;
STICKLINE(CLOSE>OPEN AND CURRBARSCOUNT=21,30*1.82,30*1.58,量能饱和度,0),COLOR0077FF;
STICKLINE(CLOSE>OPEN AND CURRBARSCOUNT=21,30*1.76,30*1.64,量能饱和度,0),COLOR0099FF;
STICKLINE(CLOSE>OPEN AND CURRBARSCOUNT=21,30*1.7,30*1.7,量能饱和度,0),COLOR00DDFF;
STICKLINE(CLOSE<OPEN AND CURRBARSCOUNT=21,30*1.88,30*1.52,量能饱和度,0),COLORFF7700;
STICKLINE(CLOSE<OPEN AND CURRBARSCOUNT=21,30*1.82,30*1.58,量能饱和度,0),COLORFF9900;
STICKLINE(CLOSE<OPEN AND CURRBARSCOUNT=21,30*1.76,30*1.64,量能饱和度,0),COLORFFBB00;
STICKLINE(CLOSE<OPEN AND CURRBARSCOUNT=21,30*1.71,30*1.69,量能饱和度,0),COLORCYAN;
STICKLINE(X_7,X_4,0,2.6,0),COLORRED;
STICKLINE(X_7,X_5,0,1.8,0),COLORYELLOW;
STICKLINE(X_7,X_6,0,0.8,0),COLORMAGENTA;
DRAWTEXT(活跃度>=41 AND ISLASTBAR,80,15),COLORGREEN;
DRAWTEXT(活跃度>20 AND 活跃度<=40 AND ISLASTBAR,80,16),COLORGREEN;
DRAWTEXT(活跃度<=20 AND ISLASTBAR,80,17),COLORGREEN;
|