飞狐资金分布副图指标
源码
var1:=除权数据(1)+除权数据(2);
cap:=收盘价;
cap[序列数据量]:=1;
for i=DATACOUNT downto 2 do cap[i-1]:=1;cap/(1+var1/10);
LTP:=cap*流通盘大小/100;{万股}
流通市值:收盘价*LTP/10000,COLORD4FF7F,LINETHICK0;
AL1:=简单移动平均(成交量,5);
AL2:=简单移动平均(成交量,40);
A1:=最低值(最低价,120);
A2:=1.191*A1;
A3:=1.382*A1;
A4:=1.618*A1;
A5:=1.809*A1;
A6:=简单移动平均(收盘价,60);
观望:(收盘价
画柱线(收盘价
低吸:(收盘价>A2)*成交量,COLORE0FFFF,LINETHICK0;
画柱线(收盘价>A2,0,成交量,5,0),COLORE0FFFF;
持股:(收盘价>A3)*成交量,COLORFF33FF,LINETHICK0;
画柱线(收盘价>A3,0,成交量,5,0),COLORFF33FF;
突破:(收盘价>A4)*成交量,COLOR00FFFF,LINETHICK0;
画柱线(收盘价>A4,0,成交量,5,0),COLOR00FFFF;
疯马:(收盘价>A5)*成交量,COLOR0000FF,LINETHICK0;
画柱线(收盘价>A5,0,成交量,5,0),COLOR0000FF;
减仓:(收盘价>A5 AND 收盘价
画柱线(收盘价>A5 AND 收盘价
简单移动平均(成交量,5),COLORRED;
简单移动平均(成交量,40),COLOR00D7FF;