通达信暴涨公式指标

[复制链接]
查看225 | 回复0 | 2022-7-24 09:03:21 | 显示全部楼层 |阅读模式

 通达信暴涨公式指标

{牛牛指标网提供:www.tdx001.com}

复制内容到剪贴板
  1. 生命线:MA(CLOSE,26),COLORRED,LINETHICK2;STICKLINE(C>=生命线 AND C>=O,C,O,7,0),COLORRED;STICKLINE(C>=生命线 AND C>=O,H,L,0,0),COLORRED;dp:=if(c=INDEXC,0,1);gj:=AMOUNT/v/100 ;   
  2. 多头线:EMA(C,1.5),COLORYELLOW;   
  3. 空头线:EMA(C,5),COLOR00FF00;   
  4. 均衡线:EMA(空头线,5),COLORWHITE;   
  5. varF1:=COUNT(CROSS(多头线,均衡线),2)=1;   
  6. varF2:=COUNT(CROSS(空头线,均衡线),2)=1;   
  7. ZAI:=FILTER(varF1 AND varF2,2);   
  8. DRAWTEXT(ZAI,均衡线*0.98,' 主力拉升'),color00ff00;   
  9. mtm:=close-ref(close,1);   
  10. dx:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6);   
  11. dy:=hhv(dx,2)=hhv(dx,7) and count(dx>50,2) and cross(ma(dx,2),dx);   
  12. lc:=ref(close,1);   
  13. rsi:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;   
  14. ZDF:=(C-REF(C,1))/REF(C,1)*100;   
  15. STICKLINE(ZDF>9.8,O,C,6,0),COLORRED;   
  16. STICKLINE(ZDF<-9.8,O,C,6,0),COLORBLUE;   
  17. 白买进:0,colorwhite,LINETHICK0;   
  18. 黄加仓:0,coloryellow,LINETHICK0 ;   
  19. 蓝跌:0,colorblue,LINETHICK0;   
  20. 绿见顶:0,colorgreen,LINETHICK0;   
  21. 粗红强势:0,colorred,LINETHICK0;   
  22. 红蓝调整:0,colorred,LINETHICK0;   
  23. VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.998),8);DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.013),9);DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.984),'买 '),color4440FF;DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.035),'卖 '),colorFFFF34;   
  24. Vare1:=EMA(C,3);Vare2:=EMA(C,5);Vare3:=EMA(C,10);Var4:=EMA(C,20);Var5:=EMA(C,30);Var6:=(Var2+Var3+Var4+Var5)/4;Var7:=(Var6-REF(Var6,15))/REF(Var6,15)*100;   
  25. Var8:=(Var6-REF(Var6,15))/REF(Var6, 15)*100;Var9:=EMA(Var7,8);STICKLINE(Var7<1*REF(Var7,1),h,l,0.5,0),COLORBLUE;STICKLINE(Var7<1*REF(Var7,1),o,c,5,1),COLORBLUE;STICKLINE(Var7>1*REF(Var7,1),h,l,0.5,0),COLORRED;STICKLINE(Var7>1*REF(Var7,1),o,c,5,                1),COLORRED;STICKLINE(Var7<1*REF(Var7,1) AND Var9>1*REF(Var9,1),h,l,0.5,0),COLORGREEN;STICKLINE(Var7<1*REF(Var7,1) AND Var9>1*REF(Var9,1),o,c,5,                1),COLORGREEN;买进价:=((c-ref(ma(c,6),1))/6+ma(c,6))*1.004;买进条件:=cross(c,买进价) and 买进价>ref(买进价,1);STICKLINE(买进条件,h,l,0.5,1),colorwhite,linethick2;STICKLINE(买进条件,o,c,6,0),colorwhite,linethick2;加码价:=((c-ref(ma(c,18),1))/18+ma(c,18))*1.004;加码条件:=cross(c,加码价) and 加码价>ref(加码价,1);STICKLINE(加码条件,h,l,0.5,1),coloryellow,linethick2;STICKLINE(加码条件,o,c,6,0),coloryellow,linethick2;   

BB73159118.png

BB73159118.png

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则