VAR1:= (CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR2:=SMA(SMA(VAR1,3,1),3,1);
VAR3:=EMA(VAR2,5);
BB:=VAR3,COLORMAGENTA ;
精灵:=3*VAR2-2*VAR3,COLORFFAA66;
见底:=STICKLINE(精灵<6.788,100,95,7,0),COLORYELLOW;
TJ:=REF(C,1)O;
IF(CROSS(精灵,VAR2) AND TJ AND FILTER(CROSS(精灵,VAR2) AND TJ ,5),80,0),COLORRED ;