https://mp.weixin.qq.com/s/K2_sgodmV35kJEKEkFrLuw 板后回踩5日線股票量化研究所 1周前 使用說明: 這里發(fā)的指標(biāo)均是通達(dá)信電腦版軟件,手機(jī)軟件有的可能不通用。不會新建公式的退到公眾號下方“指標(biāo)幫助”——“新建指標(biāo)方法”或公眾號回復(fù)“指標(biāo)幫助”即可獲得新建教程。 說明:同花順和通達(dá)信都能通用的垡指標(biāo),金叉紅色箭頭買入,死叉綠色箭頭賣出。 指標(biāo)源碼: TR1:=MAX(HIGH-LOW,HIGH-REF(CLOSE,1)); XT:=MAX(TR1,REF(CLOSE,1)-LOW); YT:MA((EMA(XT,39)/CLOSE)*100,10),COLORYELLOW; YN:MA((TMA(XT,19/20,1/20)/CLOSE)*100,5),COLORGREEN; DRAWICON(YT>REF(YT,1) AND REF(YT,1)<REF(YT,2),YT,1); DRAWICON(YT<REF(YT,1) AND REF(YT,1)>REF(YT,2),YT,2); N:=21; M:=21; VPT:=SUM(VOL/EMA(VOL,N)*(CLOSE-REF(CLOSE,1))/REF(CLOSE,1),0); MAVPT:=EMA(VPT,M); A:=(VPT-MAVPT)*50,COLORWHITE; AA:=(EMA(A,3))*2,COLORYELLOW; BB:=EMA(AA,3),COLORRED; CC:=0,COLORCYAN; DRAWICON(CROSS(YT,0),0-0.02,1); DRAWICON(CROSS(0,YT),0+0.02,2); B:=ZIG(3,10),COLORRED; G:=MA(B,2),COLORYELLOW; D:=EMA(B,34),COLORGREEN; J:=EMA(B,144),COLORLIGREEN; DRAWTEXT(CROSS(B,G),YT,'建倉'),COLORYELLOW; DRAWTEXT(CROSS(G,B),YT,'清倉'),COLORGREEN; F:=100*(C-REF(C,1))/REF(C,1); JD:=IF(C<REF(O,1) AND F<0,1,0); S1:=JD; MR:=IF(C<REF(O,2) AND F<0,1,0),LINETHICK0; S2:=MR; A1:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,3) ,REF(ZIG(3 ,3),1)); A2:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,5) ,REF(ZIG(3 ,5),1)); DRAWTEXT(A1 AND A2 OR D<0,YT,'加倉'),COLORYELLOW; DRAWICON(A1 AND A2,YT,1); VAR3:=PEAKBARS(3,5,1)<10; VAR5:=IF(VAR3=1,2,0); 頂:= IF(VAR5=2,2,0); 頂A:=IF(頂>REF(頂,1),1,0),STICK,COLORCYAN, LINETHICK2; DRAWTEXT(頂A=1,YT,'減倉'),COLORGREEN; DRAWICON(頂A=1,YT,2); DRAWTEXT(A>REF(A,1) AND REF(A,1)<REF(A,2) AND (CROSS(B,G) AND (A1 AND A2 OR D<0)) ,YT,'BUY'),COLORYELLOW; DRAWTEXT(CROSS(G,B) ,YT,'SELL'),COLORGREEN; 文章來源網(wǎng)絡(luò)搜集整理,如有侵權(quán)請告之刪除。平臺搜集的經(jīng)驗、指標(biāo)等只做學(xué)習(xí)傳播,不構(gòu)成直接意見或建議。股市有風(fēng)險,投資需謹(jǐn)慎。沒有關(guān)注的朋友長按二維碼圖片識別關(guān)注,后期更多指標(biāo)分享。 |
|