Board logo

标题: [大智慧指标] [转载]道波天机指标公式 [打印本页]

作者: 龙听    时间: 2018-10-9 16:11     标题: [转载]道波天机指标公式

004.png

公式如下:
  1. N:=3;
  2. VAR2:=MA(CLOSE,5);
  3. VAR3:=MA(CLOSE,10);
  4. VAR4:=MA(CLOSE,20);
  5. VAR5:=MA(CLOSE,30);
  6. VAR6:=((((VAR2 + VAR3) + VAR4) + VAR5) / 4);
  7. VAR7:=(((VAR6 - REF(VAR6,N)) / REF(VAR6,N)) * 100);
  8. VAR9:=EMA(VAR7,5);
  9. 付氏精准:IF(CROSS(VAR7,0),10,0),color99CC99;
  10. 稳操胜券:STICKLINE(((VAR7 > REF(VAR7,1)) AND (VAR7 > 0)),0,VAR9,5,0),colorFF00FF;
  11. STICKLINE(((VAR7 > REF(VAR7,1)) AND (VAR7 < 0)),VAR7,VAR9,5,0),color0000FF;
  12. 箱体震荡:STICKLINE(((VAR9 > REF(VAR9,1)) AND (VAR9 < 0)),VAR7,0,5,0),colorFF0000;
  13. 翻转做多:STICKLINE((VAR9 > REF(VAR9,1)),VAR7,VAR9,5,0),color0000FF;
  14. 生命禁区:STICKLINE(CROSS(VAR7,0),VAR7,VAR9,8,0),colorFFFFFF;
  15. 股价泥潭:STICKLINE((VAR7 < REF(VAR7,1)),VAR7,VAR9,5,1),color00FF00;
  16. 多头回调:STICKLINE(((VAR7 < REF(VAR7,1)) AND (VAR9 > (1 * REF(VAR9,1)))),VAR7,VAR9,10,0),color00EEFF;
  17. STICKLINE((((VAR7 < REF(VAR7,1)) AND (VAR9 > (1 * REF(VAR9,1)))) AND (VAR7 > 0)),0,VAR9,5,0),colorFF00FF;
  18. 生死线:0,color7766CC;
  19. VAR10:=(((CLOSE - MA(CLOSE,58)) / MA(CLOSE,58)) * 100);
  20. VAR11:=((((VAR10 > (1 * REF(VAR10,1))) AND (VAR10 < (0 - 26))) AND (VAR10 > (0 - 40))) * 1.5);
  21. VAR12:=((VOL / CAPITAL) * 100);
  22. VAR13:=LLVBARS(LOW,50);
  23. VAR14:=SUM(VOL,VAR13);
  24. VAR15:=HHVBARS(HIGH,50);
  25. VAR16:=SUM(VOL,VAR15);
  26. VAR17:=(((CLOSE - REF(OPEN,VAR15)) / REF(OPEN,VAR15)) * 100);
  27. VAR18:=((VAR16 / CAPITAL) * 100);
  28. VAR19:=(((CLOSE - REF(OPEN,VAR13)) / REF(OPEN,VAR13)) * 100);
  29. VAR20:=((VAR14 / CAPITAL) * 100);
  30. VAR21:=MA(CLOSE,3);
  31. VAR22:=(REF(CLOSE,2) * 0.865);
  32. VAR23:=(REF(CLOSE,13) * 0.772);
  33. VAR24:=MIN(VAR22,VAR23);
  34. VAR25:=MA(CLOSE,13);
  35. 大底:(IF((((((CLOSE - VAR24) / CLOSE) < 0.03) AND (VAR17 < (0 - 35))) AND ((SUM(VAR12,5) / 5) < 1.8)),1,0) * 10),colorFFFF00;
  36. VAR26:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);
  37. VAR27:=((EMA(CLOSE,12) - EMA(CLOSE,26)) * 100);
  38. VAR28:=EMA(VAR27,9);
  39. VAR29:=(2 * (VAR27 - VAR28));
  40. STICKLINE(((VAR27 < (0 - 50)) AND (VAR26 > 7)),0,(0 - 10),5,0),colorFFFF66;
  41. DRAWTEXT(((VAR27 < (0 - 50)) AND (VAR26 > 7)),(0 - 10),'单边追涨');

  42. DRAWTEXT(大底,8,'大底-成功率95%'),colorFFFFFF;
  43. DRAWICON((CROSS(VAR9,VAR7) AND (VAR7 > 0)),VAR9,5);
  44. DRAWTEXT((CROSS(VAR9,VAR7) AND (VAR7 > 0)),VAR9,' 逃顶'),color00FF00;
  45. KS13:=(((CLOSE - MA(CLOSE,13)) / MA(CLOSE,13)) * (0 - 100));
  46. RSV:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);
  47. FASTK:=SMA(RSV,3,1);
  48. D:=SMA(FASTK,3,1);
  49. VA1:=SMA(D,5,1);
  50. VA2:=(((CLOSE / MA(CLOSE,40)) * 100) < 76);
  51. VA3:=(((CLOSE / MA(CLOSE,60)) * 100) < 74);
  52. VA4:=(HIGH > (LOW * 1.051));
  53. FNZH:=(VA4 AND (COUNT(VA4,5) > 1));
  54. LC:=((((FNZH AND (VA2 OR VA3)) AND (REF(KS13,1) >= 10)) AND ((REF(KS13,1) / KS13) >= 1.13)) AND ((CLOSE / REF(CLOSE,1)) >= 1.02));
  55. DRAWICON(LC,5,12);
  56. DRAWTEXT(LC,3,'超跌反弹-成功率97%'),color0000FF;
  57. RSI:=REF(CLOSE,1);
  58. VAR58:=((SMA(MAX((CLOSE - RSI),0),6,1) / SMA(ABS((CLOSE - RSI)),6,1)) * 100);
  59. DRAWICON(((REF(VAR58,1) > 85) AND CROSS(84,VAR58)),VAR7,5);
复制代码


图片附件: 004.png (2018-10-9 16:12, 265.66 KB) / 下载次数 56
http://www.qhlt.cn/attachment.php?aid=4465&k=75a6431cb09b4372309e953e6ab8384a&t=1714933194&sid=Ft2fwQ






欢迎光临 龙听期货论坛 (http://www.qhlt.cn/) Powered by Discuz! 7.2