资金流向 指标介绍
{A成交额_元_全部M=0;主动M=1}
AFBO:=L2_AMO(0,0+M*2);
ADBO:=L2_AMO(1,0+M*2);
APBO:=L2_AMO(2,0+M*2);
ASBO:=L2_AMO(3,0+M*2);
AFSO:=L2_AMO(0,1+M*2);
ADSO:=L2_AMO(1,1+M*2);
APSO:=L2_AMO(2,1+M*2);
ASSO:=L2_AMO(3,1+M*2);
AO:=AFBO+ADBO+APBO+ASBO+AFSO+ADSO+APSO+ASSO;
AFB:=AFBO/AO*100;
ADB:=ADBO/AO*100;
APB:=APBO/AO*100;
ASB:=ASBO/AO*100;
AFS:=AFSO/AO*100;
ADS:=ADSO/AO*100;
APS:=APSO/AO*100;
ASS:=ASSO/AO*100;
DRAWRECTREL(000,10,CONST(ASB),110,RGB(66,0,0));
DRAWRECTREL(CONST(ASB),10,CONST(ASB+APB),110,RGB(122,0,0));
DRAWRECTREL(CONST(ASB+APB),10,CONST(ASB+APB+ADB),110,RGB(177,0,0));
DRAWRECTREL(CONST(ASB+APB+ADB),10,CONST(ASB+APB+ADB+AFB),110,RGB(255,0,0));
DRAWRECTREL(CONST(AFB+ADB+APB+ASB),10,CONST(AFB+ADB+APB+ASB+AFS),110,RGB(0,255,0));
DRAWRECTREL(CONST(AFB+ADB+APB+ASB+AFS),10,CONST(AFB+ADB+APB+ASB+AFS+ADS),110,RGB(0,177,0));
DRAWRECTREL(CONST(AFB+ADB+APB+ASB+AFS+ADS),10,CONST(AFB+ADB+APB+ASB+AFS+ADS+APS),110,RGB(0,122,0));
DRAWRECTREL(CONST(AFB+ADB+APB+ASB+AFS+ADS+APS),10,CONST(AFB+ADB+APB+ASB+AFS+ADS+APS+ASS),110,RGB(0,66,0));
当日净流入:(AFBO+ADBO+APBO+ASBO-AFSO-ADSO-APSO-ASSO)/10000,NODRAW,,COLORYELLOW;
当日%:当日净流入/AO*1000000,NODRAW,COLORYELLOW;
五日:SUM(当日净流入,5),NODRAW,COLORGREEN;
十日:SUM(当日净流入,10),NODRAW,COLORGREEN;
大宗:(AFBO+ADBO-AFSO-ADSO)/10000,NODRAW,COLORMAGENTA;