饱和度:IF((AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100),COLORRED;
STICKLINE(((CLOSE > 0) AND BARSTATUS=2),0,100,1,1),COLORFFFFFF;
STICKLINE(((饱和度 <= 5) AND BARSTATUS=2),1,(10+ 饱和度),1,0),COLORFFFFFF;
STICKLINE((((饱和度 > 5) AND (饱和度 <= 20)) AND BARSTATUS=2),1,(8 + 饱和度),1,0),COLORCCFF88;
STICKLINE((((饱和度 > 20) AND (饱和度 <= 40)) AND BARSTATUS=2),1,( 饱和度),1,0),COLORFF00FF;
STICKLINE(((饱和度 > 40) AND BARSTATUS=2),1,( 饱和度),1,0),COLOR0000FF;
{www.qill.cn强势追踪}
起点量≤5:STICKLINE(饱和度<=5 AND BARSTATUS=2,1,饱和度+10,5,0),COLORRED;
低量20:STICKLINE((饱和度>5 AND 饱和度< 20) AND BARSTATUS=2,1,饱和度+8,5,0),COLOR5290FF;
温量80:STICKLINE((饱和度>5 AND 饱和度< 80) AND BARSTATUS=2,1,饱和度,5,0),COLOR5290FF;
警量97:STICKLINE((饱和度>80 AND 饱和度< 97) AND BARSTATUS=2,1,饱和度,5,0),COLORFFCC00;
放量≥97:STICKLINE(饱和度>=97 AND BARSTATUS=2,1,饱和度,8,0),COLORGREEN;
通达信量能饱合度公式,希望大家喜欢
{www.qill.cn量能饱合度N(20,1,100);}
饱和度:IF((AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100),COLORRED;
STICKLINE(((CLOSE > 0) AND BARSTATUS=2),0,100,1,1),COLORFFFFFF;
STICKLINE(((饱和度 <= 5) AND BARSTATUS=2),1,(10+ 饱和度),1,0),COLORFFFFFF;
STICKLINE((((饱和度 > 5) AND (饱和度 <= 20)) AND BARSTATUS=2),1,(8 + 饱和度),1,0),COLORCCFF88;
STICKLINE((((饱和度 > 20) AND (饱和度 <= 40)) AND BARSTATUS=2),1,( 饱和度),1,0),COLORFF00FF;
STICKLINE(((饱和度 > 40) AND BARSTATUS=2),1,( 饱和度),1,0),COLOR0000FF;
{www.qill.cn强势追踪}
起点量≤5:STICKLINE(饱和度<=5 AND BARSTATUS=2,1,饱和度+10,5,0),COLORRED;
低量20:STICKLINE((饱和度>5 AND 饱和度< 20) AND BARSTATUS=2,1,饱和度+8,5,0),COLOR5290FF;
温量80:STICKLINE((饱和度>5 AND 饱和度< 80) AND BARSTATUS=2,1,饱和度,5,0),COLOR5290FF;
警量97:STICKLINE((饱和度>80 AND 饱和度< 97) AND BARSTATUS=2,1,饱和度,5,0),COLORFFCC00;
放量≥97:STICKLINE(饱和度>=97 AND BARSTATUS=2,1,饱和度,8,0),COLORGREEN;