通达信资金合击副图指标 源码 贴图
YM1:=(3*C+L+O+H)/6; YM2:=(20*YM1+19*REF(YM1,1)+18*REF(YM1,2)+17*REF(YM1,3)+16*REF(YM1,4)+15*REF(YM1,5)+14*REF(YM1,6)+13*REF(YM1,7)+12*REF(YM1,8)+11*REF(YM1,9)+10*REF(YM1,10)+9*REF(YM1,11)+8*REF(YM1,12)+7*REF(YM1,13)+6*REF(YM1,14)+5*REF(YM1,15)+4*REF(YM1,16)+3*REF(YM1,17)+2*REF(YM1,18)+REF(YM1,20))/210; YM3:=EMA(YM2,13); YM4:=EMA(C,5); YM5:=EMA(YM4,8); YM6:=EMA(YM5,13); YM7:=EMA(YM6,50); YM8:=100*(C-LLV(L,34))/(HHV(C,34)-LLV(L,34)); YM9:=REF(YM8,1)<1 AND YM8>1; YM10:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1); YM11:=LLV(YM10,3); YM12:=MA(YM10,12); YM13:=1; YM14:=LLV(LOW,10); YM15:=HHV(HIGH,25); YM16:=EMA((CLOSE-YM14)/(YM15-YM14)*4,4)*YM13*30; YM17:=(3*C+L+O+H)/6; YM18:=EMA(YM17,6); YM19:=EMA(YM17,5); YM20:=EMA(CLOSE,12)-EMA(CLOSE,26); YM21:=EMA(YM20,9); YM22:=(YM20-YM21)*2; YM23:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; YM24:=SMA(YM23,3,1); YM25:=SMA(YM24,3,1); YM26:=3*YM24-2*YM25; YM27:=EXIST(YM9,3); YM28:=C/REF(C,1)>1+0.01*8; YM29:=YM11>YM12 AND YM10=YM11; YM30:=CROSS(YM18,YM19); YM31:=EXIST(C/REF(C,1)>1+0.01*9,10); YM32:=REF(C,1)[YM3;] YM33:=C/REF(C,1)>1+0.01*8; YM34:=YM3/YM7<1+0.01*20; YM35:=IF(YM27 AND YM28,100,0); YM36:=IF(YM29 AND YM30 AND YM31,100,0); YM37:=IF(YM32 AND YM33 AND YM34,100,0); YM38:=100*(C-LLV(L,34))/(HHV(C,34)-LLV(L,34)); YM39:=(AMOUNT/C)/(HHV(AMOUNT,34)/HHV(C,34)); YM40:=IF(YM39>1,1,YM39)*100; YM41:=YM40>=97 AND YM38>90 AND YM12<50; YM42:=BARSLAST(CROSS(YM16,YM12))<10; YMGS:=C/REF(C,1)>1+0.01*8; GS:=YM41 AND YM42 AND C>O AND YMGS; 资金1:REF(YM8,1)<1 AND YM8>1,COLORWHITE; 资金2:EXIST(CROSS(YM18,YM19),2),COLORGREEN; 资金3:YM11>YM12 AND YM10=YM11 AND REF(YM11,2)资金4:YM26YM21 AND REF(YM26,1)>REF(YM25,1),COLORYELLOW; 资金5:YM22<0 AND REF(YM22>0,1),COLORRED; 资金6:CROSS(YM12,YM16),COLORGRAY; STICKLINE(资金1,0,20,3,0),COLORWHITE; STICKLINE(资金2,20,40,3,0),COLORGREEN; STICKLINE(资金3,40,60,3,0),COLORFF00FF; STICKLINE(资金4,60,80,3,0),COLORYELLOW; STICKLINE(资金5,80,100,3,0),COLORRED; STICKLINE(资金6,100,120,3,0),COLORGRAY; STICKLINE(1,0,1,3,0),COLORBLACK; DRAWTEXT_FIX(1,0.01,0.01,0,'资金1, 下降反弹股'),COLORWHITE; DRAWTEXT_FIX(1,0.01,0.14,0,'资金2, 二次探底股'),COLORGREEN; DRAWTEXT_FIX(1,0.01,0.27,0,'资金3, 强势回调股'),COLORFF00FF; DRAWTEXT_FIX(1,0.01,0.40,0,'资金4, 通道回调股'),COLORYELLOW; DRAWTEXT_FIX(1,0.01,0.53,0,'资金5, 横盘转强股'),COLORRED; DRAWTEXT_FIX(1,0.01,0.66,0,'资金6, 打压转升股'),COLORGRAY; 合击:((GS AND YM35) OR (GS AND YM36) OR (GS AND YM37))*100,COLORYELLOW,LINETHICK2;
|