通达信筹码牛副图指标 源码 贴图
获利盘比例:=WINNER(C)-REF(WINNER(C),1); 主力筹码估算:=EMA(WINNER(CLOSE)*70,3); 散户筹码估算:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3); 散户套牢比率:=散户筹码估算/(主力筹码估算+散户筹码估算)*100; 主力控盘比率:=主力筹码估算/(主力筹码估算+散户筹码估算)*100; DRAWTEXT_FIX(C>O,0.03,0.0,0,'主力筹码估算:'),COLORGREEN; DRAWTEXT_FIX(C>O,0.13,0.0,0,' %'),COLORFFCC99; DRAWNUMBER_FIX(1,0.100,0.00,0,主力筹码估算),COLORRED; DRAWTEXT_FIX(C>0,0.03,0.06,0,'主力控盘比率:'),COLORGREEN; DRAWTEXT_FIX(C>0,0.13,0.06,0,' %'),COLORFFCC99; DRAWNUMBER_FIX(1,0.100,0.06,0,主力控盘比率),COLORRED; VAR1:=REF(LOW,1); VAR2:=SMA(ABS(LOW-VAR1),3,1)/SMA(MAX(LOW-VAR1,0),3,1)*100; VAR3:=EMA(IF(CLOSE*1.2,VAR2*3,VAR2/10),3); VAR4:=LLV(LOW,38); VAR5:=HHV(VAR3,38); VAR6:=IF(LLV(LOW,90),1,0); VAR7:=EMA(IF(LOW<=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6; VAR8:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100; VAR9:=SMA(VAR8,13,8); 主力吸货:VAR7,COLOR111111; 筹码专用线:2.00,COLOR111111; STICKLINE(VAR7>REF(VAR7,1),0,VAR7,2,0 ),COLORRED; STICKLINE(VAR7MB1:49.00,COLOR333333,DOTLINE; MB2:=(100*(CLOSE-(MA(CLOSE,30))))/(MA(CLOSE,30)); MB3:=100-((90*((HHV(HIGH,20))-CLOSE))/((HHV(HIGH,20))-(LLV(LOW,20)))); MB4:=100-(MA(((100*((HHV(HIGH,6))-CLOSE))/((HHV(HIGH,6))-(LLV(LOW,6)))),28)); MB5:=MA(MB4,6); 盈利筹码:IF((MB3套牢筹码:IF((MB3>MB5),MB5,MB3),COLORFFBB00,LINETHICK2; 筹码均量:(MB5),COLORFF00FF,LINETHICK2; STICKLINE(盈利筹码>筹码均量,盈利筹码,筹码均量,0,1),COLORYELLOW; STICKLINE(套牢筹码<筹码均量,套牢筹码,筹码均量,0,1),COLOR999999; MB6:EMA(MB3,1),COLOR0066FF; MB7:=EMA(MB6,5),COLORRED; MB8:套牢筹码,COLORFFBB00,LINETHICK2; STICKLINE(套牢筹码>MB7,套牢筹码,MB7,0,1),COLORYELLOW; STICKLINE(MB7>盈利筹码,MB7,盈利筹码,0,1),COLOR999999; 底线:0.00,COLORBLUE,LINETHICK2;
|