真正的上涨(源码 副图 同花顺)资金流正数 出箭头
WJ:=(H+L+C)/3;
V1:=IF(H=L,1,H-MAX(0,C));
V2:=IF(H=L,1,MAX(C,0)-WJ);
V3:=IF(H=L,1,MIN(0,C)-L);
V4:=IF(H=L,1,WJ-MIN(C,0));
V5:=VOL/IF(H=L,4,H-L);
V6:=(V1*V5);
V7:=(V2*V5);
V8:=(V3*V5);
V9:=(V4*V5);
资金流入:(V9+V8),colorred;
资金流出:-(V6+V7),COLOR00FF00;
资金流向:资金流入+资金流出;
十日均:MA(VOL/VOLAMOUNT,10);
成交手数:VOL/VOLAMOUNT;
DRAWTEXT(成交手数 十日均 AND 资金流向=HHV(资金流向,1+BARSLAST(CROSS(资金流向,0))),资金流出,' ');