VAR2:=(H+L+O+2*C)/5;
低吸线:EMA(SLOPE(VAR2,21)*20+VAR2,55);
BB:=LLV(H,1);
神顶抄底逃顶线:FORCAST(FORCAST(BB,15),15), COLORYELLOW,LINETHICK2;
神顶逃顶抄底线:FORCAST(FORCAST(BB,25),25), COLORRED,LINETHICK2;
{爱约股-股票公式网站 }
IF(SLOPE(神顶抄底逃顶线,2)>0,低吸线,C),CIRCLEDOT,COLORMAGENTA;
C,CIRCLEDOT,COLORBLACK;
VAR20:=(C*2+H+L)/4;
VAR3:=EMA(VAR20,3);
VAR4:=EMA(VAR3,6);
L1:=EMA(VAR20,3);
L2:=EMA(VAR3,4);
L3:=EMA(VAR4,5);
VAR5:=REF(L1,1)>L1 AND L1>L2;
STICKLINE(L1>=L2,H,L,1,0),COLORRED;
STICKLINE(L1<L2,H,L,1,0),COLORGREEN;
STICKLINE(L1>=L2,C,O,4,0),COLORRED;
STICKLINE(L1<L2,C,O,4,0),COLORGREEN;
STICKLINE(VAR5,H,L,1,0) COLORYELLOW;
STICKLINE(VAR5,C,O,4,0) COLORYELLOW;