通达信盈亏比例指标公式
2021/1/9 19:18:22
当前获利:=WINNER(C)*100,COLORAAAAFF,STICK,NODRAW; {当前获利}
赚10%:WINNER(C/1.1)*100,LINETHICK1;
赚20%:WINNER(C/1.2)*100,NODRAW,COLOR00FFFF;
赚30%:WINNER(C/1.3)*100,NODRAW,COLOR0000FF;
R10:= 当前获利- 赚10%;
STICKLINE(1,当前获利, 赚10%,-1,0)COLORAAAAFF,NODRAW;
STICKLINE(1,赚10%,赚20%,-1,0)COLOR0000CC;
STICKLINE(1,赚20%,赚30%,-1,0),COLOR00FFFF;
STICKLINE(1,赚30%,0,-1,0),COLORFF00FF;
亏10%:(1-WINNER(C/0.9))*100,NODRAW,COLORFFDD00;
亏20%:(1-WINNER(C/0.8))*100,NODRAW,COLOR00FF00;
亏30%:(1-WINNER(C/0.7))*100,NODRAW,COLORFFFFFF;
S10:=100-亏10%-当前获利;
STICKLINE(C>0, 100-亏10%,100-亏20%,-1,0),COLORFFDD00;
STICKLINE(C>0, 100-亏20%,100-亏30%,-1,0),COLOR00FF00;
STICKLINE(C>0, 100-亏30%,100,-1,0),COLORFFFFFF;
当前价获利盘%:当前获利,COLORYELLOW,LINETHICK1,NODRAW;
当日获利套牢:当前获利-REF(当前获利,1),NODRAW;
{0,COLOR000000,NODRAW;}
近5日获利比例:LWINNER(5,C)*100,COLORRED,NODRAW;{洗盘结束5日获利盘为0};
浮筹%:=R10+S10,NODRAW,COLORFF99FF;
R10,NODRAW,COLORFF99FF;
S10,NODRAW,COLORFF99FF;
老筹:PPART(30)*100,COLOR808080,LINETHICK4;
区间集中度:(WINNER(C*(1+0.05))-WINNER(C*(1-0.05)))*100,NODRAW;
40,DOTLINE,COLORLIMAGENTA;
70,DOTLINE;
12.5,CIRCLEDOT,COLORWHITE;
{SAR}
持币:IF(SAR(10,2,20)>=H,100,DRAWNULL),CIRCLEDOT,COLORWHITE,LINETHICK4;
持股:IF(SAR(10,2,20)<=L,100,DRAWNULL),CIRCLEDOT,COLORRED,LINETHICK4;
投股票 网 www.tou18. cn
股市公式下载推荐