大智慧量饱和度指标公式

[复制链接]
查看107 | 回复0 | 2021-8-21 13:47:01 | 显示全部楼层 |阅读模式

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.gupang.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;

202108211232.jpg

202108211232.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则