SAT:=(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N));
饱和度:=IF(SAT 1,1,SAT)*100;
量能 5:STICKLINE(饱和度 =5,5,饱和度+20,4,0),COLORRED;
量能5~80:STICKLINE((饱和度 5 AND 饱和度 80),5,饱和度+8,4,0),COLOR5290FF;
量能80~97:STICKLINE((饱和度 80 AND 饱和度 97),5,饱和度,4,0),COLORFFCC00;
{九毛八股票公式指标网 全网优质指标下载平台www.9m8.cn}
量能 97:STICKLINE(饱和度 =97,5,饱和度,4,0),COLORGREEN;
IF BARSTATUS=2 and (饱和度) THEN BEGIN DRAWTEXTREL(0,100,'饱和度:'+NUMTOSTRN(饱和度,2)),LINETHICK6,COLORccffcc;end;
DIFF : (EMA(CLOSE,12) - EMA(CLOSE,26))*50,colorcyan,LINETHICK2;
DEA : EMA(DIFF,9),colorred,LINETHICK2;