大单与资金(一目了然,让庄无处可逃)通达信公式
{红色表示资金流进,蓝色表示资金流出;黄色表示大单流进,白色表示大单流出}
超B:=L2_AMO(0,2)/10000.0;
大B:=L2_AMO(1,2)/10000.0;
中B:=L2_AMO(2,2)/10000.0;
小B:=L2_AMO(3,2)/10000.0;
超S:=L2_AMO(0,3)/10000.0;
大S:=L2_AMO(1,3)/10000.0;
中S:=L2_AMO(2,3)/10000.0;
小S:=L2_AMO(3,3)/10000.0;
大单:(超B+大B)-(超S+大S),COLORMAGENTA,NODRAW;
近3日大单流向:SUM(大单,3),COLORMAGENTA,NODRAW;
近5日大单流向:SUM(大单,5),COLORMAGENTA,NODRAW;
轴:0,COLORWHITE;
界:1000,COLORLIGRAY,DOTLINE;
资金流向:(超B+大B+中B+小B)-(超S+大S+中S+小S),NODRAW;
近3日流向:SUM(资金流向,3),COLORRED,NODRAW;
近5日流向:SUM(资金流向,5),COLORRED,NODRAW;
STICKLINE(资金流向<0,0,ABS(资金流向),1,0),COLORFF6600;
STICKLINE(资金流向<0,0,ABS(资金流向),3,0),COLORFF9900;
STICKLINE(资金流向<0,0,ABS(资金流向),1.5,0),COLORFFCC00;
STICKLINE(资金流向<0,0,ABS(资金流向),0.5,0),COLORCYAN;
STICKLINE(资金流向>0,0,资金流向,3,0),COLOR000099;
STICKLINE(资金流向>0,0,资金流向,3,0),COLOR0000CC;
STICKLINE(资金流向>0,0,资金流向,1.0,0),COLOR0000FF;
STICKLINE(资金流向>0,0,资金流向,0.5,0),COLORCC66FF;
STICKLINE(大单>0,0,ABS(大单),0.5,0),COLORYELLOW;
STICKLINE(大单<0,0,ABS(大单),0.5,0),COLORWHITE;