炒股指标

显示 收起

同花顺量能饱和指标公式

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

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;

同花顺量能饱和指标公式实例图解:

同花顺量能饱和指标公式