同花顺量能饱和指标指标公式

[复制链接]
查看263 | 回复0 | 2021-8-20 23:23:51 | 显示全部楼层 |阅读模式

MC:"量能饱和高位出货低位进货横盘突破有行情";
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;

202108202255.jpg

202108202255.jpg

 

回复

使用道具 举报

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

本版积分规则