N日内净流入:SUM(IF(CLOSE>OPEN,VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN))*(HIGH-LOW),IF(CLOSE<OPEN,VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN))*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2))+IF(CLOSE>OPEN,0-VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN))*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN))*(HIGH-LOW),0-VOL/2)),5),LINETHICK2,COLORGREEN;
连红天:BARSLASTCOUNT(IF(CLOSE>OPEN,VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN))*(HIGH-LOW),IF(CLOSE<OPEN,VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN))*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2))+IF(CLOSE>OPEN,0-VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN))*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN))*(HIGH-LOW),0-VOL/2))>0);