成交額:=V*C/100,NODRAW; A2:=SUM((IF(((成交額/8>20) AND (CLOSE>(REF(CLOSE,1)))),成交額,0)),0); A3:=SUM((IF(((成交額/8>20) AND (CLOSE<(REF(CLOSE,1)))),成交額,0)),0); A6:=(A2+A3); A7:=IF((ISLASTBAR),((100*A2)/A6),0); A8:=IF((ISLASTBAR),((100*A3)/A6),0); DD1:=1; AAA1:=STRCAT(STRCAT(機(jī)構(gòu)買,CON2STR((100*A2)/A6,0)),%%); AAA2:=STRCAT(STRCAT(機(jī)構(gòu)賣,CON2STR((100*A3)/A6,0)),%%); AAA3:=STRCAT(STRCAT(總買入,CON2STR((100*(A2-A3))/A6,0)),%%); DRAWTEXT_FIX(DD1=1,0,0.02,0,AAA1),COLORRED; DRAWTEXT_FIX(DD1=1,0,0.13,0,AAA2),COLOR00FF00; DRAWTEXT_FIX(DD1=1,0,0.24,0,AAA3),COLOR00FFFF; |
|
來(lái)自: 魏源wy > 《指標(biāo)公式》