https://mp.weixin.qq.com/s/K2_sgodmV35kJEKEkFrLuw
1周前
使用說明:
這里發(fā)的指標均是通達信電腦版軟件,手機軟件有的可能不通用。不會新建公式的退到公眾號下方“指標幫助”——“新建指標方法”或公眾號回復“指標幫助”即可獲得新建教程。
說明:同花順和通達信都能通用的垡指標,金叉紅色箭頭買入,死叉綠色箭頭賣出。
指標源碼:
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;
文章來源網絡搜集整理,如有侵權請告之刪除。平臺搜集的經驗、指標等只做學習傳播,不構成直接意見或建議。股市有風險,投資需謹慎。沒有關注的朋友長按二維碼圖片識別關注,后期更多指標分享。
聯(lián)系客服