VOL2:V,VOLSTICK;
MA1:MA(VOL,5)COLORWHITE,LINETHICK2;
MA2:MA(VOL,10)COLORLIRED,LINETHICK2;
MA3:MA(VOL,20)COLORRED,LINETHICK2;
MA60:MA(VOL,60)COLORGREEN,LINETHICK2;
MA120:=MA(VOL,120);
D:=MIN(MA(V,5),MIN(MIN(MA(V,10),MA(V,20)),MIN(MA(V,60),MA(V,120))));
HSL:=V/CAPITAL*100;
量芝麻点:V<D AND V<=LLV(V,60) AND HSL<0.3;
DRAWTEXT(量芝麻点=1,V,'钻石量'),COLORYELLOW;