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

大智慧L2小护士指标公式 多空线指标[大智慧公式]

大智慧L2小护士指标公式 多空线指标[大智慧公式]

相关标签: 大智慧l2一目了然指标 、 大智慧l2涨停指标 、 大智慧l2无未来指标 、 大智慧l2选股指标 、 大智慧l2 、 免费使用大智慧l2行情 、 大智慧l2免费版下载 、 大智慧l2破解版下载 、 大智慧l2账号和密码 、



{小护士指标(大智慧L2)版},仅供参考:


  1. -10,dotline,color888888,PRECIS0;
  2. 80,dotline,color888888,PRECIS0;
  3. qw1:=(HIGH+LOW+CLOSE*2)/4;
  4. qw3:=EMA(qw1,10);
  5. qw4:=STD(qw1,10);
  6. qw5:=(qw1-qw3)*100/qw4;
  7. qw6:=EMA(qw5,5);
  8. rk7:=EMA(qw6,10);
  9. 涨:EMA(qw6,10)+100/2-5,linethick1,colorred,PRECIS2;
  10. 跌:EMA(涨,4),linethick1,colorFFFF34,PRECIS2;
  11. 多线:IF(cross(涨,跌) and 跌<-10,30,0),linethick1,COLORFF00FF,PRECIS2;
  12. 空线:IF(cross(跌,80),70,100),colorff9900,PRECIS2;
  13. 买1:eMA(跌,4),colorwhite,PRECIS2;
  14. 买2:eMA(买1,4),colorgreen,PRECIS2;
  15. 买m3:=eMA(买2,4);
  16. 买m4:=eMA(买m3,4);
  17. STICKLINE(涨<ref(涨,1),涨,MA(涨,3),0,0 ),colorwhite,PRECIS0;
  18. STICKLINE(涨<ref(涨,1),涨,MA(涨,3),8,0 ),COLOR008800,PRECIS0;
  19. STICKLINE(涨<ref(涨,1),涨,MA(涨,3),7,0 ),COLOR009900,PRECIS0;
  20. STICKLINE(涨<ref(涨,1),涨,MA(涨,3),6,0 ),COLOR00AA00,PRECIS0;
  21. STICKLINE(涨<ref(涨,1),涨,MA(涨,3),5,0 ),COLOR00BB00,PRECIS0; {本文来至程序化交易网 cxh99.com}
  22. STICKLINE(涨<ref(涨,1),涨,MA(涨,3),4,0 ),COLOR00CC00,PRECIS0;
  23. STICKLINE(涨<ref(涨,1),涨,MA(涨,3),3,0 ),COLOR00DD00,PRECIS0;
  24. STICKLINE(涨<ref(涨,1),涨,MA(涨,3),2,0 ),COLOR00EE00,PRECIS0;
  25. STICKLINE(涨<ref(涨,1),涨,MA(涨,3),1,0 ),COLOR00FF00,PRECIS0;
  26. CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
  27. WARNING('http://www.cxh99.com',CURRENTTIME>180000 and (CXH=3 OR CXH=8));
  28. DRAWTEXTREL(10 ,10 ,'');
  29. STICKLINE(涨> ref(涨,1),涨,EMA(涨,3),0,0) ,COLOR00BBFF,PRECIS0;
  30. STICKLINE(涨> ref(涨,1),涨,EMA(涨,3),8,0) ,COLOR0011FF,PRECIS0;
  31. STICKLINE(涨> ref(涨,1),涨,EMA(涨,3),7,0) ,COLOR0022FF,PRECIS0;
  32. STICKLINE(涨> ref(涨,1),涨,EMA(涨,3),6,0) ,COLOR0044FF,PRECIS0;
  33. STICKLINE(涨> ref(涨,1),涨,EMA(涨,3),5,0) ,COLOR0066FF,PRECIS0;
  34. STICKLINE(涨> ref(涨,1),涨,EMA(涨,3),4,0) ,COLOR0088FF,PRECIS0;
  35. STICKLINE(涨> ref(涨,1),涨,EMA(涨,3),3,0) ,COLOR0099FF,PRECIS0;
  36. STICKLINE(涨> ref(涨,1),涨,EMA(涨,3),2,0) ,COLOR00AAFF,PRECIS0;
  37. STICKLINE(涨> ref(涨,1),涨,EMA(涨,3),1,0) ,COLOR00BBFF,PRECIS0;
  38. DRAWICON(多线,30,1);
  39. DRAWICON(cross(跌,80),70,2);
  40. DRAWTEXT(cross(涨,跌) and 跌<20 and 跌>-10,40,'买入'),colorccff99;
  41. DRAWTEXT(多线>0,-20,'看涨'),color0000ff;
  42. Var811:=SUMBARS(VOL,FINANCE2(7)*100);
  43. Var822:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
  44. Var883:=(CLOSE-Var822)/Var822*100;
  45. Var884:=HHV(Var883,Var811);
  46. Var885:=LLV(Var883,Var811);
  47. Var886:=(Var883-Var885)/(Var884-Var885)*100;
  48. K:=SMA(Var886,3,1);
  49. D:=SMA(K,3,1);
  50. J:=3*K-2*D;
  51. MA1:=MA(J,3);
  52. STICKLINE(filter(J>MA1 AND J<=3,5)=1 and 跌<0,涨,涨+20,6,0),coloryelLOW,PRECIS0;
  53. DRAWTEXT(filter(J>MA1 AND J<=3,5)=1 and 跌<0,60,'考虑买进'),colorffffff;
  54. Var1:=MA(CLOSE,152);
  55. Var2:=MA(CLOSE,194);
  56. Var3:=Var2+2*STD(CLOSE,170);
  57. Var4:=Var1+2*STD(CLOSE,170);
  58. 顶:(CLOSE>Var3)*13*10,colorblue,linethick2,PRECIS0;
  59. Var6:=EMA(HHV(HIGH,500),21);
  60. Var7:=EMA(HHV(HIGH,250),21);
  61. Var8:=EMA(HHV(HIGH,90),21);
  62. Var9:=EMA(LLV(LOW,500),21);
  63. VarA:=EMA(LLV(LOW,250),21);
  64. VarB:=EMA(LLV(LOW,90),21);
  65. VarC:=EMA((Var9*0.96+VarA*0.96+VarB*0.96+Var6*0.558+Var7*0.558+Var8*0.558)/6,21);
  66. VarD:=EMA((Var9*1.25+VarA*1.23+VarB*1.2+Var6*0.55+Var7*0.55+Var8*0.65)/6,21);
  67. VarE:=EMA((Var9*1.3+VarA*1.3+VarB*1.3+Var6*0.68+Var7*0.68+Var8*0.68)/6,21);
  68. VarF:=EMA((VarC*3+VarD*2+VarE)/6*1.738,21);
  69. Var10:=ref(LOW,1);
  70. Var11:=SMA(ABS(LOW-Var10),3,1)/SMA(MAX(LOW-Var10,0),3,1)*100;
  71. Var12:=EMA(IF(CLOSE*1.35<=VarF,Var11*10,Var11/10),3);
  72. Var13:=LLV(LOW,30);
  73. Var14:=HHV(Var12,30);
  74. Var15:=IF(MA(CLOSE,58),1,0);
  75. Var16:=EMA(IF(LOW<=Var13,(Var12+Var14*2)/2,0),3)/618*Var15;
  76. Var17:=IF(Var16>50,50,Var16)/3.82*6;
  77. Var18:=HHV(HIGH,30);
  78. Var19:=LLV(LOW,30);
  79. NL:=EMA((CLOSE-Var19)/(Var18-Var19)*100,5)/8*10;
  80. Var1A:=(EMA(AMOUNT,5)/EMA(VOL,5)/100-EMA(AMOUNT,125)/EMA(VOL,125)/100)/(EMA(AMOUNT,5)/EMA(VOL,5)/100)<-0.4;
  81. Var1B:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
  82. Var1C:=SMA(Var1B,3,1);
  83. Var1D:=SMA(Var1C,3,1);
  84. Var1E:=(-100)*(HHV(HIGH,52)-CLOSE)/(HHV(HIGH,52)-LLV(LOW,52));
  85. Var1F:=COUNT(Var1A,5)>=1 AND (Var1E<-99.9 OR Var1D<15 AND Var1C<12); {本文来至程序化交易网 cxh99.com}
  86. Var20:=VOL/FINANCE2(7);
  87. Var21:=100*WINNER(CLOSE);
  88. Var22:=MA(Var21,3);
  89. Var23:=MA(Var20,34);
  90. Var24:=Var22<Var23*100 AND Var21<Var20;
  91. Var25:=SUM(IF(CLOSE>ref(CLOSE,1),1,0),0);
  92. Var26:=SUMBARS(VOL,CAPITAL);
  93. Var27:=IF(CLOSE>LLV(CLOSE,Var26),1,-1)*IF(Var25>LLV(Var25,Var26),1,-1);
  94. Var28:=COUNT(IF(Var27=-1,1,0)=1,8)>2;
  95. Var29:=(CLOSE-DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT,13)/(AMOUNT/VOL/100)/100)))/DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT,13)/(AMOUNT/VOL/100)/100))*100<-18;
  96. Var2A:=(CLOSE-MIN(ref(CLOSE,5)*0.865,ref(CLOSE,21)*0.772))/CLOSE<0.01;
  97. Var2B:=Var28 AND Var29 AND Var2A;
  98. Var2C:=VOL/CAPITAL>=0.02 AND VOL/CAPITAL<=0.2 AND OPEN=1.105;
  99. Var2D:=Var2C AND COUNT(Var2C,5)=1;
  100. Var2E:=Var2B OR Var2C;
  101. Var2F:=ref(CLOSE,1);
  102. Var30:=SMA(MAX(CLOSE-Var2F,0),7,1)/SMA(ABS(CLOSE-Var2F),7,1)*100;
  103. Var31:=SMA(MAX(CLOSE-Var2F,0),13,1)/SMA(ABS(CLOSE-Var2F),13,1)*100;
  104. Var32:=Var30<20 AND Var31<25;
  105. Var33:=Var32;
  106. Var34:=SUM(IF(CLOSE>ref(CLOSE,1),VOL,IF(CLOSE<ref(CLOSE,1),0-VOL,0)),0);
  107. Var35:=IF(CLOSE>LLV(CLOSE,Var26),1,-1);
  108. Var36:=IF(Var34>LLV(Var34,Var26),1,-1);
  109. Var37:=Var35*Var36;
  110. Var38:=IF(Var37=-1,1,0);
  111. Var39:=Var38 AND CLOSE=LLV(CLOSE,120) AND Var21<Var20;
  112. Var3A:=IF(FILTER(Var1F AND Var24 AND Var2E AND Var33 AND Var39>0,4),70,0);
  113. DRAWTEXT(FILTER(Var24 AND Var2E AND Var33 OR Var33 AND Var39,1),Var2*4-13,'抄底'),colorred;
  114. STICKLINE(IF(Var24 AND Var2E AND Var33 OR Var33 AND Var39,35,0),0,Var2*4-4,15,0),PRECIS0;
  115. Var3B:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
  116. Var3C:=SMA(Var3B,3,1);
  117. Var3D:=SMA(Var3C,3,1);
  118. Var3E:=SMA(Var3D,3,1);
  119. Var3F:=CROSS(Var3D,Var3E) AND Var3D<20;
  120. Var40:=CROSS(Var3E,Var3D) AND Var3D>80;
  121. Var41:=5;
  122. DRAWTEXT(CROSS(Var41,NL),30,'★做底'),colorwhite;
  123. Var42:="RSI#WEEK"(12,12,12);
  124. Var43:="RSI#WEEK"(55,55,55);
  125. Var44:=ref(CLOSE,1);
  126. Var45:=SMA(MAX(CLOSE-Var44,0),6,1)/SMA(ABS(CLOSE-Var44),6,1)*100; {内容来至程序化交易网 CXH99.COM}
  127. Var46:=FILTER(Var40,5)=1 AND BARSLAST(CROSS(Var42,Var43) AND Var42<=60)>=20;
  128. STICKLINE(CROSS(Var42,Var43) AND Var42<=60,0,Var2*15+5,3,0),colorMAgenta,PRECIS0;
  129. {DRAWTEXT(CROSS(Var42,Var43) AND Var42<=60,(Var2*12+3)/1,'加仓'),colorMAgenta;}
  130. STICKLINE(CROSS(84,Var45),0,Var2*15+3,5,1),colorgreen,PRECIS0;
  131. STICKLINE(Var46,Var2*15+10,10,6,0.3),color009900,PRECIS0 ;
  132. DRAWTEXT(CROSS(84,Var45),70,'防空警报'),colorgreen ;
  133. DRAWTEXT(Var46,50,'减仓'),colorgreen ;

  134. Var47:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5);
  135. Var48:=(CLOSE-LLV(CLOSE,126))/(HHV(CLOSE,126)-LLV(CLOSE,126))*100;
  136. Var49:=EMA(CLOSE,2)-EMA(CLOSE,150);
  137. Var4A:=EMA(Var49,100);
  138. Var4B:=2*(Var49-Var4A);
  139. Var4C:=POW(Var4B,3)*0.1+POW(Var4B,1);
  140. Var4D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
  141. Var4E:=EMA(Var4D*0.97,3);
  142. Var4F:=(HIGH+LOW+CLOSE)/3;
  143. Var50:=(Var4F-MA(Var4F,14))/(0.015*AVEDEV(Var4F,14));
  144. Var51:=IF(Var4B>0.1,Var4C,0)*5;
  145. Var52:=LLV(HIGH,240);
  146. Var53:=100*(CLOSE-Var52)/Var52;
  147. Var54:=AMOUNT/VOL;
  148. Var55:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5);
  149. Var56:=INDEXC;
  150. Var57:=MA(Var56,5);
  151. Var58:=MA(Var56,20);
  152. Var59:=MA(Var56,30);
  153. Var5A:=Var59>Var57*1.08 AND Var58>Var57*1.055;
  154. Var5B:=Var57>Var56*1.03 AND Var58>Var56*1.13;
  155. Var5C:=Var5B;
  156. Var5D:=IF(FILTER(Var55<6,5)=1,1,0);
  157. Var5E:=(Var5D AND Var53<-2.5 AND Var47<5 AND Var48=0)*60;
  158. Var5F:=Var55<6 AND Var5C;
  159. Var60:=IF(FILTER(Var5F,1)=1,1,0)*80;
  160. Var61:=Var5F AND Var5D*80;
  161. Var62:=CROSS(Var51,2);
  162. Var63:=CROSS(Var51,4);
  163. Var64:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
  164. Var65:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
  165. Var66:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
  166. Var67:=ref(CLOSE,1);
  167. Var68:=SMA(MAX(CLOSE-Var67,0),5,1)/SMA(ABS(CLOSE-Var67),5,1)*100;
  168. Var69:=(HIGH+LOW+CLOSE)/3;
  169. Var6A:=(Var69-MA(Var69,14))/(0.015*AVEDEV(Var69,14));
  170. Var6B:=(Var64>=-15.8 AND Var64<=-12.2 AND Var65<=-20.8 AND Var66<=-27.5 AND Var68<=11.7 AND Var6A<=-145)*100;
  171. Var6C:=Var48=0;
  172. Var6D:=Var48=100;
  173. Var6E:=LLV(HIGH,240);
  174. Var6F:=100*(CLOSE-Var6E)/Var6E;
  175. Var70:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
  176. Var71:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
  177. Var72:=0;
  178. Var73:=SMA(MAX(CLOSE-ref(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-ref(CLOSE,1)),7,1)*100;
  179. Var74:=SMA(MAX(CLOSE-ref(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-ref(CLOSE,1)),13,1)*100;
  180. Var75:=BARSCOUNT(CLOSE);
  181. Var76:=Var73<20 AND Var74<23 AND Var75>35;
  182. Var77:=Var76 AND COUNT(Var76,1)=1;
  183. Var78:=EMA(CLOSE,21)-EMA(CLOSE,8);
  184. Var79:=EMA(Var78,5);
  185. Var7A:=TROUGHBARS(3,6,1)<4 AND CROSS(Var78,Var79);
  186. Var7B:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
  187. Var7C:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16)<=0.85 AND CLOSE/ref(CLOSE,1)>0.905 AND CLOSE/ref(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,50,0);
  188. Var7D:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100;
  189. Var7E:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;
  190. Var7F:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100;
  191. Var80:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;
  192. Var81:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;
  193. Var82:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;
  194. Var83:=(Var7D+Var7E+Var7F+Var80+Var81+Var82)/6;
  195. Var84:=EMA(Var83,3);
  196. Var85:=ABS(Var80-Var82);
  197. Var86:=(Var83+Var85)/2;
  198. Var87:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;
  199. Var88:=Var87+Var86;
  200. Var89:=IF(Var7C>0 AND Var88<0,200,0);
  201. Var8A:=IF(Var86<0 AND CLOSE=LLV(CLOSE,5) AND CLOSE/ref(CLOSE,1)>0.905 AND CLOSE/ref(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);
  202. Var8B:=IF(Var88<0 AND Var8A=-50,100,0);
  203. Var8C:=MA(CLOSE,3);
  204. Var8D:=ref(CLOSE,2)*0.865;
  205. Var8E:=ref(CLOSE,13)*0.772;
  206. Var8F:=MIN(Var8D,Var8E);
  207. Var90:=100*VOL/CAPITAL;
  208. Var91:=MA(CLOSE,13);
  209. Var92:=IF((CLOSE-Var8F)/CLOSE<0.03 AND SUM(Var90,5)/5<1.8,1,0);
  210. Var93:=IF(Var92>0 AND (Var8A<0 OR Var7C>0),100,0);
  211. Var94:=Var93; {本文来至程序化交易网 cxh99.com}
  212. Var95:=IF(Var89>0 AND Var8B>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var92>0 AND ref(CLOSE,1)/ref(CLOSE,2)>0.902 OR (Var89>0 AND Var8B>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var92>0) AND (Var8A<0 OR Var7C>0) AND Var93<10,50,0);
  213. Var96:=(Var89>0 AND Var8B>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var92>0) AND (Var8A<0 OR Var7C>0);
  214. Var97:=Var89>0 AND Var8B>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var92>0 AND ref(CLOSE,1)/ref(CLOSE,2)>0.902;
  215. Var98:=Var96 OR Var97;
  216. Var99:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-ref(CLOSE,1))),ABS(LOW-ref(CLOSE,1))),14,1);
  217. Var9A:=HIGH-ref(HIGH,1);
  218. Var9B:=ref(LOW,1)-LOW;
  219. Var9C:=SMA(IF(Var9A>0 AND Var9A>Var9B,Var9A,0),12,1);
  220. Var9D:=SMA(IF(Var9B>0 AND Var9B>Var9A,Var9B,0),12,1);
  221. Var9E:=Var9C*100/Var99;
  222. Var9F:=Var9D*100/Var99;
  223. VarA0:=SMA(ABS(Var9F-Var9E)/(Var9F+Var9E)*100,12,1);
  224. VarA1:=(VarA0+ref(VarA0,5))/2;
  225. VarA2:=SUM(HIGH-OPEN,12)/SUM(OPEN-LOW,12)*100;
  226. VarA3:=SUM(MAX(0,HIGH-ref(CLOSE,1)),12)/SUM(MAX(0,ref(CLOSE,1)-LOW),12)*100;
  227. VarA4:=AMOUNT/VOL/100;
  228. VarA5:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
  229. VarA6:=SUM(AMOUNT,5)/VarA4/100;
  230. VarA7:=SUM(AMOUNT,13)/VarA4/100;
  231. VarA8:=SUM(AMOUNT,34)/VarA4/100;
  232. VarA9:=SUM(AMOUNT,209)/VarA4/100;
  233. VarAA:=ref(VOL,1)+ref(VOL,2)+ref(VOL,3)+ref(VOL,4);
  234. VarAB:=VarAA/CAPITAL;
  235. VarAC:=VOL/CAPITAL*VarA5+VarAB*ref(VarA4,1);
  236. VarAD:=DMA(VarA5,VOL/VarA6);
  237. VarAE:=DMA(VarA5,VOL/VarA7);
  238. VarAF:=DMA(VarA5,VOL/VarA8);
  239. VarB0:=DMA(VarA5,VOL/CAPITAL);
  240. VarB1:=MA(HHV(HIGH,488),18);
  241. VarB2:=MA(HHV(HIGH,220),18);
  242. VarB3:=MA(HHV(HIGH,98),18);
  243. VarB4:=MA(LLV(LOW,488),18);
  244. VarB5:=MA(LLV(LOW,220),18);
  245. VarB6:=MA(LLV(LOW,98),18);
  246. VarB7:=MA((VarB4*0.96+VarB5*0.96+VarB6*0.96+VarB1*0.558+VarB2*0.558+VarB3*0.558)/6,18);
  247. VarB8:=MA((VarB4*1.25+VarB5*1.23+VarB6*1.2+VarB1*0.55+VarB2*0.55+VarB3*0.65)/6,18);
  248. VarB9:=MA((VarB4*1.3+VarB5*1.3+VarB6*1.3+VarB1*0.68+VarB2*0.68+VarB3*0.68)/6,18);
  249. VarBA:=MA((VarB7*3+VarB8*2+VarB9)/6*1.738,18);
  250. VarBB:=IF(DATE<=1021231,VarBA,VarBA*DAY); {内容来至程序化交易网 CXH99.COM}
  251. VarBC:=LOW;
  252. VarBD:=ref(LOW,1);
  253. VarBE:=SMA(ABS(VarBC-VarBD),3,1)/SMA(MAX(VarBC-VarBD,0),3,1)*100;
  254. VarBF:=MA(IF(CLOSE*1.35<=VarBB,VarBE*10,VarBE/10),3);
  255. VarC0:=LLV(LOW,30);
  256. VarC1:=HHV(VarBF,30);
  257. VarC2:=IF(LOW<=VarC0,(VarBF+VarC1*2)/2,0);
  258. WXBM:(MA(VarC2 AND CLOSE<COST(1),3) AND (CLOSE-VarAE)/VarAE*100<-11)*118,colorred,linethick2,PRECIS0;
  259. STICKLINE(Var7B>0,0,120,2,0),colorwhite,PRECIS0;
  260. STICKLINE(Var60>0,0,80,8,0),colorred,PRECIS0;
  261. {DRAWTEXT(Var61 OR Var98,70,'★大黑马'),coloryelLOW;
  262. DRAWTEXT(Var60>0,40,'★黑马'),coloryelLOW;
  263. DRAWTEXT(Var7B>0,60,'★探底'),colorwhite;
  264. DRAWTEXT(WXBM,100,'BM'),colorred ;}
  265. STICKLINE(Var61,0,120,8,0),color006666,PRECIS0;
  266. STICKLINE(Var98,0,90,8,0),color009999 ,PRECIS0 ;
  267. x:=c-ref(MA(c,20),11);
  268. lgl:=IF(EMA(C,5)/EMA(EMA(C,9),16)<=0.85 and c/ref(c,1)>0.905 and c/ref(c,1)<1.05 and VOL/CAPITAL*100<5,50,0);
  269. wr1:=-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100*x; {本文来至程序化交易网 cxh99.com}
  270. wr2:=-100*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;
  271. wr3:=-100*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100*x;
  272. BIAS1:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;
  273. BIAS2:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;
  274. BIAS3:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;
  275. s1:=(wr1+wr2+wr3+bias1+bias2+bias3)/6*x;
  276. s2:=eMA(s1,3);
  277. s3:=ABS(bias1-bias3);
  278. sx:=(s1+s3)/2;
  279. xc1:=(-1)*(eMA(100*(1-WINNER(CLOSE)),1)-50)+50;
  280. ccc:=xc1+sx;
  281. zjz:=IF( lgl>0 and ccc<0,200,0)*x;
  282. lxl:=if(sx<0 and c=llV(c,5) and c/ref(c,1)>0.905 and c/ref(c,1)<1.05 and VOL/CAPITAL*100<5,-50,0);
  283. jbj:=if(ccc<0 and lxl=-50,100,0)*x;
  284. MA3:= MA(c,3);
  285. c0:=ref(c,2)*0.865;
  286. c1:=ref(c,13)*0.772;
  287. bot:=MIN(c0,c1);
  288. hsl:=100*vol/CAPITAL*x;
  289. MA13:=MA(c,13)*x;
  290. cxc:=if((c-bot)/c<3/100 and SUM(hsl,5)/5<1.8,1,0);
  291. vmc:=if(cxc>0 and (lxl<0 or lgl>0),10,0);
  292. 满仓:if((vmc>0),120,0),COLORred,linethick3,PRECIS0;
  293. DRAWTEXT(满仓>0 AND ref(满仓,1)=0,100,'满仓'),COLORred;
复制代码


论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
 
期货论坛 - 版权/免责声明   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

微信截图_20181224135813.png
如何访问权限为100/255贴子:/thread-37840-1-1.html;注册后仍无法回复:/thread-23-1-1.html;微信/QQ群:/thread-262-1-1.html;网盘链接失效解决办法:/thread-93307-1-1.html

TOP

返回列表