資源描述:
《【股票指標(biāo)公式下載】-【大智慧】背離共振(底背、抄底、逃頂、趨勢(shì))》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫(kù)。
1、【大智慧】背離共振(底背.抄底.逃頂.趨勢(shì))?指標(biāo)公式源碼{MA3:二MA(CLOSE,3);MA5:=MA(CLOSE,5);MAIO:=MA(CLOSE,10);MA20:=MA(CLOSE,20);MA30:=MA(CLOSE,30);MA60:二MA(CLOSE,60);MAI20:=MA(CLOSE,120);MA250:=MA(CLOSE,250);}DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:二EMA(D1FF,8);Al:=BARSLAST(REF(CROSS(DIFF,DEA),1));Bl:二
2、REF(C,A1+1)>CANDREF(DIFF,Al+1)〈DIFFANDCROSS(DIFF,DEA);MACD底背:IF(Bl>0,50,0)ANDL~0.1;DRAWTEXT(MACD底背,72,'MACDY底背');RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);A2:=BARSLAST(REF(CROSS(K,D),1));B2:二REF(C,A2+1)>CANDREF(K,A2+1)3、KDJ底背:1F(B2>O,50,0)ANDL-0.25;LC:=REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;A3:=BARSLAST(REF(CROSS(RSI1,RSI2),1));B3:=REF(C,A3+1)>CANDREF(RSI1,A3+1)0,
4、50,0)ANDL-0.4;全底背:IF(MACD底背ORKDJ底背ORRSI底背,50,0),COLORFFOOFF;DRAWTEXT(MACD底背,50,'M底背'),COLOROOOOFF;DRAWTEXT(KDJ底背,65,'K底背'),COLOROOOOFF;DRAWTEXT(RSI底背,80,'R底背'),COLOROOOOFF;DRAWTEXT(全底背,100,'全底背*),COLORYELLOW,LINETHICK2;{}趨勢(shì):5*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)
5、)*100,5,1)-3*SMA(SMA((CLOSE-LLV(low,27))/(nnv(high,27)-llv(low,27))*100,5,1),3,1)-sma(sma(sma((close-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2,1),IJNETHTCKO,C0L0R7F52AF;趨勢(shì)1:EMA(MA(趨勢(shì),5),3),L1NETH1CKO,C0L0RA6B8C1;STICKLINE(趨勢(shì)〉二趨勢(shì)1,趨勢(shì),趨勢(shì)1,5,0),C0L0R7F52AF;STICKLI
6、NE(趨勢(shì)〈趨勢(shì)1,趨勢(shì),趨勢(shì)1,5,0),C0L0RA6B8C1;STICKLINE(趨勢(shì)>108AND趨勢(shì)〉二趨勢(shì)1,趨勢(shì),108,5,0),COLORFFOOOO;STTCKLTNE(趨勢(shì)1>108AND趨勢(shì)〈趨勢(shì)1,趨勢(shì)1,10&5,0),COLORFFFFFF;ST1CKL1NEC趨勢(shì)〈0AND趨勢(shì)〈趨勢(shì)1,趨勢(shì),0,5,0),COLORFOOFFO;STICKLINE(趨勢(shì)KOAND趨勢(shì)〉趨勢(shì)1,趨勢(shì)1,0,5,0),COLORFOFOOO;Vl:=MA(CLOSE,5)=IIIIV(MA(CLOSE,5),20);V2:=MA(C
7、LOSE,5)>MA(CLOSE,20);V3:二COUNT(MA(CLOSE,1)>REF(CLOSE,1),3)二3;風(fēng)險(xiǎn):1F(V1ANDV2ANDV3,30,0),L1NETH1CK0,STICK,COLOROOFFOO;VI1:二MA(CLOSE,5)二HHV(MA(CLOSE,5),120);V21:=MA(CLOSE,5)>MA(CL0SE,120);V31:=COUNT(MA(CLOSE,1)>REF(CLOSE,1),3)=3;風(fēng)險(xiǎn)1:TF(V11ANDV21ANDV31,60,0),LTNETHTCKO,STICK,COLO
8、RFOFOOO;底部:5,L1NETH1CK0,COLOROOFFFF;抄底:IF(CROSS(趨勢(shì),底部),40,0),LINETHICK2,STI