找回密码
 立即注册

QQ登录

只需一步,快速开始

广告载入中...
查看: 35338|回复: 991

分享:自称为“前无古人,纪念小习”的公式 源码 通达信,益盟适用

   火... [复制链接]
发表于 2011-2-10 16:42 | 显示全部楼层 |阅读模式

马上注册,享用更多功能,让你轻松玩转本论坛。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
      本指标来源于早期的益盟论坛,一直珍藏。现给本论坛的同学分享,不得外转。

补充:有人提建议和批评,说是代码不全,本人有保留。确实,这不是完整的代码,而是经调整后,可用于通达信的代码。这里说明一下:此绝非本人有意保留,而是为同学们可以使用!
      因为通达信软件为使用较多的软件,所以,这里专门针对通达信进行了修改。完整的代码在通达信中是无法使用的。为满足要求,这里就再补充只适用于益盟的原代码。
      另外,重新粘贴了一下公式代码。因操作问题,“笑脸”给开了几个玩笑。
     指标原名称为:前无古人纪念小习(操盘手副图)

声明:本公式非本人集成。
效果图:
qw.png
一、通达信、益盟软件适用

  1. DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); {选股设JC=10即可}
  2. DEA:=EMA(DIFF,9);
  3. MACD:=2*(DIFF-DEA);
  4. A:=IF(CROSS(0,DEA),1,0);
  5. A1:=IF(DIFF<0 AND CROSS(DIFF,DEA),1,0);
  6. SS:=IF(A,SUM(A1,0),0);
  7. SSB:=HHV(SS,0);
  8. SSS:=SUM(A1,0);
  9. W底选股:IF(SSS-SSB=2 AND SSS>REF(SSS,1),-22,0),LINETHICK2,COLORFFFF00;
  10. IF(SSS-SSB=2 AND SSS>REF(SSS,1),-12,0),LINETHICK2,COLORFFFF00;
  11. DRAWTEXT(A1,-10,'W底'),COLORYELLOW;
  12. N:=20;
  13. MID:=MA(C,N);
  14. VART1:=POW((C-MID),2);
  15. VART2:=MA(VART1,N);
  16. VART3:=SQRT(VART2);
  17. UPPER:=MID+2*VART3;
  18. LOWER:=MID-2*VART3;
  19. BOLL:=REF(MID,1);
  20. UB:=REF(UPPER,1);
  21. LB:=REF(LOWER,1);
  22. LOWER1:=MID-VART3;
  23. LB1:=REF(LOWER1,1);
  24. 股价线:(C-LB1)/(UB-LB)*100,COLORGREEN, LINETHICK1;
  25. 趋势线:MA(股价线,6),COLORRED, LINETHICK3;
  26. 90,COLORGREEN, LINETHICK1;
  27. 50,COLORWHITE, LINETHICK1;
  28. 0,COLORWHITE, LINETHICK1;
  29. VARC:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1);
  30. 准备建仓:EMA(IF(L<= LLV(L,30),VARC,0),3),COLORFF00FF,LINETHICK2;
  31. VARO5:=LLV(LOW,27);
  32. VARO6:=HHV(HIGH,34);
  33. VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
  34. 建仓区: IF((VARO7<10),80,100) ,COLORFFFF00,LINETHICK3;
  35. IF((VARO7<10),85,100) ,COLORBLACK,LINETHICK2;
  36. 下单: IF(CROSS(3*SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1),3,1),10),38,0),STICK ,COLORYELLOW, LINETHICK4;
  37. DRAWTEXT(下单,40,'下单'),COLORGREEN;
  38. BIAS1:=(C-MA(C,6))/MA(C,6)*100;
  39. BIAS2:=(C-MA(C,12))/MA(C,12)*100;
  40. BIAS3:=(C-MA(C,24))/MA(C,24)*100;
  41. BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
  42. 乖离1:=MA(BIAS,3);
  43. 低买:IF(CROSS(BIAS,乖离1) AND 乖离1<-9,28,0),COLORRED,LINETHICK2;
  44. IF(CROSS(BIAS,乖离1) AND 乖离1<-9,18,0),COLORRED,LINETHICK2;
  45. STICKLINE(CROSS(BIAS,乖离1) AND 乖离1<-9,-12,0,8,0),COLORYELLOW;
  46. DRAWTEXT(低买,33,'低买'),COLORRED;
  47. TTR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5);
  48. HD:=(HIGH - REF(HIGH,1));
  49. LD:=(REF(LOW,1) - LOW);
  50. DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) );
  51. DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5);
  52. 神偷线:=(((DMP ) * 100) / TR);
  53. 辅助线:=((DMM * 100) / TTR);
  54. 动向趋势线:=(MA(((ABS((辅助线 - 神偷线)) / (辅助线 + 神偷线)) * 100),3));
  55. ADXR:=((动向趋势线 + REF(动向趋势线,3)) / 2);
  56. VAR3:=MA(CLOSE,2);
  57. VAR7:=REF(VAR3,1);
  58. 【强弱】:=((SMA(MAX((VAR3 - VAR7),0),5,1) / SMA(ABS((VAR3 - VAR7)),5,1)) * 100);
  59. 准备:( IF(((动向趋势线 > 88) AND (神偷线 < 5.8)),68,0)),LINETHICK1,COLORFF00FF;
  60. ( IF(((动向趋势线 > 88) AND (神偷线 < 5.8)),48,0)),LINETHICK1,COLORFF00FF;
  61. DRAWTEXT(准备,60,'准备'),COLORFF00FF;
  62. TYP := (HIGH + LOW + CLOSE)/3;
  63. CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
  64. RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*500-250;
  65. K:=SMA(RSV,3,1);
  66. LC := REF(CLOSE,1);
  67. RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*500-250;
  68. X:CROSS(CCI,-100)  AND K<-100 ;
  69. X改成:CROSS(CCI,-100)  AND K<-100 AND CROSS(RSI1,-90);
  70. MA2:=EMA(C,2);MA5:=EMA(C,5);
  71. MA13:=EMA(C,13);
  72. MA34:=EMA(C,34);
  73. MA55:=EMA(C,55);
  74. YCX:=MA5>=REF(MA5,1);
  75. H1:=MAX(MAX(MA5,MA13),MA34);
  76. L1:=MIN(MIN(MA5,MA13),MA34);
  77. 一阳穿三线:= H1<C AND O<L1 AND YCX AND MA2>REF(MA2,1);
  78. 满仓选股:IF(一阳穿三线,88,0),COLORFFFF00,LINETHICK2;
  79. IF(一阳穿三线,58,0),COLORFFFF00,LINETHICK2;
  80. DRAWTEXT(一阳穿三线,88,'满仓'),COLORYELLOW;
  81. VAR2:=0.0001*AMOUNT,;
  82. MA1:=0.0001*MA(AMOUNT,5);
  83. M2:=0.0001*MA(AMOUNT,10);
  84. 百日地量:LLV(VAR2,100)=VAR2,STICK,COLORRED,LINETHICK0;
  85. DRAWTEXT(百日地量,-12,'地量'),COLORRED;
  86. VAR1:=(CLOSE*2+HIGH+LOW)/4;
  87. SK:= EMA(VAR1,13)-EMA(VAR1,73);
  88. SD:= EMA(SK,2);
  89. 买点选股:(CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03)
  90. OR (CROSS(SK,SD) AND SK<=-0.14 ) OR (CROSS(SK,SD) AND SK<=0.05
  91. AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035));
  92. IF(买点选股,28,0),COLORYELLOW,LINETHICK2;
  93. IF(买点选股,18,0),COLORYELLOW,LINETHICK2;
  94. DRAWTEXT(买点选股,28,'买点'),COLORYELLOW;
  95. AA05:=MA(C,5);
  96. 五日乖离率:=(C-AA05)/AA05*100;
  97. BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;
  98. 速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1);
  99. 加速度5:=EMA((速度5-REF(速度5,1)),3);
  100. AA10:=MA(C,10);AA20:=MA(C,20);
  101. BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416;
  102. AA30:=MA(C,30);
  103. 三拾日乖离率:=(C-AA30)/AA30*100;
  104. (AA20-AA30)>REF((AA20-AA30),1) AND AA20>REF(AA20,1) AND AA30>REF(AA30,1);
  105. (AA30-AA20)<REF((AA30-AA20),1) AND AA20<REF(AA20,1) AND AA30<REF(AA30,1);
  106. BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416;
  107. 强势狙击选股:FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10);
  108. 加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND AA05>REF(AA05,1)  AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA10>REF(AA10,1)
  109. AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1)  ,10) ;
  110. MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30;
  111. 青云直上选股:IF(FILTER(MR,10),30,0),COLORGREEN,LINETHICK2;
  112. IF(FILTER(MR,10),20,0),COLORGREEN,LINETHICK2;
  113. DRAWTEXT(青云直上选股,30,'青云直上'),COLORGREEN;
  114. QUAN:(CLOSE-DMA(CLOSE,VOL/SUM(VOL,13)))/DMA(CLOSE,VOL/SUM(VOL,13))*100<=-28 AND (CLOSE-DMA(CLOSE,VOL/SUM(VOL,34)))/DMA(CLOSE,VOL/SUM(VOL,34))*100<=-19
  115. AND C/REF(C,25)<=1.1 AND IF((((HIGH > (LOW * 1.051)) AND (COUNT((HIGH > (LOW * 1.051)),5) > 1)) AND ((((CLOSE / MA(CLOSE,40)) * 100) < 78) OR
  116. (((CLOSE / MA(CLOSE,60)) * 100) < 74))),2,0) AND
  117. (SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100)<15 AND IF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1)>REF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1),1)
  118. AND REF(SMA((CLOSE-LLV(LOW,8))/
  119. (HHV(HIGH,8)-LLV(LOW,8))*100,2,1),1)<REF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1),2)
  120. AND SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1)<23 ,1.5,0) AND FILTER((C/MA(C,48))<0.75 AND (C/MA(C,70))<0.70 AND
  121. ((C-L)/C>0.02 OR C>REF(C,1)*1.01) AND V<REF(V,1)*2.8 AND (COUNT(C<O*0.93,2)=2 OR COUNT(H/L>1.1,5)>3),3)  ;
  122. DRAWTEXT(QUAN,88,'弱市百发百中'),COLORFFFF00;
  123. IF(QUAN,88,0),COLORFFFF00,LINETHICK2;
  124. IF(QUAN,60,0),COLORFFFF00,LINETHICK2;
  125. AA:=1;
  126. BB:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
  127. CC:=IF(AMOUNT/C/HHV(AMOUNT,9)/HHV(C,9)*100>100,100,AMOUNT/C/HHV(AMOUNT,9)/HHV(C,9)*100);
  128. DD:=CC/BB;
  129. 量异动:IF(AA,DD/REF(DD,1),0);
  130. STICKLINE(量异动>=0,0,量异动,8,0);
  131. STICKLINE(量异动>=0,0,量异动,4,0);
  132. 选股:DD/REF(DD,1);
  133. CROSS(-100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55)),-45)
  134. AND CLOSE>SMA(CLOSE,60,5) AND SMA(CLOSE,23,5)>REF(SMA(CLOSE,23,5),1)
  135. AND SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,13,1),23,1)>REF(SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,13,1),23,1),1);
  136. RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
  137. 逃顶:CROSS(80,RSI)*88,LINETHICK2 ,COLORGREEN;
  138. CROSS(80,RSI)*58,LINETHICK2 ,COLORGREEN;
  139. DRAWTEXT(CROSS(80,RSI),88,'逃顶 '),COLORGREEN;
  140. CROSS(-100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55)),-45)
  141. AND CLOSE>SMA(CLOSE,60,5) AND SMA(CLOSE,23,5)>REF(SMA(CLOSE,23,5),1)
  142. AND SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,13,1),23,1)>REF(SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,13,1),23,1),1)COLORBLUE,LINETHICK2;
  143. {W1:=C=HHV(C,20);
  144. W2:=BARSLAST(W1);
  145. W3:=IF(W2>0,REF(C,W2),REF(C,W2));
  146. W4:=CROSS(C,REF(W3,1));
  147. W4 AND COUNT(W4,5)=1; };

复制代码

二、仅益盟软件适用


  1. Q1:=C<O;
  2. Q2:=VOL>1.5*MA(VOL,5);
  3. Q3:=BIGORDER(1,2)+BIGORDER(1,3)>BIGORDER(2,2)+BIGORDER(2,3);
  4. xgx:Q1 AND Q2 AND Q3;
  5. DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); {选股设JC=10即可}
  6. DEA:=EMA(DIFF,9);
  7. MACD:=2*(DIFF-DEA);
  8. A:=IF(CROSS(0,DEA),1,0);
  9. A1:=IF(DIFF<0 AND CROSS(DIFF,DEA),1,0);
  10. SS:=IF(A,SUM(A1,0),0);
  11. SSB:=HHV(SS,0);
  12. SSS:=SUM(A1,0);
  13. W底选股:IF(SSS-SSB=2 AND SSS>REF(SSS,1),-22,0),LINETHICK2,COLORffff00;
  14. IF(SSS-SSB=2 AND SSS>REF(SSS,1),-12,0),LINETHICK2,COLORffff00;
  15. DRAWTEXT(A1,-10,'W底'),COLORyellow;
  16. N:=20;
  17. MID:=MA(C,N);
  18. VART1:=POW((C-MID),2);
  19. VART2:=MA(VART1,N);
  20. VART3:=SQRT(VART2);
  21. UPPER:=MID+2*VART3;
  22. LOWER:=MID-2*VART3;
  23. BOLL:=REF(MID,1);
  24. UB:=REF(UPPER,1);
  25. LB:=REF(LOWER,1);
  26. LOWER1:=MID-VART3;
  27. LB1:=REF(LOWER1,1);
  28. 股价线:(C-LB1)/(UB-LB)*100,COLORgreen, LINETHICK1;
  29. 趋势线:MA(股价线,6),COLORred, LINETHICK3;
  30. 90,COLORGREEN, LINETHICK1;
  31. 50,COLORwhite, LINETHICK1;
  32. 0,COLORwhite, LINETHICK1;
  33. VARC:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1);
  34. 准备建仓:EMA(IF(L<= LLV(L,30),VARC,0),3),COLORff00ff,LINETHICK2;
  35. VARO5:=LLV(LOW,27);
  36. VARO6:=HHV(HIGH,34);
  37. VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
  38. 建仓区: IF((VARO7<10),80,100) ,COLORffff00,LINETHICK3;
  39. IF((VARO7<10),85,100) ,COLORblack,LINETHICK2;
  40. 下单: IF(CROSS(3*SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1),3,1),10),38,0),STICK ,COLORyellow, LINETHICK4;
  41. DRAWTEXT(下单,40,'下单'),COLORGREEN;
  42. BIAS1:=(C-MA(C,6))/MA(C,6)*100;
  43. BIAS2:=(C-MA(C,12))/MA(C,12)*100;
  44. BIAS3:=(C-MA(C,24))/MA(C,24)*100;
  45. BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
  46. 乖离1:=MA(BIAS,3);
  47. 低买:IF(CROSS(BIAS,乖离1) AND 乖离1<-9,28,0),COLORRED,LINETHICK2;
  48. IF(CROSS(BIAS,乖离1) AND 乖离1<-9,18,0),COLORRED,LINETHICK2;
  49. STICKLINE(CROSS(BIAS,乖离1) AND 乖离1<-9,-12,0,8,0),COLORyellow;
  50. DRAWTEXT(低买,33,'低买'),COLORred;
  51. TR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5);
  52. HD:=(HIGH - REF(HIGH,1));
  53. LD:=(REF(LOW,1) - LOW);
  54. DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) );
  55. DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5);
  56. 神偷线:=(((DMP ) * 100) / TR);
  57. 辅助线:=((DMM * 100) / TR);
  58. 动向趋势线:=(MA(((ABS((辅助线 - 神偷线)) / (辅助线 + 神偷线)) * 100),3));
  59. ADXR:=((动向趋势线 + REF(动向趋势线,3)) / 2);
  60. VAR3:=MA(CLOSE,2);
  61. VAR7:=REF(VAR3,1);
  62. 【强弱】:=((SMA(MAX((VAR3 - VAR7),0),5,1) / SMA(ABS((VAR3 - VAR7)),5,1)) * 100);
  63. 准备:( IF(((动向趋势线 > 88) AND (神偷线 < 5.8)),68,0)),LINETHICK1,COLORFF00FF;
  64. ( IF(((动向趋势线 > 88) AND (神偷线 < 5.8)),48,0)),LINETHICK1,COLORFF00FF;
  65. DRAWTEXT(准备,60,'准备'),COLORff00ff;
  66. TYP := (HIGH + LOW + CLOSE)/3;
  67. cci:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
  68. RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*500-250;
  69. K:=SMA(RSV,3,1);
  70. LC := REF(CLOSE,1);
  71. RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*500-250;
  72. x:cross(cci,-100)  and k<-100 ;
  73. x改成:cross(cci,-100)  and k<-100 and cross(rsi1,-90);
  74. MA2:=EMA(C,2);MA5:=EMA(C,5);MA13:=EMA(C,13);MA34:=EMA(C,34);MA55:=EMA(C,55);YCX:=MA5>=REF(MA5,1);H1:=MAX(MAX(MA5,MA13),MA34);L1:=MIN(MIN(MA5,MA13),MA34);一阳穿三线:= H1<C AND O<L1 AND YCX AND MA2>REF(MA2,1);满仓选股:IF(一阳穿三线,88,0),COLORFFFF00,LINETHICK2;
  75. IF(一阳穿三线,58,0),COLORFFFF00,LINETHICK2;
  76. DRAWTEXT(一阳穿三线,88,'满仓'),COLORyellow;
  77. VAR2:=0.0001*AMOUNT,;
  78. MA1:=0.0001*MA(AMOUNT,5);
  79. M2:=0.0001*MA(AMOUNT,10);
  80. 百日地量:LLV(VAR2,100)=VAR2,STICK,COLORRED,LINETHICK0;
  81. DRAWTEXT(百日地量,-12,'地量'),COLORRED;
  82. Var1:=(CLOSE*2+HIGH+LOW)/4;
  83. SK:= EMA(Var1,13)-EMA(Var1,73);
  84. SD:= EMA(SK,2);
  85. 买点选股:(cross(sk,sd) and sk<-0.04 and (c-ref(c,1))/ref(c,1)>=0.03)
  86. or (cross(sk,sd) and sk<=-0.14 ) or (cross(sk,sd) and sk<=0.05
  87. and (v/ma(v,5)>2 or c/ref(c,1)>0.035));
  88. IF(买点选股,28,0),COLORyellow,LINETHICK2;
  89. IF(买点选股,18,0),COLORyellow,LINETHICK2;
  90. DRAWTEXT(买点选股,28,'买点'),COLORyellow;
  91. AA05:=MA(C,5);
  92. 五日乖离率:=(c-AA05)/AA05*100;
  93. BB05:=atan((aa05/ref(aa05,1)-1)*100)*180/3.1416;
  94. 速度5:=sma(ema((AA05-ref(AA05,1))/ref(AA05,1),3)*100,3,1);
  95. 加速度5:=ema((速度5-ref(速度5,1)),3);
  96. AA10:=MA(C,10);AA20:=MA(c,20);
  97. BB10:=atan((aa10/ref(aa10,1)-1)*100)*180/3.1416;
  98. AA30:=MA(C,30);
  99. 三拾日乖离率:=(c-AA30)/AA30*100;
  100. (AA20-AA30)>ref((AA20-AA30),1) and AA20>ref(aa20,1) and AA30>ref(AA30,1);
  101. (AA30-AA20)<ref((AA30-AA20),1) and AA20<ref(aa20,1) and AA30<ref(AA30,1);
  102. BB30:=atan((aa30/ref(aa30,1)-1)*100)*180/3.1416;
  103. 强势狙击选股:filter(BB30>30 and BB10>45 and cross(BB05,60),10);
  104. 加仓:=filter(count(cross(BB05,30),5)>=1 and AA05>ref(aa05,1)  and 三拾日乖离率>ref(三拾日乖离率,1) and AA10>ref(AA10,1)
  105. and 加速度5>ref(加速度5,1) and 速度5>ref(速度5,1)  ,10) ;
  106. MR:=count(cross(五日乖离率,0),3)>=1 and 三拾日乖离率>ref(三拾日乖离率,1) and AA05>ref(AA05,1) and (c/ref(c,1)-1)*100>5 and ref(c,1)<AA30;
  107. 青云直上选股:if(filter(MR,10),30,0),COLORGREEN,LINETHICK2;
  108. if(filter(MR,10),20,0),COLORGREEN,LINETHICK2;
  109. DRAWTEXT(青云直上选股,30,'青云直上'),COLORGREEN;
  110. QUAN:(CLOSE-DMA(CLOSE,VOL/SUM(VOL,13)))/DMA(CLOSE,VOL/SUM(VOL,13))*100<=-28 AND (CLOSE-DMA(CLOSE,VOL/SUM(VOL,34)))/DMA(CLOSE,VOL/SUM(VOL,34))*100<=-19
  111. AND C/REF(C,25)<=1.1 AND IF((((HIGH > (LOW * 1.051)) AND (COUNT((HIGH > (LOW * 1.051)),5) > 1)) AND ((((CLOSE / MA(CLOSE,40)) * 100) < 78) OR
  112. (((CLOSE / MA(CLOSE,60)) * 100) < 74))),2,0) AND
  113. (SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100)<15 AND IF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1)>REF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1),1)
  114. AND REF(SMA((CLOSE-LLV(LOW,8))/
  115. (HHV(HIGH,8)-LLV(LOW,8))*100,2,1),1)<REF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1),2)
  116. AND SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1)<23 ,1.5,0) AND FILTER((C/MA(C,48))<0.75 AND (C/MA(C,70))<0.70 AND
  117. ((C-L)/C>0.02 OR C>REF(C,1)*1.01) AND V<REF(V,1)*2.8 AND (COUNT(C<O*0.93,2)=2 OR COUNT(H/L>1.1,5)>3),3)  ;
  118. DRAWTEXT(QUAN,88,'弱市百发百中'),COLORffff00;
  119. IF(QUAN,88,0),COLORffff00,LINETHICK2;
  120. IF(QUAN,60,0),COLORffff00,LINETHICK2;
  121. aa:=1;;
  122. bb:=(c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;
  123. cc:=if(amount/c/hhv(amount,9)/hhv(c,9)*100>100,100,amount/c/hhv(amount,9)/hhv(c,9)*100);
  124. dd:=cc/bb;
  125. 量异动:if(aa,dd/ref(dd,1),0),linethick0,colorffff;
  126. stickline(量异动>=0,0,量异动,8,0),colorffff;
  127. stickline(量异动>=0,0,量异动,4,0),colorred;
  128. 选股:dd/ref(dd,1);
  129. CROSS(-100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55)),-45)
  130. AND CLOSE>SMA(CLOSE,60,5) AND SMA(CLOSE,23,5)>REF(SMA(CLOSE,23,5),1)
  131. AND SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,13,1),23,1)>REF(SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,13,1),23,1),1);
  132. RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
  133. 逃顶:CROSS(80,RSI)*88,LINETHICK2 ,colorgreen;
  134. CROSS(80,RSI)*58,LINETHICK2 ,colorgreen;
  135. DRAWTEXT(CROSS(80,RSI),88,'逃顶 '),colorgreen;
  136. CROSS(-100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55)),-45)
  137. AND CLOSE>SMA(CLOSE,60,5) AND SMA(CLOSE,23,5)>REF(SMA(CLOSE,23,5),1)
  138. AND SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,13,1),23,1)>REF(SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,13,1),23,1),1)COLORBLUE,LINETHICK2;
  139. W1:=C=HHV(C,20);
  140. W2:=BARSLAST(W1);
  141. W3:=IF(W2>0,REF(C,W2),REF(C,W2));
  142. W4:=CROSS(C,REF(W3,1));
  143. W4 AND COUNT(W4,5)=1,LINETHICK2,COLOR9370DB;
复制代码

评分

6

查看全部评分

发表于 2013-11-2 14:50 | 显示全部楼层
好好学习天天向上

回复

使用道具 举报

发表于 2013-10-30 00:15 | 显示全部楼层
学习了         
回复

使用道具 举报

发表于 2013-3-15 00:31 | 显示全部楼层
学习了………
回复

使用道具 举报

发表于 2013-3-14 13:54 | 显示全部楼层
向你学习望多多帮助谢谢
回复

使用道具 举报

发表于 2013-3-10 13:02 | 显示全部楼层
{:soso_e181:}
回复

使用道具 举报

发表于 2013-3-10 10:59 | 显示全部楼层
dddddddddddddd
回复

使用道具 举报

发表于 2013-3-10 10:48 | 显示全部楼层
谢谢提供。
回复

使用道具 举报

发表于 2013-2-26 22:35 | 显示全部楼层
ddddddddddddddddddddddddddddd
回复

使用道具 举报

发表于 2013-1-19 23:21 | 显示全部楼层
dddddddddd
回复

使用道具 举报

发表于 2013-1-19 22:43 | 显示全部楼层
向高手学习
回复

使用道具 举报

发表于 2013-1-19 22:39 | 显示全部楼层
学习,学习。
回复

使用道具 举报

发表于 2013-1-19 22:33 | 显示全部楼层
向高手学习
回复

使用道具 举报

发表于 2013-1-19 22:19 | 显示全部楼层
:victory:
回复

使用道具 举报

发表于 2013-1-19 22:15 | 显示全部楼层
谢谢分享
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|股海明灯官网 ( 京ICP备18020431号 )

GMT+8, 2024-11-22 20:59 , Processed in 0.118806 second(s), Total 19, Slave 18 queries , Gzip On, MemCached On.

Powered by Discuz! X3.5

Copyright © 2001-2024 Tencent Cloud.

快速回复 返回顶部 返回列表