: | : | :期货量化学习 | :期货量化 |
返回列表 发帖

大智慧神獒指标系列 神獒波段 神獒密钥 神獒四线 神獒霸气 神獒席位 神獒四户 神獒集中度 神獒掌控指标公式源码[大智慧公式]

大智慧神獒指标系列 神獒波段 神獒密钥 神獒四线 神獒霸气 神獒席位 神獒四户 神獒集中度 神獒掌控指标公式源码[大智慧公式]

  1. {神獒波段}{主图叠加}{大智慧L2新一代公式}


  2. input:N(5,1,111),N1(10,1,111),P(3,0.1,30),M(21,0,100);
  3. DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));
  4. a1:=(IF((DATE <= 1091025),1,0)) * (IF((CURRENTDATE <= 1091025),1,0));
  5. DRAWGBK((CLOSE > 0),'5');
  6. a2:=IF((CLOSE < 800),((AMOUNT / VOL) / 100),((((CLOSE * 2) + HIGH) + LOW) / 4));
  7. a3:=((HHV(HIGH,15)) + (LLV(LOW,30))) / 2;
  8. a4:=EMA((MA(a2,5)),10);
  9. a5:=EMA((MA(a2,15)),10);
  10. a6:=EMA((MA(a2,13)),21);
  11. a7:=((a4 + a5) + a6) / 3;
  12. a8:=(((ref(a7,1)) + a7) + (ref(a7,2))) / 3;
  13. 决策线:EMA((MA(CLOSE,5)),3),colorGreen;
  14. PARTLINE(决策线,决策线 > (ref(决策线,3)),RGB(255,0,0)),LINETHICK1,colorRed;
  15. UPR:决策线 + (3 * (STD(决策线,10))),Color808000;
  16. DWN:决策线 - (3 * (STD(决策线,10))),ColorA10000;
  17. 多空价:a8 * a1,LINETHICK2,Color008E00;
  18. 半年线:MA(CLOSE,120),POINTDOT,LINETHICK4,colorGray;
  19. 年线:MA(CLOSE,250),CROSSDOT,Color717143;
  20. STICKLINE((CLOSE > OPEN),HIGH,LOW,0.0001,1),colorRed;
  21. STICKLINE((CLOSE > OPEN),OPEN,CLOSE,8,1),Color5050FF;
  22. STICKLINE((CLOSE < OPEN),OPEN,CLOSE,8,0),ColorFFFF85;
  23. STICKLINE((CLOSE < OPEN),HIGH,LOW,0.0001,0),colorCyan;
  24. a9:=((EMA((MA(a2,3)),3)) + (WMA(a2,5))) / 2;
  25. a10:=ref(a9,1);
  26. a11:=BARSCOUNT(CLOSE);
  27. a12:=IF((a11 = 1),0,(((a9 - a10) / a10) * 100));
  28. a13:=ref(CLOSE,1);
  29. a14:=IF((a11 = 1),0,(((CLOSE - a13) / a13) * 100));
  30. a15:=IF((a11 = 1),((CLOSE + OPEN) / 2),a10);
  31. a16:=ref(a9,2);
  32. a17:=((a9 + a10) + a16) / 3;
  33. a18:=((ABS((a9 - a17)) + ABS((a10 - a17))) + ABS((a16 - a17))) / 3;
  34. a19:=IF((a11 < 3),0,((a18 / a9) * 100));
  35. a20:=IF((((a12 > 0.5) AND ((a19 > 0.215) OR (LOW > a15))) AND (CLOSE >= OPEN)),1,0);
  36. a21:=IF((((a12 < (0 - 0.3)) AND ((a19 > 0.2) OR (HIGH < a15))) AND ((OPEN >= CLOSE) OR (a14 < -1))),1,0);
  37. B:((COUNT(a20,BARSLAST(a21))) = 1) AND a20,LINETHICK0;
  38. D:((COUNT(a21,BARSLAST(a20))) = 1) AND a21,LINETHICK0;
  39. a22:=BARSLAST(B);
  40. a23:=((SUM(D,a22)) = 0) * a22;
  41. a24:=a23 > 0;
  42. a25:=a23 = 0;
  43. STICKLINE(a24,CLOSE,OPEN,8,0),colorMAgenta;
  44. STICKLINE(a24,CLOSE,OPEN,7,0),ColorFF28FF;
  45. STICKLINE(a24,CLOSE,OPEN,6,0),ColorFF3DFF;
  46. STICKLINE(a24,CLOSE,OPEN,5,0),ColorFF51FF;
  47. STICKLINE(a24,CLOSE,OPEN,4,0),ColorFF65FF;
  48. STICKLINE(a24,CLOSE,OPEN,3,0),ColorFF7AFF;
  49. STICKLINE(a24,CLOSE,OPEN,2,0),ColorFF8EFF;
  50. STICKLINE(a24,CLOSE,OPEN,1,0),ColorFFA2FF;
  51. STICKLINE(a25,CLOSE,OPEN,8,0),ColorFFFD02;
  52. STICKLINE(a25,CLOSE,OPEN,7,0),ColorF8FF24;
  53. STICKLINE(a25,CLOSE,OPEN,6,0),ColorFDFF4A;
  54. STICKLINE(a25,CLOSE,OPEN,5,0),ColorFCFF69;
  55. STICKLINE(a25,CLOSE,OPEN,4,0),ColorFDFD97;
  56. STICKLINE(a25,CLOSE,OPEN,3,0),ColorFFFFA2;
  57. STICKLINE(a25,CLOSE,OPEN,2,0),ColorFFFFB6;
  58. STICKLINE(a25,CLOSE,OPEN,1,0),ColorFFFFCC;
  59. STICKLINE(B,CLOSE,OPEN,8,0),colorYelLOW;
  60. STICKLINE(D,CLOSE,OPEN,8,0),Color00BE00;
  61. DRAWTEXT(B,(LOW * 0.98),'㊣'),LINETHICK2,ALIGN1,colorWhite;
  62. DRAWTEXT(D,(HIGH * 1.035),'S'),LINETHICK2,ALIGN1,colorGreen;
  63. PARTLINE(决策线,决策线 > (ref(决策线,3)),RGB(255,0,0)),LINETHICK1,colorRed;
  64. a26:=(((CLOSE / a13) - 1) * 100) >= (7 * a1);
  65. a27:=HIGH - ((HIGH - LOW) / 3);
  66. a28:=LOW + ((HIGH - LOW) / 3);
  67. PARTLINE(多空价,多空价 > (ref(多空价,3)),RGB(255,0,0)),LINETHICK2,colorRed;
  68. DRAWTEXTREL(10,800,'㊣十二星座*神獒赢富㊣'),LINETHICK1,COLOR00EEff;
  69. DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));

  70. BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
复制代码

论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
 
期货论坛 - 版权/免责声明   1.本站发布源码(包括函数、指标、策略等)均属开放源码,用意在于让使用者学习程序化语法撰写,使用者可以任意修改语法內容并调整参数。仅限用于个人学习使用,请勿转载、滥用,严禁私自连接实盘账户交易
  2.本站发布资讯(包括文章、视频、历史记录、教材、评论、资讯、交易方案等)均系转载自网络主流媒体,内容仅为作者当日个人观点,本网转载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述。本网不对该类信息或数据做任何保证。不对您构成任何投资建议,不能依靠信息而取代自身独立判断,不对因使用本篇文章所诉信息或观点等导致的损失承担任何责任。
  3.本站发布资源(包括书籍、杂志、文档、软件等)均从互联网搜索而来,仅供个人免费交流学习,不可用作商业用途,本站不对显示的内容承担任何责任。请在下载后24小时内删除。如果喜欢,请购买正版,谢谢合作!
  4.龙听期货论坛原创文章属本网版权作品,转载须注明来源“龙听期货论坛”,违者本网将保留追究其相关法律责任的权力。本论坛除发布原创文章外,亦致力于优秀财经文章的交流分享,部分文章推送时若未能及时与原作者取得联系并涉及版权问题时,请及时联系删除。联系方式:http://www.qhlt.cn/thread-262-1-1.html
如何访问权限为100/255贴子:/thread-37840-1-1.html;注册后仍无法回复:/thread-23-1-1.html;微信/QQ群:/thread-262-1-1.html;网盘链接失效解决办法:/thread-93307-1-1.html

神獒密钥公式源码

  1. DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));
  2. A1:=(25);
  3. A2:=(26);
  4. A3:=(3 * (SMA((((CLOSE - (LLV(LOW,A1))) / ((HHV(HIGH,A1)) - (LLV(LOW,A1)))) * 100),5,1))) - (2 * (SMA((SMA((((CLOSE - (LLV(LOW,A2))) / ((HHV(HIGH,A2)) - (LLV(LOW,A2)))) * 100),5,1)),3,1)));
  5. A4:=(3 * (SMA((((INDEXC - (LLV(INDEXL,A1))) / ((HHV(INDEXH,A1)) - (LLV(INDEXL,A1)))) * 100),5,1))) - (2 * (SMA((SMA((((INDEXC - (LLV(INDEXL,A2))) / ((HHV(INDEXH,A2)) - (LLV(INDEXL,A2)))) * 100),5,1)),3,1)));
  6. 星座趋势:EMA(A3,5),LINETHICK0;
  7. A5:=ref(星座趋势,1);
  8. A6:=EMA(A3,3);
  9. 大盘线:EMA(A4,3),colorMAgenta;
  10. A7:=星座趋势 > A5;
  11. A8:=星座趋势 < A5;
  12. A9:=((CLOSE / (ref(CLOSE,1))) - 1) * 100;
  13. A10:=(IF((DATE <= 1091025),1,0)) * (IF((CURRENTDATE <= 1091025),1,0));
  14. A11:=BIGORDER(1,3);
  15. A12:=BIGORDER(2,3);
  16. A13:=BIGORDER(1,2);
  17. A14:=BIGORDER(2,2);
  18. A15:=((((A13 - A14) * VOL) / CAPITAL) * 500) * A10;
  19. A16:=((((A11 - A12) * VOL) / CAPITAL) * 500) * A10;
  20. A17:=IF(((A15 >= 0) AND (A16 >= 0)),(MAX(A15,A16)),(MIN(A15,A16)));
  21. A18:=IF((A9 > 0),A9,ABS(A9));
  22. A19:=IF(((A17 > 0) AND (A9 < 0)),A9,A18);
  23. A20:=A17 - A19;
  24. 爆破:IF((A20 > 0),A20,0),LINETHICK0,colorRed;
  25. A21:=((CLOSE - (EMA(CLOSE,25))) / (EMA(CLOSE,25))) * 100;
  26. A22:=((CLOSE - CYC(13)) / CYC(13)) * 100;
  27. A23:=IF((CLOSE < 800),((AMOUNT / VOL) / 100),((((CLOSE * 2) + HIGH) + LOW) / 4));
  28. A24:=((EMA((MA(A23,3)),3)) + (WMA(A23,5))) / 2;
  29. A25:=ref(A24,1);
  30. A26:=BARSCOUNT(CLOSE);
  31. A27:=IF((A26 = 1),0,(((A24 - A25) / A25) * 100));
  32. 神獒密钥①:(((A20 > 6) AND (A27 < -3.5)) AND (A22 < -18)) AND (A21 > -20),LINETHICK0,ColorFF4398;
  33. STICKLINE(神獒密钥①,10,0,2,0),LINETHICK0,ColorFF4398;
  34. DRAWTEXT(神獒密钥①,A20,'神獒密钥①成功率93%'),ColorFF4398;
  35. 神獒密钥②:(((A20 >= 5) AND (A27 < -3)) AND (A21 < -22)) AND (A22 < -22),LINETHICK0,ColorFFFF98;
  36. STICKLINE(神獒密钥②,12,0,2,0),LINETHICK0,ColorFFFF98;
  37. DRAWTEXT(神獒密钥②,A20,'神獒密钥②成功率97%'),ColorFFFF98;
  38. 神獒密钥●:((((A20 >= 8) AND (A27 < -5)) AND (A21 < -13)) AND (A22 < -16)) AND (A15 >= 1),LINETHICK0,Color00FDFF;
  39. STICKLINE(神獒密钥●,14,0,2,0),LINETHICK0,Color00FDFF;
  40. DRAWTEXT(神獒密钥●,A20,'神獒密钥●成功率99%'),Color00FDFF;
  41. 神獒密钥④:((((A20 >= 4) AND (A27 < -4)) AND (A21 < -10)) AND (A22 < -12)) AND (A15 >= 0.5),LINETHICK0,ColorFFF6FF;
  42. STICKLINE(神獒密钥④,14,0,2,0),LINETHICK0,ColorFFF6FF;
  43. DRAWTEXT(神獒密钥④,A20,'神獒密钥④成功率90%'),ColorFFF6FF;
  44. 神獒密钥⑤:((((A20 >= 4) AND (A27 < -3)) AND (A21 < -10)) AND (A22 < -13)) AND (A15 >= 0.5),LINETHICK0,ColorFFF6FF;
  45. STICKLINE(神獒密钥⑤,14,0,2,0),LINETHICK0,ColorFFF6FF;
  46. DRAWTEXT(神獒密钥⑤,A20,'神獒密钥⑤成功率90%'),ColorFFF6FF;
  47. 二级:((((A20 >= 4) AND (A15 > 0.2)) AND (A27 < -4)) AND (A22 < -14)) AND (A21 > -10),LINETHICK0,colorGreen;
  48. 三级:((((A20 >= 6) AND (A27 < -2.5)) AND (A22 < -18)) AND (A21 < -14)) AND (A15 > 0.2),LINETHICK0,colorMAgenta;
  49. 四级:((A20 >= 8) AND (A27 < -5)) AND (A22 < -18),LINETHICK0,colorRed;
  50. 五级:((A20 >= 10) AND ((A15 > 1) OR (A16 > 2.5))) AND (A15 > 0.2),LINETHICK0,ColorFF0000;
  51. DRAWTEXTREL(0,0,' 密钥爆破级数越高意味着成功率越高。'),LINETHICK1,colorRed;
  52. STICKLINE(二级,14,0,2,0),colorGreen;
  53. STICKLINE(三级,13,0,4,0),colorMAgenta;
  54. STICKLINE(四级,12,0,6,0),colorRed;
  55. STICKLINE(((A20 >= 10) AND ((A15 > 1) OR (A16 > 2.5))),10,0,8,0),ColorFF0000;
  56. STICKLINE(((A20 > 5) AND (A15 > 1)),(A20 * 2),0,0.5,0),colorYelLOW; {内容来至程序化交易网 CXH99.COM}
  57. STICKLINE(A8,星座趋势,A5,6,0),Color3DFF3D;
  58. STICKLINE(A8,星座趋势,A5,5,0),Color51FF51;
  59. STICKLINE(A8,星座趋势,A5,4,0),Color65FF65;
  60. STICKLINE(A8,星座趋势,A5,3,0),Color7AFF7A;
  61. STICKLINE(A8,星座趋势,A5,2,0),Color8EFF8E;
  62. STICKLINE(A8,星座趋势,A5,1,0),ColorA2FFA2;
  63. STICKLINE(A7,星座趋势,A5,6,0),Color2828FF;
  64. STICKLINE(A7,星座趋势,A5,5,0),Color3D3DFF;
  65. STICKLINE(A7,星座趋势,A5,4,0),Color5151FF;
  66. STICKLINE(A7,星座趋势,A5,3,0),Color6565FF;
  67. STICKLINE(A7,星座趋势,A5,2,0),Color7A7AFF;
  68. STICKLINE(A7,星座趋势,A5,1,0),Color8E8EFF;
  69. IF((((CROSS(A5,星座趋势)) AND (星座趋势 > 85)) AND (((((A13 - A14) * VOL) / CAPITAL) * 500) < -0.65)),70,90);
  70. IF((((CROSS(星座趋势,A5)) AND (星座趋势 < 15)) AND (((((A13 - A14) * VOL) / CAPITAL) * 500) > 0.3)),20,10);
  71. DRAWTEXTREL(10,900,'㊣十二星座*神獒赢富㊣'),LINETHICK1,COLOR00EEff;
复制代码

如何访问权限为100/255贴子:/thread-37840-1-1.html;注册后仍无法回复:/thread-23-1-1.html;微信/QQ群:/thread-262-1-1.html;网盘链接失效解决办法:/thread-93307-1-1.html

TOP

分时主图公式源码

  1. input:LONG(26,20,100),SHORT(12,5,40),M(9,2,60);
  2. a1:=1;
  3. a2:=DYNAINFO(14);
  4. a3:=(FINANCE2(37));
  5. a4:=(FINANCE2(3));
  6. a5:=DYNAINFO(17);
  7. a6:=(MA(CLOSE,0)) * a1;
  8. a7:=(MA(a6,0)) * a1;
  9. a8:=a6 - a7;
  10. STICKLINE((a6 > a7),a6,a7,0.8,501),LINETHICK1,colorRed;
  11. STICKLINE((a7 > a6),a6,a7,0.8,1),LINETHICK1;
  12. DRAWICON(((CROSS(a7,a6)) AND (TIME > 93200)),a6,8),colorGreen;
  13. DRAWICON(((CROSS(a6,a7)) AND (TIME > 93200)),a6,7),colorYelLOW;
  14. a9:=(CLOSE = ((HHV(CLOSE,0)) * a1)) AND (VOL >= 1000);
  15. a10:=VOL = (HHV(VOL,0));
  16. a11:=(STRFIND(STKNAME,'ST',1)) > 0;
  17. a12:=(STRFIND(STKNAME,'S',1)) > 0;
  18. a13:=NOT(a11) AND NOT(a12);
  19. a14:=SUM((((((a13 AND a9) AND a10) AND (CLOSE > (MA(CLOSE,0)))) AND (TIME > 93500)) AND (TIME < 145500)),0);
  20. a15:=((ALLBIDVOL / (ALLBIDVOL + ALLASKVOL)) * 100) * a1;
  21. a16:=(HIGH + LOW) / 2;
  22. a17:=(a14);
  23. a18:=(a15);
  24. a19:=(MA((MA(CLOSE,0)),0)) * a1;
  25. DRAWTEXT(((((a13 AND a9) AND a10) AND (TIME > 93500)) AND (TIME < 144500)),CLOSE,'黑马'),colorRed;
  26. DRAWTEXTABS(25,282,' '),colorCyan;
  27. DRAWTEXTABS(25,302,' '),colorCyan;
  28. DRAWTEXT((FILTER((((a5 > 1) AND (a14 >= 2)) AND (a8 > 0)),15)),a6,'㊣'),LINETHICK3,coloryelLOW;
  29. a3:=(FINANCE2(37));
  30. DRAWTEXTABS(100,282,' 流通股 '+a3),colorGreen;
  31. a4:=(FINANCE2(3));
  32. DRAWTEXTABS(280,282,' 收益 '+a4),colorWhite;
  33. DRAWTEXTABS(290,282,' 量对比 '+a5),colorGreen;
  34. DRAWTEXTABS(25,262,'十二星座无视大盘战法:从涨幅排行中手动翻页筛选个股,发现㊣后分批买入'),colorCyan;
  35. DRAWTEXTABS(25,242,'最高宗旨:卖出股票参照◎点,买入股票参照★点,上下箭头代表趋势'),colorCyan;
  36. DRAWTEXTABS(25,222,'㊣十二星座*神獒赢富㊣'),LINETHICK1,COLOR00EEff;
  37. a20:=(EMA(CLOSE,SHORT)) - (EMA(CLOSE,LONG));
  38. a21:=EMA(a20,M);
  39. a22:=2 * (a20 - a21);
  40. DRAWTEXT((FILTER(((a20 * a1) > 0.2),30)),CLOSE,'◎'),LINETHICK2,colorGreen;
  41. DRAWTEXT((((FILTER(((a20 * a1) < -0.03),30)) AND (TIME > 113500)) AND (a2 > -0.02)),CLOSE,'★'),LINETHICK3,colorRed;
复制代码
如何访问权限为100/255贴子:/thread-37840-1-1.html;注册后仍无法回复:/thread-23-1-1.html;微信/QQ群:/thread-262-1-1.html;网盘链接失效解决办法:/thread-93307-1-1.html

TOP

分时附图源码:神獒四线公式源码
  1. DRAWTEXTREL(50,10,' 代码: '+STKLABEL+' '+STKNAME+' 日期: '+YEAR+'年'+MONTH+'月 '+DAY+'日 '),LINETHICK2,ColorFFFF80;
  2. DRAWTEXTREL(650,10,'㊣十二星座*神獒赢富㊣'),LINETHICK1,COLOR00EEff;
  3. a1:=SUM((ORDERVOL(1,3)),0);
  4. a2:=SUM((ORDERVOL(2,3)),0);
  5. a3:=(SUM((ORDERVOL(1,2)),0)) - a1;
  6. a4:=(SUM((ORDERVOL(2,2)),0)) - a2;
  7. a5:=(SUM((ORDERVOL(1,1)),0)) - (SUM((ORDERVOL(1,2)),0));
  8. a6:=(SUM((ORDERVOL(2,1)),0)) - (SUM((ORDERVOL(2,2)),0));
  9. a7:=(SUM((ORDERVOL(1,0)),0)) - (SUM((ORDERVOL(1,1)),0));
  10. a8:=(SUM((ORDERVOL(2,0)),0)) - (SUM((ORDERVOL(2,1)),0));
  11. a9:=(SUM((ORDERVOL(1,0)),0)) + (SUM((ORDERVOL(2,0)),0));
  12. a10:=a7 - a8;
  13. a11:=a5 - a6;
  14. a12:=a3 - a4;
  15. a13:=a1 - a2;
  16. a14:=(SUM((ORDERVOL(1,2)),0)) - (SUM((ORDERVOL(2,2)),0));
  17. a15:=(100 * a7) / a9;
  18. a16:=(100 * a8) / a9;
  19. a17:=(100 * a5) / a9;
  20. a18:=(100 * a6) / a9;
  21. a19:=(100 * a3) / a9;
  22. a20:=(100 * a4) / a9;
  23. a21:=(100 * a1) / a9;
  24. 中户筹码:A11,LINETHICK1,colorGreen;
  25. 大户筹码:A12,LINETHICK1,colorYelLOW;
  26. 机构筹码:A13,LINETHICK1,ColorFF0000;
  27. 主力筹码:A14,LINETHICK2,colorRed;
  28. a22:=(100 * a2) / a9;
  29. a23:=(100 * (SUM((ORDERVOL(1,2)),0))) / a9;
  30. a24:=(100 * (SUM((ORDERVOL(2,2)),0))) / a9;
  31. a25:=(100 * a10) / a9;
  32. a26:=(100 * a11) / a9;
  33. a27:=(100 * a12) / a9;
  34. a28:=(100 * a13) / a9;
  35. a29:=(100 * a14) / a9;
  36. a30:=(a1);
  37. a31:=(a2);
  38. a32:=(a3);
  39. a33:=(a4);
  40. a34:=(a5);
  41. a35:=(a6);
  42. a36:=(a7);
  43. a37:=(a8);
  44. a38:=((SUM((ORDERVOL(1,2)),0)));
  45. a39:=((SUM((ORDERVOL(2,2)),0)));
  46. a40:=(a10);
  47. a41:=500 / (MAX(a30,a31,a32,a33,a34,a35,a36,a37,a40,中户筹码,大户筹码,机构筹码));
  48. a42:=550 / (MAX(a38,a39,主力筹码));
  49. a43:=600 - (a30 * a41);
  50. a44:=600 - (a31 * a41);
  51. a45:=600 - (a32 * a41);
  52. a46:=600 - (a33 * a41);
  53. a47:=600 - (a34 * a41);
  54. a48:=600 - (a35 * a41);
  55. a49:=600 - (a36 * a41);
  56. a50:=600 - (a37 * a41);
  57. a51:=600 - (a38 * a42);
  58. a52:=600 - (a39 * a42);
  59. a53:=600 - (a40 * a41);
  60. a54:=600 - (中户筹码 * a41);
  61. a55:=600 - (大户筹码 * a41);
  62. a56:=600 - (机构筹码 * a41);
  63. a57:=600 - (主力筹码 * a42);
  64. DRAWRECTREL(50,a49,70,600,250),colorYelLOW;
  65. DRAWRECTREL(70,a50,90,600,9213440),colorYelLOW;
  66. DRAWRECTREL(90,a53,110,600,(IF((a10 >= 0),3289855,8584960))),colorYelLOW;
  67. DRAWRECTREL(160,a47,180,600,250),colorYelLOW;
  68. DRAWRECTREL(180,a48,200,600,9213440),colorYelLOW;
  69. DRAWRECTREL(200,a54,220,600,(IF((a11 >= 0),3289855,8584960))),colorYelLOW;
  70. DRAWRECTREL(270,a45,290,600,250),colorYelLOW;
  71. DRAWRECTREL(290,a46,310,600,9213440),colorYelLOW;
  72. DRAWRECTREL(310,a55,330,600,(IF((a12 >= 0),3289855,8584960))),colorYelLOW;
  73. DRAWRECTREL(380,a43,400,600,250),colorYelLOW;
  74. DRAWRECTREL(400,a44,420,600,9213440),colorYelLOW;
  75. DRAWRECTREL(420,a56,440,600,(IF((a13 >= 0),3289855,8584960))),colorYelLOW;
  76. DRAWRECTREL(925,a51,945,600,255),colorYelLOW;
  77. DRAWRECTREL(945,a52,965,600,9213440),colorYelLOW; {本文来至程序化交易网 cxh99.com}
  78. DRAWRECTREL(965,a57,985,600,(IF((a14 >= 0),3289855,8584960))),colorYelLOW;
  79. DRAWRECTREL(0,600,445,604,255),colorWhite;
  80. DRAWTEXTREL(18,450,'散户'),ColorDDFFFF;
  81. DRAWTEXTREL(125,450,'中户'),ColorDDFFFF;
  82. DRAWTEXTREL(235,450,'大户'),ColorDDFFFF;
  83. DRAWTEXTREL(345,450,'机构'),ColorDDFFFF;
  84. DRAWTEXTREL(888,450,'主力'),ColorDDFFFF;
  85. DRAWTEXTREL(2,720,'机构买:'+NUMTOSTR(a21)+'%'+' 大户买:'+NUMTOSTR(a19)+'%'+' 中户买:'+NUMTOSTR(a17)+'%'+' 散户买:'+NUMTOSTR(a15)+'%'),colorRed;
  86. DRAWTEXTREL(2,790,'机构卖:'+NUMTOSTR(a22)+'%'+' 大户卖:'+NUMTOSTR(a20)+'%'+' 中户卖:'+NUMTOSTR(a18)+'%'+' 散户卖:'+NUMTOSTR(a16)+'%'),colorGreen;
  87. DRAWTEXTREL(2,860,'机构差:'+NUMTOSTR(a28)+'%'+' 大户差:'+NUMTOSTR(a27)+'%'+' 中户差:'+NUMTOSTR(a26)+'%'+' 散户差:'+NUMTOSTR(a25)+'%'),colorWhite;
  88. DRAWTEXTREL(2,930,'主力差:'+NUMTOSTR(a29)+'%'),colorWhite;
复制代码

如何访问权限为100/255贴子:/thread-37840-1-1.html;注册后仍无法回复:/thread-23-1-1.html;微信/QQ群:/thread-262-1-1.html;网盘链接失效解决办法:/thread-93307-1-1.html

TOP

主图:神獒霸气公式源码
  1. {45度异动}
  2. x1:=(C+L+H)/3;
  3. bb13:=atan(eMA(x1,13)-ref(eMA(x1,13),1))*3.1416*10;
  4. eMA8:=eMA(c,8);
  5. DRAWTEXT(filter(bb13>1 and eMA(x1,13)>ref(eMA(x1,8),1),10),
  6. eMA8,'∠45上升'),coloryelLOW;

  7. ah:HHVall(h);al:llvall(l);
  8. ahl:=ah-al;
  9. a23:al+ahl*0.236,COLORYELLOW,POINTDOT;
  10. a38:al+ahl*0.382,COLOREE00EE,POINTDOT;
  11. a50:al+ahl*0.50,COLORYELLOW,POINTDOT;
  12. a61:al+ahl*0.618,COLOREE00EE,POINTDOT;
  13. a76:al+ahl*0.764,COLORYELLOW,POINTDOT;
  14. {标注数字}y:=999;
  15. DRAWTEXTREL(500,0,'100%'+ah),COLOREE00EE;
  16. DRAWTEXTREL(500,y*0.236,'76.4%'+a76),COLORYELLOW;
  17. DRAWTEXTREL(500,y*0.382,'61.8%'+a61),COLOREE00EE;
  18. DRAWTEXTREL(500,y*0.50,'50%'+a50),COLORYELLOW;
  19. DRAWTEXTREL(500,y*0.618,'38.2%'+a38),COLOREE00EE;
  20. DRAWTEXTREL(500,y*0.764,'23.6%'+a23),COLORYELLOW;
  21. DRAWTEXTREL(500,y-30,'最低'+al),COLOREE00EE;

  22. DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));
  23. varl13:=("MAcd.diff#WEEK"(26,12,9));
  24. varl14:=("MAcd.dea#WEEK"(26,12,9));
  25. VL:=ref(LOW,1); VH:=ref(H,1);
  26. Var1:=SMA(ABS(H-Vh),13,1)/SMA(MAX(H-Vh,0),13,1)*100;
  27. Var2:=SMA(ABS(L-VL),13,1)/SMA(MAX(L-VL,0),13,1)*100;
  28. Var3:=MA(Var1,13);
  29. Var4:=MA(Var2,13);
  30. Var5:=LLV(L,34);
  31. Var6:=HHV(H,34);
  32. Var7:=EMA(IF(H>=Var6,Var3,0),3);
  33. Var8:=EMA(IF(L<=Var5,Var4,0),3);
  34. var9:=(SMA(SMA((((CLOSE - LLV(LOW,54)) / (HHV(HIGH,54) - LLV(LOW,54))) * 100),7,1),5,1));
  35. var10:=((SMA(((CLOSE - LLV(LOW,54)) / (HHV(HIGH,54) - LLV(LOW,54)) * 100),7,1)) * 16.18) - (var9* 10.9);
  36. Var11:=FILTER(IF(var10<=var9 AND Var8>ref(Var8,1),Var8*8,0),55);
  37. Var21:=LLV(LOW,60);
  38. Var31:=HHV(HIGH,60);
  39. Var41:=EMA((CLOSE-Var21)/(Var31-Var21)*100,13);
  40. Var51:=EMA(0.667*ref(Var41,1)+0.333*Var41,21);
  41. varl2:=FILTER(CROSS(Var51,Var41) AND Var41>84,13);
  42. 持股线:MA(C,26),LINETHICK3,coloryelLOW;
  43. 趋势线:MA(CLOSE,13),LINETHICK5,colorred;
  44. qjj:FILTER((CROSS(varl13,varl14) and varl14<0 and CROSS(c,持股线)),90),LINETHICK0;
  45. DRAWTEXTREL(10,900,'㊣十二星座*神獒赢富㊣'),LINETHICK1,COLOR00EEff;
  46. DD:=FINANCE2(35);
  47. SS:=FINANCE2(37);
  48. GG:=FINANCE2(3);
  49. TH:=DYNAINFO(39);
  50. DRAWTEXTREL(10,720,'总股本:'+NUMTOSTRn(DD,0)+'万股' +' 流通A股:'+NUMTOSTRn(SS,0)+'万股'+'市盈率:'+NUMTOSTRn(TH,2)+' 倍'+'每股收益:'+NUMTOSTRn(GG,3)+' 元'),ColorFFFF00;
  51. DRAWTEXT(var11,C*0.98,'㊣'),LINETHICK4,ColorFFFF00;
  52. DRAWICON(qjj,C*1.09,1);
  53. DRAWTEXT(qjj,l*0.78,'霸占大牛股'),COLOR00FFFF;
  54. DRAWTEXT(varl2,C*1.04,'逃跑'),Colorgreen;
  55. 获利比例:=(WINNER(C)*1000)/10;
  56. 平均成本:=(COST(50)*100)/100;
  57. 穿透力:=(WINNER(C)-WINNER(ref(C,1)))/v*CAPITAL;
  58. 90%成本:=FLOOR(COST(50-90/2)*100)/100;
  59. ~:=CEILING(COST(50+90/2)*100)/100;
  60. 90集中度:=INTPART((~-90%成本)/(~+90%成本)*1000)/10;
  61. 70%成本:=FLOOR(COST(50-70/2)*100)/100;
  62. ~~:=CEILING(COST(50+70/2)*100)/100;
  63. 70集中度:=INTPART((~~-70%成本)/(~~+70%成本)*1000)/10;
  64. DRAWTEXTABS(0,12,'获利比例:'+STR(获利比例)),COLOR44bbff;
  65. DRAWTEXTABS(0,24,'平均成本:'+STR(平均成本)),COLOR44bbff;
  66. DRAWTEXTABS(0,36,' 穿透力:'+STR(穿透力)),COLOR44bbff;
  67. DRAWTEXTABS(0,48,'90%成本:'+STR(90%成本)+'-'+STR(~)),COLOR44bbff;
  68. CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
  69. WARNING('http://www.cxh99.com',CURRENTTIME>180000 and (CXH=2 OR CXH=7));
  70. DRAWTEXTREL(10 ,10 ,'');
  71. DRAWTEXTABS(0,60,'90集中度:'+STR(90集中度)),COLOR44bbff;
  72. DRAWTEXTABS(0,72,'70%成本:'+STR(70%成本)+'-'+STR(~~)),COLOR44bbff;
  73. DRAWTEXTABS(0,84,'70集中度:'+STR(70集中度)),COLOR44bbff;
  74. gj:=if(c=INDEXC,(INDEXC+INDEXh+INDEXL+INDEXO)/4,AMOUNT/(v+0.01)/100);
  75. 明日阻力:=l+(gj-l)+(c-l);
  76. 明日支撑:=l+(c-gj);
  77. 今日阻力:=ref(明日阻力 , 1);
  78. 今日支撑:=ref(明日支撑 , 1);
  79. STICKLINE(DISPSTATUS=2and c>=今日阻力,今日阻力,今日阻力,20,0),Color0000FF;
  80. STICKLINE(DISPSTATUS=2and c<今日阻力,今日阻力,今日阻力,20,0),Color00FF00;
  81. STICKLINE(DISPSTATUS=2and c>=今日支撑,今日支撑,今日支撑,20,0),ColorFF00FF;
  82. STICKLINE(DISPSTATUS=2and c<今日支撑,今日支撑,今日支撑,20,0),ColorFF9900;
  83. DRAWTEXTREL(770,5,'今日支撑:'+NUMTOSTRN(今日支撑 ,2 )),Colorred;
  84. DRAWTEXTREL(630,5,'今日阻力:'+NUMTOSTRN(今日阻力 ,2 )),ColorGREEN;
  85. DRAWTEXTREL(1,800,'所属板块:'+BKNAME),ColorAFFF00;
  86. DRAWTEXTREL(1,850,'每股收益:'+NUMTOSTRN(FINANCE2(3),3)+'元'+' 市盈率:'+NUMTOSTRN(DYNAINFO(39),2)+'元'+' 市净率:'+NUMTOSTRN((CLOSE / FINANCE2(4)),2)+'元'+' 净资产:'+NUMTOSTRN(FINANCE2(4),2)+'元'),Color00C0FF;

  87. 神獒MACD(分时副图)
  88. DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));
  89. DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
  90. DEA: EMA(DIFF,M);
  91. MACD : 2*(DIFF-DEA), COLORSTICK;
  92. PARTLINE(diff,diff>=ref(diff,1),RGB(255,0,0),diff<ref(diff,1),RGB(0,255,0)),LINETHICK2;
  93. 抓主升。'),LINETHICK1,Colorred;
  94. DRAWTEXTABS(3,16,'DIFF泛绿时持币,宁缺毋滥。'),LINETHICK1,Colorred;
  95. DRAWTEXTREL(10,800,'㊣十二星座*神獒赢富㊣'),LINETHICK1,COLOR00EEff;
复制代码

如何访问权限为100/255贴子:/thread-37840-1-1.html;注册后仍无法回复:/thread-23-1-1.html;微信/QQ群:/thread-262-1-1.html;网盘链接失效解决办法:/thread-93307-1-1.html

TOP

{神獒席位公式源码}{副图}{大智慧L2新一代公式}
  1. DRAWTEXTABS(0,0,'席位多空博弈图');
  2. a1:=(BIGORDER(1,2)) - (BIGORDER(2,2));
  3. a2:=(BIGORDER(1,1)) - (BIGORDER(2,1));
  4. a3:=(BIGORDER(1,3)) - (BIGORDER(2,3));
  5. a4:=a1 * VOL;
  6. a5:=a2 * VOL;
  7. a6:=a3 * VOL;
  8. 主力席位:(((a4 * 3) + a5) + (a6 * 2)) / 6,LINETHICK0,colorRed;
  9. 机构席位:(a6),LINETHICK0;
  10. 主力席位流入:STICKLINE((主力席位 > 0),0,主力席位,7,0),colorRed;
  11. 主力席位流出:STICKLINE((主力席位 < 0),0,主力席位,7,0),ColorFFF000;
  12. 机构席位流入:STICKLINE((机构席位 > 0),0,机构席位,3,0),colorYelLOW;
  13. 机构席位流出:STICKLINE((机构席位 < 0),0,机构席位,3,0),ColorFF0000;
  14. a7:=(BIGORDER(1,2)) * VOL;
  15. a8:=(BIGORDER(1,3)) * VOL;
  16. a9:=(BIGORDER(2,2)) * VOL;
  17. a10:=(BIGORDER(2,3)) * VOL;
  18. a11:=(a7);
  19. a12:=(a9);
  20. a13:=(a11);
  21. a14:=(a12);
  22. a15:=SUM(a11,5);
  23. a16:=SUM(a12,5);
  24. a17:=SUM(a11,10);
  25. a18:=SUM(a12,10);
  26. a19:=SUM(a11,20);
  27. a20:=SUM(a12,20);
  28. a21:=700 / (MAX(a13,a14));
  29. a22:=700 / (MAX(a15,a16));
  30. a23:=700 / (MAX(a17,a18));
  31. a24:=700 / (MAX(a19,a20));
  32. a25:=999 - (a13 * a21);
  33. a26:=999 - (a14 * a21);
  34. a27:=999 - (a15 * a22);
  35. a28:=999 - (a16 * a22);
  36. a29:=999 - (a17 * a23);
  37. a30:=999 - (a18 * a23);
  38. a31:=999 - (a19 * a24);
  39. a32:=999 - (a20 * a24);
  40. DRAWRECTREL(0,100,460,1000,6566450),colorRed;
  41. DRAWTEXTREL(60,130,'主力买'),colorRed;
  42. DRAWTEXTREL(110,130,'主力卖'),colorGreen;
  43. DRAWTEXTREL(55,900,'1日'),ColorDDFFFF;
  44. DRAWTEXTREL(145,900,'5日'),ColorDDFFFF;
  45. DRAWTEXTREL(228,900,'10日'),ColorDDFFFF;
  46. DRAWTEXTREL(320,900,'20日'),ColorDDFFFF;
  47. DRAWRECTREL(80,a25,100,1000,250),colorYelLOW;
  48. DRAWRECTREL(100,a26,120,1000,9213440),colorYelLOW;
  49. DRAWRECTREL(170,a27,190,1000,250),colorYelLOW;
  50. DRAWRECTREL(190,a28,210,1000,9213440),colorYelLOW;
  51. DRAWRECTREL(260,a29,280,1000,250),colorYelLOW;
  52. DRAWRECTREL(280,a30,300,1000,9213440),colorYelLOW;
  53. DRAWRECTREL(350,a31,370,1000,250),colorYelLOW;
  54. DRAWRECTREL(370,a32,390,1000,9213440),colorYelLOW;
  55. DRAWTEXTREL(10,800,'㊣十二星座*神獒赢富㊣'),LINETHICK1,COLOR00EEff;
  56. DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));
复制代码

如何访问权限为100/255贴子:/thread-37840-1-1.html;注册后仍无法回复:/thread-23-1-1.html;微信/QQ群:/thread-262-1-1.html;网盘链接失效解决办法:/thread-93307-1-1.html

TOP

  1. {神獒四户公式源码}{副图}{大智慧L2新一代公式}


  2. input:P1(5,1,60);
  3. DRAWTEXTABS(2,0,'当日席位多空分布图');
  4. a1:=(BIGORDER(1,2)) - (BIGORDER(2,2));
  5. a2:=(BIGORDER(1,1)) - (BIGORDER(2,1));
  6. a3:=(BIGORDER(1,3)) - (BIGORDER(2,3));
  7. a4:=a1 * VOL;
  8. a5:=a2 * VOL;
  9. a6:=a3 * VOL;
  10. a7:=(BIGORDER(1,3)) * VOL;
  11. a8:=(BIGORDER(2,3)) * VOL;
  12. a9:=((BIGORDER(1,2)) - (BIGORDER(1,3))) * VOL;
  13. a10:=((BIGORDER(2,2)) - (BIGORDER(2,3))) * VOL;
  14. a11:=((BIGORDER(1,1)) - (BIGORDER(1,2))) * VOL;
  15. a12:=((BIGORDER(2,1)) - (BIGORDER(2,2))) * VOL;
  16. a13:=VOL * (1 - (BIGORDER(1,1)));
  17. a14:=VOL * (1 - (BIGORDER(2,1)));
  18. a15:=((((((a7 + a8) + a9) + a10) + a11) + a12) + a13) + a14;
  19. a16:=(100 * a7) / a15;
  20. a17:=(100 * a8) / a15;
  21. a18:=(100 * a9) / a15;
  22. a19:=(100 * a10) / a15;
  23. a20:=(100 * a11) / a15;
  24. a21:=(100 * a12) / a15;
  25. a22:=(100 * a13) / a15;
  26. a23:=(100 * a14) / a15;
  27. a24:=(100 * a4) / a15;
  28. a25:=a16 - a17;
  29. a26:=a18 - a19;
  30. a27:=a20 - a21;
  31. a28:=a22 - a23;
  32. 主力席位:(((a4 * 3) + a5) + (a6 * 2)) / 6,LINETHICK0,colorRed;
  33. 机构席位:(a6),LINETHICK0,colorYelLOW;
  34. 主力席位流入:STICKLINE((主力席位 > 0),0,主力席位,7,0),colorRed;
  35. 主力席位流出:STICKLINE((主力席位 < 0),0,主力席位,7,0),ColorFFF000;
  36. 机构席位流入:STICKLINE((机构席位 > 0),0,机构席位,2,0),colorYelLOW;
  37. 机构席位流出:STICKLINE((机构席位 < 0),0,机构席位,2,0),ColorFF0000;
  38. MA5:MA(主力席位,P1),colorWhite;
  39. a29:=(a7);
  40. a30:=(a8);
  41. a31:=(a9);
  42. a32:=(a10);
  43. a33:=(a11);
  44. a34:=(a12);
  45. a35:=(a13);
  46. a36:=(a14);
  47. a37:=600 / (MAX(a29,a30,a31,a32,a33,a34,a35,a36));
  48. a38:=999 - (a29 * a37);
  49. a39:=999 - (a30 * a37);
  50. a40:=999 - (a31 * a37);
  51. a41:=999 - (a32 * a37);
  52. a42:=999 - (a33 * a37);
  53. a43:=999 - (a34 * a37);
  54. a44:=999 - (a35 * a37);
  55. a45:=999 - (a36 * a37);
  56. DRAWRECTREL(0,100,400,1000,6566450),colorRed;
  57. DRAWTEXTREL(6,900,'机构'),ColorDDFFFF;
  58. DRAWTEXTREL(88,900,'大户'),ColorDDFFFF;
  59. DRAWTEXTREL(168,900,'中户'),ColorDDFFFF;
  60. DRAWTEXTREL(248,900,'散户'),ColorDDFFFF;
  61. DRAWRECTREL(40,a38,60,1000,250),colorYelLOW;
  62. DRAWRECTREL(60,a39,80,1000,9213440),colorYelLOW;
  63. DRAWRECTREL(120,a40,140,1000,250),colorYelLOW;
  64. DRAWRECTREL(140,a41,160,1000,9213440),colorYelLOW;
  65. DRAWRECTREL(200,a42,220,1000,250),colorYelLOW;
  66. DRAWRECTREL(220,a43,240,1000,9213440),colorYelLOW;
  67. DRAWRECTREL(280,a44,300,1000,250),colorYelLOW;
  68. DRAWRECTREL(300,a45,320,1000,9213440),colorYelLOW;
  69. DRAWTEXTREL(2,120,'机构买:'+NUMTOSTR(a16)+'%'+' 大户买:'+NUMTOSTR(a18)+'%'+' 中户买:'+NUMTOSTR(a20)+'%'+' 散户买:'+NUMTOSTR(a22)+'%'),colorRed;
  70. DRAWTEXTREL(2,200,'机构卖:'+NUMTOSTR(a17)+'%'+' 大户卖:'+NUMTOSTR(a19)+'%'+' 中户卖:'+NUMTOSTR(a21)+'%'+' 散户卖:'+NUMTOSTR(a23)+'%'),colorGreen;
  71. DRAWTEXTREL(2,280,'机构差:'+NUMTOSTR(a25)+'%'+' 大户差:'+NUMTOSTR(a26)+'%'+' 中户差:'+NUMTOSTR(a27)+'%'+' 散户差:'+NUMTOSTR(a28)+'%'),colorWhite;
  72. DRAWTEXTREL(2,360,'主力差:'+NUMTOSTR(a24)+'%'),colorWhite;
  73. DRAWTEXTREL(10,800,'㊣十二星座*神獒赢富㊣'),LINETHICK1,COLOR00EEff;
  74. DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));






  75. {神獒集中度公式源码}{副图}{大智慧L2新一代公式}

  76. a1:=BIGORDER(1,2);
  77. a2:=BIGORDER(2,2);
  78. a3:=(((a1 - a2) * VOL) / CAPITAL) * 500;
  79. a4:=ORDER(1) + a3;
  80. STICKLINE((CLOSE > 0),0,a4,2,0),colorGreen;
  81. a5:=ORDER(2) + a3;
  82. STICKLINE((CLOSE > 0),0,a5,2,-500),colorRed;
  83. BM1:MA(a5,10);
  84. SM2:MA(a4,30);
  85. DRAWTEXTREL(10,10,'㊣十二星座*神獒赢富㊣'),LINETHICK1,COLOR00EEff;
  86. DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));
复制代码
如何访问权限为100/255贴子:/thread-37840-1-1.html;注册后仍无法回复:/thread-23-1-1.html;微信/QQ群:/thread-262-1-1.html;网盘链接失效解决办法:/thread-93307-1-1.html

TOP

神獒炎律公式源码:


  1. input:N(5,1,100);
  2. 幅度:=ABS((C-ref(C,1))/ref(C,1));
  3. 转折:=IF(C>=O,幅度,0-幅度);
  4. 变异速度:=转折*1000000/INDEXC;
  5. 神獒:SUM(变异速度,n),LINETHICK2,COLORRED;
  6. 定律:SUM(0-变异速度,n),LINETHICK2,coloryelLOW;
  7. LC:=ref(CLOSE,1);
  8. DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26);
  9. DEA:= EMA(DIFF,9);
  10. MACD:= 2*(DIFF-DEA);
  11. 容量比率:=SUM(IF(CLOSE>LC,VOL,0),26)*100/SUM(IF(CLOSE<=LC,VOL,0),26);
  12. 审判:(容量比率<70 OR CROSS(DIFF,DEA)) AND CROSS(神獒,定律) AND C/L>1.02,LINETHICK2,colorwhite;
  13. DRAWICON(审判,0,7);

  14. Var1:=EMA(HHV(HIGH,500),21);
  15. Var2:=EMA(HHV(HIGH,250),21);
  16. Var3:=EMA(HHV(HIGH,90),21);
  17. Var4:=EMA(LLV(LOW,500),21);
  18. Var5:=EMA(LLV(LOW,250),21);
  19. Var6:=EMA(LLV(LOW,90),21);
  20. Var7:=EMA((Var4*0.96+Var5*0.96+Var6*0.96+Var1*0.558+Var2*0.558+Var3*0.558)/6,21);
  21. Var8:=EMA((Var4*1.25+Var5*1.23+Var6*1.2+Var1*0.55+Var2*0.55+Var3*0.65)/6,21);
  22. Var9:=EMA((Var4*1.3+Var5*1.3+Var6*1.3+Var1*0.68+Var2*0.68+Var3*0.68)/6,21);
  23. VarA:=EMA((Var7*3+Var8*2+Var9)/6*1.738,21);
  24. VarB:=ref(LOW,1);
  25. VarC:=SMA(ABS(LOW-VarB),3,1)/SMA(MAX(LOW-VarB,0),3,1)*100;
  26. VarD:=EMA(IF(CLOSE*1.35<=VarA,VarC*10,VarC/10),3);
  27. VarE:=LLV(LOW,30);
  28. VarF:=HHV(VarD,30);
  29. Var10:=IF(MA(CLOSE,58),1,0);
  30. 神炎:EMA(IF(LOW<=VarE,(VarD+VarF*2)/2,0),3)/618*Var10,coloryelLOW;
  31. 邪炎:=STICKLINE(神炎>0 ,0 ,神炎 ,4 ,1);
  32. ㊣:神炎,colorred;
  33. STICKLINE(神炎>0,0 ,㊣*1.2,8,0 ),COLOR00EEff;
  34. STICKLINE(神炎>0,0 ,㊣*0.8,8,0 ),COLOR00BBff;
  35. STICKLINE(神炎>0,0 ,㊣*0.6,8,0 ),COLOR0099ff;
  36. STICKLINE(神炎>0,0 ,㊣*0.4,8,0 ),COLOR0066ff;
  37. STICKLINE(神炎>0,0 ,㊣*0.2,8,0 ),COLOR0000ff;

  38. M5:=EMA(C,43);
  39. M6:=EMA(C,55);
  40. M7:=MA(C,78);
  41. M8:=EMA(M7,3);
  42. M9:=EMA(M8,3);
  43. M11:=EMA(M9,3);
  44. MA47:=EMA(CLOSE,46);
  45. MA60:=EMA(CLOSE,60);
  46. Y:=(H+L)/2;
  47. AO:=MA(Y,5)-MA(Y,34 );
  48. DU0:=CROSS(AO,0);
  49. UD0:=CROSS(0,AO);
  50. TDU0:=BARSLAST(DU0);
  51. TUD0:=BARSLAST(UD0);
  52. DU3:=ref(DU0,1);
  53. UD3:=ref(UD0,1);
  54. TDU3:=BARSLAST(DU3);
  55. TUD3:=BARSLAST(UD3);
  56. UDGLINE:=IF(TDU3<TUD3,ref(HHV(H,2),TDU3),ref(LLV(L,2),TUD3));
  57. JDU0:=ref(C,1)<=ref(UDGLINE,1) AND C>UDGLINE AND TDU0<TUD0;
  58. JUD0:=ref(C,1)>=ref(UDGLINE,1) AND C<UDGLINE AND TUD0<TDU0;
  59. JDU1:=JDU0 AND COUNT(JDU0,TDU0)=1;
  60. JUD1:=JUD0 AND COUNT(JUD0,TUD0)=1;
  61. JDU2:=JDU1 AND ref(BARSLAST(JUD1),1)<ref(BARSLAST(JDU1),1);
  62. JUD2:=JUD1 AND ref(BARSLAST(JUD1),1)>ref(BARSLAST(JDU1),1);
  63. JDU3:=JDU1 AND ref(BARSLAST(JUD1),1)>ref(BARSLAST(JDU1),1);
  64. JUD3:=JUD1 AND ref(BARSLAST(JUD1),1)<ref(BARSLAST(JDU1),1);
  65. ㊣神:JDU2 AND M9*0.90,colorwhite;
  66. DRAWTEXT(㊣神,(LOW * 0.98),'㊣'),LINETHICK2,ALIGN1,coloryelLOW;
  67. DRAWTEXTREL(10,800,'㊣十二星座*神獒赢富㊣'),LINETHICK1,COLOR00EEff;
  68. DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));





  69. {㊣神獒掌控公式源码㊣}


  70. input:N(88,1,1111),N1(888,1,1111);
  71. DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));
  72. a1:=IF((CLOSE < 800),((AMOUNT / VOL) / 100),((((CLOSE * 2) + HIGH) + LOW) / 4));
  73. a2:=((HHV(HIGH,15)) + (LLV(LOW,30))) / 2;
  74. a3:=EMA((MA(a1,5)),10);
  75. a4:=EMA((MA(a1,15)),10);
  76. a5:=EMA((MA(a1,13)),21);
  77. a6:=((a3 + a4) + a5) / 3;
  78. 决策线:EMA((MA(CLOSE,5)),3),colorGreen;
  79. PARTLINE(决策线,决策线 > (ref(决策线,3)),RGB(255,0,0)),LINETHICK1,colorRed;
  80. 多空带:((((ref(a6,1)) + a6) + (ref(a6,2))) / 3),LINETHICK0;
  81. a7:=(((ref(a6,1)) + a6) + (ref(a6,2))) / 3 * 1.191;
  82. a8:=(((ref(a6,1)) + a6) + (ref(a6,2))) / 3 * 1.236;
  83. a9:=(((ref(a6,1)) + a6) + (ref(a6,2))) / 3 * 0.809;
  84. a10:=(((ref(a6,1)) + a6) + (ref(a6,2))) / 3 * 0.764;
  85. a11:=(((ref(a6,1)) + a6) + (ref(a6,2))) / 3 * 0.618;
  86. 地线:(a9),LINETHICK1,ColoryelLOW;
  87. 天线:(a7),LINETHICK1,ColorFF0000;
  88. 支撑线:(a10),LINETHICK2,Color73740F;
  89. 阻力线:(a8),LINETHICK2,Color509046;
  90. a12:=((EMA((MA(a1,3)),3)) + (WMA(a1,5))) / 2;
  91. a13:=ref(a12,1);
  92. a14:=BARSCOUNT(CLOSE);
  93. a15:=IF((a14 = 1),0,(((a12 - a13) / a13) * 100));
  94. a16:=ref(CLOSE,1);
  95. a17:=IF((a14 = 1),0,(((CLOSE - a16) / a16) * 100));
  96. a18:=IF((a14 = 1),((CLOSE + OPEN) / 2),a13);
  97. a19:=ref(a12,2);
  98. a20:=((a12 + a13) + a19) / 3;
  99. a21:=((ABS((a12 - a20)) + ABS((a13 - a20))) + ABS((a19 - a20))) / 3;
  100. a22:=IF((a14 < 3),0,((a21 / a12) * 100));
  101. a23:=IF((((a15 > 0.5) AND ((a22 > 0.215) OR (LOW > a18))) AND (CLOSE >= OPEN)),1,0);
  102. a24:=IF((((a15 < (0 - 0.3)) AND ((a22 > 0.2) OR (HIGH < a18))) AND ((OPEN >= CLOSE) OR (a17 < -1))),1,0);
  103. FILLRGN((((ref(a6,1)) + a6) + (ref(a6,2))) / 3,(((ref(a6,1)) + a6) + (ref(a6,2))) / 3 * 0.985,CLOSE > a2,RGB(250,0,0),CLOSE < a2,RGB(101,0,185));
  104. B:((COUNT(a23,BARSLAST(a24))) = 1) AND a23,LINETHICK0;
  105. D:((COUNT(a24,BARSLAST(a23))) = 1) AND a24,LINETHICK0;
  106. DRAWTEXT(B,(LOW * 0.98),'㊣'),LINETHICK3,ALIGN1,colorWhite;
  107. DRAWTEXT(D,(HIGH * 1.035),'S'),LINETHICK3,ALIGN1,colorGreen;
  108. STICKLINE(((B > 0) OR (D > 0)),a1,(a1 * 0.998),8,0),ColorFF0000;
  109. a25:=(EMA(CLOSE,12)) - (EMA(CLOSE,26));
  110. a26:=EMA(a25,9);
  111. a27:=2 * (a25 - a26);
  112. a28:=IF((((((((ref(a27,1)) < (ref(a27,2))) AND ((ref(a27,2)) < (ref(a27,3)))) AND (a27 > (ref(a27,1)))) AND (a27 >= 0)) AND ((LLV(a27,4)) > 0)) AND (COUNT((a27 < 0.18),5))),(a27 * 2),0);
  113. a29:=IF(((COUNT((CROSS(a26,a25)),8)) AND (CROSS(a25,a26))),(a27 * 4),0);
  114. a30:=(a28 > 0) AND (CLOSE >= (((ref(a6,1)) + a6) + (ref(a6,2))) / 3);
  115. DRAWICON(a30,LOW,12),ALIGN1;
  116. a31:=(((CLOSE / a16) - 1) * 100) >= 7;
  117. a32:=HIGH - ((HIGH - LOW) / 3);
  118. a33:=LOW + ((HIGH - LOW) / 3);
  119. a34:=(CLOSE > 0) AND a31;
  120. a35:=((HIGH - LOW) * 0.618) + LOW;
  121. a36:=((HIGH - LOW) * 0.382) + LOW; {文章来至程序化交易网 cxh99.com}
  122. STICKLINE(a34,a32,a33,8,0),colorYelLOW;
  123. STICKLINE(a34,((HIGH + LOW) / 2),((HIGH + LOW) / 2),8,0);
  124. STICKLINE(a34,CLOSE,a35,8,0),colorRed;
  125. STICKLINE(a34,CLOSE,a35,7,0),Color1414FF;
  126. STICKLINE(a34,CLOSE,a35,6,0),Color2828FF;
  127. STICKLINE(a34,CLOSE,a35,5,0),Color3D3DFF;
  128. STICKLINE(a34,CLOSE,a35,4,0),Color5151FF;
  129. STICKLINE(a34,CLOSE,a35,3,0),Color6565FF;
  130. STICKLINE(a34,CLOSE,a35,2,0),Color7A7AFF;
  131. STICKLINE(a34,CLOSE,a35,1,0),Color8E8EFF;
  132. STICKLINE(a34,a36,OPEN,8,0),colorGreen;
  133. STICKLINE(a34,a36,OPEN,7,0),Color28FF28;
  134. STICKLINE(a34,a36,OPEN,6,0),Color3DFF3D;
  135. STICKLINE(a34,a36,OPEN,5,0),Color51FF51;
  136. STICKLINE(a34,a36,OPEN,4,0),Color65FF65;
  137. STICKLINE(a34,a36,OPEN,3,0),Color7AFF7A;
  138. STICKLINE(a34,a36,OPEN,2,0),Color8EFF8E;
  139. STICKLINE(a34,a36,OPEN,1,0),ColorA2FFA2;
  140. a37:=((CLOSE - (EMA(a1,25))) / (EMA(a1,25))) * 100;
  141. DRAWTEXT(((a37 > 12) AND (CROSS(决策线,CLOSE))),HIGH,'卖出');
  142. a38:=BIGORDER(1,2);
  143. a39:=BIGORDER(2,2);
  144. a40:=(((a38 - a39) * VOL) / CAPITAL) * 500;
  145. DRAWTEXT(((a40 > 0.5) OR (LAST((a40 > 0)) > 1)),((((ref(a6,1)) + a6) + (ref(a6,2))) / 3 * 1.002),'● '),colorYelLOW;
  146. DRAWTEXT((a40 > 1),((((ref(a6,1)) + a6) + (ref(a6,2))) / 3 * 1.002),'★'),ColorFF0087;
  147. DRAWTEXT((a40 > 2),((((ref(a6,1)) + a6) + (ref(a6,2))) / 3 * 1.002),'★'),colorBlack;
  148. DRAWTEXT((((((ref(a40,1)) >= (HHV(a40,20))) AND (a40 >= (LLV(a40,20)))) AND ((ref(a40,1)) > 2.5)) AND (a40 < -2.5)),(HIGH * 1.02),'◤反转'),colorGreen;
  149. DRAWTEXT(((((OPEN / a16) > 1.03) AND (CLOSE < OPEN)) AND (a40 < 0)),HIGH,'出货'),colorMAgenta;
  150. a41:=LOW < a11;
  151. DRAWICON(a41,LOW,1);
  152. DRAWICON((((CROSS(CLOSE,(ref(a9,1)))) AND (a15 < -3)) OR (((LOW < 支撑线) AND (CLOSE > 支撑线)) AND (a15 < -3.5))),LOW,7),ALIGN1;
  153. DRAWICON(((CROSS((ref(a7,1)),CLOSE)) AND (a40 < 0)),(HIGH * 1.015),8),ALIGN1;
  154. DRAWTEXT(((CROSS(CLOSE,(ref(a9,1)))) AND (a40 > 0)),LOW,'1/3仓'),colorMAgenta;
  155. DRAWTEXT(((CROSS((ref(a7,1)),CLOSE)) AND (a40 < 0)),(HIGH * 1.05),'1/3仓出'),Color00DB00;
  156. DRAWTEXT((CROSS(CLOSE,(ref(a10,1)))),(LOW * 0.96),'仓1/2'),colorYelLOW;
  157. DRAWTEXT((CROSS(CLOSE,(ref(((((ref(a6,1)) + a6) + (ref(a6,2))) / 3 * 0.681),1)))),(LOW * 0.98),'1/2仓'),Color005EFF;
  158. STICKLINE(((CLOSE > 0) AND (DISPSTATUS = 2)),((((ref(a6,1)) + a6) + (ref(a6,2))) / 3 * 1.15),((((ref(a6,1)) + a6) + (ref(a6,2))) / 3 * 1.15),20,0),colorWhite;
  159. STICKLINE(((CLOSE > 0) AND (DISPSTATUS = 2)),((((ref(a6,1)) + a6) + (ref(a6,2))) / 3 * 0.85),((((ref(a6,1)) + a6) + (ref(a6,2))) / 3 * 0.85),20,0);
  160. DRAWTEXT(a41,HIGH,'满仓出击');
  161. a42:=(CYC(8) - (ref(CYC(8),1))) / (ref(CYC(8),1));
  162. a43:=((SMA((MAX((CLOSE - a16),0)),5,1)) / (SMA(ABS((CLOSE - a16)),5,1))) * 100;
  163. DRAWTEXT(((((CROSS(90,a43)) AND (a40 < 0)) AND ((CLOSE / OPEN) <= 0.985)) OR (((a43 > 90) AND (a40 < 0)) AND ((CLOSE / OPEN) <= 0.985))),(HIGH * 1.04),'▼'),ALIGN1,colorGreen;
  164. DRAWTEXT(((((CROSS(a43,10)) AND (a40 > 0)) OR ((a43 < 10) AND (a40 > 0))) OR (((LOW < 支撑线) AND (CLOSE > 支撑线)) AND (a40 > 0))),(LOW * 0.97),'▲'),ALIGN1,colorRed;
  165. DRAWTEXT(((CROSS(a43,10)) AND (a15 < -4)),(LOW * 0.92),'◢◣'),ALIGN1,colorRed;
  166. DRAWTEXT((((a15 < -5) AND (a37 < -24)) AND (a43 < 12)),(LOW * 0.95),'▲'),ALIGN1,colorMAgenta;
  167. DRAWTEXT(((((a15 < -3) AND (a40 > 0)) AND (LOW <= 地线)) AND (CLOSE > 地线)),(LOW * 0.94),'◆'),ALIGN1,colorYelLOW;
  168. DRAWTEXT(((CLOSE > 0) AND (DISPSTATUS = 2)),(决策线 * 0.9),'多空价:'+ref(a6,1)),MOVE10,ALIGN2,colorYelLOW;
  169. DRAWTEXT(((CLOSE > 0) AND (DISPSTATUS = 2)),(a7 * 1.05),'天线:'+a7),MOVE10,ALIGN2,ColorFF8748;
  170. DRAWTEXT(((CLOSE > 0) AND (DISPSTATUS = 2)),(a9 * 0.96),'地线:'+a9),MOVE10,ALIGN2,Color766A6C;
  171. DRAWTEXT(((CLOSE > 0) AND (DISPSTATUS = 2)),(决策线 * 0.95),'决策价:'+决策线),MOVE10,ALIGN2,colorRed;
  172. PARTLINE(支撑线,(MA(a1,10)) > (MA(a1,240)),RGB(255,0,255)),LINETHICK2,colorMAgenta;
  173. a44:=LOW > (ref(HIGH,1));
  174. a45:=HIGH < (ref(LOW,1));
  175. PARTLINE(地线,(MA(a1,10)) > (MA(a1,72)),RGB(255,255,0)),LINETHICK1,colorYelLOW;
  176. DRAWTEXT(a44,((ref(HIGH,1)) * 1.003),'─'),ALIGN1,colorWhite;
  177. DRAWTEXT(a44,(LOW * 1.003),'─'),ALIGN1,colorWhite;
  178. DRAWTEXT(a45,((ref(LOW,1)) * 1.003),'─'),ALIGN1,colorGreen;
  179. DRAWTEXT(a45,(HIGH * 1.003),'─'),ALIGN1,colorGreen;
  180. DRAWTEXTREL(0,0,'评级:'+Extrastring('评级')),colorCyan;
  181. DRAWTEXTABS(1,15,'所属板块:'+BKNAME),ColorAFFF00;
  182. DRAWTEXTREL(0,130,'每股收益:'+NUMTOSTRN(FINANCE2(3),3)+'元'+' 市盈率:'+NUMTOSTRN(DYNAINFO(39),2)+'元'+' 市净率:'+NUMTOSTRN((CLOSE / FINANCE2(4)),2)+'元'+' 净资产:'+NUMTOSTRN(FINANCE2(4),2)+'元'),Color00C0FF;









  183. {赢富排序公式源码}{副图}{大智慧L2新一代公式}


  184. input:N(1,1,60);
  185. a1:=(BIGORDER(1,2)) - (BIGORDER(2,2));
  186. a2:=(BIGORDER(1,3)) - (BIGORDER(2,3));
  187. a3:=((BIGORDER(1,2)) - (BIGORDER(1,3))) * VOL;
  188. a4:=((BIGORDER(2,2)) - (BIGORDER(2,3))) * VOL;
  189. a5:=a2 * VOL;
  190. a6:=a3 - a4;
  191. a7:=a1 * VOL;
  192. a8:=(1 - (BIGORDER(1,1))) - (1 - (BIGORDER(2,1)));
  193. a9:=(BIGORDER(1,1)) - (BIGORDER(1,2));
  194. a10:=(BIGORDER(2,1)) - (BIGORDER(2,2));
  195. a11:=a9 - a10;
  196. a12:=a11 * VOL;
  197. a13:=a8 * VOL; {本文来至CXH99.COM}
  198. a14:=((a13 * 9) + a12) / 10;
  199. a15:=(100 * a14) / CAPITAL;
  200. a16:=SUM(a15,0);
  201. a17:=(100 * a5) / CAPITAL;
  202. a18:=SUM(a17,0);
  203. a19:=(100 * a6) / CAPITAL;
  204. a20:=SUM(a19,0);
  205. a21:=((a6 * 4) + (a5 * 6)) / 10;
  206. a22:=(100 * a21) / CAPITAL;
  207. a23:=SUM(a22,0);
  208. 主力排序:PERCENTBAR(a23,(ref(a23,N)));
  209. 机构排序:PERCENTBAR(a18,(ref(a18,N)));
  210. 大户排序:PERCENTBAR(a20,(ref(a20,N)));
  211. 散户排序:PERCENTBAR(a16,(ref(a16,N)));
  212. {机构买盘}{副图}{大智慧L2新一代公式}

  213. a1:=(BIGORDER(1,3)) * VOL;
  214. a2:=(BIGORDER(2,3)) * VOL;
  215. a3:=((BIGORDER(1,2)) - (BIGORDER(1,3))) * VOL;
  216. a4:=((BIGORDER(2,2)) - (BIGORDER(2,3))) * VOL;
  217. a5:=(BIGORDER(1,2)) * VOL;
  218. a6:=(BIGORDER(2,2)) * VOL;
  219. a7:=((a3 * 4) + (a1 * 11)) / 15;
  220. a8:=(100 * a7) / CAPITAL;
  221. a9:=(100 * a5) / (a5 + a6);
  222. a10:=IF((a9 >= 50),a8,0);
  223. 机构买盘:PERCENTBAR(a10,(a10 * 0.96));
复制代码

如何访问权限为100/255贴子:/thread-37840-1-1.html;注册后仍无法回复:/thread-23-1-1.html;微信/QQ群:/thread-262-1-1.html;网盘链接失效解决办法:/thread-93307-1-1.html

TOP

返回列表