CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
YJD:(EMA(CS,3)-50)*2;
极弱:-80;
强势:60;
风险:80;
弱势:-60;
YJD,COLORSTICK;
今日保护价:(REF(C,1)+REF(C,2)+O)/3;
VAR1:=REF(CLOSE,1);
VAR2:=SMA(MAX(CLOSE-VAR1,0),6,1)/SMA(Abs(CLOSE-VAR1),6,1)*100;
STICKLINE(crOSS(75.9,VAR2),YJD+5,YJD-5,3,0)COLORYELLOW;
DRAWTEXT(ISLASTBAR,78,'清仓'),COLORRED;
DRAWTEXT(ISLASTBAR,60,'减仓'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,0,'控盘'),COLORWHITE;
DRAWTEXT(ISLASTBAR,-60,'回补'),COLORGREEN;
DRAWTEXT(ISLASTBAR,-80,'吸筹'),COLORBLUE;