公式网 股票指标公式源码分享 登录 注册
公式指标平网
未来函数检测
首页 金钻指标 通达信公式 大智慧公式 同花顺公式 文华财经公式 东财通公式 飞狐公式 操盘手公式 其他公式 公式解答 股票软件 股票池
当前位置:→ 公式网 > 飞狐公式 > 正文 → 正文

阴阳河生死

发布时间:2009/11/9 8:53:08  浏览次数:

阴阳河生死

 

C/C++ Code复制内容到剪贴板
  1. DRAWGBK(CLOSE>0, COLORRGB(1,0,0), COLORRGB(1,0,0),2);   
  2.   
  3. STICKLINE(MA(CLOSE,60)>MA(CLOSE,5),MA(CLOSE,60),MA(CLOSE,5),0,0),COLOR888877,POINTDOT;   
  4. STICKLINE(MA(CLOSE,60)<MA(CLOSE,5),MA(CLOSE,60),MA(CLOSE,5),0,0),COLOR33AAFF,POINTDOT;   
  5. STICKLINE(MA(CLOSE,60)=MA(CLOSE,5),MA(CLOSE,60),MA(CLOSE,5),0,0),COLORCC11CC,POINTDOT;   
  6. hh:=SYSPARAM(4);ll:=SYSPARAM(5);   
  7. x:=ll-(hh-ll+MINDIFF)/5;   
  8. y:=HHV(VOL,SYSPARAM(3)-SYSPARAM(2)+1);   
  9. yvb:=y[SYSPARAM(3)]/(ll-x+MINDIFF);   
  10. z:=VOL/yvb+x;   
  11. a:=SYSPARAM(4)-SYSPARAM(5);//画面高低差幅   
  12. ab:=SYSPARAM(4)+a/3;   
  13. STICKLINE(CLOSE>REF(CLOSE,1),x,z,9,0) ,colorAA;    
  14. STICKLINE(CLOSE>REF(CLOSE,1),x,z,8,0) ,color11BB;   
  15. STICKLINE(CLOSE>REF(CLOSE,1),x,z,7,0) ,color22CC;   
  16. STICKLINE(CLOSE>REF(CLOSE,1),x,z,6,0) ,color33DD;   
  17. STICKLINE(CLOSE>REF(CLOSE,1),x,z,5,0) ,color44EE;    
  18. STICKLINE(CLOSE>REF(CLOSE,1),x,z,4,0) ,color55FF;   
  19. STICKLINE(CLOSE>REF(CLOSE,1),x,z,2.2,0) ,color66FF;   
  20. STICKLINE(CLOSE>REF(CLOSE,1),x,z,1.5,0) ,color77FF;   
  21. STICKLINE(CLOSE<=REF(CLOSE,1),x,z,9,0),colorAA00;   
  22. STICKLINE(CLOSE<=REF(CLOSE,1),x,z,8,0),colorBB11;   
  23. STICKLINE(CLOSE<=REF(CLOSE,1),x,z,7,0),colorCC22;   
  24. STICKLINE(CLOSE<=REF(CLOSE,1),x,z,6,0),colorDD33;   
  25. STICKLINE(CLOSE<=REF(CLOSE,1),x,z,5,0),colorEE44;   
  26. STICKLINE(CLOSE<=REF(CLOSE,1),x,z,4,0),colorFF55;   
  27. STICKLINE(CLOSE<=REF(CLOSE,1),x,z,2.5,0),colorFF66;   
  28. STICKLINE(CLOSE<=REF(CLOSE,1),x,z,1.5,0),colorFF77;   
  29. 五日:MA(z,5),COLORWHITE;   
  30. 十日:MA(z,10)COLORGREEN;   
  31. DRAWICON(CROSS(五日,十日),十日,12),COLORred;   
  32. ab:MA(CLOSE,5),COLORGRAY;   
  33. aa:=MA(CLOSE,10),COLORGRAY;   
  34. a1:=a=HHV(ab,SYSPARAM(4));   
  35. a2:=BARSLAST(a1);   
  36. bb:=REF(ab,a2);   
  37. gg:=IF(HIGH>ab,ab,ab);   
  38. DRAWLINE(HIGH=SYSPARAM(4) ,HIGH,BARPOS=SYSPARAM(1),HHV(ab,10),1),COLORGRAY;   
  39. VAR01:=MA(CLOSE,60);   
  40. PARTLINE(VAR01>REF(VAR01,1),VAR01), colorcc, LINETHICK3;   
  41. PARTLINE(VAR01<REF(VAR01,1),VAR01), COLOR00cc00, LINETHICK3;   
  42. PARTLINE(ABS(VAR01-REF(VAR01,1))/VAR01*10000<8,VAR01), COLORBLUE, LINETHICK3;   
  43. PARTLINE(ABS(ab-REF(ab,1))/ab*10000<8,ab), COLORBLUE, LINETHICK3;   
  44. VAR02:=HHV(VAR01,0);   
  45. VAR03:=LLV(VAR01,0);   
  46. DRAWSL(VAR01=VAR02[DATACOUNT] ,VAR01,0,0,0),coloryellow,POINTDOT,LINETHICK1;   
  47. DRAWSL(VAR01=VAR03[DATACOUNT] ,VAR01,0,0,0),colorred,POINTDOT,LINETHICK1;   
  48. STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,0,0 ),COLOR00FF00;    
  49. STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,8,0 ),COLOR008800;   
  50. STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,7,0 ),COLOR009900;   
  51. STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,6,0 ),COLOR00AA00;   
  52. STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,5,0 ),COLOR00BB00;   
  53. STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,4,0 ),COLOR00CC00;   
  54. STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,3,0 ),COLOR00DD00;   
  55. STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,2,0 ),COLOR00EE00;   
  56. STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,1,0 ),COLOR00FF00;   
  57. STICKLINE(OPEN>CLOSE ,HIGH ,LOW,0.5,0 ),COLOR00FF00;   
  58. STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,8,0),color33;   
  59. STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,7,0),color55;   
  60. STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,6,0),color77;   
  61. STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,5,0),color99;   
  62. STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,4,0),colorBB;   
  63. STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,3,0),colorDD;   
  64. STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,2,0),colorFF;   
  65. STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1,0),colorFF;   
  66. STICKLINE((CLOSE >= OPEN),LOW,HIGH,0.5,0),colorFF;   
  67. DRAWICON(CROSS(ab,aa),LOW*0.998,12);   
  68. DRAWICON(CROSS(aa,ab),HIGH*1.005,11);   
  69. DRAWTEXT(CROSS(CLOSE,VAR01) and VAR01>=REF(VAR01,1),LOW*0.99,'★'),COLORYELLOW;   
  70. DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);    
  71. DEA:=EMA(DIFF,9);    
  72. MACD:=2*(DIFF-DEA);    
  73. MACD1:=CROSS(DIFF,DEA) AND COUNT(MACD>0,1)=1;    
  74. MACD2:=CROSS(Dea,Diff) AND COUNT(MACD<0,1)=1;   
  75. 均线:=CROSS(MA(CLOSE,5),MA(CLOSE,10));    
  76. 量线:=CROSS(MA(VOL,5),MA(VOL,10));    
  77. SCC:=MACD1  AND 均线 AND 量线;    
  78. SC2:=均线 AND 量线;    
  79. SC3:=均线 AND MACD1;    
  80. SC6:=MACD1 AND 量线;    
  81. SC7:=CLOSE>MA(CLOSE,120);   
  82. sc8:=(SCC  OR SC2 OR SC3  OR SC6) AND SC7;   
  83. DRAWTEXT(sc8,LOW*0.99,'★\n红\n三\n军'),COLORred;   
  84. DRAWICON(sc8,LOW*0.998,12);   
  85. TY:=CLOSE;   
  86. HD:=FILTER(BACKSET(FILTER(REF(TY,10)=HHV(TY,2*10+1),10),10+1),10);   
  87. LD:=FILTER(BACKSET(FILTER(REF(TY,10)=LLV(TY,2*10+1),10),10+1),10);    
  88. A:=REF(CLOSE,BARSLAST(HD));   
  89. B:=REF(CLOSE,BARSLAST(LD));   
  90. T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;   
  91. T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);   
  92. IF(T1,A,A),COLORFF00FF,POINTDOT,LINETHICK1;   
  93. IF(T2,B,B),COLOR80FF00,POINTDOT,LINETHICK1;   
  94. 大盘上涨家数:=INDEXADV;   
  95. 平盘家数P:=PINGPAN;   
  96. 大盘下跌家数:=INDEXDEC;   
  97. DRAWTEXTEX(1,0,545,30,'上涨:'+NUMTOSTR(大盘上涨家数,0)+'家'),Colorred;    
  98. DRAWTEXTEX(1,0,645,30,'平盘:'+NUMTOSTR(平盘家数P,0)+'家'),Color00FFFF;   
  99. DRAWTEXTEX(1,0,725,30,'下跌:'+NUMTOSTR(大盘下跌家数,0)+'家'),Colorred;   
  100. DRAWTEXTEX(1,0,630,60,'  ★天心箭★'),COLORGRAY;   
  101. AA1:=(STRFIND(STKNAME,'ST',0) = 0);   
  102. K0:=IF(AA1,10,20);   
  103. A1:=((REF(CLOSE,1) / K0) + REF(CLOSE,1));   
  104. A2:=(0 - ((REF(CLOSE,1) / K0) - REF(CLOSE,1)));   
  105. SZ5:=(('涨停价:' + NUMTOSTR(A1,2)) + '元');   
  106. SZ6:=(('                  跌停价:' + NUMTOSTR(A2,2)) + '元');   
  107. DRAWTEXTEX(CLOSE,1,535,120, sz5),colorFF;   
  108. DRAWTEXTEX(CLOSE,1,600,120, sz6),colorFF00;   
  109. DRAWTEXTEX(ma(c,60)<ref(ma(c,60),1) and c<ma(c,60),0,545,90,'★阴阳河下死   ︻$▅▆▇◤   坚决空仓★'),COLORMAGENTA;   
  110. DRAWTEXTEX(ma(c,60)>=ref(ma(c,60),1) and c>=ma(c,60),0,545,90,'★阴阳河上生   ︻$▅▆▇◤   开始看多★'),COLORMAGENTA;   

 

资源下载链接   资源大小:3KB

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