通达信大资金加速副图指标 源码 贴图
VAR1:=EMA(C,6)-EMA(C,12); VAR2:=EMA(VAR1,5); VAR3:=VAR1-VAR2; VAR4:=ABS(C-O); VAR5:=VOL/((H-L)*2-VAR4); VAR6:=IF(C>O,VAR5*(H-L),IF(CO,0-VAR5*(H-C+(O-L)),IF(CVAR7:=VAR6/20/1.15; VAR8:=EMA(VAR7*0.55+REF(VAR7,1)*0.33+REF(VAR7,2)*0.22,3); VAR9:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); VAR11:=VAR9[REF(VOL,1) AND CLOSE>REF(CLOSE,1);] VAR12:=(HIGH+LOW+CLOSE)/3; VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14)); VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70)); VAR15:=IF(VAR13>=150 AND VAR13<200 AND VAR14>=150 AND VAR14<200,10,0); VAR16:=IF(VAR13<=-150 AND VAR13>-200 AND VAR14<=-150 AND VAR14>-200,-10,VAR15); VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100; VAR18:=100-ABS(VAR17); VAR19:=IF(VAR18<90,VAR18,100); VAR20:=IF(MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20>0,MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20,0); VAR25:=IF(VAR14>=200 AND VAR13>=150,15,IF(VAR14<=-200 AND VAR13<=-150,-15,VAR16))+60; VAR26:=VAR20>48 AND VAR25>60 AND VAR19<100; STICKLINE(VAR8>0 AND VAR3>0,VAR3/30,0,1,0),COLORRED; STICKLINE(VAR8>0 AND VAR3<0,0,VAR3/30,1,0),COLORGREEN; DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,0.045,' ←大资金建仓'),COLOR80FFFF; STICKLINE(VAR11 AND COUNT(VAR11,30)=1,0,0.05,2,0),COLORFF00FF; DRAWTEXT(VAR26 AND COUNT(VAR26,30)=1,0.045,' ←加速拉升'),LINETHICK1,COLOR0000FF; STICKLINE(VAR26 AND COUNT(VAR26,30)=1,0,0.05,2,0),COLOR0000FF;
|