通達(dá)信【量化分區(qū)】副圖 【量化分區(qū)】副圖指標(biāo)-可一眼判斷古票處于的區(qū)域,底部區(qū)適合抄底,風(fēng)險(xiǎn)區(qū)注意出貨,逃頂區(qū)注意清倉,最好在強(qiáng)勢區(qū)等待風(fēng)險(xiǎn)提示就出,不同區(qū)域供大家參考。(指標(biāo)僅供學(xué)習(xí))注意:底部復(fù)制源碼 副圖公式源碼 STICKLINE(C>0,0,10,5,0),COLOR00008A; STICKLINE(C>0,10,50,5,0),COLOR63006A; STICKLINE(C>0,50,80,5,0),COLOR657600; STICKLINE(C>0,80,90,5,0),COLOR00BBBB; STICKLINE(C>0,90,100,5,0),COLOR79B715; 走勢A:=SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1) ,COLORGREEN,LINETHICK2; DRAWBAND(走勢A,RGB(110,0,20),50,RGB(60,60,60)); IF(走勢A>REF(走勢A,1), 走勢A,DRAWNULL), COLORRED,LINETHICK2; 走勢B:=SMA(走勢A,3,1),COLOR00FFFF, LINETHICK2; GZGZH:走勢A; GCGN:走勢B;DRAWBAND(GZGZH,RGB(180,0,0),GCGN,RGB(0,150,180)); IF( 走勢A>走勢B,走勢B,DRAWNULL), COLORFF00FF, LINETHICK2; IF( 走勢A<走勢B,走勢B,DRAWNULL) ,COLORFFFF00,LINETHICK2; RSV:=(CLOSE-LLV(CLOSE,9))/(HHV(CLOSE,9)-LLV(CLOSE,9))*100; K:=SMA(RSV,3,1);D:=SMA(K,3,1);TYP:=(HIGH+LOW+CLOSE)/3; CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)); DIFF:=EMA(CLOSE,2)-EMA(CLOSE,55); DEA:=EMA(DIFF,6);MACD:=2*(DIFF-DEA); 轉(zhuǎn)折點(diǎn):=IF(K>D AND CCI>0 AND DIFF>DEA AND MACD>0,1,0); STICKLINE(轉(zhuǎn)折點(diǎn)=1,49,51,4,0),COLORFF00FF;STICKLINE(轉(zhuǎn)折點(diǎn)=0,49,51,4,0),COLORCYAN; VR2:=REF(LOW,1);VR3:=SMA(ABS(LOW-VR2),3,1)/SMA(MAX(LOW-VR2,0),3,1)*100; VR4:=EMA(IF(CLOSE*1.3,VR3*10,VR3/10),3);VR5:=LLV(LOW,30);VR6:=HHV(VR4,30); VR7:=IF(MA(CLOSE,58),1,0);VR8:=EMA(IF(LOW<=VR5,(VR4+VR6*2)/2,0),3)/618*VR7; VR9:=IF(VR8>100,100,VR8);關(guān)注動(dòng)向:IF(VR9>-150,VR9,0),COLORFF00FF,LINETHICK2; 洗盤:IF(VR9<REF(VR9,1),VR9,0),COLORGREEN,LINETHICK2; STICKLINE(走勢A>=90,102,112,1,0),COLOR00FFFF; STICKLINE(走勢A>=80,102,107,1,0),COLORFFFF00; STICKLINE(走勢A<=10,-1,-7,1,0),COLOR0000FF; STICKLINE(C>0,90,90,2,0),COLORDDDDDD; STICKLINE(C>0,80,80,2,0),COLORDDDDDD; STICKLINE(C>0,10,10,2,0),COLOR00DDDD; DRAWTEXT(CURRBARSCOUNT=38,8,'底部區(qū)'),COLORGREEN; DRAWTEXT(CURRBARSCOUNT=38,35,'反彈區(qū)'),COLOR00FFFF; DRAWTEXT(CURRBARSCOUNT=38,70,'強(qiáng)勢區(qū)'),COLOR00FFFF; DRAWTEXT(CURRBARSCOUNT=38,87,'風(fēng)險(xiǎn)區(qū)'),COLOR0000FF; DRAWTEXT(CURRBARSCOUNT=38,104,'逃頂區(qū)'),COLORFFFF00; 公:DRAWNULL,COLORCCCCCC;眾:DRAWNULL,COLORCCCCCC;號(hào):DRAWNULL,COLORCCCCCC;股市客棧:DRAWNULL,COLORRED; 本文中的指標(biāo)公式僅供大家學(xué)習(xí)與交流,請勿用于股票交易中。 股市有風(fēng)險(xiǎn),風(fēng)險(xiǎn)請自擔(dān),入市需謹(jǐn)慎。 |
|