当前位置:→ 公式网 > 大智慧公式 > 正文  公式解密、改选股等业务 联系点击查看详情...

以下是简约不简单----飞凤潜龙(无源码的请下载附件导入)

 

C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
  1. MA13:=MA(CLOSE,13);   
  2. MA21:=MA(CLOSE,21);   
  3. MA34:=MA(CLOSE,34);   
  4. MA55:=MA(CLOSE,55);   
  5. MA89:=MA(CLOSE,89);   
  6. Var1:=IF(DATE<1991231,1,0);   
  7. Var2:=REF(CLOSE,1);   
  8. Var3:=SMA(MAX(CLOSE-Var2,0),6,1)/SMA(ABS(CLOSE-Var2),6,1)*100;   
  9. qVar2:=LLV(LOW,10);   
  10. qVar3:=HHV(HIGH,25);   
  11. {阶段卖出线: 3.2;3.5;卖出线: 3.5;}   
  12. 动力线: EMA((CLOSE-qVar2)/(qVar3-qVar2)*4,4)/3, COLOR00ff00;   
  13. CJJR:=AMOUNT/VOL/100; {小顶}   
  14. PJJ:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;    
  15. HJJR:=SUM(AMOUNT,13)/CJJR/100;    
  16. CYCN:= DMA(PJJ,VOL/HJJR);    
  17. cys:=((CLOSE-CYCN)/CYCN)*100;    
  18. { cya1:=if(hhv(cys,8)<12 and llv(cys,8)>4,1,0);    
  19. cya2:=if(hhv(cys,7)<12 and llv(cys,7)>4,1,0);    
  20. cya3:=if(hhv(cys,6)<12 and llv(cys,6)>4,1,0);    
  21. cya4:=if(hhv(cys,5)<12 and llv(cys,5)>4,1,0);    
  22. cya5:=if(hhv(cys,4)<12 and llv(cys,4)>4,1,0); }   
  23. cya6:=if(hhv(cys,3)<12 and llv(cys,3)>4,1,0);    
  24. { cya7:=if(hhv(cys,2)<12 and llv(cys,2)>4,1,0);    
  25. cya8:=if(cys<12 and cys>4,1,0); }   
  26. { cya9:=if(cya1 or cya2 or cya3 or cya4 or cya5 or cya6 or cya7 or cya8,1,0); }   
  27.   
  28.   
  29. Var4:=EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16);   
  30. Var5:=1/WINNER(CLOSE);   
  31. Var6:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;   
  32. Var7:=100-ABS(Var6);   
  33. Var8:=(CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100;Var9:=SMA(Var8,20,1);   
  34. VarA:=SMA(Var9,15,1);   
  35. VarB:=100-3*Var9+2*VarA;   
  36. VarC:=((EMA(IF(VarB>REF(VarB,1),VarB,VarB-3),3)-50)*(-1)*2/2+50)/10;   
  37. VarD:=EMA(AMOUNT,13)/EMA(VOL,13);   
  38. VarE:=(VarD/REF(VarD,1)-1)*100;   
  39. VarF:=VOL/CAPITAL*100;   
  40. Var10:=(HIGH-LOW)/((HIGH+LOW)/2)*100;   
  41. Var11:=(VarC+VarF)*Var10*VarE;   
  42. 多空指数:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4, COLORRED, LINETHICK3;{BBI}   
  43.   
  44.   
  45.   
  46. 支撑:=COST(10);   
  47. 压支撑:=支撑*0.12,coloryellow;   
  48. tj:=ma(支撑,10);    
  49. 九成:=cost(100);   
  50.   
  51. di:=c {调低d:=di*0.46 COLORYELLOW;}   
  52. 调低: STICKLINE(di,0,0.26,4,0), colorf0f000;   
  53. tj2:=MA(九成,5);    
  54. tj3:=ema(winner(c),5);    
  55.   
  56. 动顶a:stickline(动力线>3.5/3,动力线,3.5/3,10,0), COLORRED;   
  57. 底:stickline(tj3<0.2,tj3,0.2,10,0), COLORRED ;    
  58. {整期:(STICKLINE(di,0,1,1,0)*0.2), COLORGRAY ;}   
  59. DRAWTEXT(cross(tj3,0.12) and count(tj3>=0.12,10)=1,0.12,'确认底'),COLORyellow ;   
  60.   
  61. 顶:stickline(tj3>0.8,tj3,0.8,10,0), COLORCCFF00 ;   
  62. DRAWTEXT(cross(tj3,0.8) and count(tj3>=0.8,10)=1,0.81,'顶'),COLOR00ff00 ,LINETHICK2;   
  63. DRAWTEXT(cross(0.89,tj3) and count(tj3<=0.89,10)=1,0.853,'警'),colorf00ff0 ;   
  64. 顶卖:(cross(tj3,0.8) and count(tj3>=0.8,10)), STICK,colorffffff;   
  65. drawicon(cross(tj3,0.8) and count(tj3>=0.8,10),0.6,2);   
  66. dd:=c>tj2 ;   
  67. 顶d:=dd*0.76;   
  68. 卖线:stickline(dd,0,0.1,5,0),colorblue;   
  69. (ema(winner(c),5)), linethick3;    
  70.   
  71. VarA1:=CLOSE;   
  72. VarA2:=REF(CLOSE,1);   
  73. VarA3:=REF(CLOSE,2);   
  74. VarA4:=REF(CLOSE,3);   
  75. VarA5:=VarA1>VarA2 AND VarA1>VarA3 AND VarA1>VarA4    
  76. AND VarA1>MA(CLOSE,3) AND WINNER(CLOSE)<5/100;   
  77. VarA6:=VarA195/100;   
  78. VarA7:=MIN(HHV(CLOSE,20),LLV(CLOSE,20));   
  79. 买入:if(VarA5*(VarA1-VarA7*0.95)*SGN(CAPITAL<>0),0.4,0), STICK,linethick3,colorred;   
  80. drawicon(VarA5*(VarA1-VarA7*0.95)*SGN(CAPITAL<>0),0.5,1);   
  81. DRAWTEXT(cross(买入,0.1) and count(买入>0,1)=1,0.28,'买'),coloryellow;   
  82. 高:=九成;   
  83. 动顶:stickline(动力线>2.8/3,3.2/3,3/3.0,10,0), COLORCCFF00;   
  84. 动顶卖:DRAWTEXT(cya6=1 and 动力线>2.8/3 and COUNT(cya6,5)=1,2.7/3,'动顶卖'), COLORffffff;   
  85. 卖出:if(VarA6*(VarA1-VarA7*0.95)*SGN(CAPITAL<>0)*-0.2,0.4,0), STICK,coloryellow ;   
  86. drawicon(VarA6*(VarA1-VarA7*0.95)*SGN(CAPITAL<>0)*-0.2,0.4,2);   
  87. WW:=DRAWTEXT(cross(-0.1,卖出) and count(卖出<-0,1)=1,0.6,'卖'),COLORf0f000;   
  88. MA3b:=MA(CLOSE,3);    
  89. MA4b:=MA(CLOSE,4);   
  90. {短卖:if(CROSS(MA(CLOSE,4),   
  91. MA(CLOSE,3))  and MA3b MAV1:=(2*C+H+L)/4; {NSK牛熊星}   
  92. A1:=(EMA(MAV1,3)+EMA(MAV1,6)+EMA(MAV1,12)+EMA(MAV1,24))/4;   
  93. VARA8:=WINNER( C)*100;    
  94. 熊市克星线:=0.5,colorred,Linethick0;    
  95. 牛市克星线:=-0.5,colorgreen,Linethick0;    
  96. VAR18:=(A1-c)/((A1+c)/2)*100;    
  97. VAR28:=(H-A1)/((A1+H)/2)*100;    
  98.   
  99.   
  100. 反转:IF(VAR18>10.8 AND VARA8<35,1,IF(VAR28>10.5 AND VARA8<96,0,0.5)),  COLORf00ff0;   

111.jpg



关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - RSS订阅 - TOP
湘ICP备09016573号-3 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © 铭网科技,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识