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

以下是在付图上显示各个周期的技术参数(无源码的请下载附件导入)

 

C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
  1. DRAWRECTABS(2,19,935,168,RGB(100,50,50)),COLORFFFFFF;    
  2.   
  3. DRAWTEXTABS(15,3,'沙吾提制作'),COLOR00FFFF,LINETHICK2;   
  4. DRAWTEXTABS(250,0,'不 同 周 期 技 术 参 数'),COLOR0000FF,LINETHICK3;   
  5. DRAWTEXTABS(500,0,''+STKNAME+'('+STKLABEL+')'),COLORFF9933,LINETHICK3;     {股票名称、代码}   
  6.   
  7. DRAWTEXTABS(10,25,'数据分类'),COLOR0066FF,LINETHICK2;   
  8. DRAWTEXTABS(10,45,'月 线 图'),COLORFFFFFF,LINETHICK2;   
  9. DRAWTEXTABS(10,65,'周 线 图'),COLOR00FFFF,LINETHICK2;   
  10. DRAWTEXTABS(10,85,'日 线 图'),COLORFF00FF,LINETHICK2;   
  11. DRAWTEXTABS(10,105,'60分钟图'),COLOR39FF00,LINETHICK2;   
  12. DRAWTEXTABS(10,125,'30分钟图'),COLORFF0033,LINETHICK2;   
  13. DRAWTEXTABS(10,145,'15分钟图'),COLORFFCC00,LINETHICK2;   
  14.   
  15. 月MA5:="MA.MA1#MONTH";   
  16. 月MA10:="MA.MA2#MONTH";   
  17. 月MA20:="MA.MA3#MONTH";   
  18. 月MA30:="MA.MA4#MONTH";   
  19. 月MA60:="MA.MA5#MONTH";   
  20. 月MA120:="MA.MA6#MONTH";   
  21.   
  22. 周MA5:= "MA.MA1#WEEK";   
  23. 周MA10:= "MA.MA2#WEEK";   
  24. 周MA20:= "MA.MA3#WEEK";   
  25. 周MA30:= "MA.MA4#WEEK";   
  26. 周MA60:= "MA.MA5#WEEK";   
  27. 周MA120:= "MA.MA6#WEEK";   
  28.   
  29. MA5:=MA(C,5);   
  30. MA10:=MA(C,10);   
  31. MA20:=MA(C,20);   
  32. MA30:=MA(C,30);   
  33. MA60:=MA(C,60);   
  34. MA120:=MA(C,120);   
  35.   
  36. FZ605:="MA.MA1#MIN60";   
  37. FZ6010:="MA.MA2#MIN60";   
  38. FZ6020:="MA.MA3#MIN60";   
  39. FZ6030:="MA.MA4#MIN60";   
  40. FZ6060:="MA.MA5#MIN60";   
  41. FZ60120:="MA.MA6#MIN60";   
  42.   
  43. FZ305:="MA.MA1#MIN30";   
  44. FZ3010:="MA.MA2#MIN30";   
  45. FZ3020:="MA.MA3#MIN30";   
  46. FZ3030:="MA.MA4#MIN30";   
  47. FZ3060:="MA.MA5#MIN30";   
  48. FZ30120:="MA.MA6#MIN30";   
  49.   
  50. FZ155:="MA.MA1#MIN15";   
  51. FZ1510:="MA.MA2#MIN15";   
  52. FZ1520:="MA.MA3#MIN15";   
  53. FZ1530:="MA.MA4#MIN15";   
  54. FZ1560:="MA.MA5#MIN15";   
  55. FZ15120:="MA.MA6#MIN15";   
  56.   
  57. DRAWTEXTABS(105,25,' MA5'),COLOR0066FF,LINETHICK2;   
  58. DRAWTEXTABS(100,45,STRRIGHT('      '+NUMTOSTRN(月MA5,3),6)),COLORFFFFFF,LINETHICK2;   
  59. DRAWTEXTABS(100,65,STRRIGHT('      '+NUMTOSTRN(周MA5,3),6)),COLOR00FFFF,LINETHICK2;   
  60. DRAWTEXTABS(100,85,STRRIGHT('      '+NUMTOSTRN(MA5,3),6)),COLORFF00FF,LINETHICK2;   
  61. DRAWTEXTABS(100,105,STRRIGHT('      '+NUMTOSTRN(FZ605,3),6)),COLOR39FF00,LINETHICK2;   
  62. DRAWTEXTABS(100,125,STRRIGHT('      '+NUMTOSTRN(FZ305,3),6)),COLORFF0033,LINETHICK2;   
  63. DRAWTEXTABS(100,145,STRRIGHT('      '+NUMTOSTRN(FZ155,3),6)),COLORFFCC00,LINETHICK2;   
  64.   
  65. DRAWTEXTABS(170,25,' MA10'),COLOR0066FF,LINETHICK2;   
  66. DRAWTEXTABS(170,45,STRRIGHT('      '+NUMTOSTRN(月MA10,3),6)),COLORFFFFFF,LINETHICK2;   
  67. DRAWTEXTABS(170,65,STRRIGHT('      '+NUMTOSTRN(周MA10,3),6)),COLOR00FFFF,LINETHICK2;   
  68. DRAWTEXTABS(170,85,STRRIGHT('      '+NUMTOSTRN(MA10,3),6)),COLORFF00FF,LINETHICK2;   
  69. DRAWTEXTABS(170,105,STRRIGHT('      '+NUMTOSTRN(FZ6010,3),6)),COLOR39FF00,LINETHICK2;   
  70. DRAWTEXTABS(170,125,STRRIGHT('      '+NUMTOSTRN(FZ3010,3),6)),COLORFF0033,LINETHICK2;   
  71. DRAWTEXTABS(170,145,STRRIGHT('      '+NUMTOSTRN(FZ1510,3),6)),COLORFFCC00,LINETHICK2;   
  72.   
  73. DRAWTEXTABS(240,25,' MA20'),COLOR0066FF,LINETHICK2;   
  74. DRAWTEXTABS(240,45,STRRIGHT('      '+NUMTOSTRN(月MA20,3),6)),COLORFFFFFF,LINETHICK2;   
  75. DRAWTEXTABS(240,65,STRRIGHT('      '+NUMTOSTRN(周MA20,3),6)),COLOR00FFFF,LINETHICK2;   
  76. DRAWTEXTABS(240,85,STRRIGHT('      '+NUMTOSTRN(MA20,3),6)),COLORFF00FF,LINETHICK2;   
  77. DRAWTEXTABS(240,105,STRRIGHT('      '+NUMTOSTRN(FZ6020,3),6)),COLOR39FF00,LINETHICK2;   
  78. DRAWTEXTABS(240,125,STRRIGHT('      '+NUMTOSTRN(FZ3020,3),6)),COLORFF0033,LINETHICK2;   
  79. DRAWTEXTABS(240,145,STRRIGHT('      '+NUMTOSTRN(FZ1520,3),6)),COLORFFCC00,LINETHICK2;   
  80.   
  81. DRAWTEXTABS(310,25,' MA30'),COLOR0066FF,LINETHICK2;   
  82. DRAWTEXTABS(310,45,STRRIGHT('      '+NUMTOSTRN(月MA30,3),6)),COLORFFFFFF,LINETHICK2;   
  83. DRAWTEXTABS(310,65,STRRIGHT('      '+NUMTOSTRN(周MA30,3),6)),COLOR00FFFF,LINETHICK2;   
  84. DRAWTEXTABS(310,85,STRRIGHT('      '+NUMTOSTRN(MA30,3),6)),COLORFF00FF,LINETHICK2;   
  85. DRAWTEXTABS(310,105,STRRIGHT('      '+NUMTOSTRN(FZ6030,3),6)),COLOR39FF00,LINETHICK2;   
  86. DRAWTEXTABS(310,125,STRRIGHT('      '+NUMTOSTRN(FZ3030,3),6)),COLORFF0033,LINETHICK2;   
  87. DRAWTEXTABS(310,145,STRRIGHT('      '+NUMTOSTRN(FZ1530,3),6)),COLORFFCC00,LINETHICK2;   
  88.   
  89. DRAWTEXTABS(380,25,' MA60'),COLOR0066FF,LINETHICK2;   
  90. DRAWTEXTABS(380,45,STRRIGHT('      '+NUMTOSTRN(月MA60,3),6)),COLORFFFFFF,LINETHICK2;   
  91. DRAWTEXTABS(380,65,STRRIGHT('      '+NUMTOSTRN(周MA60,3),6)),COLOR00FFFF,LINETHICK2;   
  92. DRAWTEXTABS(380,85,STRRIGHT('      '+NUMTOSTRN(MA60,3),6)),COLORFF00FF,LINETHICK2;   
  93. DRAWTEXTABS(380,105,STRRIGHT('      '+NUMTOSTRN(FZ6060,3),6)),COLOR39FF00,LINETHICK2;   
  94. DRAWTEXTABS(380,125,STRRIGHT('      '+NUMTOSTRN(FZ3060,3),6)),COLORFF0033,LINETHICK2;   
  95. DRAWTEXTABS(380,145,STRRIGHT('      '+NUMTOSTRN(FZ1560,3),6)),COLORFFCC00,LINETHICK2;   
  96.   
  97. DRAWTEXTABS(450,25,' MA120'),COLOR0066FF,LINETHICK2;   
  98. DRAWTEXTABS(450,45,STRRIGHT('      '+NUMTOSTRN(月MA120,3),6)),COLORFFFFFF,LINETHICK2;   
  99. DRAWTEXTABS(450,65,STRRIGHT('      '+NUMTOSTRN(周MA120,3),6)),COLOR00FFFF,LINETHICK2;   
  100. DRAWTEXTABS(450,85,STRRIGHT('      '+NUMTOSTRN(MA120,3),6)),COLORFF00FF,LINETHICK2;   
  101. DRAWTEXTABS(450,105,STRRIGHT('      '+NUMTOSTRN(FZ60120,3),6)),COLOR39FF00,LINETHICK2;   
  102. DRAWTEXTABS(450,125,STRRIGHT('      '+NUMTOSTRN(FZ30120,3),6)),COLORFF0033,LINETHICK2;   
  103. DRAWTEXTABS(450,145,STRRIGHT('      '+NUMTOSTRN(FZ15120,3),6)),COLORFFCC00,LINETHICK2;   
  104.   
  105. 月DIFF:= "MACD.DIFF#MONTH";   
  106. 周DIFF:= "MACD.DIFF# WEEK";   
  107. DIFF:= "MACD.DIFF";   
  108. FZ60DIFF:= "MACD.DIFF# MIN60";   
  109. FZ30DIFF:= "MACD.DIFF# MIN30";   
  110. FZ15DIFF:= "MACD.DIFF# MIN15";   
  111.   
  112. 月DEA:= "MACD.DEA# MONTH";   
  113. 周DEA:= "MACD.DEA# WEEK";   
  114. DEA:= "MACD.DEA";   
  115. FZ60DEA:= "MACD.DEA# MIN60";   
  116. FZ30DEA:= "MACD.DEA# MIN30";   
  117. FZ15DEA:= "MACD.DEA# MIN15";   
  118.   
  119. 月MACD:= "MACD.MACD#MONTH";   
  120. 周MACD:= "MACD.MACD#WEEK";   
  121. MACD:="MACD.MACD";   
  122. FZ60MACD:= "MACD.MACD#MIN60 ";   
  123. FZ30MACD:= "MACD.MACD#MIN30";   
  124. FZ15MACD:= "MACD.MACD#MIN15";   
  125.   
  126. DRAWTEXTABS(525,25,' DIFF'),COLOR0066FF,LINETHICK2;   
  127. DRAWTEXTABS(515,45,STRRIGHT('   '+NUMTOSTRN(月DIFF,3),8)),COLORFFFFFF,LINETHICK2;   
  128. DRAWTEXTABS(515,65,STRRIGHT('   '+NUMTOSTRN(周DIFF,3),8)),COLOR00FFFF,LINETHICK2;   
  129. DRAWTEXTABS(515,85,STRRIGHT('   '+NUMTOSTRN(DIFF,3),8)),COLORFF00FF,LINETHICK2;   
  130. DRAWTEXTABS(515,105,STRRIGHT('   '+NUMTOSTRN(FZ60DIFF,3),8)),COLOR39FF00,LINETHICK2;   
  131. DRAWTEXTABS(515,125,STRRIGHT('   '+NUMTOSTRN(FZ30DIFF,3),8)),COLORFF0033,LINETHICK2;   
  132. DRAWTEXTABS(515,145,STRRIGHT('   '+NUMTOSTRN(FZ15DIFF,3),8)),COLORFFCC00,LINETHICK2;   
  133.   
  134. DRAWTEXTABS(595,25,' DEA '),COLOR0066FF,LINETHICK2;   
  135. DRAWTEXTABS(585,45,STRRIGHT('   '+NUMTOSTRN(月DEA,3),8)),COLORFFFFFF,LINETHICK2;   
  136. DRAWTEXTABS(585,65,STRRIGHT('   '+NUMTOSTRN(周DEA,3),8)),COLOR00FFFF,LINETHICK2;   
  137. DRAWTEXTABS(585,85,STRRIGHT('   '+NUMTOSTRN(DEA,3),8)),COLORFF00FF,LINETHICK2;   
  138. DRAWTEXTABS(585,105,STRRIGHT('   '+NUMTOSTRN(FZ60DEA,3),8)),COLOR39FF00,LINETHICK2;   
  139. DRAWTEXTABS(585,125,STRRIGHT('   '+NUMTOSTRN(FZ30DEA,3),8)),COLORFF0033,LINETHICK2;   
  140. DRAWTEXTABS(585,145,STRRIGHT('   '+NUMTOSTRN(FZ15DEA,3),8)),COLORFFCC00,LINETHICK2;   
  141.   
  142. DRAWTEXTABS(665,25,' MACD '),COLOR0066FF,LINETHICK2;   
  143. DRAWTEXTABS(655,45,STRRIGHT('   '+NUMTOSTRN(月MACD,3),8)),COLORFFFFFF,LINETHICK2;   
  144. DRAWTEXTABS(655,65,STRRIGHT('   '+NUMTOSTRN(周MACD,3),8)),COLOR00FFFF,LINETHICK2;   
  145. DRAWTEXTABS(655,85,STRRIGHT('   '+NUMTOSTRN(MACD,3),8)),COLORFF00FF,LINETHICK2;   
  146. DRAWTEXTABS(655,105,STRRIGHT('   '+NUMTOSTRN(FZ60MACD,3),8)),COLOR39FF00,LINETHICK2;   
  147. DRAWTEXTABS(655,125,STRRIGHT('   '+NUMTOSTRN(FZ30MACD,3),8)),COLORFF0033,LINETHICK2;   
  148. DRAWTEXTABS(655,145,STRRIGHT('   '+NUMTOSTRN(FZ15MACD,3),8)),COLORFFCC00,LINETHICK2;   
  149.   
  150. 月K:= "KDJ.K#MONTH";   
  151. 周K:= "KDJ.K#WEEK";   
  152. K:= "KDJ.K";   
  153. FZ60K:= "KDJ.K#MIN60";   
  154. FZ30K:= "KDJ.K#MIN30";   
  155. FZ15K:= "KDJ.K#MIN15";   
  156.   
  157. 月D:= "KDJ.D#MONTH";   
  158. 周D:= "KDJ.D#WEEK";   
  159. D:= "KDJ.D";   
  160. FZ60D:= "KDJ.D#MIN60";   
  161. FZ30D:= "KDJ.D#MIN30";   
  162. FZ15D:= "KDJ.D#MIN15";   
  163.   
  164. 月J:= "KDJ.J#MONTH";   
  165. 周J:= "KDJ.J#WEEK";   
  166. J:="KDJ.J";   
  167. FZ60J:= "KDJ.J#MIN60 ";   
  168. FZ30J:= "KDJ.J#MIN30";   
  169. FZ15J:= "KDJ.J#MIN15";   
  170.   
  171. DRAWTEXTABS(730,25,'   K'),COLOR0066FF,LINETHICK2;   
  172. DRAWTEXTABS(725,45,STRRIGHT('   '+NUMTOSTRN(月K,3),8)),COLORFFFFFF,LINETHICK2;   
  173. DRAWTEXTABS(725,65,STRRIGHT('   '+NUMTOSTRN(周K,3),8)),COLOR00FFFF,LINETHICK2;   
  174. DRAWTEXTABS(725,85,STRRIGHT('   '+NUMTOSTRN(K,3),8)),COLORFF00FF,LINETHICK2;   
  175. DRAWTEXTABS(725,105,STRRIGHT('   '+NUMTOSTRN(FZ60K,3),8)),COLOR39FF00,LINETHICK2;   
  176. DRAWTEXTABS(725,125,STRRIGHT('   '+NUMTOSTRN(FZ30K,3),8)),COLORFF0033,LINETHICK2;   
  177. DRAWTEXTABS(725,145,STRRIGHT('   '+NUMTOSTRN(FZ15K,3),8)),COLORFFCC00,LINETHICK2;   
  178.   
  179. DRAWTEXTABS(800,25,'   D '),COLOR0066FF,LINETHICK2;   
  180. DRAWTEXTABS(795,45,STRRIGHT('   '+NUMTOSTRN(月D,3),8)),COLORFFFFFF,LINETHICK2;   
  181. DRAWTEXTABS(795,65,STRRIGHT('   '+NUMTOSTRN(周D,3),8)),COLOR00FFFF,LINETHICK2;   
  182. DRAWTEXTABS(795,85,STRRIGHT('   '+NUMTOSTRN(D,3),8)),COLORFF00FF,LINETHICK2;   
  183. DRAWTEXTABS(795,105,STRRIGHT('   '+NUMTOSTRN(FZ60D,3),8)),COLOR39FF00,LINETHICK2;   
  184. DRAWTEXTABS(795,125,STRRIGHT('   '+NUMTOSTRN(FZ30D,3),8)),COLORFF0033,LINETHICK2;   
  185. DRAWTEXTABS(795,145,STRRIGHT('   '+NUMTOSTRN(FZ15D,3),8)),COLORFFCC00,LINETHICK2;   
  186.   
  187. DRAWTEXTABS(870,25,'   J '),COLOR0066FF,LINETHICK2;   
  188. DRAWTEXTABS(865,45,STRRIGHT('   '+NUMTOSTRN(月J,3),8)),COLORFFFFFF,LINETHICK2;   
  189. DRAWTEXTABS(865,65,STRRIGHT('   '+NUMTOSTRN(周J,3),8)),COLOR00FFFF,LINETHICK2;   
  190. DRAWTEXTABS(865,85,STRRIGHT('   '+NUMTOSTRN(J,3),8)),COLORFF00FF,LINETHICK2;   
  191. DRAWTEXTABS(865,105,STRRIGHT('   '+NUMTOSTRN(FZ60J,3),8)),COLOR39FF00,LINETHICK2;   
  192. DRAWTEXTABS(865,125,STRRIGHT('   '+NUMTOSTRN(FZ30J,3),8)),COLORFF0033,LINETHICK2;   
  193. DRAWTEXTABS(865,145,STRRIGHT('   '+NUMTOSTRN(FZ15J,3),8)),COLORFFCC00,LINETHICK2;  




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