资源描述:
《【股票指标公式下载】-【通达信】均线作战(持股区域、突破盘整)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、【通达信】均线作战(持股区域、突破盘整)-指标公式源码M1:=5;M2:=30;M3:=30;M4:=30;JJ:=(CLOSE+HIGH+LOW)/3;A:=EMA(JJ,10);B:=REF(A,1);持股区域:STICKLINE(A>BANDMA(C,5)>REF(MA(C,5),1),A,B,2,0),COLORYELLOW;MA1:MA(CLOSE,M1)COLORWHITE;MA2:MA(CLOSE,M2)COLORGREEN;MA3:MA(CLOSE,M3)COLORGREEN;MA4:MA(CL
2、OSE,M4)COLORGREEN;上升MA1:IF(MA1>REF(MA1,1),MA1,DRAWNULL),COLORRED,LINETHICK1;上升MA2:IF(MA2>REF(MA2,1),MA2,DRAWNULL),COLORRED,LINETHICK1;上升MA3:IF(MA3>REF(MA3,1),MA3,DRAWNULL),COLORRED,LINETHICK1;上升MA4:IF(MA4>REF(MA4,1),MA4,DRAWNULL),COLORRED,LINETHICK1;MA5:=MA(
3、C,5);MA10:=MA(C,10);十天线压力:IF(BOLL[=REF(C,1)ANDREF(O,1)/REF(C,1)>=1.05ANDREF(C,1)][OANDC/O>=1.05ANDC>REF(O,1)ANDREF(VOL,1)]4、OL,2);STICKLINE(BB,O,C,4,0),COLORRED;STICKLINE(BB,O,H,0,0),COLORRED;STICKLINE(BB,L,C,0,0),COLORRED;DRAWTEXT(BB,L*0.98,'追!'),COLORYELLOW;VAR1:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100
5、,5,1),3.2,1);VAR2:=8;CC:=CROSS(VAR1,VAR2);DRAWTEXT(CC,L*0.98,'买'),COLOR0099FF;TYP:=(H+L+C)/3;TYP1:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14))<=20ANDREF(MA(C,21),1)=MA(C,21)ANDL/MA(C,21)>=1.015ANDMA(C,144)>MA
6、(C,250)ANDVV;TJ3:=REF(MA(C,250),90)[MA(C,250)ANDO>MA(C,250);TJ4:=MAX(REF(H,10)ANDREF(H,9)ANDREF(H,8)ANDREF(H,7),REF(H,6));TOUJI:=TYP1ANDTJ1ANDTJ2ANDREF(C,2)/REF(O,2)<1.06ANDC/O<=1.05ANDHHV(H,5)]
7、/LLV(L,30)>=1.65ANDREF(H,5)/REF(L,1)>=1.15ANDREF(C,1)/REF(O,1)<=0.995AND(L[=2)ANDO/REF(L,1)<=1.04ORTYP1ANDTJ1ANDO/REF(L,1)<1.05ANDREF(L,1)/REF(O,4)<=0.85ANDREF(C,1)/REF(O,1)<=1.03ANDO][1.35ANDV]
8、=1.35ANDREF(O,4)/REF(C,2)>=1.08ANDREF(C,2)/REF(O,2)<=0.995AND(REF(L,2)[ ]