引用:="资金流变.资金净流",colorwhite,LINETHICK2;
净额:引用*10000,pointdot,LINETHICK0;
stickline(净额>0,0,净额,6,0),color0000A3,linethick2;
stickline(净额>0,0,净额,5,0),color0000B7,linethick2;
stickline(净额>0,0,净额,4,0),color0000A3,linethick2;
stickline(净额>0,0,净额,3,0),color0000CD,linethick2;
stickline(净额>0,0,净额,1,0),color0000E9,linethick2;
stickline(净额>0,0,净额,0.5,0),Color68B8FF,linethick2;
stickline(净额<=0,净额,0,6,0),Color007500,linethick2;
stickline(净额<=0,净额,0,5,0),Color008400,linethick2;
stickline(净额<=0,净额,0,4,0),Color009900,linethick2;
stickline(净额<=0,净额,0,3,0),Color00AE00,linethick2;
stickline(净额<=0,净额,0,2,0),Color00BD00,linethick2;
stickline(净额<=0,净额,0,1,0),Color8EFF8E,linethick2;
stickline(净额<0 and 净额>ref(净额,1),净额,0,6,0),Color0E96A9,linethick2;
stickline(净额<0 and 净额>ref(净额,1),净额,0,5,0),Color10A7BC,linethick2;
stickline(净额<0 and 净额>ref(净额,1),净额,0,4,0),Color11B5CC,linethick2;
stickline(净额<0 and 净额>ref(净额,1),净额,0,3,0),Color13C6DF,linethick2;
stickline(净额<0 and 净额>ref(净额,1),净额,0,2,0),Color1CD2EC,linethick2;
stickline(净额<0 and 净额>ref(净额,1),净额,0,1,0),Color39D8EE,linethick2;
stickline(净额<0 and 净额>ref(净额,1),净额,0,0.5,0),ColorFFFFFF,linethick2;
三天流入:=sum(净额,3),linethick0;
五天流入:=sum(净额,5),linethick0;
十天流入:=sum(净额,10),linethick0;
十日内:count(净额>0,10),coloryellow,pointdot,linethick0;
tt:=if(净额<0,1,0);
连续飘红:BARSLAST(tt>0),colorred,LINETHICK0,,pointdot;
var1:=AMOUNT/10000;
主力净买比:(净额/var1)*100,linethick0,coloryellow,pointdot;
五日成交:=SUM(AMOUNT,5)/10000;
十日成交:=SUM(AMOUNT,10)/10000;
五日净买比:(五天流入/五日成交)*100,linethick0,colorgreen,pointdot;
十日净买比:(十天流入/十日成交)*100,linethick0,colorred,pointdot;
HS:=VOL/CAPITAL;
DD:=净额/vol/c;
DT:=HS*DD*100;
当日持仓增减: DT, linethick0,pointdot;
五日持仓增减:SUM(当日持仓增减,5),linethick0,pointdot;
这里奉献主力分析源码,其他只做参考 作用不大。这个指标其实已包含了其他指标。(只做参考,不做依据,结合基本面,及技术性买卖点使用)