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
STICKLINE(A1,0,0.80,4,0),COLORFF00FF;
A2:=CROSS(操盘,VAR3) AND VAR3
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;
B1:=COST(95);
B2:=COST(5);
集中度:=(B1-B2)*100/(B1+B2);
获利90:=EMA(COST(90),5);
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);