通达信主力进场主图公式源码

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

 通达信主力进场主图公式源码

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

 

 

  1. 多头线:EMA(C,3),COLORYELLOW;   
  2. 空头线:EMA(C,5),COLOR00FF00;   
  3. 均衡线:EMA(空头线,5),COLORWHITE,;   
  4. IF(多头线>=REF(多头线,1) AND 多头线>=空头线,多头线,DRAWNULL),COLORRED,LINETHICK3;   
  5. VAR1:=IF(CLOSE/REF(CLOSE,1)>1.050 AND HIGH/CLOSE<1.010 AND IF(CLOSE>REF(CLOSE,1),88,0)>0, 91, 0);   
  6. STICKLINE(VAR1>90,L,L*0.92,0.1,0),COLORFF00FF;   
  7. DRAWTEXT(VAR1>90,LOW*0.92,'买'),COLORFF00FF;   
  8. VAR2:=REF(EMA(DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.09),0.9),3),1);   
  9. DRAWTEXT(CROSS(CLOSE,VAR2),LOW,'S'),COLORYELLOW;   
  10. STICKLINE(CROSS(VAR2,CLOSE),H*1.05,H,0.1,0),COLORWHITE;   
  11. DRAWTEXT(CROSS(VAR2,CLOSE),HIGH*1.05,'卖'),COLORWHITE;   
  12. VAR3:=REF(CLOSE,1);    
  13. VAR4:=SMA(MAX(CLOSE-VAR3,0),6,1)/SMA(ABS(CLOSE-VAR3),6,1)*100;    
  14. DRAWTEXT(CROSS(84,VAR4),H*1.03,'逃顶'),COLORYELLOW ;   
  15. VAR5:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);   
  16. VAR6:=SMA(ABS(LOW-VAR5),13,1)/SMA(MAX(LOW-VAR5,0),10,1);   
  17. VAR7:=EMA(VAR6,10);   
  18. VAR8:=LLV(LOW,33);   
  19. VAR9:=EMA(IF(LOW<=VAR8,VAR7,0),5);   
  20. 主力进场:=FILTER(VAR9>REF(VAR9,1),5);   
  21. {DRAWTEXT(FILTER(VAR9>REF(VAR9,1),5),LOW*0.995,'↑'),COLOR0000FF;}   
  22. DRAWTEXT(FILTER(VAR9>REF(VAR9,1),5),LOW*0.96,'主力进场'),COLOR0000FF;   
  23. STICKLINE(FILTER(VAR9>REF(VAR9,1),5),CLOSE,OPEN,1,0),COLOR0000FF;   
  24. STICKLINE(FILTER(VAR9>REF(VAR9,1),5),LOW,HIGH,1,0),COLOR0000FF;   
  25. DRAWTEXT(FILTER(VAR5>REF(VAR5,1),5),LOW*1.08,'主力出场'),COLOR70DB93;   
  26. STICKLINE(FILTER(VAR5>REF(VAR5,1),5),LOW,HIGH,1,0),COLOR70DB93;  

 

回复

使用道具 举报

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

本版积分规则