暴涨主图指标通达信指标公式源码

暴涨主图指标

暴涨主图

MA5:MA(CLOSE,M1); MA10:MA(CLOSE,M2); MA24:MA(CLOSE,M3); MA30:MA(CLOSE,M4); MA60:MA(CLOSE,M5); MA120:MA(CLOSE,M6); MA250:MA(CLOSE,M7);

DIF:=EMA(DCLOSE,12)-EMA(DCLOSE,26); DEA:=EMA(DIF,9);

AAA:=(DIF-DEA)*2*60;

起爆:=CROSS(AAA-REF(AAA,1),15),COLORRED,LINETHICK2;

DRAWTEXT(起爆,L*0.99,'◆■◆↖暴张'),COLORYELLOW,LINETHICK2; STICKLINE(REF(COUNT(CMA(REF(HHV((C+L+O+H)/4,40),1),3) AND C>O,C,O,1.3,0),COLORYELLOW;

TYX2:=MA(REF(HHV((C+L+O+H)/4,10),1),3);

STICKLINE(REF(COUNT(CTYX2 AND

C>O,C,O,1.3,0),COLORBLUE;DRAWTEXT(HIGH>REF(HIGH,1) AND REF(HIGH,2)>REF(HIGH,1) AND LOW>REF(LOW,1) AND REF(LOW,2)>REF(LOW,1)

AND MA(CLOSE,5)

力:=EMA(((2*C+H+L)/4-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,13){*VAR2},COLORRED;

散户:=EMA(0.667*REF(主力,1)+0.333*主力,2),COLORFF9933; 上扬:IF(CROSS(主力,30) AND 散户<主

力,L,DRAWNULL),POINTDOT,LINETHICK7,COLORLIMAGENTA; {35,STICK,LINETHICK2,COLOR000000;

强弱分界线:=50, POINTDOT, LINETHICK2, COLORFFFF00;} 买入脉冲:IF(CROSS(主力,散户) AND 主力

<35,L*0.99,DRAWNULL),POINTDOT,LINETHICK7,COLORLIBLUE; VAR1:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100; 操盘线:=SMA(VAR1,5,1),LINETHICK2,COLORRED;

趋势线:=SMA(操盘线,3,1),LINETHICK2,COLORYELLOW; 买入航标:IF(CROSS(操盘线,趋势线) AND 趋势线

<25,L*0.98,DRAWNULL),POINTDOT,LINETHICK5,COLORRED; 卖出脉冲:IF(CROSS(散户,主力) AND 散

户>75,H*1.03,DRAWNULL),CROSSDOT,LINETHICK3,COLORGRAY;

DRAWTEXT(CROSS(主力,散户) AND 主力<22,L,'起动'),COLORYELLOW; DRAWTEXT(CROSS(主力,30) AND 散户<主力,L,'上扬 '),COLOR00CCFF; DRAWTEXT(CROSS(主力,65) AND 散户<主力,H,'冲顶 '),COLOR9933FF; DRAWTEXT(CROSS(主力,75) AND 散户<主力,H,'小心被套'),COLORRED; DRAWTEXT(CROSS(散户,主力) AND 散户>75,H,'头部'), COLORYELLOW; DRAWTEXT(买入航标>0,L,'买入'),COLORMAGENTA;

DRAWTEXT(CROSS(趋势线,操盘线)AND 操盘线>70,H*1.02,'卖出'),COLOR00FF00;

FA:=BARSLAST(CROSS(MA10,MA5)) AND CROSS(MA5,MA10);

FB:=FA AND MA5>MA30 AND MA10>MA30 AND MA10>REF(MA10,1); DRAWTEXT(FB,L-0.58,'★追涨'),COLORRED; V1:=EMA(CLOSE,5);

V2:=EMA(EMA(CLOSE,90)*1.01,10);

DRAWTEXT(CROSS(V1,V2),V1+0.05,'牛起步'),COLOR00FF00; VARA1:=LLV(LOW,21); VARA2:=HHV(HIGH,21);

AK1:=EMA((((CLOSE - VARA1) / (VARA2 - VARA1)) * 100),5); AK:=EMA((((CLOSE - VARA1) / (VARA2 - VARA1)) * 50),13); AB:=CROSS(AK1,AK);

DRAWTEXT((AB = 1),(LOW * 0.99),'○关注'),COLORYELLOW; AA1:=AMOUNT/V; BB1:=L

CC1:=(C-REF(C,1))/REF(C,1)*100>1.2; DD1:=L

介入:=BB1 AND CC1 AND DD1 AND EE1,LINETHICK0,COLOR0099FF; DRAWTEXT(介入,L*0.99,'介入'),COLOR0099FF; VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);

VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);

DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.93),'★买入 '),COLOR00FFFF; DRAWTEXT(FILTER((VAR4AA>90),35),(LOW)*(0.99000001),'★加仓

'),COLOR00FFFF;

VZ:=INTPART(AMOUNT)/INTPART(V)/100;

DRAWTEXT_FIX(1,0.00,0,0,'所属地区:')COLOR00FFFF; DRAWTEXT_FIX(1,0.07,0,0,DYBLOCK)COLOR00FFFF;

DRAWTEXT_FIX(1,0.00,0.06,0,'所属行业:')COLORFF00FF; DRAWTEXT_FIX(1,0.07,0.06,0,HYBLOCK)COLORFF00FF; EMA20:EMA(C,20),COLORWHITE,NODRAW; EMA40:EMA(C,40),COLORYELLOW,NODRAW; EMA60:EMA(C,60),COLORFF00FF; MA020:=EMA(CLOSE,20); MA040:=EMA(CLOSE,40); MA060:=EMA(CLOSE,60);

A1:=OPENMAX(MA020,MAX(MA040,MA060)); A3:=V/MA(V,10)>1.2; A4:=C/REF(C,1)>1.049;

A5:=VOL/REF(VOL,1)>=1.9;

出水芙蓉:=A1 AND A2 AND A3 AND A4 AND A5 AND OMA060; DRAWTEXT(出水芙蓉,H-0.20,'出水芙蓉');

联系客服:779662525#qq.com(#替换为@) 苏ICP备20003344号-4