DDX大单动向
N:2 500 10
大单动向:(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7),NODRAW;
NOTEXT1:MA(大单动向,N)*3;
STICKLINE(大单动向>0,0,大单动向,2,0),COLORRED;
STICKLINE(大单动向<0,0,大单动向,2,0),COLORCYAN;
DDY涨跌动因
N:2 500 10
涨跌动因:IF(TRADENUM>0,(TRADEOUTNUM-TRADEINNUM)*100/TRADENUM,0),NODRAW;
NOTEXT1:MA(涨跌动因,N)*3;
STICKLINE(涨跌动因>0,0,涨跌动因,2,0),COLORRED;
STICKLINE(涨跌动因<0,0,涨跌动因,2,0),COLORCYAN;
DDZ大单差分
大单差分:IF(TRADENUM>0,(LARGETRDINNUM-LARGETRDOUTNUM)/TRADENUM*100,0),NODRAW;
DDZ1:=大单差分*7;
DDZ2:=大单差分*3;
DRAWBAND(DDZ1,RGB(255,32,32),DDZ2,RGB(0,224,224));