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

以下是老的指标,新的思路!(无源码的请下载附件导入)

 

C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
  1. VAR1:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));   
  2. VAR2:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));   
  3. VAR3:=SUM(VAR1,5);   
  4. VAR4:=SUM(VAR2,5);   
  5. VAR5:=IF(VAR3>VAR4,(VAR3-VAR4)/VAR3,IF(VAR3=VAR4,0,(VAR3-VAR4)/VAR4));   
  6. VAR6:=MA(VAR5,5);   
  7. VAR8:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));   
  8. VAR9:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));   
  9. VARA:=SUM(VAR8,3);   
  10. VARB:=SUM(VAR9,3);   
  11. VARC:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));   
  12. VARD:=MA(VARC,3);   
  13. 火: BARSLAST(EMA(CLOSE,5)<REF(EMA(CLOSE,5),1)),  COLORRED;   
  14. VARE:=HHV(CLOSE,2);   
  15. VARF:=BARSLAST(VARE<REF(VARE,2));   
  16. VAR10:=IF(VARF>=1,LLV(VARE,VARF),LOW);   
  17. VAR11:=VAR10+VAR10*VARF*0.5/100;   
  18. VAR12:=IF(VAR11<REF(VAR11,1),MA(LOW,3),VAR11);   
  19. VAR13:=VAR10+VAR10*(VARF-1)*1.618/100;   
  20. 山: COUNT(EMA(CLOSE,5)>REF(EMA(CLOSE,5),1),5);   
  21. VAR14:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));   
  22. VAR15:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));   
  23. VAR16:=SUM(VAR8,3);   
  24. VAR17:=SUM(VAR9,3);   
  25. VAR18:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));   
  26. VAR19:=MA(VARC,3);   
  27. RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;   
  28. 买入或持股: STICKLINE(山>0,火,0,2,0),  COLORRED;   
  29. VAR1A:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));   
  30. VAR1B:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));   
  31. VAR1C:=SUM(VAR8,3);   
  32. VAR1D:=SUM(VAR9,3);   
  33. VAR1E:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));   
  34. VAR1F:=MA(VARC,3);   
  35. 下跌→抛出: STICKLINE(山>0,火,山,2,1),  COLORF0F000;   
  36. VAR20:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));   
  37. VAR21:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));   
  38. VAR22:=SUM(VAR8,3);   
  39. VAR23:=SUM(VAR9,3);   
  40. VAR24:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));   
  41. VAR25:=MA(VARC,3);   
  42. 观望: STICKLINE(山=0 AND 火=0,0,1,4,1),  COLORBLUE;   
  43. VAR26:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));   
  44. VAR27:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));   
  45. VAR28:=SUM(VAR8,3);   
  46. VAR29:=SUM(VAR9,3);   
  47. VAR2A:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));   
  48. VAR2B:=MA(VARC,3);   
  49. 植被: STICKLINE(山<火,火,山,1,0),  COLOR00FF00;   
  50. VAR2C:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));   
  51. VAR2D:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));   
  52. VAR2E:=SUM(VAR8,3);   
  53. VAR2F:=SUM(VAR9,3);   
  54. VAR30:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));   
  55. VAR31:=MA(VARC,3);   
  56. VAR32:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*10;   
  57. VAR33:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));   
  58. VAR34:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));   
  59. VAR35:=SUM(VAR8,3);   
  60. VAR36:=SUM(VAR9,3);   
  61. VAR37:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));   
  62. VAR38:=MA(VARC,3);   
  63. STICKLINE(REF(山,1)=0 AND 山>0,0,-1,2,0),  COLORRED;   
  64. DRAWTEXT(REF(火,3)>0 AND REF(火,2)>0 AND REF(火,1)>0 AND 火=0 AND REF(火,1)>山,REF(火,1),'调整'),COLORYELLOW , ;   

 



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