您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:盈亏比例副图指标 源码 通达信

盈亏比例副图指标 源码 通达信


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:3.00 KB
更新时间:2020-07-07 08:04:00
公式简介:

盈亏比例副图指标 源码 通达信

{筹码分布}
当前获利:=WINNER(C)*100,COLORAAAAFF,STICK,NODRAW;
赚10%:WINNER(C/1.1)*100,COLORRED,NODRAW;
赚20%:WINNER(C/1.2)*100,COLORYELLOW,NODRAW;
赚30%:WINNER(C/1.3)*100,COLORMAGENTA,NODRAW;
R10:=当前获利-赚10%;
STICKLINE(1,当前获利,赚10%,-1,0),COLORRED,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,COLORWHITE,NODRAW;
亏20%:(1-WINNER(C/0.8))*100,COLORGREEN,NODRAW;
亏30%:(1-WINNER(C/0.7))*100,COLORCYAN,NODRAW;
S10:=100-亏10%-当前获利;
STICKLINE(C>0,100-亏10%,100-亏20%,-1,0),COLORCYAN;
STICKLINE(C>0,100-亏20%,100-亏30%,-1,0),COLORGREEN;
STICKLINE(C>0,100-亏30%,100,-1,0),COLORWHITE;

当前价获利盘%:当前获利,COLORYELLOW,LINETHICK1,NODRAW;
当日获利套牢:当前获利-REF(当前获利,1),NODRAW;

近5日获利比例:LWINNER(5,C)*100,COLORRED,NODRAW;
浮筹:R10+S10,DOTLINE,COLORWHITE,LINETHICK2;
老筹:PPART(30)*100,COLORLIRED,LINETHICK3;

{区间集中度:(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;};
 


[url=http://www.goodgupiao.com/gupiaogongshi/59056.html][B]盈亏比例副图指标 源码 通达信[/B][/url]