{"id":78547,"date":"2019-01-30T03:44:27","date_gmt":"2019-01-29T19:44:27","guid":{"rendered":"https:\/\/www.lixiangluntan.com\/78547.html"},"modified":"2019-01-30T03:44:27","modified_gmt":"2019-01-29T19:44:27","slug":"%e5%87%ba%e7%8e%b0%e4%b9%b0%e5%ad%97%e6%97%b6%e9%80%89%e8%82%a1_%e5%90%8c%e8%8a%b1%e9%a1%ba%e5%ae%9e%e6%97%b6%e6%b8%af%e8%82%a1%e7%a0%b4%e8%a7%a3","status":"publish","type":"post","link":"https:\/\/www.lixiangluntan.com\/?p=78547","title":{"rendered":"\u51fa\u73b0\u201c\u4e70\u201d\u5b57\u65f6\u9009\u80a1_\u540c\u82b1\u987a\u5b9e\u65f6\u6e2f\u80a1\u7834\u89e3"},"content":{"rendered":"<blockquote style=\"font-size:15px;background-color: #F5F5F5;border:none;padding: 5px;margin:15px;line-height: 1.6;text-indent: 2em;\">\n<p style=\"margin-bottom:5px;\">MACD \u89d2\u5ea6\u516c\u5f0f<\/p>\n<p>MACD \u89d2\u5ea6\u516c\u5f0f<\/p>\n<\/blockquote>\n<blockquote style=\"font-size:15px;background-color: #F5F5F5;border:none;padding: 5px;margin:15px;line-height: 1.6;text-indent: 2em;\">\n<p style=\"margin-bottom:5px;\">\u3010\u80a1\u7968\u8d44\u6e90\u9986\u3011\u7b56\u7565\u6295\u8d44\u7834\u89e3,\u56fe\u7247\u514d\u8d39\u4e0b\u8f7d,\u7406\u60f3\u80a1\u7968\u6280\u672f\u8bba\u575b,\u8d22\u7ecf\u80a1\u7968\u8bba\u575b,\u7092\u80a1\u8bba\u575b\u793e\u533a,\u80a1\u7968\u8f6f\u4ef6,\u80a1\u7968\u516c\u5f0f,\u6e90\u7801\u4ea4\u6d41,\u6307\u6807\u516c\u5f0f,\u7092\u80a1\u4e66\u7c4d,\u5206\u6790\u5bb6\u516c\u5f0f\u7f51,\u80a1\u65c1\u7f51,\u80a1\u7968\u914d\u8d44\u3002<\/p>\n<\/blockquote>\n<p class=\"nr1\"><script type=\"text\/javascript\" src=\"\/about\/guanzhu.js\"><\/script> <\/p>\n<p style=\"color:red\">\u7f16\u5199\u6761\u4ef6\uff1a<\/p>\n<\/p>\n<p style=\"color:red\">\u7f16\u5199\u65b9\u6cd5\uff1a<\/p>\n<p><span style=\"color: rgb(255, 0, 0); \">&nbsp;\u7f51\u53cb\u6c42\u52a9\uff1a<\/span><\/p>\n<div>\n INPUT:X(2008,1990,2020);<br \/>\n <br \/> \u6362\u624b\u7387:IF(CAPITAL=0,INDEXV\/ESTDATA(12),VOL\/FINANCE(7)),PRECISION2,LINETHICK0;<br \/>\n <br \/> variable:wday[7]='\u661f\u671f\u516d';wday[1]:='\u661f\u671f\u65e5';wday[2]:='\u661f\u671f\u4e00';<br \/>\n <br \/> wday[3]:='\u661f\u671f\u4e8c';wday[4]:='\u661f\u671f\u4e09';wday[5]:='\u661f\u671f\u56db';wday[6]:='\u661f\u671f\u4e94';<br \/>\n <br \/> fy:=YEAR;fm:=MONTH;fd:=DAY;wd:=WEEKDAY;p:=SYSPARAM(1);BB:=BARPOS;<br \/>\n <br \/> str1:=''+NUMTOSTR(fy[p],0)+'\u5e74'+NUMTOSTR(fm[p],0)+'\u6708'+NUMTOSTR(fd[p],0)+'\u65e5 '+wday[wd[p]+1];<br \/>\n <br \/> SJ:=OPENMINUTES(CURRENTTIME)&gt;1 and OPENMINUTES(CURRENTTIME)&lt;239;<br \/>\n <br \/> qj0:=VOL\/IF(HIGH=LOW,4,HIGH-LOW);jj:=(HIGH+LOW+CLOSE)\/3;<br \/>\n <br \/> \u7279\u5927:IF(CAPITAL=0,qj0*(jj-MIN(CLOSE,OPEN)),qj0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW))),PRECISION0,COLOR0000FF,LINETHICK;<br \/>\n <br \/> \u5927\u6237:IF(CAPITAL=0,qj0*(MIN(OPEN,CLOSE)-LOW),qj0*IF(HIGH=LOW,1,(jj-MIN(CLOSE,OPEN)))),PRECISION0,COLORFF00FF,LINETHICK;<br \/>\n <br \/> \u4e2d\u6237:IF(CAPITAL=0,qj0*(HIGH-MAX(OPEN,CLOSE)),qj0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE)))),PRECISION0,COLOR00FF00,LINETHICK;<br \/>\n <br \/> \u6563\u6237:IF(CAPITAL=0,qj0*(MAX(CLOSE,OPEN)-jj),qj0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-jj))),PRECISION0,COLORFF6600,LINETHICK;<br \/>\n <br \/> \u603b1:=(\u7279\u5927+\u5927\u6237)-(\u4e2d\u6237+\u6563\u6237);\u603b:=vol;<br \/>\n <br \/> ww:=SYSPARAM(2);n1:=SYSPARAM(3);nn:=n1-ww+1;hh:=HHV(\u603b,nn);ll:=LLV(\u603b,nn);<br \/>\n <br \/> ZG:=hh[n1];ZD:=ll[n1];\u4e2d0:=ZD+(ZG-ZD)*0.5;\u4e2d:=\u4e2d0*0.05;CM:=SUM(\u603b1,25);<br \/>\n <br \/> ZJ:=REF(\u603b1,1);ZSB:=(\u603b1-REF(\u603b1,1))\/\u603b*100;<br \/>\n <br \/> ZSA:=cm\/IF(STKTYPE=0,SUM(VOL,25),IF(STKTYPE=13,SUM(VOL,10),CAPITAL));<br \/>\n <br \/> cc:=REF(CLOSE,BARSLAST(fm&gt;REF(fm,1)));\u4e3b\u529b\u6210\u672c:=(cc*(\u7279\u5927+\u5927\u6237)*100)\/(\u7279\u5927+\u5927\u6237)\/100;<br \/>\n <br \/> DF1:=EMA(CLOSE,12)-EMA(CLOSE,26);DA1:=EMA(DF1,9);<br \/>\n <br \/> qj6:=df1&gt;da1 and da1&lt;0;qj7:=\"kdj.k\"&gt;\"kdj.d\" and \"kdj.d\"&lt;30;<br \/>\n <br \/> qj8:=df1&lt;da1;qj9:=\"kdj.k\"&lt;\"kdj.d\" and \"kdj.k\"&gt;80;<br \/>\n <br \/> w1:=SUM(\u5927\u6237,5)+SUM(\u7279\u5927,5);w2:=SUM(\u6563\u6237,5)+SUM(\u4e2d\u6237,5);<br \/>\n <br \/> \u91cf\u632f1:=\u7279\u5927&gt;\u5927\u6237 and \u5927\u6237&gt;\u6563\u6237;\u91cf\u632f2:=\u7279\u5927&lt;\u6563\u6237 and \u5927\u6237&lt;\u6563\u6237;<br \/>\n <br \/> \u6807\u632f1:=qj6 and qj7;\u6807\u632f2:=qj8 and qj9;<br \/>\n <br \/> a:=w1-w2;a0:=IF(a&gt;0,a,0);b0:=IF(a&lt;0,a,0);<br \/>\n <br \/> STICKLINE(\u603b1&lt;0,0,-\u603b1+\u603b\/2,8,0),ColorFF4400;STICKLINE(\u603b1&lt;0,0,-\u603b1+\u603b\/2,6,0),ColorFF8800;<br \/>\n <br \/> STICKLINE(\u603b1&lt;0,0,-\u603b1+\u603b\/2,3,0),ColorFFaa00;STICKLINE(\u603b1&lt;0,0,-\u603b1+\u603b\/2,1,0),ColorFFcc00;<br \/>\n <br \/> STICKLINE(\u603b1&gt;0,0,+\u603b1+\u603b\/2,8,0),Color000044;STICKLINE(\u603b1&gt;0,0,+\u603b1+\u603b\/2,6,0),Color000088;<br \/>\n <br \/> STICKLINE(\u603b1&gt;0,0,+\u603b1+\u603b\/2,3,0),Color0000aa;STICKLINE(\u603b1&gt;0,0,+\u603b1+\u603b\/2,1,0),Color0000cc;<br \/>\n <br \/> STICKLINE(a0,0,a0,8,0),Color000044;STICKLINE(a0,0,a0,5,0),Color000088;<br \/>\n <br \/> STICKLINE(a0,0,a0,3,0),Color0000aa;STICKLINE(a0,0,a0,1,0),Color0000cc;<br \/>\n <br \/> STICKLINE(b0,0,-b0,8,0),Color004400;STICKLINE(b0,0,-b0,5,0),Color008800;<br \/>\n <br \/> STICKLINE(b0,0,-b0,3,0),Color00aa00;STICKLINE(b0,0,-b0,1,0),Color00cc00;<br \/>\n <br \/> STICKLINE(BB=ww,\u4e2d*0.2,\u4e2d*9.2,(\u6563\u6237[P]\/\u603b*200)*1.02,1),COLORWHITE,LINETHICK2;<br \/>\n <br \/> STICKLINE(BB=ww,\u4e2d*0.8,\u4e2d*8.6,\u6563\u6237[P]\/\u603b*200,0),COLORFF8800;<br \/>\n <br \/> STICKLINE(BB=ww,\u4e2d*10.2,\u4e2d*19.2,(\u4e2d\u6237[P]\/\u603b*200)*1.02,1),COLORWHITE,LINETHICK2;<br \/>\n <br \/> STICKLINE(BB=ww,\u4e2d*10.8,\u4e2d*18.6,\u4e2d\u6237[P]\/\u603b*200,0),COLORFF00FF;<br \/>\n <br \/> STICKLINE(BB=ww,\u4e2d*20.2,\u4e2d*29.2,(\u5927\u6237[P]\/\u603b*200)*1.02,1),COLORWHITE,LINETHICK2;<br \/>\n <br \/> STICKLINE(BB=ww,\u4e2d*20.8,\u4e2d*28.6,\u5927\u6237[P]\/\u603b*200,0),COLOR0088FF;<br \/>\n <br \/> STICKLINE(BB=ww,\u4e2d*30.2,\u4e2d*39.2,(\u7279\u5927[P]\/\u603b*200)*1.02,1),COLORWHITE,LINETHICK2;<br \/>\n <br \/> STICKLINE(BB=ww,\u4e2d*30.8,\u4e2d*38.6,\u7279\u5927[P]\/\u603b*200,0),COLOR0000FF;<br \/>\n <br \/> STICKLINE(BB=ww-28,\u4e2d*-0.2,\u4e2d*40,500,0),COLOR000000;<br \/>\n <br \/> DRAWTEXTEX(CLOSE,1,420,0,str1),ColorffFF00;<br \/>\n <br \/> DRAWTEXTEX(CLOSE,1,200,0,STKLABEL+' '+STKNAME+''),ColorffFF00;<br \/>\n <br \/> DRAWTEXT(BB=ww,\u4e2d*36,'\u7279\u5927:'+NUMTOSTR(\u7279\u5927[P]\/\u603b*100,2)+' %'),COLOR00FF00;<br \/>\n <br \/> DRAWTEXT(BB=ww,\u4e2d*26,'\u5927\u6237:'+NUMTOSTR(\u5927\u6237[P]\/\u603b*100,2)+' %'),COLOR00FF00;<br \/>\n <br \/> DRAWTEXT(BB=ww,\u4e2d*16,'\u4e2d\u6237:'+NUMTOSTR(\u4e2d\u6237[P]\/\u603b*100,2)+' %'),COLOR00FF00;<br \/>\n <br \/> DRAWTEXT(BB=ww,\u4e2d*6,'\u6563\u6237:'+NUMTOSTR(\u6563\u6237[P]\/\u603b*100,2)+' %'),COLOR00FF00;<br \/>\n <br \/> \u5468\u8d8b\u52bf:MA(a0,5),ColorFF00FF,PRECISION0;<br \/>\n <br \/> \u5e73\u6ed1\u503c:WMA(\u5468\u8d8b\u52bf,5),Color00FF00,PRECISION0;<br \/>\n <br \/> \u4e70:\u91cf\u632f1 and \u6807\u632f1 and \u5468\u8d8b\u52bf&gt;\u5e73\u6ed1\u503c,Color0000FF,LINETHICK;<br \/>\n <br \/> \u5356:\u91cf\u632f2 and \u6807\u632f2 and \u5468\u8d8b\u52bf&lt;\u5e73\u6ed1\u503c,Color00FF00,LINETHICK;<br \/>\n <br \/> DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);<br \/>\n <br \/> DEA:=EMA(DIFF,9);<br \/>\n <br \/> MACD1:=2*(DIFF-DEA);<br \/>\n <br \/> CS1:=100;<br \/>\n <br \/> CS2:=HHV(ABS(MACD1),CS1);<br \/>\n <br \/> CS3:=ABS(100\/CS2);<br \/>\n <br \/> MACD:(MACD1*CS3+100)\/2,LINETHICK5,color00FF00;<br \/>\n <br \/> CS:=MACD;<br \/>\n <br \/> \u65e5\u7ea2:=CS&gt;=REF(CS,1);<br \/>\n <br \/> \u65e5\u8f6c\u7ea2:=\u65e5\u7ea2 AND REF(\u65e5\u7ea2,1)=0;<br \/>\n <br \/> PARTLINE(\u65e5\u7ea2,CS),LINETHICK5,colorred;<br \/>\n <br \/> AA:=0;<br \/>\n <br \/> V1:=LLV(LOW,10);<br \/>\n <br \/> V2:=HHV(HIGH,25);<br \/>\n <br \/> \u4ef7\u4f4d\u7ebf:=EMA((CLOSE-V1)\/(V2-V1)*4,4);<br \/>\n <br \/> DRAWTEXT(CROSS(\u4ef7\u4f4d\u7ebf,0.3),AA,'\u4e70'),color0000FF;<br \/>\n <br \/> DRAWTEXT(CROSS(3.7,\u4ef7\u4f4d\u7ebf),AA,'\u5356'),colorFF00;<br \/>\n <br \/> VERTLINE(CROSS(\u4ef7\u4f4d\u7ebf,0.3)),color0000FF,LINEDASHDOT;<br \/>\n <br \/> VERTLINE(CROSS(3.7,\u4ef7\u4f4d\u7ebf)),colorFF00,LINEDASHDOT;<br \/>\n <br \/> DRAWTEXTEX(CLOSE,1,200,130,'\u4e3b\u529b\u6210\u672c:'+NUMTOSTR(\u4e3b\u529b\u6210\u672c[p],2)),COLOR00FF00;<br \/>\n <br \/> DRAWTEXTEX(CLOSE,1,420,130,'\u4e3b\u529b\u7b79\u7801\u5360\u6d41\u901a:'+NUMTOSTR(IF(ZSA&gt;0,ZSA[P]*100,0),2)+' %'),COLOR00FF00;<br \/>\n <br \/> DRAWTEXTEX(CLOSE,1,720,130,'\u8f83\u6628\u65e5\u589e\u51cf:'+NUMTOSTR(ZSB[P],2)+' %'),COLOR00FF00;<br \/>\n <br \/> DRAWTEXTEX(c and \u603b1[P]&lt;0,1,720,0,'\u6563\u6237\u4e3b\u4e70 \u4e3b\u529b\u4e3b\u5356'),COLORffee00;<br \/>\n <br \/> DRAWTEXTEX(c and \u603b1[P]&gt;0,1,720,0,'\u4e3b\u529b\u4e3b\u4e70 \u6563\u6237\u4e3b\u5356'),COLOR0000ff;<br \/>\n <br \/> \u5468\u4ed3:=SUM(\u603b1,5);\u6708\u4ed3:=SUM(\u603b1,25);\u5e74\u4ed3:=SUM(\u603b1,240);\u4e0a\u5468:=REF(\u5468\u4ed3,1);\u4e0a\u6708:=REF(\u6708\u4ed3,1);<br \/>\n <br \/> \u4e0a\u5e74:=REF(\u5e74\u4ed3,BARSLAST(fy=X));\u5468\u589e:=\u5468\u4ed3-\u4e0a\u5468;\u6708\u589e:=\u6708\u4ed3-\u4e0a\u6708;\u5e74\u589e:=\u5e74\u4ed3-\u4e0a\u5e74;<br \/>\n <br \/> EXPLAIN(1,'==================================='),colorwhite;<br \/>\n <br \/> EXPLAIN(1,'\u4eca\u65e5\u589e\u51cf:'+NUMTOSTR((\u603b1[p]*100)\/10000,2)+' \u4e07\u80a1'),COLOrffff00;<br \/>\n <br \/> EXPLAIN(1,'\u6628\u65e5\u589e\u51cf:'+NUMTOSTR(zj[p]*100\/10000,2)+' \u4e07\u80a1'),ColorFF8B00;<br \/>\n <br \/> EXPLAIN(1,'==================================='),colorwhite;<br \/>\n <br \/> EXPLAIN(1,'\u5468\u4ed3:'+NUMTOSTR(\u5468\u4ed3[p]*100\/10000,2)+' \u4e07\u80a1'),COLORred;<br \/>\n <br \/> EXPLAIN(1,'\u4e0a\u5468:'+NUMTOSTR(\u4e0a\u5468[p]*100\/10000,2)+' \u4e07\u80a1'),COLORred;<br \/>\n <br \/> EXPLAIN(1,'\u589e\u51cf:'+NUMTOSTR(\u5468\u589e[p]*100\/10000,2)+' \u4e07\u80a1'),COLORred;<br \/>\n <br \/> EXPLAIN(1,'==================================='),colorwhite;<br \/>\n <br \/> EXPLAIN(1,'\u6708\u4ed3:'+NUMTOSTR(\u6708\u4ed3[p]*100\/10000,2)+' \u4e07\u80a1'),COLORFF00FF;<br \/>\n <br \/> EXPLAIN(1,'\u4e0a\u6708:'+NUMTOSTR(\u4e0a\u6708[p]*100\/10000,2)+' \u4e07\u80a1'),COLORFF00FF;<br \/>\n <br \/> EXPLAIN(1,'\u589e\u51cf:'+NUMTOSTR(\u6708\u589e[p]*100\/10000,2)+' \u4e07\u80a1'),COLORFF00FF;<br \/>\n <br \/> EXPLAIN(1,'==================================='),colorwhite;<br \/>\n <br \/> EXPLAIN(1,'\u5e74\u4ed3:'+NUMTOSTR(\u5e74\u4ed3[p]*100\/10000,2)+' \u4e07\u80a1'),COLOR00EE00;<br \/>\n <br \/> EXPLAIN(1,'\u4e0a\u5e74:'+NUMTOSTR(\u4e0a\u5e74[p]*100\/10000,2)+' \u4e07\u80a1'),COLOR00EE00;<br \/>\n <br \/> EXPLAIN(1,'\u589e\u51cf:'+NUMTOSTR(\u5e74\u589e[p]*100\/10000,2)+' \u4e07\u80a1'),COLOR00EE00;<br \/>\n <br \/> EXPLAIN(1,'==================================='),colorwhite;<br \/>\n <br \/> &nbsp;\n<\/div>\n<div>\n &nbsp;\n<\/div>\n<div>\n <span style=\"color: rgb(255, 0, 0); \">\u89e3\u7b54\u5982\u4e0b\uff1a<\/span>\n<\/div>\n<div>\n V1:=LLV(LOW,10);<br \/>\n <br \/> V2:=HHV(HIGH,25);<br \/>\n <br \/> \u4ef7\u4f4d\u7ebf:=EMA((CLOSE-V1)\/(V2-V1)*4,4);<br \/>\n <br \/> xg:CROSS(\u4ef7\u4f4d\u7ebf,0.3);\n<\/div>\n<p>&nbsp;<\/p>\n<p>{\u80a1\u7968\u8d44\u6e90\u9986:www.lixiangluntan.com\u4e13\u4e1a\u548c\u8c10\u9ad8\u7aef\u7092\u80a1\u8f6f\u4ef6--\u516c\u5f0f\u7f16\u5199\u4ea4\u6d41--\u52a0QQ751161480--}<a href=\"http:\/\/www.lixiangluntan.com\" target=\"_blank\" rel=\"noopener noreferrer\">\u9ed1\u9a6c\u80a1\u7968<\/a><\/p>\n<blockquote style=\"font-size:15px;background-color: #F5F5F5;border:none;padding: 5px;margin:15px;line-height: 1.6;text-indent: 2em;\">\n<p style=\"margin-bottom:5px;\">\u5206\u65f6\u63a7\u76d8<\/p>\n<p>\u5206\u65f6\u63a7\u76d8<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u51fa\u73b0\u201c\u4e70\u201d\u5b57\u65f6\u9009\u80a1<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[179],"tags":[180],"class_list":["post-78547","post","type-post","status-publish","format-standard","hentry","category-gsbxdy","tag-180"],"_links":{"self":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/78547","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=78547"}],"version-history":[{"count":0,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/78547\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=78547"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=78547"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=78547"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}