VAR2:=(HIGH+LOW+OPEN+2*CLOSE)/5;
CHH低吸线:EMA(SLOPE(VAR2,21)*20+VAR2,55),CIRCLEDOT;
DRAWICON(REF(CLOSE,1)>CHH低吸线,0.98*LOW,1);
DRAWICON(REF(CLOSE,1)>CHH低吸线 AND CLOSE,L,2);
BB:=LLV(HIGH,1);
神顶抄底逃顶线:FORCAST(FORCAST(BB,15),15), COLORYELLOW,LINETHICK2;
神顶逃顶抄底线:FORCAST(FORCAST(BB,25),25), COLORRED,LINETHICK2;
IF(SLOPE(神顶抄底逃顶线,2)>0,CHH低吸线,CLOSE),CIRCLEDOT,COLORMAGENTA;
CLOSE,CIRCLEDOT,COLORBLacK;
{k线}
VAR12:=(CLOSE*2+HIGH+LOW)/4;
VAR13:=EMA(VAR12,3);
VAR14:=EMA(VAR13,6);
L1:=EMA(VAR12,3);
L2:=EMA(VAR13,4);
L3:=EMA(VAR14,5);
VAR5:=REF(L1,1)>L1 AND L1>L2;
STICKLINE(L1>=L2,HIGH,LOW,1,0),COLORRED;
STICKLINE(L1>=L2,CLOSE,OPEN,3,0),COLORRED;
STICKLINE(VAR5,HIGH,LOW,1,0) COLORYELLOW;
STICKLINE(VAR5,CLOSE,OPEN,3,0) COLORYELLOW;