决策主力股票论坛|今日股市行情大盘分析查询

 找回密码
 立即/注册

扫一扫,访问微社区

QQ登录

只需一步,快速开始

搜索
上证指数 2886.97 -37.23 -1.27% 香港恒生 28371.262 -394.140 -1.37% 日经225 21403.45 -63.54 -0.30% 韩国综合 2093.34 -1.02 -0.05%
道琼斯 27154.20 -68.77 -0.25% 纳斯达克 8146.49 -60.75 -0.74% 英国富时 7537.74 +29.04 +0.39% 德国DAX 12283.21 +23.14 +0.19%
人民币 6.8804 -0.0017 -0.02% 原油 56.716 +1.71% 原油 黄金 1428.100 +0.10% 黄金全球股市行情 2019年07月22日19时01分
查看: 12616|回复: 0

[同花顺] 同花顺难得一见主图指标公式

[复制链接]
发表于 2019-1-11 14:03:00 | 显示全部楼层 |阅读模式

  1. M:=17;
  2. P:=2;
  3. N:=5;
  4. 大盘指数:INDEXC,NODRAW,colorlimagenta ;
  5. C3:=REF(C,1);
  6. 涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);
  7. STICKLINE(涨停,OPEN,CLOSE,2.5,0),coloryellow;
  8. 跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
  9. STICKLINE(跌停,OPEN,CLOSE,2.5,0),colorblue;
  10. EMA5:EMA(C,5),NODRAW;
  11. 操盘:=EMA(C,17);
  12. PARTLINE(操盘,操盘EMA5,colorgreen),LINETHICK2;
  13. KDJ_K:="KDJ.K"(9,3,3);KDJ_D:="KDJ.D"(9,3,3);KDJ_J:="KDJ.J"(9,3,3);
  14. 买1:=CROSS(KDJ_J,0) OR (CROSS(KDJ_J,KDJ_K) AND KDJ_D1,L*0.98,16);
  15. X6:=REF(CLOSE,1);
  16. X7:=((SMA(MAX((CLOSE - X6),0),7,1) / SMA(ABS((CLOSE - X6)),7,1)) * 100);
  17. X8:=CROSS(79,X7);
  18. X9:=FILTER(X8,4);
  19. DRAWTEXT(X9,(HIGH * 1.02),'●出货'),COLOR9000F5;
  20. 上升压力: 操盘 + P*STD(CLOSE,M),COLOR0099FF,LINETHICK2;
  21. 下跌支撑: 操盘 - P*STD(CLOSE,M),colormagenta,LINETHICK2;
  22. {http://jue-ce.com}
  23. {http://jue-ce.com}
  24. DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
  25. DEA:=EMA(DIF,9);
  26. MACD1:=(DIF-DEA)*2,COLORSTICK;
  27. A:=MA(CLOSE,5);
  28. B:=MA(CLOSE,20);
  29. TYP:=(HIGH+LOW+CLOSE)/3;
  30. CCI:=(TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84));
  31. BB:=BETWEEN(REF(CLOSE,1),A,B);
  32. DRAWTEXT(CLOSE>A AND A>B AND B>REF(B,1) AND CROSS(CCI,100) AND MACD1>0 AND REF(MACD1,1)>0,B,'追'),coloryellow;
  33. CBFB:=MA(C,2);
  34. JL:=IF(C>CBFB,V,0);
  35. CL:=IF(C4 AND CROSS(2,LHB) AND C>=O,1,0);
  36. DRAWICON(TJ1,L*0.96,9);
  37. Z:=MA(C,120);
  38. VAR3:=(MA(C,5)-Z)/Z;
  39. VAR4:=MA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,3);
  40. VAR5:=(MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,120)/MA(VOL,120)/100)/(MA(AMOUNT,5)/MA(VOL,5)/100);
  41. D1:DRAWTEXT(CLOSE>Z AND REF(VAR4,1)REF(VAR4,1) AND REF(VAR4,1)REF(VAR5,1) AND REF(VAR5,1)80 AND VAR7REF(VAR7,2),HIGH,'★S'),coloryellow;
  42. D5:DRAWTEXT(CROSS(90,VAR7) AND VAR8>0.2,HIGH,'★S'),colorgreen;
  43. D6:DRAWTEXT(CROSS(95,VAR7) AND VAR6>0.5,HIGH ,'★S'),colorred;
  44. MAA5:=MA(C,5),COLORFF00FF,LINETHICK2;
  45. MAA10:=MA(C,10);
  46. MAA30:=MA(C,30),colorred;
  47. KS:=IF(MAA10>MAA30,MAA10,MAA30),colorblue;
  48. A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
  49. A4:=SMA(A3,3,1);
  50. A5:=SMA(A4,3,1);
  51. A6:=3*A4-2*A5;
  52. A7:=C-REF(C,1);
  53. A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
  54. 买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A81 AND EMA(X1,13)>REF(EMA(X1,8),1),10),
  55. EMA8,'∠45升'),colorwhite;
  56. A01:=MA(CLOSE, 28);
  57. A02:=MA(CLOSE, 66);
  58. A03:=AMOUNT / VOL /  100.000;
  59. A04:=SUMBARS(VOL,CAPITAL *  1.618);
  60. A05:=IF((A04 > 100.000), 1.033,IF(((A04   33.000)), 1.039, 1.05));
  61. 运作成本:MA(A03, 10),NODRAW;
  62. 中线成本:EMA(A03, 34) * A05,NODRAW;
  63. 总体成本:DMA(中线成本,VOL / CAPITAL),NODRAW;
  64. VAR12:=(2*CLOSE+HIGH+LOW)/4;
  65. VAR13:=IF(YEAR>=2099 AND MONTH>2,0,1);
  66. VAR14:=LLV(LOW,5); VAR15:=HHV(HIGH,4);
  67. 散户:=EMA((VAR12-VAR14)/(VAR15-VAR14)*100,4)*VAR13;
  68. 庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR13;
  69. DRAWTEXT(CROSS(散户,庄家) AND 散户70,H+0.05,'←高抛'),colorgreen;
复制代码
回复

使用道具 举报

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

本版积分规则



手机版|今日股市行情|联系我们|决策主力股票论坛 ( 鄂ICP备15024813号-1)点击这里给我发消息

GMT+8, 2019-7-23 01:03

Powered by 今日股市

© 2001-2017 http://jue-ce.com/

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