VAR1:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100;
VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;
趋势:EMA(VAR3,5),COLORFFCCCC,LINETHICK1;
操盘:3*VAR3-2*趋势,COLORRED,LINETHICK1;
强弱分界:1.75,COLORFFCC66,POINTDOT;
底:0,COLORWHITE,POINTDOT;
顶预警:3.2,COLOR00DD00,POINTDOT;
底预警:0.3,COLOR0099FF,POINTDOT;
顶:3.5,COLORRED,POINTDOT;
STICKLINE(操盘>趋势,操盘,趋势,4,0),COLORRED;
STICKLINE(操盘<趋势,趋势,操盘,4,0),COLOR00DD00;
STICKLINE(操盘>顶预警,操盘,顶预警,4,0),COLORYELLOW;
STICKLINE(操盘>顶,操盘,顶,4,0),COLOR00DD00;
STICKLINE(操盘<底预警,操盘,底预警,4,0),COLORFF00FF;
STICKLINE(操盘<底,操盘,底,4,0),COLORFFCC66;
A1:=CROSS(操盘,VAR3) AND VAR3<2.1 AND C>O;
STICKLINE(A1,0,0.80,4,0),COLORFF00FF;
A2:=CROSS(操盘,VAR3) AND VAR3>2.2;
DRAWTEXT(A1,3,'预'),COLORFF00FF;
DRAWTEXT(A1,2.60,'祝'),COLORFF00FF;
DRAWTEXT(A1,2.20,'发'),COLORFF00FF;
DRAWTEXT(A1,1.80,'财'),COLORFF00FF;
散户线:SMA(VAR1,3,1)/28.57,COLORFFFF00,LINETHICK1;
DRAWTEXT(CROSS(3,散户线),4,'财'),COLORRED;
DRAWTEXT(CROSS(3,散户线),3.6,'到'),COLORRED;
{VAR1:=(IF(WINNER(1.1*CLOSE)<0,0,WINNER(1.1*CLOSE))-IF(WINNER(0.9*CLOSE)<0,0,WINNER(0.9*CLOSE)))*100;
存筹: IF(DATE<1500501,IF(VAR1<0,0,VAR1),0),COLORWHITE,LINETHICK0;
VAR2:=EMA(存筹,7);
VAR3:=EMA(存筹,44);}
B1:=COST(95);
B2:=COST(5);
集中度:=(B1-B2)*100/(B1+B2),COLORRED,LINETHICK0;
获利90:=EMA(COST(90),5),LINETHICK0,COLORFFFFFF;
AA:=REF(CLOSE,1);
BBB:=SMA(MAX(CLOSE-AA,0),5,1)/SMA(ABS(CLOSE-AA),5,1)*100;
HHH:=BBB-LLV(BBB,10);
SS:=(MA(HHH,2)*3+HHH*13)/16;
短线买点:=IF(SS>13,MA(SS,2),SS);
STICKLINE(CROSS(短线买点,13),0,1,5,0),COLORRED;
DRAWTEXT(CROSS(短线买点,13),1,'短买'),COLORYELLOW;
短趋势:SMA(EMA((C-REF(C,1))/REF(C,1),5)*5,3,1)*5,COLORRED,LINETHICK1;
CROSS(短趋势,0)*1.5,COLOR00FFFF,LINETHICK2;
VARC:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
DRAWICON(CROSS(82,VARC),3.4,2);
VAR6:=REF(C,1);
VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100;
DRAWTEXT(CROSS(84,VAR7),3.4,'逃顶'),COLORYELLOW ;
DRAWICON(CROSS(操盘,趋势),0,1);