量饱和度指标 (源码)
2012-03-08 09:36:00来源:本站整理浏览:133
大智慧量饱和度指标公式股票软件源码如下:
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;
- 上一篇公式:空转多主图指标 (源码)
- 下一篇公式:主动买盘成交指标 (源码)