: | : | :期货量化学习 | :期货量化 |
返回列表 发帖

[通达信指标/源码] 黄金梯副图指标公式[通达信公式]

[通达信指标/源码] 黄金梯副图指标公式[通达信公式]

  1. XA_1:=CONST(HHV(REF(HIGH,1),240));
  2. XA_2:=CONST(LLV(REF(LOW,1),240));
  3. XA_3:=XA_1-XA_2;
  4. XA_4:=LOW-XA_3*0.03;
  5. XA_5:=HIGH+XA_3*0.03;
  6. XA_6:=CLOSE>500;
  7. XA_7:=MAX(CLOSE,OPEN);
  8. XA_8:=MIN(CLOSE,OPEN);
  9. XA_9:=0;
  10. XA_10:=1;

  11. XA_11:=IF(XA_6,HIGH,XA_7);
  12. XA_12:=IF(XA_6,LOW,XA_8);
  13. XA_13:=IF(CLOSE>OPEN,IF(XA_10=0,LOW,XA_12),IF(XA_10=0,HIGH,XA_11));
  14. XA_14:=2/1000;
  15. XA_15:=CURRBARSCOUNT;
  16. XA_16:=120;
  17. XA_17:=XA_15<=XA_16;
  18. XA_18:=LOW;
  19. XA_19:=IF(XA_9=0,XA_18,REF(XA_9,XA_9));
  20. 基准价:IF(XA_17,CONST(XA_19),DRAWNULL),DOTLINE,COLORRED;
  21. XA_20:=基准价;
  22. XA_21:=XA_20*XA_14;
  23. XA_22:=ABS(LOW-XA_20)<=XA_21;
  24. XA_23:=ABS(OPEN-XA_20)<=XA_21;
  25. XA_24:=ABS(CLOSE-XA_20)<=XA_21;
  26. XA_25:=ABS(HIGH-XA_20)<=XA_21;
  27. XA_26:=XA_22 OR XA_23 OR XA_24 OR XA_25 AND XA_17 AND XA_15!=1;
  28. XA_27:=COUNT(XA_26,XA_16);
  29. 精准点个数:IF(XA_27>0,XA_27+1,0),NODRAW,COLORRED;
  30. XA_28:=AMOUNT/VOL/100;
  31. XA_29:=CLOSE>OPEN AND REF(CLOSE,1)>XA_28 AND CLOSE>XA_28 AND CLOSE<300;
  32. STICKLINE(XA_29,OPEN,CLOSE,1,0),COLORLICYAN;
  33. XA_30:=OPEN>CLOSE AND CLOSE<XA_28 AND XA_28>REF(CLOSE,1);
  34. STICKLINE(XA_30,OPEN,CLOSE,1,0),COLORRED;
  35. XA_31:=VOL>REF(VOL,1)*0.95 AND VOL<REF(VOL,1)*1.05;
  36. XA_32:=WINNER(CLOSE)-WINNER(OPEN)>=0.2 AND XA_31;
  37. STICKLINE(XA_32,OPEN,CLOSE,1,0),COLORBLUE;
  38. XA_33:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
  39. XA_34:=NAMELIKE(1) OR NAMELIKE(2) OR NAMELIKE(3) AND XA_33>=4.945;
  40. XA_35:=NAMELIKE(1) OR NAMELIKE(2) OR NAMELIKE(3) AND XA_33<=(-4.945);
  41. 涨停价:IF(XA_34,REF(CLOSE,1)*1.05,REF(CLOSE,1)*1.1),NODRAW,COLORRED;
  42. 跌停价:IF(XA_35,REF(CLOSE,1)*0.95,REF(CLOSE,1)*0.9),NODRAW,COLORGREEN;
  43. XA_36:=REF(CLOSE,1);
  44. XA_37:=CLOSE=ZTPRICE(REF(CLOSE,1),0.1);
  45. STICKLINE(XA_37,OPEN,CLOSE,2,0),COLORMAGENTA;
  46. STICKLINE(XA_37,OPEN,CLOSE,1,0),COLORMAGENTA;
  47. XA_38:=CLOSE=DTPRICE(REF(CLOSE,1),0.1);
  48. STICKLINE(XA_38,OPEN,CLOSE,2,0),COLORGREEN;
  49. STICKLINE(XA_38,HIGH,LOW,0,1),COLORGREEN;
  50. XA_39:=1.3;
  51. XA_40:=1;
  52. XA_41:=0;
  53. XA_42:=MA(CLOSE,5);
  54. XA_43:=MA(CLOSE,10);
  55. XA_44:=MA(CLOSE,20);
  56. XA_45:=XA_42>REF(XA_42,1) AND XA_43<REF(XA_43,1) AND XA_44<REF(XA_44,1);
  57. XA_46:=REF(VOL,1);
  58. XA_47:=REF(VOL,2);
  59. XA_48:=REF(VOL,3);
  60. XA_49:=REF(CLOSE,1);
  61. XA_50:=REF(CLOSE,2);
  62. XA_51:=REF(CLOSE,3);
  63. XA_52:=REF(CLOSE,4);
  64. XA_53:=REF(OPEN,1);
  65. XA_54:=REF(OPEN,2);
  66. XA_55:=REF(OPEN,3);
  67. XA_56:=REF(OPEN,4);
  68. XA_57:=CLOSE>=XA_51 AND XA_49>=XA_51 AND XA_50>=XA_51;
  69. XA_58:=LOW>XA_55 AND REF(LOW,1)>XA_55 AND REF(LOW,2)>XA_55;
  70. XA_59:=AMOUNT/VOL/100;
  71. XA_60:=REF(XA_59,1);
  72. XA_61:=REF(XA_59,2);
  73. XA_62:=CLOSE>=OPEN OR (CLOSE<OPEN AND XA_59>XA_49);
  74. XA_63:=COUNT(XA_62,3)>=2;
  75. XA_64:=XA_51>XA_55;
  76. XA_65:=XA_59>=XA_60 OR CLOSE>XA_49 AND (XA_60>=XA_61 OR XA_49>=XA_50);
  77. XA_66:=(CLOSE+XA_49+XA_50)/3>XA_51;
  78. XA_67:=VOL>XA_46 AND XA_46>XA_47;
  79. XA_68:=VOL<=XA_46 AND XA_46<=XA_47;
  80. XA_69:=(VOL+XA_46+XA_47)/3<=XA_48 AND NOT(XA_67);
  81. XA_70:=CLOSE/VOL;
  82. XA_71:=XA_70>=REF(XA_70,1) AND REF(XA_70,1)>=REF(XA_70,2);
  83. XA_72:=(CLOSE+XA_49+XA_50)/3/XA_51;
  84. XA_73:=(VOL+XA_46+XA_47)/3/XA_48;
  85. XA_74:=XA_39*XA_72/XA_73>1;
  86. XA_75:=XA_55>XA_52 AND XA_52>XA_56;
  87. XA_76:=XA_64 AND XA_65 AND XA_68 AND XA_57 AND XA_58 AND XA_75;
  88. XA_77:=BACKSET(XA_76,5);
  89. XA_78:=FILTER(XA_77,4);
  90. XA_79:=XA_64 AND XA_65 AND XA_68 AND XA_57 AND XA_58;
  91. XA_80:=BACKSET(XA_79,4);
  92. XA_81:=FILTER(XA_80,3);
  93. XA_82:=XA_79 AND REF(XA_79,1);
  94. XA_83:=BACKSET(XA_82,4);
  95. XA_84:=FILTER(XA_83,3);
  96. XA_85:=XA_79 AND REF(XA_79,2);
  97. XA_86:=BACKSET(XA_85,4);
  98. XA_87:=FILTER(XA_86,3);
  99. XA_88:=XA_79 AND REF(XA_79,3);
  100. XA_89:=BACKSET(XA_88,4);
  101. XA_90:=FILTER(XA_89,3);
  102. XA_91:=XA_64 AND XA_65 AND XA_69 AND NOT(XA_67) AND XA_57 AND XA_58 AND XA_75 AND NOT(XA_79) AND NOT(XA_76);
  103. XA_92:=BACKSET(XA_91,5);
  104. XA_93:=FILTER(XA_92,4);
  105. XA_94:=XA_64 AND XA_65 AND XA_69 AND NOT(XA_67) AND XA_57 AND XA_58 AND NOT(XA_79) AND NOT(XA_76);
  106. XA_95:=BACKSET(XA_94,4);
  107. XA_96:=FILTER(XA_95,3);
  108. XA_97:=XA_94 AND REF(XA_94,1);
  109. XA_98:=BACKSET(XA_97,4);
  110. XA_99:=FILTER(XA_98,3);
  111. XA_100:=XA_94 AND REF(XA_94,2);
  112. XA_101:=BACKSET(XA_100,4);
  113. XA_102:=FILTER(XA_101,3);
  114. XA_103:=XA_94 AND REF(XA_94,3);
  115. XA_104:=BACKSET(XA_103,4);
  116. XA_105:=FILTER(XA_104,3);
  117. XA_106:=XA_64 AND XA_66 AND XA_68 AND XA_57 AND XA_58 AND XA_75 AND NOT(XA_79) AND NOT(XA_94) AND NOT(XA_76) AND NOT(XA_91);
  118. XA_107:=BACKSET(XA_106,5);
  119. XA_108:=FILTER(XA_107,4);
  120. XA_109:=XA_64 AND XA_66 AND XA_68 AND XA_57 AND XA_58 AND NOT(XA_79) AND NOT(XA_94) AND NOT(XA_76) AND NOT(XA_91);
  121. XA_110:=BACKSET(XA_109,4);
  122. XA_111:=FILTER(XA_110,3);
  123. XA_112:=XA_109 AND REF(XA_109,1);
  124. XA_113:=BACKSET(XA_112,4);
  125. XA_114:=FILTER(XA_113,3);
  126. XA_115:=XA_109 AND REF(XA_109,2);
  127. XA_116:=BACKSET(XA_115,4);
  128. XA_117:=FILTER(XA_116,3);
  129. XA_118:=XA_109 AND REF(XA_109,3);
  130. XA_119:=BACKSET(XA_118,4);
  131. XA_120:=FILTER(XA_119,3);
  132. XA_121:=XA_64 AND XA_66 AND XA_69 AND XA_57 AND XA_58 AND XA_75 AND NOT(XA_79) AND NOT(XA_76) AND NOT(XA_94) AND NOT(XA_91) AND NOT(XA_109) AND NOT(XA_106);
  133. XA_122:=BACKSET(XA_121,5);
  134. XA_123:=FILTER(XA_122,4);
  135. XA_124:=XA_64 AND XA_66 AND XA_69 AND XA_57 AND XA_58 AND NOT(XA_79) AND NOT(XA_94) AND NOT(XA_109) AND NOT(XA_76) AND NOT(XA_91) AND NOT(XA_106);
  136. XA_125:=BACKSET(XA_124,4);
  137. XA_126:=FILTER(XA_125,3);
  138. XA_127:=XA_124 AND REF(XA_124,1);
  139. XA_128:=BACKSET(XA_127,4);
  140. XA_129:=FILTER(XA_128,3);
  141. XA_130:=XA_124 AND REF(XA_124,2);
  142. XA_131:=BACKSET(XA_130,4);
  143. XA_132:=FILTER(XA_131,3);
  144. XA_133:=XA_124 AND REF(XA_124,3);
  145. XA_134:=BACKSET(XA_133,4);
  146. XA_135:=FILTER(XA_134,3);
  147. XA_136:=XA_64 AND XA_66 AND XA_74 AND XA_57 AND XA_58 AND XA_75 AND NOT(XA_79) AND NOT(XA_94) AND NOT(XA_109) AND NOT(XA_124) AND NOT(XA_76) AND NOT(XA_91) AND NOT(XA_106) AND NOT(XA_121);
  148. XA_137:=BACKSET(XA_136,5);
  149. XA_138:=FILTER(XA_137,4);
  150. XA_139:=XA_64 AND XA_66 AND XA_74 AND XA_57 AND XA_58 AND NOT(XA_79) AND NOT(XA_94) AND NOT(XA_109) AND NOT(XA_124) AND NOT(XA_76) AND NOT(XA_91) AND NOT(XA_106) AND NOT(XA_121);
  151. XA_140:=BACKSET(XA_139,4);
  152. XA_141:=FILTER(XA_140,3);
  153. XA_142:=XA_139 AND REF(XA_139,1);
  154. XA_143:=BACKSET(XA_142,4);
  155. XA_144:=FILTER(XA_143,3);
  156. XA_145:=XA_139 AND REF(XA_139,2);
  157. XA_146:=BACKSET(XA_145,4);
  158. XA_147:=FILTER(XA_146,3);
  159. XA_148:=XA_139 AND REF(XA_139,3);
  160. XA_149:=BACKSET(XA_148,4);
  161. XA_150:=FILTER(XA_149,3);
  162. XA_151:=XA_64 AND XA_66 AND XA_71 AND XA_57 AND XA_58 AND XA_75 AND NOT(XA_79) AND NOT(XA_94) AND NOT(XA_109) AND NOT(XA_124) AND NOT(XA_139) AND NOT(XA_76) AND NOT(XA_91) AND NOT(XA_106) AND NOT(XA_121) AND NOT(XA_136);
  163. XA_152:=BACKSET(XA_151,5);
  164. XA_153:=FILTER(XA_152,4);
  165. XA_154:=XA_64 AND XA_66 AND XA_71 AND XA_57 AND XA_58 AND NOT(XA_79) AND NOT(XA_94) AND NOT(XA_109) AND NOT(XA_124) AND NOT(XA_139) AND NOT(XA_76) AND NOT(XA_91) AND NOT(XA_106) AND NOT(XA_121) AND NOT(XA_136);
  166. XA_155:=BACKSET(XA_154,4);
  167. XA_156:=FILTER(XA_155,3);
  168. XA_157:=XA_154 AND REF(XA_154,1);
  169. XA_158:=BACKSET(XA_157,4);
  170. XA_159:=FILTER(XA_158,3);
  171. XA_160:=XA_154 AND REF(XA_154,2);
  172. XA_161:=BACKSET(XA_160,4);
  173. XA_162:=FILTER(XA_161,3);
  174. XA_163:=XA_154 AND REF(XA_154,3);
  175. XA_164:=BACKSET(XA_163,4);
  176. XA_165:=FILTER(XA_164,3);
  177. XA_166:=XA_81 AND NOT(REF(XA_81,4)) OR (XA_84 AND NOT(REF(XA_84,4))) OR (XA_87 AND NOT(REF(XA_87,4))) OR (XA_90 AND NOT(REF(XA_90,4)));
  178. XA_167:=XA_96 AND NOT(REF(XA_96,4)) OR (XA_99 AND NOT(REF(XA_99,4))) OR (XA_102 AND NOT(REF(XA_102,4))) OR (XA_105 AND NOT(REF(XA_105,4)));
  179. XA_168:=XA_111 AND NOT(REF(XA_111,4)) OR (XA_114 AND NOT(REF(XA_114,4))) OR (XA_117 AND NOT(REF(XA_117,4))) OR (XA_120 AND NOT(REF(XA_120,4)));
  180. XA_169:=XA_126 AND NOT(REF(XA_126,4)) OR (XA_129 AND NOT(REF(XA_129,4))) OR (XA_132 AND NOT(REF(XA_132,4))) OR (XA_135 AND NOT(REF(XA_135,4)));
  181. XA_170:=XA_141 AND NOT(REF(XA_141,4)) OR (XA_144 AND NOT(REF(XA_144,4))) OR (XA_147 AND NOT(REF(XA_147,4))) OR (XA_150 AND NOT(REF(XA_150,4)));
  182. XA_171:=XA_156 AND NOT(REF(XA_156,4)) OR (XA_159 AND NOT(REF(XA_159,4))) OR (XA_162 AND NOT(REF(XA_162,4))) OR (XA_165 AND NOT(REF(XA_165,4)));
  183. XA_172:=XA_166 OR XA_167 OR XA_168 OR XA_169 OR XA_170 OR XA_171;
  184. STICKLINE(XA_172 AND NOT(REF(XA_172,4)),OPEN,CLOSE,1,0),COLOR0099FF;
  185. XA_173:=SUMBARS(XA_172,1);
  186. STICKLINE(XA_173 AND XA_40=1,REF(CLOSE,XA_173-1),REF(CLOSE,XA_173-1),10,0),COLORMAGENTA;
  187. XA_174:=XA_78 AND NOT(REF(XA_78,5));
  188. XA_175:=XA_93 AND NOT(REF(XA_93,5));
  189. XA_176:=XA_108 AND NOT(REF(XA_108,5));
  190. XA_177:=XA_123 AND NOT(REF(XA_123,5));
  191. XA_178:=XA_138 AND NOT(REF(XA_138,5));
  192. XA_179:=XA_153 AND NOT(REF(XA_153,5));
  193. XA_180:=XA_174 OR XA_175 OR XA_176 OR XA_177 OR XA_178 OR XA_179;
  194. STICKLINE(XA_180 AND NOT(REF(XA_180,5)),OPEN,CLOSE,1,0),COLORRED;
  195. 流通市值:FINANCE(40)/100000000,NODRAW;
  196. MA5角度:ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*180/3.142,NODRAW,COLORRED;
  197. 循环年位置:(CLOSE-LLV(CLOSE,225))/(HHV(CLOSE,225)-LLV(CLOSE,225))*100,NODRAW,COLORGREEN;
  198. XA_181:=HHV(VOL,10);
  199. XA_182:=BARSLAST(XA_181=VOL);
  200. XA_183:=CROSS(REF(MAX(CLOSE,OPEN),XA_182),CLOSE);
  201. STICKLINE(XA_183,MAX(CLOSE,OPEN)*1.02,MIN(CLOSE,OPEN)*0.98,0,1),COLORRED;
  202. STICKLINE(XA_183,(OPEN+CLOSE)/2,(OPEN+CLOSE)/2,10,0),COLORRED;
  203. DRAWICON(OPEN>REF(MAX(CLOSE,OPEN),1) AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1) AND CLOSE>MA(CLOSE,5),LOW*0.97,11);
  204. XA_184:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5);
  205. XA_185:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1) AND REFX(CLOSE,4)<CLOSE AND REFX(CLOSE,5)<REFX(CLOSE,1) AND REFX(CLOSE,6)<REFX(CLOSE,2) AND REFX(CLOSE,7)<REFX(CLOSE,3) AND REFX(CLOSE,8)<REFX(CLOSE,4);
  206. XA_186:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6);
  207. XA_187:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1) AND REFX(CLOSE,4)<CLOSE AND REFX(CLOSE,5)<REFX(CLOSE,1) AND REFX(CLOSE,6)<REFX(CLOSE,2) AND REFX(CLOSE,7)<REFX(CLOSE,3);
  208. XA_188:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7);
  209. XA_189:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1) AND REFX(CLOSE,4)<CLOSE AND REFX(CLOSE,5)<REFX(CLOSE,1) AND REFX(CLOSE,6)<REFX(CLOSE,2);
  210. XA_190:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)>REF(CLOSE,8);
  211. XA_191:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1) AND REFX(CLOSE,4)<CLOSE AND REFX(CLOSE,5)<REFX(CLOSE,1);
  212. XA_192:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)<REF(CLOSE,8) AND REF(CLOSE,5)>REF(CLOSE,9);
  213. XA_193:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1) AND REFX(CLOSE,4)<CLOSE;
  214. XA_194:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)<REF(CLOSE,8) AND REF(CLOSE,5)<REF(CLOSE,9) AND REF(CLOSE,6)>REF(CLOSE,10);
  215. XA_195:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1);
  216. XA_196:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)<REF(CLOSE,8) AND REF(CLOSE,5)<REF(CLOSE,9) AND REF(CLOSE,6)<REF(CLOSE,10) AND REF(CLOSE,7)>REF(CLOSE,11);
  217. XA_197:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2);
  218. XA_198:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)<REF(CLOSE,8) AND REF(CLOSE,5)<REF(CLOSE,9) AND REF(CLOSE,6)<REF(CLOSE,10) AND REF(CLOSE,7)<REF(CLOSE,11) AND REF(CLOSE,8)>REF(CLOSE,12);
  219. XA_199:=REFX(CLOSE,1)<REF(CLOSE,3);
  220. XA_200:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)<REF(CLOSE,8) AND REF(CLOSE,5)<REF(CLOSE,9) AND REF(CLOSE,6)<REF(CLOSE,10) AND REF(CLOSE,7)<REF(CLOSE,11) AND REF(CLOSE,8)<REF(CLOSE,12) AND REF(CLOSE,9)>REF(CLOSE,13);
  221. XA_201:=IF(PERIOD<4,LOW*(1-(PERIOD+1)/10*0.01),LOW*0.98);
  222. XA_202:=IF(PERIOD<4,HIGH*(1+(PERIOD+1)/10*0.01),HIGH*1.05);
  223. XA_203:=CURRBARSCOUNT-1;
  224. DRAWNUMBER(XA_184 AND (XA_185 OR XA_203=0 OR (XA_203=1 AND XA_199) OR (XA_203=2 AND XA_197) OR (XA_203=3 AND XA_195) OR (XA_203=4 AND XA_193) OR (XA_203=5 AND XA_191) OR (XA_203=6 AND XA_189) OR (XA_203=7 AND XA_187)),XA_201,1),COLORMAGENTA;
  225. DRAWNUMBER(XA_186 AND (XA_187 OR XA_203=0 OR (XA_203=1 AND XA_199) OR (XA_203=2 AND XA_197) OR (XA_203=3 AND XA_195) OR (XA_203=4 AND XA_193) OR (XA_203=5 AND XA_191) OR (XA_203=6 AND XA_189)),XA_201,2),COLORMAGENTA;
  226. DRAWNUMBER(XA_188 AND (XA_189 OR XA_203=0 OR (XA_203=1 AND XA_199) OR (XA_203=2 AND XA_197) OR (XA_203=3 AND XA_195) OR (XA_203=4 AND XA_193) OR (XA_203=5 AND XA_191)),XA_201,3),COLORMAGENTA;
  227. DRAWNUMBER(XA_190 AND (XA_191 OR XA_203=0 OR (XA_203=1 AND XA_199) OR (XA_203=2 AND XA_197) OR (XA_203=3 AND XA_195) OR (XA_203=4 AND XA_193)),XA_201,4),COLORMAGENTA;
  228. DRAWNUMBER(XA_192 AND (XA_193 OR XA_203=0 OR (XA_203=1 AND XA_199) OR (XA_203=2 AND XA_197) OR (XA_203=3 AND XA_195)),XA_201,5),COLORMAGENTA;
  229. DRAWNUMBER(XA_194 AND (XA_195 OR XA_203=0 OR (XA_203=1 AND XA_199) OR (XA_203=2 AND XA_197)),XA_201,6),COLORMAGENTA;
  230. DRAWNUMBER(XA_196 AND (XA_197 OR XA_203=0 OR (XA_203=1 AND XA_199)),XA_201,7),COLORMAGENTA;
  231. DRAWNUMBER(XA_198 AND (XA_199 OR XA_203<1),XA_201,8),COLORMAGENTA;
  232. DRAWNUMBER(XA_200,XA_201,9),COLORGREEN;
  233. XA_204:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5);
  234. XA_205:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1) AND REFX(CLOSE,4)>CLOSE AND REFX(CLOSE,5)>REFX(CLOSE,1) AND REFX(CLOSE,6)>REFX(CLOSE,2) AND REFX(CLOSE,7)>REFX(CLOSE,3) AND REFX(CLOSE,8)>REFX(CLOSE,4);
  235. XA_206:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6);
  236. XA_207:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1) AND REFX(CLOSE,4)>CLOSE AND REFX(CLOSE,5)>REFX(CLOSE,1) AND REFX(CLOSE,6)>REFX(CLOSE,2) AND REFX(CLOSE,7)>REFX(CLOSE,3);
  237. XA_208:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7);
  238. XA_209:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1) AND REFX(CLOSE,4)>CLOSE AND REFX(CLOSE,5)>REFX(CLOSE,1) AND REFX(CLOSE,6)>REFX(CLOSE,2);
  239. XA_210:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7) AND REF(CLOSE,4)<REF(CLOSE,8);
  240. XA_211:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1) AND REFX(CLOSE,4)>CLOSE AND REFX(CLOSE,5)>REFX(CLOSE,1);
  241. XA_212:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7) AND REF(CLOSE,4)>REF(CLOSE,8) AND REF(CLOSE,5)<REF(CLOSE,9);
  242. XA_213:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1) AND REFX(CLOSE,4)>CLOSE;
  243. XA_214:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7) AND REF(CLOSE,4)>REF(CLOSE,8) AND REF(CLOSE,5)>REF(CLOSE,9) AND REF(CLOSE,6)<REF(CLOSE,10);
  244. XA_215:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1);
  245. XA_216:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7) AND REF(CLOSE,4)>REF(CLOSE,8) AND REF(CLOSE,5)>REF(CLOSE,9) AND REF(CLOSE,6)>REF(CLOSE,10) AND REF(CLOSE,7)<REF(CLOSE,11);
  246. XA_217:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2);
  247. XA_218:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7) AND REF(CLOSE,4)>REF(CLOSE,8) AND REF(CLOSE,5)>REF(CLOSE,9) AND REF(CLOSE,6)>REF(CLOSE,10) AND REF(CLOSE,7)>REF(CLOSE,11) AND REF(CLOSE,8)<REF(CLOSE,12);
  248. XA_219:=REFX(CLOSE,1)>REF(CLOSE,3);
  249. XA_220:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7) AND REF(CLOSE,4)>REF(CLOSE,8) AND REF(CLOSE,5)>REF(CLOSE,9) AND REF(CLOSE,6)>REF(CLOSE,10) AND REF(CLOSE,7)>REF(CLOSE,11) AND REF(CLOSE,8)>REF(CLOSE,12) AND REF(CLOSE,9)<REF(CLOSE,13);
  250. DRAWNUMBER(XA_204 AND (XA_205 OR XA_203=0 OR (XA_203=1 AND XA_219) OR (XA_203=2 AND XA_217) OR (XA_203=3 AND XA_215) OR (XA_203=4 AND XA_213) OR (XA_203=5 AND XA_211) OR (XA_203=6 AND XA_209) OR (XA_203=7 AND XA_207)),XA_202,1),COLORMAGENTA;
  251. DRAWNUMBER(XA_206 AND (XA_207 OR XA_203=0 OR (XA_203=1 AND XA_219) OR (XA_203=2 AND XA_217) OR (XA_203=3 AND XA_215) OR (XA_203=4 AND XA_213) OR (XA_203=5 AND XA_211) OR (XA_203=6 AND XA_209)),XA_202,2),COLORMAGENTA;
  252. DRAWNUMBER(XA_208 AND (XA_209 OR XA_203=0 OR (XA_203=1 AND XA_219) OR (XA_203=2 AND XA_217) OR (XA_203=3 AND XA_215) OR (XA_203=4 AND XA_213) OR (XA_203=5 AND XA_211)),XA_202,3),COLORMAGENTA;
  253. DRAWNUMBER(XA_210 AND (XA_211 OR XA_203=0 OR (XA_203=1 AND XA_219) OR (XA_203=2 AND XA_217) OR (XA_203=3 AND XA_215) OR (XA_203=4 AND XA_213)),XA_202,4),COLORMAGENTA;
  254. DRAWNUMBER(XA_212 AND (XA_213 OR XA_203=0 OR (XA_203=1 AND XA_219) OR (XA_203=2 AND XA_217) OR (XA_203=3 AND XA_215)),XA_202,5),COLORMAGENTA;
  255. DRAWNUMBER(XA_214 AND (XA_215 OR XA_203=0 OR (XA_203=1 AND XA_219) OR (XA_203=2 AND XA_217)),XA_202,6),COLORMAGENTA;
  256. DRAWNUMBER(XA_216 AND (XA_217 OR XA_203=0 OR (XA_203=1 AND XA_219)),XA_202,7),COLORMAGENTA;
  257. DRAWNUMBER(XA_218 AND (XA_219 OR XA_203<1),XA_202,8),COLORMAGENTA;
  258. DRAWNUMBER(XA_220,XA_202,9),COLORGREEN;
  259. XA_221:=OPEN-(OPEN-CLOSE)/3;
  260. XA_222:=(OPEN+CLOSE)/2;
  261. XA_223:=OPEN-2*(OPEN-CLOSE)/3;
  262. STICKLINE((OPEN+CLOSE)/2 AND CLOSE/REF(CLOSE,1)>=1.035 OR REF(CLOSE,1)/CLOSE>=1.035,(OPEN+CLOSE)/2,(OPEN+CLOSE)/2,3,0),COLORBLUE;
复制代码

论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
 
期货论坛 - 版权/免责声明   1.本站发布源码(包括函数、指标、策略等)均属开放源码,用意在于让使用者学习程序化语法撰写,使用者可以任意修改语法內容并调整参数。仅限用于个人学习使用,请勿转载、滥用,严禁私自连接实盘账户交易
  2.本站发布资讯(包括文章、视频、历史记录、教材、评论、资讯、交易方案等)均系转载自网络主流媒体,内容仅为作者当日个人观点,本网转载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述。本网不对该类信息或数据做任何保证。不对您构成任何投资建议,不能依靠信息而取代自身独立判断,不对因使用本篇文章所诉信息或观点等导致的损失承担任何责任。
  3.本站发布资源(包括书籍、杂志、文档、软件等)均从互联网搜索而来,仅供个人免费交流学习,不可用作商业用途,本站不对显示的内容承担任何责任。请在下载后24小时内删除。如果喜欢,请购买正版,谢谢合作!
  4.龙听期货论坛原创文章属本网版权作品,转载须注明来源“龙听期货论坛”,违者本网将保留追究其相关法律责任的权力。本论坛除发布原创文章外,亦致力于优秀财经文章的交流分享,部分文章推送时若未能及时与原作者取得联系并涉及版权问题时,请及时联系删除。联系方式:http://www.qhlt.cn/thread-262-1-1.html
如何访问权限为100/255贴子:/thread-37840-1-1.html;注册后仍无法回复:/thread-23-1-1.html;微信/QQ群:/thread-262-1-1.html;网盘链接失效解决办法:/thread-93307-1-1.html

返回列表