SSK:=(REF(BIAS18K,1)>=5) AND CROSS(VARJK,VAREK) AND (AAK>79);
DRAWTEXT((REF(BIAS18K,1)>=5) AND CROSS(VARJK,VAREK) AND (AAK>SSK) AND CROSS(84,RSI),H*1.0001,'☆'),LINETHICK7,COLORYELLOW;
DRAWTEXT(CROSS(84,RSI) AND CROSS(76,VAR28K),H*1.05,'--逃顶'),LINETHICK2,COLOR00FF00;
G1:=REF(O,1)>REF(C,1);
GSD:=C/REF(C,1)>=1.095 AND L>H;
FH:=GSD AND G1 AND V>REF(V,1);
DRAWTEXT(FH,L*0.98,'←一指千金'),COLORYELLOW;
VAR2L:=(2*CLOSE+HIGH+LOW)/4;
VAR3L:=IF(YEAR>=2099 AND MONTH>2,0,1);
VAR4L:=LLV(LOW,5);
VAR5L:=HHV(HIGH,4);
散户:=EMA((VAR2L-VAR4L)/(VAR5L-VAR4L)*100,4)*VAR3L;
庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3L;
DRAWTEXT(CROSS(散户,庄家) AND 散户>30,L-0.16,'←低吸'),COLORYELLOW;
DRAWTEXT(CROSS(庄家,散户) AND 散户>70,H+0.08,'←高抛'),COLORGREEN;
{背离底}
M1:MA(CLOSE,13),NODRAW;
M2:MA(CLOSE,34),NODRAW;
M3:MA(CLOSE,55),NODRAW;
AP:MA(C,5),NODRAW;
BP:=AP>REF(AP,1);
IF(BP-1,AP,DRAWNULL),NODRAW;
DRAWTEXT(LAST(C>O,3,0) AND LAST(VOL>REF(VOL,1),3,0),L*0.975,'↖三阳');
DRAWTEXT(CROSS("DMI.PDI","DMI.MDI") AND CROSS("DMI.PDI","DMI.ADX") AND CROSS("DMI.PDI","DMI.ADXR") AND C>REF(C,1)*1.05 AND VOL>REF(VOL,1),L*0.975,'↖涨');
DRAWTEXT(LAST(MA(C,5)>MA(C,10),5,0) AND "CCI.CCI">REF("CCI.CCI",1) AND CROSS("CCI.CCI",-100),L*0.975,'↖背离底');