您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:量能饱和 (副图 源码)

量能饱和 (副图 源码)


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:4.00 KB
更新时间:2010-06-26 10:22:00
公式简介:

N:=20;
SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100);
饱和度:=SAT,COLORYELLOW;
STICKLINE(SAT <=20,0,SAT,6,0),COLORFFFFFF;
STICKLINE(SAT >20 AND SAT <=50,0,SAT,6,0),COLOR99DD00;
STICKLINE(SAT >20 AND SAT <=50,0,SAT*0.8,6,0),COLOR88DD22;
STICKLINE(SAT >20 AND SAT <=50,0,SAT*0.6,6,0),COLOR66AA11;
STICKLINE(SAT >20 AND SAT <=50,0,SAT*0.4,6,0),COLOR449900;
STICKLINE(SAT >20 AND SAT <=50,0,SAT*0.2,6,0),COLOR338800;
STICKLINE(SAT >50 AND SAT <= 80,0,SAT,6,0),COLORFF00FF;
STICKLINE(SAT >50 AND SAT <= 80,0,SAT*0.8,6,0),COLORFF33FF;
STICKLINE(SAT >50 AND SAT <= 80,0,SAT*0.6,6,0),COLORFF66FF;
STICKLINE(SAT >50 AND SAT <= 80,0,SAT*0.4,6,0),COLORFF99FF;
STICKLINE(SAT >50 AND SAT <= 80,0,SAT*0.2,6,0),COLORFFCCFF;
STICKLINE(SAT > 80,0,SAT,6,0),COLOR0055FF;
STICKLINE( SAT > 80,0 ,SAT*1.0,6 ,0 ),COLOR0000FF;
STICKLINE( SAT > 80,0 ,SAT*0.8,6 ,0 ),COLOR0066FF;
STICKLINE( SAT > 80,0 ,SAT*0.6,6 ,0 ),COLOR0099FF;
STICKLINE( SAT > 80,0 ,SAT*0.4,6 ,0 ),COLOR00CCFF;
STICKLINE( SAT > 80,0 ,SAT*0.2,6 ,0 ),COLOR00FFFF;
攻击线:EMA(饱和度,20),COLORRED,LINETHICK2;
强:80,COLOR55FF99,LINETHICK2;
弱:20,COLORFF5535,LINETHICK2;


[url=http://www.goodgupiao.com/gupiaogongshi/8234.html][B]量能饱和 (副图 源码)[/B][/url]