N:=5;
PJ:=(2*C+O+H+L)/5;
资金方向:SUM(AMOUNT*((PJ-REF(PJ,1))/REF(PJ,1)),N),NODRAW;
STICKLINE(资金方向>0,0,资金方向,2,0),COLORRED;
STICKLINE(资金方向<0,0,资金方向,2,0),COLORCYAN;
N:=5;
PJ:=(2*C+O+H+L)/5;
资金方向:SUM(AMOUNT*((PJ-REF(PJ,1))/REF(PJ,1)),N),NODRAW;
STICKLINE(资金方向>0,0,资金方向,2,0),COLORRED;
STICKLINE(资金方向<0,0,资金方向,2,0),COLORCYAN;