/* N1:=10;N2:=3;N3:=6;
LXG入:=sum((bigorder(1,2)-bigorder(2,2))*amount,5)/sum(amount,5)>;
LXG出:=sum((bigorder(1,2)-bigorder(2,2))*amount,5)/sum(amount,5)<-;
当日成交:amount*LXG入/10000-amount*LXG出/10000,colorred,linethick0;
HS:=vol/capital;
DD:=(LXG入-LXG出);
DT:=HS*DD*100;
当日增减度:DT,colorgreen,linethick0;
LXG入1:=sum((bigorder(1,2)-bigorder(2,2))*amount,5)/sum(amount,5)>;
LXG出1:=sum((bigorder(1,2)-bigorder(2,2))*amount,5)/sum(amount,5)<-;
当日成交1:amount*LXG入1/10000-amount*LXG出1/10000,coloryellow,linethick0;
stickline(当日成交1>0,0,当日成交1,4,0),coloryellow;
stickline(当日成交1<0,当日成交1,0,4,0),colorblue;
stickline(当日成交>0,0,当日成交,4,0),colorred; {红柱}
stickline(当日成交<0,当日成交,0,4,0),colorgreen; {绿柱}
DD1:=(LXG入1-LXG出1);
DT1:=HS*DD1*100;
当日增减度1:DT1,colorblue,linethick0;
当日成交1:=(DT1*capital)*DYNAINFO(11)/10000;
买入手数1:=(capital*DT1)/100;
if (当日成交1>=0)then
begin
Str11:='主力净买入:'+NUMTOSTRN(当日成交1,3)+'万元,';
Str22:= '净买入:'+ NUMTOSTRN(买入手数1,0)+'手,';
Str33:= '当日增减度1:' + NUMTOSTRN(DT1,3);
end;
if 当日成交1<0 then
begin
Str11:='
主力净卖出:'+ NUMTOSTRN(当日成交1,3)+'万元,';
Str22:='净卖出:'+NUMTOSTRN(买入手数1,0)+'手,';
Str33:='当日增减度1:'+NUMTOSTRN(DT1,3);
end;
DRAWFLAGTEXT(DT1>=0,当日成交1,Str11+str22+str33),COLORyellow;
DRAWFLAGTEXT(DT1<0,当日成交1,Str11+str22+str33),COLORblue;
QJJ:=(VOL/(((HIGH-LOW)*2)-ABS((CLOSE-OPEN))));
XVL:=(IF((CLOSE>OPEN),(QJJ*(HIGH-LOW)),IF((CLOSE<OPEN),(QJJ*((HIGH-OPEN)+(
最准确指标期货指标公式文华财经指标 多空趋势指标 来自淘豆网m.daumloan.com转载请标明出处.