通达信主力资金共振强度抓牛擒龙副图指标公式源码:
主力共振1:=EMA(WINNER(C)*70,3);主力共振2:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,3);
主力共振3:=主力共振2/(主力共振1+主力共振2)*100;主力共振4:=主力共振1/(主力共振1+主力共振2)*100;
主力共振5:=MA(主力共振1+主力共振2,13);主力共振6:=BARSLAST(主力共振3<90 AND REF(主力共振3,1)>90);
主力共振7:=EMA(主力共振3,89);主力共振8:=EMA(主力共振4,89);主力共振9:=INTPART(主力共振4-主力共振8);
主力共振10:=EMA(主力共振3,8);主力共振11:=IF(主力共振4-REF(主力共振4,1)>主力共振3-REF(主力共振3,1),1,0);
轴:0,COLORGREEN,DOTLINE,LINETHICK1;资金强度:主力共振9,LINETHICK2,COLORRED;DRAWICON(CROSS(资金强度,0),资金强度,26);
总成交额亿:AMOUNT/100000000,NODRAW;主力共振12:=AMOUNT/((HIGH-LOW)*2-ABS(C-OPEN));
流入亿:=IF(C>OPEN,主力共振12*(HIGH-LOW),IF(C<OPEN,主力共振12*((HIGH-OPEN)+ (C-LOW)),AMOUNT/2))/100000000;
流出亿:=IF(C>OPEN,0-主力共振12*((HIGH-C)+(OPEN- LOW)),IF(C<OPEN,0-主力共振12*(HIGH-LOW),0-AMOUNT/2))/100000000;差额亿:流入亿+流出亿,NODRAW;