一区二区三区日韩精品-日韩经典一区二区三区-五月激情综合丁香婷婷-欧美精品中文字幕专区

分享

自稱為“前無古人,紀(jì)念小習(xí)”的公式 源碼 通達(dá)信,益盟適用

 兼實(shí) 2011-02-11
指標(biāo)來源于早期的益盟論壇,一直珍藏?,F(xiàn)給本論壇的同學(xué)分享,不得外轉(zhuǎn)。

補(bǔ)充:有人提建議和批評(píng),說是代碼不全,本人有保留。確實(shí),這不是完整的代碼,而是經(jīng)調(diào)整后,可用于通達(dá)信的代碼。這里說明一下:此絕非本人有意保留,而是為同學(xué)們可以使用!

      因?yàn)橥ㄟ_(dá)信軟件為使用較多的軟件,所以,這里專門針對(duì)通達(dá)信進(jìn)行了修改。完整的代碼在通達(dá)信中是無法使用的。為滿足要求,這里就再補(bǔ)充只適用于益盟的原代碼。
      另外,重新粘貼了一下公式代碼。因操作問題,“笑臉”給開了幾個(gè)玩笑。
     指標(biāo)原名稱為:前無古人紀(jì)念小習(xí)(操盤手副圖)

聲明:本公式非本人集成。
qw.png

本帖隱藏的內(nèi)容需要回復(fù)才可以瀏覽


  1. DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); {選股設(shè)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. 股價(jià)線:(C-LB1)/(UB-LB)*100,COLORGREEN, LINETHICK1;
  25. 趨勢(shì)線:MA(股價(jià)線,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. 準(zhǔn)備建倉: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. 建倉區(qū): 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. 動(dòng)向趨勢(shì)線:=(MA(((ABS((輔助線 - 神偷線)) / (輔助線 + 神偷線)) * 100),3));
  55. ADXR:=((動(dòng)向趨勢(shì)線 + REF(動(dòng)向趨勢(shì)線,3)) / 2);
  56. VAR3:=MA(CLOSE,2);
  57. VAR7:=REF(VAR3,1);
  58. 【強(qiáng)弱】:=((SMA(MAX((VAR3 - VAR7),0),5,1) / SMA(ABS((VAR3 - VAR7)),5,1)) * 100);
  59. 準(zhǔn)備:( IF(((動(dòng)向趨勢(shì)線 > 88) AND (神偷線 < 5.8)),68,0)),LINETHICK1,COLORFF00FF;
  60. ( IF(((動(dòng)向趨勢(shì)線 > 88) AND (神偷線 < 5.8)),48,0)),LINETHICK1,COLORFF00FF;
  61. DRAWTEXT(準(zhǔn)備,60,'準(zhǔn)備'),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. 買點(diǎn)選股:(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(買點(diǎn)選股,28,0),COLORYELLOW,LINETHICK2;
  93. IF(買點(diǎn)選股,18,0),COLORYELLOW,LINETHICK2;
  94. DRAWTEXT(買點(diǎn)選股,28,'買點(diǎn)'),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. 強(qiáng)勢(shì)狙擊選股: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,'弱市百發(fā)百中'),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. 量異動(dòng):IF(AA,DD/REF(DD,1),0);
  130. STICKLINE(量異動(dòng)>=0,0,量異動(dòng),8,0);
  131. STICKLINE(量異動(dòng)>=0,0,量異動(dòng),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; };


    本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(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)論公約

    一二区中文字幕在线观看| 色涩一区二区三区四区| 日韩精品一区二区一牛| 91人妻人人做人碰人人九色| 欧美成人免费视频午夜色| 国产熟女一区二区精品视频| 91超精品碰国产在线观看| 乱女午夜精品一区二区三区| 国产亚洲欧美一区二区| 九九热精品视频在线观看| 91久久精品国产一区蜜臀| 久热99中文字幕视频在线| 日本人妻精品中文字幕不卡乱码| 女同伦理国产精品久久久| 九九热视频网在线观看| 日韩夫妻午夜性生活视频| 91精品国产综合久久精品| 国产精品成人免费精品自在线观看| 日本中文字幕在线精品| 国产又粗又猛又大爽又黄| 欧美成人免费视频午夜色| 97人妻人人揉人人躁人人| 欧美精品在线播放一区二区| 国产成人精品久久二区二区| 日韩不卡一区二区在线| 免费在线观看激情小视频| 国产精品熟女在线视频| 性感少妇无套内射在线视频| 国产成人免费激情视频| 熟妇久久人妻中文字幕| 久久精品国产一区久久久| 国产日韩精品激情在线观看| 狠狠亚洲丁香综合久久| 韩国日本欧美国产三级| 熟妇久久人妻中文字幕| 人妻偷人精品一区二区三区不卡| 日韩专区欧美中文字幕| 男人和女人干逼的视频| 好吊一区二区三区在线看| 大胆裸体写真一区二区| 亚洲国产性生活高潮免费视频|