資源描述:
《【股票指標公式下載】-【通達信】漲停秘笈(頂背、波段低吸)》由會員上傳分享,免費在線閱讀,更多相關內(nèi)容在教育資源-天天文庫。
1、【通達信】漲停秘笈(頂背、波段低吸)-指標公式源碼M20:MA(CLOSE,20),COLORWHITE;M60:MA(CLOSE,60),COLORLIBLUE;MA144:=MA(CLOSE,144);DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);A1:=BARSLAST(REF(CROSS(DEA,DIFF),1));A2:=BARSLAST(REF(CROSS(DIFF,DEA),1));VAR1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34
2、)-LLV(LOW,34)),5)-20;HONGJU:=IF(VAR1>0,VAR1,0);GAOPAO:=CROSS(DIFF,DEA)ANDHONGJU>=40;DRAWICON(GAOPAO,HIGH*1.01,6);DRAWTEXT(GAOPAO,HIGH*1.02,'頂背'),COLORGREEN;LLVV:=LLV(LOW,5);DIXI:=CROSS(DEA,DIFF)ANDREF(DEA,A1+1)>0ANDDEA<0;DRAWICON(DIXI,LOW*0.96,38);DRAWTEXT(DIXI,LOW*0.96,'波段低
3、吸'),COLORYELLOW;工作線:EMA(CLOSE,17),COLORYELLOW;生命線:MA(CLOSE,56),COLORRED;M0:=MA(CLOSE,5);M10:=MA(CLOSE,12);M1:=MA(CLOSE,20);M30:=MA(CLOSE,30);M2:=MA(CLOSE,60);M3:=MA(CLOSE,240);M4:=MA(CLOSE,120);M41:=MA(CLOSE,41);TJ2:=MA(CLOSE,3)4、-EMA(VAR2,73);SD:=EMA(SK,2);短線:=CROSS(SK,SD)ANDSK<0.05AND(VOL/MA(VOL,5)>2ORCLOSE/REF(CLOSE,1)>0.035ANDCLOSE>EMA(CLOSE,17));STICKLINE(短線,HIGH,LOW,0.5,0),COLORFFFF00;STICKLINE(短線,OPEN,CLOSE,10,1),LINETHICK2,COLORFFFF00;CY:=BARSLAST(短線);MACD雙底:=REF(LOW,A2+1)5、DEA);介入:=COUNT(短線,4)=1ANDCOUNT(MACD雙底,1)=1ANDCLOSE/MA(CLOSE,56)*1000>980ANDCLOSE>OPENANDVOL>=MA(VOL,5)ANDDIFF>=-0.1;DRAWTEXT(介入,LOW*0.96,'起漲點'),COLORRED;DRAWICON(介入,LOW*0.96,1);反向頂背:=REF(CLOSE,A2+1)>CLOSEANDREF(DIFF,A2+1)>DIFFANDCROSS(DEA,DIFF);逃頂:=CROSS(SD,SK)ANDSK>0.2ANDVO
6、L/MA(VOL,5)<2;逃頂成立:=COUNT(逃頂,4)=1ANDCOUNT(反向頂背,1)=1;DRAWICON(逃頂成立,HIGH*1.01,15);DRAWTEXT(逃頂成立,HIGH*1.01,'逃頂'),COLORGREEN;N1G:=CLOSE/REF(CLOSE,1)>=1.097ANDHIGH=CLOSEANDNOT(OPEN=HIGH);A1G:=BARSLAST(N1G);A2G:=LLV(LOW,A1G-1)>REF(LOW,A1G)ANDCLOSE/REF(OPEN,A1G)>1ANDCLOSE/REF(OPEN,
7、A1G)<=1.04;XGGG:=FILTER(A2G,10)ANDA1G>=4ANDA1G<=20;DRAWICON(XGGG,LOW*0.96,41);DRAWTEXT(XGGG,LOW*0.96,'漲停秘笈'),COLORYELLOW;MA20:=MA(CLOSE,20);XPP1:=CROSS(DEA,DIFF)ANDCLOSE>MA20ANDMA20>REF(MA20,1)ANDDIFF>REF(DIFF,A2+1);DRAWICON(XPP1,LOW*0.96,3);DRAWTEXT(XPP1,LOW*0.96,'強勢洗盤'),CO
8、LORWHITE;XPP2:=XPP1ANDA1G>=4ANDA1G<=20;DRAWICON(XPP2,LOW*0.98,17);【通達信】漲停秘笈