当前位置:→ 公式网 > 通达信公式 > 正文  公式解密、改选股等业务 联系点击查看详情...

以下是通达信山水画副图指标原码(无源码的请下载附件导入)

 通达信山水画副图指标原码

C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
  1. STICKLINE(1=1,0,-MACD,4,0),COLOR333300;   
  2. DI:=EMA(C,3)-EMA(C,13);   
  3. DE:=EMA(DI,9);   
  4. MACD:=2*(DI-DE)*10;   
  5. DI2:=EMA(C,5)-EMA(C,26);   
  6. DEA2:=EMA(DI2,9);   
  7. MACD2:=2*(DI2-DEA2)*10;   
  8. DIFF3:=EMA(C,7)-EMA(C,89);   
  9. DEA3:=EMA(DIFF3,21);   
  10. MACD3:=2*(DIFF3-DEA3)*10;   
  11. MMACD5:=MA(MACD3,3);   
  12. STICKLINE(1=1,0,REFDATE(LLV(-MACD3,1000),DATE),4,0),COLOR333300;   
  13. IF(MACD3<0,-MACD3,DRAWNULL)LINETHICK4,COLOR646400;   
  14. STICKLINE(MACD3<0,0,-MACD3,4,0),LINETHICK4,COLOR646400;   
  15. IF(MACD2<0,-MACD2,DRAWNULL)LINETHICK4,COLOR333333;   
  16. STICKLINE(MACD2<0,0,-MACD2,4,0),COLOR333333;   
  17. IF(MACD<0,-MACD,DRAWNULL)LINETHICK4,COLOR004444;   
  18. STICKLINE(MACD<0,0,-MACD,4,0),COLOR004444;   
  19.   
  20. IF(MACD3>=0,MACD3,DRAWNULL)LINETHICK4,COLOR00CC00;   
  21. STICKLINE(MACD3>=0,0,MACD3,4,0),COLOR00CC00;   
  22. IF(MACD2>=0,MACD2,DRAWNULL)LINETHICK4,COLOR009900;   
  23. STICKLINE(MACD2>=0,0,MACD2,4,0),COLOR009900;   
  24. STICKLINE(MACD>=0,0,MACD,4,0),COLOR006600;   
  25.   
  26. STICKLINE(MACD3>=0,0,-MACD3*0.8,4,0),COLOR666600;   
  27. STICKLINE(MACD2>=0,0,-MACD2*0.8,4,0),COLOR663300;   
  28. STICKLINE(MACD>=0,0,-MACD*0.8,4,0),COLOR333300;   
  29.   
  30. 小花:IF(MACD>=0 AND REF(MACD,1)<0,1,DRAWNULL),CROSSDOT,LINETHICK6,COLORFF33FF;   
  31. IF(MACD>=0 AND REF(MACD,1)<0,1,DRAWNULL),POINTDOT,LINETHICK4,COLOR00CCFF;    
  32. 春雪:IF(CROSS(MMACD5,MACD3),MACD3*1.2,DRAWNULL),CROSSDOT,   
  33.         LINETHICK2,COLORFFFFFF;    
  34. 红帆:STICKLINE(CROSS(MACD3,MMACD5) AND MACD3<0,MACD3*1.1,MACD3*1.1-0.5,16,1),COLORFFFFFF;    
  35. STICKLINE(CROSS(MACD3,MMACD5) AND MACD3<0,MACD3*1.1+3,MACD3*1.1+0.3,8,0),   
  36.        COLOR0000FF;    
  37. STICKLINE(CROSS(MACD3,MMACD5) AND MACD3<0,MACD3*1.1,MACD3*1.1+3.5,0.001,1),   
  38.        COLORFFFFFF;   
  39. IF(MACD>=0,-9,DRAWNULL),COLORFFFF00,POINTDOT;   
  40. IF(MACD2>=0,-8,DRAWNULL),COLORFFFF00,POINTDOT;   
  41. IF(C>0,-7,-7),COLORFFFF00,POINTDOT;   
  42. IF(MACD3>0,-6,DRAWNULL),COLORFFFF00,POINTDOT;   
  43. IF(MACD3>0,-5,-5),COLORFFFF00,POINTDOT;   
  44. IF(C>0,-4,-4),COLORFFFF00,POINTDOT;   
  45. IF(MACD3>0,-3,DRAWNULL),COLORFFFF00,POINTDOT;   
  46. IF(MACD3>0,-2,DRAWNULL),COLORFFFF00,POINTDOT;   
  47. IF(C>0,-1,-1),COLORFFFF00,POINTDOT;    

 

{公式在线提供:www.gszx.com.cn}



关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - RSS订阅 - TOP
湘ICP备09016573号-3 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © 铭网科技,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识