当前位置:首页 > 通达信 > 正文

【通达信免费源码】短线买卖 逃顶(指标 副图 贴图)重磅推出

2022-07-06未知 编 辑:掌上指标


VAR1:=(2*CLOSE+HIGH+LOW)/4;
 
VAR2:=EXPMA(EXPMA(EXPMA(VAR1,4),4),4);
 
多空力度: (VAR2-REF(VAR2,1))/REF(VAR2,1)*100, COLORSTICK  LINETHICK4;
 
短期趋势: MA(多空力度,1),COLORMAGENTA;
 
中期趋势: MA(短期趋势,3);
 
DRAWTEXT(CROSS(中期趋势, 短期趋势) AND REF(短期趋势,1)>1, REF(短期趋势,3), '逃'), COLOR00FF00,LINETHICK5;
 
▲逢低买入: DRAWTEXT(REF(CROSS(中期趋势,短期趋势),1) AND 中期趋势>1.8*短期趋势,短期趋势,'▲低买'), COLOR00FFFF, LINETHICK5;
 
▲低买: DRAWTEXT(REF(CROSS(短期趋势,中期趋势),1) AND 短期趋势>1.3*中期趋势,中期趋势,'▲低买'),COLORLIRED,LINETHICK2;
 
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, LINETHICK4;
 
DRAWTEXT(顶A=1,0.8,'卖'),COLOR00FF00;
 
RSVI:=(CLOSE-LLV(LOW,50))/(HHV(HIGH,50)-LLV(LOW,50))*5;
 
中:=SMA(RSVI,30,1),COLORWHITE,LINETHICK2;
 
长:=SMA(中,3,1),COLOR00FF00,LINETHICK2;
 
短:=3*中-2*长,COLORRED,LINETHICK4;
 
RV:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(HIGH,60))*3;
 
KP:SMA(RV,5,1)LINETHICK3,COLORWHITE;
 
DP:SMA(KP,2,1),COLOR00FF00,LINETHICK3;
 
JP:3*KP-2*DP,COLORRED,LINETHICK3;
 
B:=ZIG(3,50/5),COLORRED;
 
G:=MA(B,2),COLORYELLOW;
 
D:CROSS(B,G)*-0.5,STICK,COLORMAGENTA,LINETHICK3;
 
W:CROSS(G,B)*1.5,STICK,COLORGREEN,LINETHICK5;
 
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));
 
A3:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1));
 
STICKLINE(A1 AND A2 AND A3,0.3,1,3,0)COLORYELLOW;
 
STICKLINE(A1 AND A2 AND A3,0.8,1.2,3,0)COLORFF00FF;
 
STICKLINE(A1 AND A2 ,-0.2,-0.8,3,0)COLORRED ;
 
STICKLINE(A1 AND A2 ,-0.1,-0.4,3,0)COLORYELLOW;DRAWTEXT_FIX(C>O,0.01,0.9,0,'.'),COLORRED;
大家都爱看
查看更多热点新闻
点击进入掌上指标资源网-下载各类指标