午夜视频在线网站,日韩视频精品在线,中文字幕精品一区二区三区在线,在线播放精品,1024你懂我懂的旧版人,欧美日韩一级黄色片,一区二区三区在线观看视频

分享

通達(dá)信量學(xué)25種漲?;蚋眻D指標(biāo)公式 明陽(yáng)程序化

 耀日131 2019-12-10

é??è?????é???-|25?§???¨?????o?? ??ˉ??????? ???????

量學(xué)漲停基因:

25種漲停基因副圖,如圖,該公式有未來(lái)函數(shù)BACKSET,請(qǐng)謹(jǐn)慎使用。

公式源碼:

  1. 峰谷周期:=5;
  2. 峰谷虛實(shí):=1;
  3. 高量周期:=10;
  4. M周期內(nèi):=10;
  5. X3:=REF(CLOSE,1);
  6. X4:=ISLASTBAR AND CLOSE<500;
  7. X5:=VOL;
  8. X6:=MA(VOL,5);
  9. X7:=X5<=LLV(X5,100)*1;
  10. X8:=COUNT(X7,5)>=3 OR X6<=LLV(X6,100) AND X5>0 AND BARSCOUNT(X5)>=100;
  11. X9:=FILTER(X8,5);
  12. X10:=VOL>=REF(VOL,1)*1.9 AND CLOSE>X3;
  13. X11:=HIGH<0.382*HHV(HIGH,240) OR LOW<1.382*LLV(LOW,240);
  14. X12:=VOL<0.382*HHV(VOL,240) AND MA(VOL,5)<=MA(VOL,40);
  15. X13:=X12 AND X11;
  16. X14:=VOL/REF(VOL,1)>=1.1;
  17. X15:=CLOSE>OPEN AND BETWEEN(VOL/REF(VOL,1),1.1,2.5);
  18. X16:=CLOSE>REF(CLOSE,1) AND REFX(LLV(MIN(CLOSE,OPEN),3),3)>=LOW;
  19. X17:=X14 AND X16;
  20. X18:=X17 AND X13;
  21. X19:=CLOSE>OPEN AND CLOSE<REFX(OPEN,1) AND REFX(X16,1);
  22. X20:=LLV(MIN(OPEN,CLOSE),3);
  23. X21:=0.97*MA(VOL,3)<=REF(VOL,3);
  24. X22:=REF(CLOSE>X3 AND VOL>1.1*REF(VOL,1),3) AND CLOSE>=REF(CLOSE,3) AND REF(CLOSE>=OPEN,3) AND X20>=REF(OPEN,3) AND X21;
  25. X23:=BARSLAST(X22);
  26. X24:=REF(X20,X23);
  27. X25:=REF(CLOSE,X23+3);
  28. X26:=REF(OPEN,X23+3);
  29. X27:=峰谷周期;
  30. X28:=IF(峰谷虛實(shí)=0,HIGH,MAX(CLOSE,OPEN));
  31. X29:=5;
  32. X30:=X29*1;
  33. X31:=BARSLAST(FILTER(BACKSET(FILTER(REF(X28,X30)=HHV(X28,2*X30+1),X30),X30+1),X30));
  34. X32:=REF(X28,X31);
  35. X33:=X29*2;
  36. X34:=BARSLAST(FILTER(BACKSET(FILTER(REF(X28,X33)=HHV(X28,2*X33+1),X33),X33+1),X33));
  37. X35:=REF(X28,X34);
  38. X36:=X29*4;
  39. X37:=BARSLAST(FILTER(BACKSET(FILTER(REF(X28,X36)=HHV(X28,2*X36+1),X36),X36+1),X36));
  40. X38:=REF(X28,X37);
  41. X39:=X29*8;
  42. X40:=BARSLAST(FILTER(BACKSET(FILTER(REF(X28,X39)=HHV(X28,2*X39+1),X39),X39+1),X39));
  43. X41:=REF(X28,X40);
  44. X42:=1+0/100;
  45. X43:=CROSS(CLOSE,X42*X32);
  46. X44:=X43 AND REF(HHV(X28,X31),1)<=X32;
  47. X45:=CROSS(CLOSE,X42*X35);
  48. X46:=X45 AND REF(HHV(X28,X34),1)<=X35;
  49. X47:=CROSS(CLOSE,X42*X38);
  50. X48:=X47 AND REF(HHV(X28,X37),1)<=X38;
  51. X49:=CROSS(CLOSE,X42*X41);
  52. X50:=X49 AND REF(HHV(X28,X40),1)<=X41;
  53. X51:=X44 OR X48 OR X48 OR X50;
  54. X52:=IF(X44,X31,IF(X46,X34,IF(X48,X37,X40)));
  55. X53:=REF(X28,X52);
  56. X54:=IF(峰谷虛實(shí)=0,LOW,MIN(CLOSE,OPEN));
  57. X55:=FILTER(BACKSET(FILTER(REF(X54,X27)=LLV(X54,2*X27+1),X27),X27+1),X27);
  58. X56:=BARSLAST(X55);
  59. X57:=REF(X54,X56);
  60. X58:=0.002*LOW+0.005;
  61. X59:=X55 AND ABS(X57-REF(X57,1))<=X58 AND REF(X56,1)>=5;
  62. X60:=X55 AND ABS(X57-REF(X53,X52+1))<=X58;
  63. X61:=BETWEEN(X28,X53*0.995,X53*1.001);
  64. X62:=COUNT(X61,10)>=3 AND HHV(HIGH,X52)<=X53*1.001;
  65. X63:=X5/HHV(X5,20)<=0.618;
  66. X64:=HIGH>LOW AND (CLOSE/REF(CLOSE,1)<=0.96 OR CLOSE/OPEN<=0.96) AND X63;
  67. X65:=HIGH>LOW AND (CLOSE/REF(CLOSE,1)>=1.04 OR CLOSE/OPEN>=1.04) AND X63;
  68. X66:=3;
  69. X67:=3;
  70. X68:=HHV(HIGH,240)-LLV(LOW,240);
  71. X69:=IF(X68<=1,0,IF(X68<=5,0.02,2.5/1000*X68)+0.005);
  72. X70:=VOL>=REF(VOL,1)*1.1 OR CLOSE>OPEN*IF(CLOSE<500,1.03,1.01);
  73. X71:=REFX(LLV(LOW,X67),X67);
  74. X72:=X70 AND LOW<=X71;
  75. X73:=REF(HHV(HIGH,X66),1);
  76. X74:=REF(HHV(MAX(CLOSE,OPEN),X66),1);
  77. X75:=X72 AND ABS(X73-X71)<=X69;
  78. X76:=X72 AND ABS(X74-X71)<=X69;
  79. X77:=REFX(LLV(MIN(CLOSE,OPEN),X67),X67);
  80. X78:=X70 AND LOW<=X77;
  81. X79:=X78 AND ABS(X73-X77)<=X69;
  82. X80:=X78 AND ABS(X74-X77)<=X69;
  83. X81:=X75 OR X76 OR X79 OR X80;
  84. X82:=50/IF(CLOSE>=1,10000,100000);
  85. X83:=1.1*X3-X82;
  86. X84:=1.05*X3-X82;
  87. X85:=0.9*X3+X82;
  88. X86:=0.95*X3+X82;
  89. X87:=NAMELIKE(4) OR NAMELIKE(5);
  90. X88:=IF(X87,CLOSE>=X84,CLOSE>=X83);
  91. X89:=CLOSE1000 AND CLOSE<=X3*0.975);
  92. X90:=X89;
  93. X91:=BARSLAST(FILTER(X90,3));
  94. X92:=REF(OPEN,X91);
  95. X93:=LOW<OPEN*0.96 AND X11 AND MA(CLOSE,60)<=REF(MA(CLOSE,60),1);
  96. X94:=BARSLAST(X93);
  97. X95:=REF(OPEN,X94)>=HHV(MAX(CLOSE,OPEN),X94) AND REF(LOW,X94)<=1.01*LLV(MIN(CLOSE,OPEN),X94);
  98. X96:=X95 AND X94>=5 AND MA(VOL,5)<MA(VOL,60);
  99. X97:=FILTER(X96,5);
  100. X98:=LOW*0.005;
  101. X99:=LOW<=LLV(LOW,3);
  102. X100:=ABS(LOW-REF(X24,1))<=X98 OR ABS(LOW-REF(X24,X23+1))<=X98 AND LOW<=LLV(MIN(OPEN,CLOSE),X23);
  103. X101:=ABS(LOW-REF(X25,1))<=X98 OR ABS(LOW-REF(X25,X23+1+3))<=X98;
  104. X102:=ABS(LOW-REF(X26,1))<=X98 OR ABS(LOW-REF(X26,X23+1+3))<=X98;
  105. X103:=ABS(LOW-REF(X53,1))<=X98 OR ABS(LOW-REF(X53,X52+1))<=X98;
  106. X104:=ABS(LOW-REF(X57,1))<=X98 OR ABS(LOW-REF(X57,X56+1))<=X98;
  107. X105:=ABS(LOW-REF(X92,1))<=X98 AND X91>=1;
  108. X106:=X99 AND (X100 OR X103 OR X104 OR X105 OR X101 OR X102);
  109. X107:=(MIN(OPEN,CLOSE)-LOW)/CLOSE>=0.02 AND (MIN(OPEN,CLOSE)-LOW)/(HIGH-LOW)>0.5>=0.02;
  110. X108:=LOW>REF(HIGH,1);
  111. X109:=REF((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW),1)>0.5 AND REF((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW),1)>0.5 AND X107 AND HIGH<REF(HIGH,1) AND VOL<REF(VOL,1)*1;
  112. X110:=CLOSE>OPEN AND CLOSE<REF(CLOSE,1);
  113. X111:=CLOSEREF(CLOSE,1);
  114. X112:=AMOUNT/VOL/100;
  115. X113:=CLOSEREF(CLOSE,1) AND CLOSE<=REF(CLOSE,1) AND X112<=HIGH;
  116. X114:=X111 OR X113;
  117. X115:=CLOSE>OPEN AND CLOSE>X3 AND VOL<REF(VOL,1);
  118. X116:=REF(VOL,1)>=VOL*1.9 AND REF(CLOSE>REF(CLOSE,1),1);
  119. X117:=COUNT(X10,3)=1 AND X116;
  120. X118:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
  121. X119:=SUM(X118,3)<=(-5);
  122. X120:=CLOSE>OPEN AND CLOSE>REF((OPEN+CLOSE)/2,1);
  123. X121:=REF(X119,1) AND X120;
  124. X122:=(CLOSE-OPEN)/OPEN*100>=3;
  125. X123:=BETWEEN(MIN(CLOSE,OPEN),REF(OPEN+(CLOSE-OPEN)*0.6,1),REF(CLOSE,1)) AND CLOSE<X3;
  126. X124:=VOL/REF(VOL,1)<=0.71;
  127. X125:=REF(X122,1) AND X123 AND X124;
  128. X126:=COUNT(CLOSE>=X3,3)=3 AND REF(COUNT(VOL>=REF(VOL,1),2)=2,1);
  129. X127:=MIN(CLOSE,OPEN)>REF(MAX(CLOSE,OPEN),1);
  130. X128:=COUNT(X127,3)=3;
  131. X129:=HIGH=LOW;
  132. X130:=COUNT(X129,3)=3=0 AND X129=0;
  133. X131:=X128 AND X130;
  134. X132:=4;
  135. X133:=IF(峰谷虛實(shí)=1,MIN(CLOSE,OPEN),LOW);
  136. X134:=BARSLAST(X10);
  137. X135:=LLV(X133,X134)>=REF(X133,X134) AND X134>=X132;
  138. X136:=FILTER(BACKSET(FILTER(REF(VOL,X27)=HHV(VOL,2*X27+1),X27),X27+1),X27);
  139. X137:=BARSLAST(X136);
  140. X138:=LLV(X133,X137)>=REF(X133,X137) AND X137>=X132 AND X137>=高量周期;
  141. X139:=LOW>REF(HIGH,1);
  142. X140:=BARSLAST(X10);
  143. X141:=LLV(LOW,X140)>REF(HIGH,X140+1) AND X140>=X132;
  144. X142:=X135 OR X138 OR X141;
  145. X143:=MIN(CLOSE,OPEN);
  146. X144:=MAX(CLOSE,OPEN);
  147. X145:=HIGH-LOW;
  148. X146:=CLOSE>=1.0497*REF(CLOSE,1)-X82;
  149. X147:=RANGE(ABS(CLOSE-OPEN)/X145,0,0.8) AND (HIGH-X144)/X145>=0.1 AND (X143-LOW)/X145>=0.1;
  150. X148:=LLV(X143,2)>=REF(0.5*(X144+X143),2);
  151. X149:=HHV(VOL,2)<REF(VOL,2);
  152. X150:=REF(X146,2) AND COUNT(X147,2)=2 AND X148 AND X149;
  153. X151:=LLV(X143,3);
  154. X152:=(CLOSE-OPEN)/OPEN>=5/100 OR X118>=5;
  155. X153:=20;
  156. X154:=(X143-LLV(X143,4))/LLV(X143,4)<3/100;
  157. X155:=LLV(X143,5)=LLV(X143,X153) AND BARSCOUNT(CLOSE)>=X153;
  158. X156:=0;
  159. X157:=IF(X156=1,CLOSE>=OPEN AND REF(X152=0 OR CLOSE<OPEN,1) AND CLOSE>REF(X144,1),1);
  160. X158:=X152 OR (BETWEEN(X118,3,5) AND X10) AND X157 AND X154;
  161. X159:=BARSLAST(X158>0);
  162. X160:=REF(X159,1)+1;
  163. X161:=LLV(MIN(CLOSE,OPEN),X160);
  164. X162:=X161>=REF(LOW,X160);
  165. X163:=COUNT(X158>0,13)=2;
  166. X164:=REF(OPEN,X160);
  167. X165:=ABS(OPEN-X164)/X164<10/100;
  168. X166:=1*(X158 AND X163 AND X165 AND REF(X162,1) AND BETWEEN(X160,4,13));
  169. 地量:=COUNT(X9,M周期內(nèi));
  170. DRAWTEXT(ISLASTBAR,3,'--地量'),COLORBROWN;
  171. STICKLINE(地量,0,5,3,0),COLORBROWN;
  172. 矮將:=COUNT(X18,M周期內(nèi));
  173. DRAWTEXT(ISLASTBAR,8,'--矮將');
  174. STICKLINE(矮將,5,10,3,0);
  175. 金柱:=COUNT(REFX(X22,3),M周期內(nèi));
  176. DRAWTEXT(ISLASTBAR,13,'--金柱'),COLORF020A0;
  177. STICKLINE(金柱,10,15,3,0),COLORF020A0;
  178. 元帥:=COUNT(X19,M周期內(nèi)),COLORRED;
  179. DRAWTEXT(ISLASTBAR,18,'--元帥'),COLORFF66E0;
  180. STICKLINE(元帥,15,20,3,0),COLORFF66E0;
  181. 漲板:=COUNT(X88,M周期內(nèi));
  182. DRAWTEXT(ISLASTBAR,23,'--漲板'),COLOR00CDCD;
  183. STICKLINE(漲板,20,25,3,0),COLOR00CDCD;
  184. 零號(hào):=COUNT(X108,M周期內(nèi));
  185. DRAWTEXT(ISLASTBAR,28,'--零號(hào)'),COLOR7610CD;
  186. STICKLINE(零號(hào),25,30,3,0),COLOR7610CD;
  187. 過(guò)左:=COUNT(X51,M周期內(nèi));
  188. DRAWTEXT(ISLASTBAR,33,'--過(guò)左'),COLORAAE8EE;
  189. STICKLINE(過(guò)左,30,35,3,0),COLORAAE8EE;
  190. 陰短:=COUNT(X64,M周期內(nèi)),COLORLIGREEN;
  191. DRAWTEXT(ISLASTBAR,37,'--陰短'),COLORLIGREEN;
  192. STICKLINE(陰短,35,40,3,0),COLORLIGREEN;
  193. 陽(yáng)矮:=COUNT(X65 AND CLOSE>LOW,M周期內(nèi)),COLORLIRED;
  194. DRAWTEXT(ISLASTBAR,43,'--陽(yáng)矮'),COLORLIRED;
  195. STICKLINE(陽(yáng)矮,40,45,3,0),COLORLIRED;
  196. 踩精:=COUNT(X106,M周期內(nèi)),COLORCYAN;
  197. DRAWTEXT(ISLASTBAR,48,'--踩精'),COLORCYAN;
  198. STICKLINE(踩精,45,50,3,0),COLORCYAN;
  199. 假陰:=COUNT(X114,M周期內(nèi));
  200. DRAWTEXT(ISLASTBAR,53,'--假陰'),COLORCD329A;
  201. STICKLINE(假陰,50,55,3,0),COLORCD329A;
  202. 背反:=COUNT(X115,M周期內(nèi));
  203. DRAWTEXT(ISLASTBAR,58,'--背反'),COLOR8B668B;
  204. STICKLINE(背反,55,60,3,0),COLOR8B668B;
  205. 伸縮:=COUNT(X117,M周期內(nèi));
  206. DRAWTEXT(ISLASTBAR,63,'--伸縮'),COLORCC3299;
  207. STICKLINE(伸縮,60,65,3,0),COLORCC3299;
  208. 次陽(yáng):=COUNT(X121,M周期內(nèi)),COLORRED;
  209. DRAWTEXT(ISLASTBAR,68,'--次陽(yáng)'),COLORRED;
  210. STICKLINE(次陽(yáng),65,70,3,0),COLORRED;
  211. 懸陰:=COUNT(X125,M周期內(nèi));
  212. DRAWTEXT(ISLASTBAR,73,'--懸陰'), COLORAAC1C5;
  213. STICKLINE(懸陰,70,75,3,0), COLORAAC1C5;
  214. 三元:=COUNT(X131,M周期內(nèi));
  215. DRAWTEXT(ISLASTBAR,78,'--三元'),COLOR00008B;
  216. STICKLINE(三元,75,80,3,0),COLOR00008B;
  217. 梯四:=COUNT(X126,M周期內(nèi));
  218. DRAWTEXT(ISLASTBAR,83,'--梯四'),COLORD5EFFF;
  219. STICKLINE(梯四,80,85,3,0),COLORD5EFFF;
  220. 三絕:=COUNT(X142,M周期內(nèi))>=1;
  221. DRAWTEXT(ISLASTBAR,88,'--三絕'),COLORF020A0;
  222. STICKLINE(三絕,85,90,3,0),COLORF020A0;
  223. 雙休:=COUNT(X150,M周期內(nèi)),COLOR1A1A8B;
  224. DRAWTEXT(ISLASTBAR,93,'--雙休'),COLOR1A1A8B;
  225. STICKLINE(雙休,90,95,3,0),COLOR1A1A8B;
  226. 雙陽(yáng):=COUNT(X166,M周期內(nèi));
  227. DRAWTEXT(ISLASTBAR,98,'--雙陽(yáng)'),COLOR69698B;
  228. STICKLINE(雙陽(yáng),95,100,3,0),COLOR69698B;
  229. 雙劍:=COUNT(X109,M周期內(nèi));
  230. DRAWTEXT(ISLASTBAR,103,'--雙劍'),COLOR78888B;
  231. STICKLINE(雙劍,100,105,3,0),COLOR78888B;
  232. 十字:=COUNT(X81,M周期內(nèi));
  233. DRAWTEXT(ISLASTBAR,108,'--十字'),COLOR42578B ;
  234. STICKLINE(十字,105,110,3,0),COLOR42578B ;
  235. 直憋:=COUNT(X97,M周期內(nèi));
  236. DRAWTEXT(ISLASTBAR,113,'--直憋'),COLOR525252;
  237. STICKLINE(直憋,110,115,3,0),COLOR525252;
  238. 峰谷:COUNT(X59 OR X60,M周期內(nèi)),NODRAW;
  239. 咬峰:COUNT(X62,M周期內(nèi)),NODRAW;
  240. X167:=IF(漲板>0,1,0)+IF(地量>0,1,0)+IF(矮將>0,1,0)+IF(金柱>0,1,0)+IF(元帥>0,1,0);
  241. X168:=IF(過(guò)左>0,1,0)+IF(伸縮>0,1,0)+IF(陰短>0,1,0)+IF(陽(yáng)矮>0,1,0)+IF(直憋>0,1,0);
  242. X169:=IF(踩精>0,1,0)+IF(雙劍>0,1,0)+IF(假陰>0,1,0)+IF(背反>0,1,0)+IF(零號(hào)>0,1,0);
  243. X170:=IF(十字>0,1,0)+IF(峰谷>0,1,0)+IF(次陽(yáng)>0,1,0)+IF(三元>0,1,0)+IF(懸陰>0,1,0);
  244. X171:=IF(梯四>0,1,0)+IF(咬峰>0,1,0)+IF(三絕>0,1,0)+IF(雙休>0,1,0)+IF(雙陽(yáng)>0,1,0);
  245. 總類:X167+X168+X169+X170+X171,NODRAW,COLORRED;
  246. X172:=漲板+地量+矮將+金柱+元帥;
  247. X173:=過(guò)左+伸縮+陰短+陽(yáng)矮+直憋;
  248. X174:=踩精+雙劍+假陰+背反+零號(hào);
  249. X175:=十字+峰谷+次陽(yáng)+三元+懸陰;
  250. X176:=梯四+咬峰+三絕+雙休+雙陽(yáng);
  251. 總數(shù):X172+X173+X174+X175+X176,NODRAW,COLORYELLOW;
  252. NOTEXTK0:0;
  253. NOTEXTK1:5;
  254. NOTEXTK2:10;
  255. NOTEXTK3:15;
  256. NOTEXTK4:20;
  257. NOTEXTK5:25;
  258. NOTEXTK6:30;
  259. NOTEXTK7:35;
  260. NOTEXTK8:40;
  261. NOTEXTK9:45;
  262. NOTEXTK10:50;
  263. NOTEXTK11:55;
  264. NOTEXTK12:60,;
  265. NOTEXTK13:65,;
  266. NOTEXTK14:70;
  267. NOTEXTK15:75;
  268. NOTEXTK16:80;
  269. NOTEXTK17:85;
  270. NOTEXTK18:90;
  271. NOTEXTK19:95;
  272. NOTEXTK20:100;
  273. NOTEXTK21:105;
  274. NOTEXTK22:110;
  275. NOTEXTK23:115;

    本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購(gòu)買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊一鍵舉報(bào)。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評(píng)論

    發(fā)表

    請(qǐng)遵守用戶 評(píng)論公約

    類似文章 更多