在线检测未来函数

主力资金线(通达信)

来源:Internet,编辑:股旁网,2010-05-24

AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+ (CLOSE-LOW)),VOL/2))/25000,LINETHICK0;
卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0- AA*(HIGH-LOW),0-VOL/2))/25000,LINETHICK0,COLORCYAN;
一日资金流入:AMOUNT*买量*0.768/10000,COLORRED,LINETHICK0;
一日资金流出:AMOUNT*卖量/10000,COLORGREEN,LINETHICK0;
净额:一日资金流入+一日资金流出,LINETHICK0;
十日飘红:COUNT(净额>0,10),COLORRED;
连续飘红:LAST(净额>0,3,1);
STICKLINE(净额>0,0,净额,3,0),COLORRED,LINETHICK2;
STICKLINE(净额<0,净额,0,3,0),COLORGREEN,LINETHICK2;
0,POINTDOT,COLORWHITE;

 

相关文章