紫色与绿色线持续上翘,后面紫色上穿0轴买入参考
量:=V;
换手:=V/CAPITAL*100;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));
DLX:=(买盘-(-卖盘))/量*换手;
STICKLINE(DLX>0,0,DLX,2,0),colorred;
STICKLINE(DLX<0,0,DLX,2,0),colorliblue;
STICKLINE(DLX>0,0,DLX,5,0),colorred;
STICKLINE(DLX>0,0,DLX,4,0),COLOR0000CC;
STICKLINE(DLX>0,0,DLX,3,0),COLOR3300CC;
STICKLINE(DLX>0,0,DLX,2,0),COLORBB52FF;
STICKLINE(DLX>0,0,DLX,1,0),COLORA4D1FF;
STICKLINE(DLX<0,0,DLX,5,0),COLOR1EFF1E;
STICKLINE(DLX<0,0,DLX,4,0),COLOR00F700;
STICKLINE(DLX<0,0,DLX,3,0),COLOR51FF51;
STICKLINE(DLX<0,0,DLX,2,0),COLOR75FF75;
STICKLINE(DLX<0,0,DLX,1,0),COLORA4FFA4;
DLX1:SUM(DLX,6),coloryellow;
DLX2:MA(DLX1,5),colormagenta;
DLX3:MA(DLX1,10),colorgreen;
A1:=SUMBARS(VOL,CAPITAL);
CMA:=IF(CAPITAL>0,SUM(AMOUNT,A1)/SUM(VOL,A1)/100,EMA(CLOSE,120));
换手价:CMA,LINETHICK0,COLORFFC0FF;