大智慧量饱和度指标公式股票软件源码如下: input:N(20,1,100); DRAWGBKLAST(v>1,STRIP(RGB(0,0,0),RGB(90,90,90),0)); 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.gpxiazai.com 股票软件下载网_大智慧股票指标公式} 量能≥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; |