公式指标平台 股票指标公式源码分享 登录 注册
公式指标平台
未来函数检测
首 页 金钻指标 通达信公式 大智慧公式 同花顺公式 文华财经公式 操盘手公式 东财通公式 飞狐公式 其他公式 公式解答 股票软件 股票池
当前位置:→ 公式指标平台 > 飞狐公式 > 正文 → 正文

时间密码 (主图 源码)

发布时间:2010/6/5 8:31:19  浏览次数:

 

C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
  1. 立春:=FILTER(MONTH=2 AND (DAY=4  OR DAY=6 ),2);   
  2. 雨水:=FILTER(MONTH=2 AND (DAY=19 OR DAY=21),2);   
  3. 惊蛰:=FILTER(MONTH=3 AND (DAY=6  OR DAY=8 ),2);   
  4. 春分:=FILTER(MONTH=3 AND (DAY=21 OR DAY=23),2);   
  5. 清明:=FILTER(MONTH=4 AND (DAY=5  OR DAY=7 ),2);   
  6. 谷雨:=FILTER(MONTH=4 AND (DAY=20 OR DAY=22),2);   
  7. 立夏:=FILTER(MONTH=5 AND (DAY=7  OR DAY=9 ),2);   
  8. 小满:=FILTER(MONTH=5 AND (DAY=21 OR DAY=23),2);   
  9. 芒种:=FILTER(MONTH=6 AND (DAY=6  OR DAY=8 ),2);   
  10. 夏至:=FILTER(MONTH=6 AND (DAY=21 OR DAY=23),2);   
  11. 小暑:=FILTER(MONTH=7 AND (DAY=7  OR DAY=9 ),2);   
  12. 大暑:=FILTER(MONTH=7 AND (DAY=23 OR DAY=25),2);   
  13. 立秋:=FILTER(MONTH=8 AND (DAY=8  OR DAY=10 ),2);   
  14. 处暑:=FILTER(MONTH=8 AND (DAY=23 OR DAY=25),2);   
  15. 白露:=FILTER(MONTH=9 AND (DAY=8  OR DAY=10 ),2);   
  16. 秋分:=FILTER(MONTH=9 AND (DAY=23 OR DAY=25),2);   
  17. 寒露:=FILTER(MONTH=10 AND (DAY=8  OR DAY=10 ),2);   
  18. 霜降:=FILTER(MONTH=10 AND (DAY=23 OR DAY=25),2);   
  19. 立冬:=FILTER(MONTH=11 AND (DAY=8  OR DAY=10 ),2);   
  20. 小雪:=FILTER(MONTH=11 AND (DAY=23 OR DAY=25),2);   
  21. 大雪:=FILTER(MONTH=12 AND (DAY=7  OR DAY=9 ),2);   
  22. 冬至:=FILTER(MONTH=12 AND (DAY=22 OR DAY=24),2);   
  23. 小寒:=FILTER(MONTH=1 AND (DAY=6  OR DAY=8 ),2);   
  24. 大寒:=FILTER(MONTH=1 AND (DAY=20 OR DAY=22),2);   
  25. 寅月:=立春;   
  26. 卯月:=惊蛰;   
  27. 辰月:=清明;   
  28. 巳月:=立夏;   
  29. 午月:=芒种;   
  30. 未月:=小暑;   
  31. 申月:=立秋;   
  32. 酉月:=白露;   
  33. 戌月:=寒露;   
  34. 亥月:=立冬;   
  35. 子月:=大雪;   
  36. 丑月:=小寒;   
  37.   
  38. DRAWTEXT(寅月,LOW*0.96,'寅'),COLORGREEN,ALIGN0;   
  39. DRAWTEXT(卯月,LOW*0.96,'卯'),COLORGREEN,ALIGN0;   
  40. DRAWTEXT(辰月,LOW*0.96,'辰'),COLOR0099FF,ALIGN0;   
  41. DRAWTEXT(巳月,LOW*0.96,'巳'),COLORMAGENTA,ALIGN0;   
  42. DRAWTEXT(午月,LOW*0.96,'午'),COLORMAGENTA,ALIGN0;   
  43. DRAWTEXT(未月,LOW*0.96,'未'),COLOR0099FF,ALIGN0;   
  44. DRAWTEXT(申月,LOW*0.96,'申'),COLORYELLOW,ALIGN0;   
  45. DRAWTEXT(酉月,LOW*0.96,'酉'),COLORYELLOW,ALIGN0;   
  46. DRAWTEXT(戌月,LOW*0.96,'戌'),COLOR0099FF,ALIGN0;   
  47. DRAWTEXT(亥月,LOW*0.96,'亥'),COLORBLUE,ALIGN0;   
  48. DRAWTEXT(子月,LOW*0.96,'子'),COLORBLUE,ALIGN0;   
  49. DRAWTEXT(丑月,LOW*0.96,'丑'),COLOR0099FF,ALIGN0;   
  50.   
  51. STICKLINE(立春,HIGH,LOW,0.1,1),colorgreen;   
  52. STICKLINE(立春,OPEN,CLOSE,2,1),linethick1,colorgreen;   
  53. DRAWTEXT(立春,HIGH*1.02,'立春'),COLORgreen,ALIGN0;   
  54. STICKLINE(雨水,HIGH,LOW,0.1,1),colorgreen;   
  55. STICKLINE(雨水,OPEN,CLOSE,2,1),linethick1,colorgreen;   
  56. DRAWTEXT(雨水,HIGH*1.02,'雨水'),COLORgreen,ALIGN0;   
  57. STICKLINE(惊蛰,HIGH,LOW,0.1,1),colorgreen;   
  58. STICKLINE(惊蛰,OPEN,CLOSE,2,1),linethick1,colorgreen;   
  59. DRAWTEXT(惊蛰,HIGH*1.02,'惊蛰'),COLORgreen,ALIGN0;   
  60. STICKLINE(春分,HIGH,LOW,0.1,1),colorgreen;   
  61. STICKLINE(春分,OPEN,CLOSE,2,1),linethick1,colorgreen;   
  62. DRAWTEXT(春分,HIGH*1.02,'春分'),COLORgreen,ALIGN0;   
  63. STICKLINE(清明,HIGH,LOW,0.1,1),colorgreen;   
  64. STICKLINE(清明,OPEN,CLOSE,2,1),linethick1,colorgreen;   
  65. DRAWTEXT(清明,HIGH*1.02,'清明'),COLORgreen,ALIGN0;   
  66. STICKLINE(谷雨,HIGH,LOW,0.1,1),colorgreen;   
  67. STICKLINE(谷雨,OPEN,CLOSE,2,1),linethick1,colorgreen;   
  68. DRAWTEXT(谷雨,HIGH*1.02,'谷雨'),COLORgreen,ALIGN0;   
  69. STICKLINE(立夏,HIGH,LOW,0.1,1),COLORMAGENTA;   
  70. STICKLINE(立夏,OPEN,CLOSE,2,1),linethick1,COLORMAGENTA;   
  71. DRAWTEXT(立夏,HIGH*1.02,'立夏'),COLORMAGENTA,ALIGN0;   
  72. STICKLINE(小满,HIGH,LOW,0.1,1),COLORMAGENTA;   
  73. STICKLINE(小满,OPEN,CLOSE,2,1),linethick1,COLORMAGENTA;   
  74. DRAWTEXT(小满,HIGH*1.02,'小满'),COLORMAGENTA,ALIGN0;   
  75. STICKLINE(芒种,HIGH,LOW,0.1,1),COLORMAGENTA;   
  76. STICKLINE(芒种,OPEN,CLOSE,2,1),linethick1,COLORMAGENTA;   
  77. DRAWTEXT(芒种,HIGH*1.02,'芒种'),COLORMAGENTA,ALIGN0;   
  78. STICKLINE(夏至,HIGH,LOW,0.1,1),COLORMAGENTA;   
  79. STICKLINE(夏至,OPEN,CLOSE,2,1),linethick1,COLORMAGENTA;   
  80. DRAWTEXT(夏至,HIGH*1.02,'夏至'),COLORMAGENTA,ALIGN0;   
  81. STICKLINE(小暑,HIGH,LOW,0.1,1),COLORMAGENTA;   
  82. STICKLINE(小暑,OPEN,CLOSE,2,1),linethick1,COLORMAGENTA;   
  83. DRAWTEXT(小暑,HIGH*1.02,'小暑'),COLORMAGENTA,ALIGN0;   
  84. STICKLINE(大暑,HIGH,LOW,0.1,1),COLORMAGENTA;   
  85. STICKLINE(大暑,OPEN,CLOSE,2,1),linethick1,COLORMAGENTA;   
  86. DRAWTEXT(大暑,HIGH*1.02,'大暑'),COLORMAGENTA,ALIGN0;   
  87. STICKLINE(立秋,HIGH,LOW,0.1,1),COLORYELLOW;   
  88. STICKLINE(立秋,OPEN,CLOSE,2,1),linethick1,COLORYELLOW;   
  89. DRAWTEXT(立秋,HIGH*1.02,'立秋'),COLORYELLOW,ALIGN0;   
  90. STICKLINE(处暑,HIGH,LOW,0.1,1),COLORYELLOW;   
  91. STICKLINE(处暑,OPEN,CLOSE,2,1),linethick1,COLORYELLOW;   
  92. DRAWTEXT(处暑,HIGH*1.02,'处暑'),COLORYELLOW,ALIGN0;   
  93. STICKLINE(白露,HIGH,LOW,0.1,1),COLORYELLOW;   
  94. STICKLINE(白露,OPEN,CLOSE,2,1),linethick1,COLORYELLOW;   
  95. DRAWTEXT(白露,HIGH*1.02,'白露'),COLORYELLOW,ALIGN0;   
  96. STICKLINE(秋分,HIGH,LOW,0.1,1),COLORYELLOW;   
  97. STICKLINE(秋分,OPEN,CLOSE,2,1),linethick1,COLORYELLOW;   
  98. DRAWTEXT(秋分,HIGH*1.02,'秋分'),COLORYELLOW,ALIGN0;   
  99. STICKLINE(寒露,HIGH,LOW,0.1,1),COLORYELLOW;   
  100. STICKLINE(寒露,OPEN,CLOSE,2,1),linethick1,COLORYELLOW;   
  101. DRAWTEXT(寒露,HIGH*1.02,'寒露'),COLORYELLOW,ALIGN0;   
  102. STICKLINE(霜降,HIGH,LOW,0.1,1),COLORYELLOW;   
  103. STICKLINE(霜降,OPEN,CLOSE,2,1),linethick1,COLORYELLOW;   
  104. DRAWTEXT(霜降,HIGH*1.02,'霜降'),COLORYELLOW,ALIGN0;   
  105. STICKLINE(立冬,HIGH,LOW,0.1,1),colorwhite;   
  106. STICKLINE(立冬,OPEN,CLOSE,2,1),linethick1,colorwhite;   
  107. DRAWTEXT(立冬,HIGH*1.02,'立冬'),COLORWHITE,ALIGN0;   
  108. STICKLINE(小雪,HIGH,LOW,0.1,1),colorwhite;   
  109. STICKLINE(小雪,OPEN,CLOSE,2,1),linethick1,colorwhite;   
  110. DRAWTEXT(小雪,HIGH*1.02,'小雪'),COLORWHITE,ALIGN0;   
  111. STICKLINE(大雪,HIGH,LOW,0.1,1),colorwhite;   
  112. STICKLINE(大雪,OPEN,CLOSE,2,1),linethick1,colorwhite;   
  113. DRAWTEXT(大雪,HIGH*1.02,'大雪'),COLORWHITE,ALIGN0;   
  114. STICKLINE(冬至,HIGH,LOW,0.1,1),colorwhite;   
  115. STICKLINE(冬至,OPEN,CLOSE,2,1),linethick1,colorwhite;   
  116. DRAWTEXT(冬至,HIGH*1.02,'冬至'),COLORWHITE,ALIGN0;   
  117. STICKLINE(小寒,HIGH,LOW,0.1,1),colorwhite;   
  118. STICKLINE(小寒,OPEN,CLOSE,2,1),linethick1,colorwhite;   
  119. DRAWTEXT(小寒,HIGH*1.02,'小寒'),COLORWHITE,ALIGN0;   
  120. STICKLINE(大寒,HIGH,LOW,0.1,1),colorwhite;   
  121. STICKLINE(大寒,OPEN,CLOSE,2,1),linethick1,colorwhite;   
  122. DRAWTEXT(大寒,HIGH*1.02,'大寒'),COLORWHITE,ALIGN0;   
  123. M3:MA(CLOSE,3),ColorFFFfff;    
  124. M5:MA(CLOSE,5),ColorFFff00;    
  125. m7:ma(c,7);   
  126. m14:ma(c,14),POINTDOT,linethick3;   
  127. m28:ma(c,28),POINTDOT,linethick3;   
  128. m49:ma(c,49);   
  129. m64:ma(c,64);   
  130. m98:ma(c,98);   
  131. E1:=BARSCOUNT(C);    
  132. AH:=HHV(H,200);    
  133. AL:=LLV(L,200);    
  134. B0:=(AH-AL)/40;    
  135. KB1:=H+B0;    
  136. KB2:=L-B0;    
  137. STICKLINE((E1+0)/34=FLOOR((E1+0)/34),KB2,KB2-0.8*B0,1,0),COLORYELLOW,LINETHICK3;    
  138. DRAWTEXT((E1+0)/34=FLOOR((E1+0)/34),KB2-B0,'满窗'),ALIGN0,COLORYELLOW;   
  139.   
  140. STICKLINE((E1+0)/17=FLOOR((E1+0)/17),KB2,KB2-0.8*B0,1,0),COLORYELLOW,LINETHICK3;    
  141. DRAWTEXT((E1+0)/17=FLOOR((E1+0)/17),KB2-B0,'半窗'),ALIGN0,COLORYELLOW;   
  142.    

时间密码 (主图 源码)

资源下载链接   资源大小:3KB

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