SAT:=(AMOUNT/C)/(HHV(AMOUNT,10)/HHV(C,10));
饱和度:IF(SAT 1,1,SAT)*100,COLORYELLOW;
STICKLINE(C 0 AND ISLASTBAR=1,5,100,10,1),COLORWHITE;
量能 5:STICKLINE(饱和度 =5 AND ISLASTBAR=1,5,饱和度+20,6,0),COLORRED;
量能5~80:STICKLINE((饱和度 5 AND 饱和度 80) AND ISLASTBAR=1,5,饱和度+8,6,0),COLORYELLOW;
量能80~97:STICKLINE((饱和度 80 AND 饱和度 97) AND ISLASTBAR=1,5,饱和度,6,0),COLORRED;
量能 97:STICKLINE(饱和度 =97 AND ISLASTBAR=1,5,饱和度,8,0),COLORGREEN;DRAWTEXT(ISLASTBAR=1 AND 饱和度,0,'量能饱和度:'+饱和度),COLORFFCCFF;
5,POINTDOT,COLORFFEEBB;{九毛八公式指标网www.9m8.cn}
97,POINTDOT,COLORGREEN;