根据流入,流出的量,计算出流入的资金且大于2天
亿:=AMOUNT/100000000,COLORFF00FF;
VAR1P:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
流入亿:=IF(CLOSE>OPEN,VAR1P*(HIGH-LOW),IF(CLOSE<OPEN,VAR1P*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2))/100000000,COLORRED;
流出亿:=IF(CLOSE>OPEN,0-VAR1P*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1P*(HIGH-LOW),0-AMOUNT/2))/100000000,COLOR00FF00;
额亿:=流入亿+流出亿,COLORFFFF00;
WW:=((额亿>0.50) AND (DAY>2));
DRAWTEXT(WW,流入亿*0.80,'B'),COLORCC00FF,LINETHICK1;
71233115.jpg
|