通达信短线先锋主图,副图,源码

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

 通达信短线先锋主图,副图,源码

{牛牛指标网提供:www.tdx001.com}复制内容到剪贴板
  1. MA1:MA(CLOSE,5);   
  2. MA2:MA(CLOSE,10);   
  3. MA3:=MA(CLOSE,20);   
  4. MA4:=MA(CLOSE,60);   
  5. MA5:=MA(CLOSE,120);   
  6. STICKLINE(C>REF(C,1)*1.099,C,O,2,0)COLORRED,LINETHICK2;   
  7. STICKLINE(C>REF(C,1)*1.091 AND C<REF(C,1)*1.099,C,O,2,0)COLORLIRED,LINETHICK2;   
  8. STICKLINE(C<REF(C,1)*0.901,C,O,2,0)COLORGREEN,LINETHICK2;   
  9. STICKLINE(C>REF(C,1)*1.049 AND C<REF(C,1)*1.09,C,O,2,0)COLORMAGENTA,LINETHICK2;   
  10. STICKLINE(C<REF(C,1)*0.95 AND C>REF(C,1)*0.901,C,O,2,0)COLORYELLOW,LINETHICK2;   
  11. 跌破止损价要跑:=REF(L,1),COLORLIMAGENTA,LINETHICK0;   
  12. {DRAWTEXT(CROSS(C,MA1) AND  MA1>REF(MA1,1) AND  V>REF(V,1) AND C>O,LOW,'短买'),COLORGREEN;}   
  13. S1 :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;   
  14. A1:=IF(REF(S1,1)<-6 AND S1>-6,1,0);   
  15. DRAWICON(A1 AND L>REF(L,1) AND REF(O,1)>REF(C,1),L*0.978,13);   
  16. A01:=(C-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3));    
  17. A11:=SMA(A01,2,1);   
  18. A21:=SMA(A11,2,1);   
  19. A31:=3*A11-2*A21 ;   
  20. A41:=2*A31-0.5;   
  21. 生命线:C*(1-(A41-A21)/15),COLORRED,LINETHICK2;   
  22. DRAWTEXT(CROSS(84,SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100),H*1.018,'逃顶'),COLORWHITE ;   
  23. DRAWTEXT(CROSS(C,生命线) AND  V>REF(V,1) AND C>O,LOW*0.968,'放量'),COLORYELLOW;   
  24. DRAWTEXT(CROSS(C,生命线),LOW*0.948,'进场'),COLORRED;   
  25. DRAWTEXT(CROSS(生命线,C),H*1.038,'离场'),COLORYELLOW;   
  26. 支撑价:LLV(LOW,19),LINETHICK1,COLORRED;   
  27. 阻力价:HHV(HIGH,19),COLORYELLOW, LINETHICK1;   
  28. LC:=REF(CLOSE,1);    
  29. RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;   
  30. RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;   
  31. RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;   
  32. S2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;   
  33. S3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;   
  34. V1:=V/REF(V,1);   
  35. X4:=(H-C)/C;   
  36. DRAWICON(CROSS(S3,S1) AND RSI1>RSI2 AND RSI2>RSI3 AND C>MA1  AND V1<2.8 AND X4<0.05,L*0.978,24);   
  37.    

 

{牛牛指标网提供:www.tdx001.com}复制内容到剪贴板
  1. 超级短线   
  2.   
  3. N:=4;   
  4. M:=2;   
  5. P:=34;   
  6. RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;   
  7. 超级短线:SMA(RSV,M,1);   
  8. 短线:SMA(超级短线,M,1);   
  9. STICKLINE(超级短线>短线,超级短线*0.88,0,2.6,0),COLORRED;   
  10. STICKLINE(超级短线<短线,超级短线*0.88,0,2.6,0),COLORGREEN;   
  11. 主流资金:EMA(100*(C-LLV(LOW,P))/(HHV(H,P)-LLV(LOW,P)),3),COLORRED,LINETHICK2;    
  12. 非主流资金:EMA(100*(INDEXC-LLV(INDEXL,P))/(HHV(INDEXH,P)-LLV(INDEXL,P)),3),COLORGREEN,LINETHICK2;   
  13.   
  14. 控盘量A:=WINNER(C*0.9)*100,LINETHICK0;   
  15. 换手率%A:=VOL/CAPITAL*100,LINETHICK0;   
  16. 走势线:EMA(控盘量A-换手率%A,5)*1.5,LINETHICK1,COLORLIMAGENTA;   
  17. 控盘量:WINNER(C*0.9)*100,LINETHICK0;   
  18. 换手率%:VOL/CAPITAL*100,LINETHICK0;   
  19. 最低成本:=COST(0.1);   
  20. 最高成本:=COST(99.9);   
  21. 平均成本:=COST(50);   
  22. 套牢盘:(1-WINNER(C ))*100,LINETHICK0 ;   
  23. 获利盘:(C-最低成本)/(最高成本-最低成本) *100,LINETHICK0 ;   
  24. 【20轴】:20,COLORYELLOW;   
  25.  

 

752444251.jpg

752444251.jpg

回复

使用道具 举报

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

本版积分规则