{"id":715,"date":"2026-03-04T09:03:23","date_gmt":"2026-03-04T01:03:23","guid":{"rendered":"http:\/\/xuebuwan.com\/wp\/?p=715"},"modified":"2026-03-05T12:13:42","modified_gmt":"2026-03-05T04:13:42","slug":"%e9%80%9a%e8%be%be%e4%bf%a1%e7%a5%9e%e7%ba%a7macd%e5%ba%95%e8%83%8c%e6%8c%87%e6%a0%87tdx00054","status":"publish","type":"post","link":"http:\/\/xuebuwan.com\/wp\/?p=715","title":{"rendered":"\u901a\u8fbe\u4fe1\u795e\u7ea7MACD\u5e95\u80cc\u6307\u6807TDX00054"},"content":{"rendered":"<h4>\u6307\u6807\u6e90\u7801<\/h4>\n<pre><code>N1:=9;\nN2:=5;\nN3:=13;\nXIAO1:=REF((LOW+OPEN+CLOSE+HIGH)\/4,1); \nXIAO2:=SMA(ABS(LOW-XIAO1),13,1)\/SMA(MAX(LOW-XIAO1,0),10,1); \nXIAO3:=EMA(XIAO2,10);\nXIAO4:=LLV(LOW,33);\nXIAO5:=EMA(IF(LOW&lt;=XIAO4,XIAO3,0),3);\nSTICKLINE(XIAO5&gt;REF(XIAO5,1),0,XIAO5,3,0 ),COLOR000055;\nSTICKLINE(XIAO5&gt;REF(XIAO5,1),0,XIAO5,2.6,0 ),COLOR000077;\nSTICKLINE(XIAO5&gt;REF(XIAO5,1),0,XIAO5,2.1,0 ),COLOR000099;\nSTICKLINE(XIAO5&gt;REF(XIAO5,1),0,XIAO5,1.5,0 ),COLOR0000BB;\nSTICKLINE(XIAO5&gt;REF(XIAO5,1),0,XIAO5,0.9,0 ),COLOR0000DD;\nSTICKLINE(XIAO5&gt;REF(XIAO5,1),0,XIAO5,0.3,0 ),COLOR0000FF;\nSTICKLINE(XIAO5&lt;REF(XIAO5,1),0,XIAO5,3,0),COLOR005500;\nSTICKLINE(XIAO5&lt;REF(XIAO5,1),0,XIAO5,2.6,0),COLOR007700; \nSTICKLINE(XIAO5&lt;REF(XIAO5,1),0,XIAO5,2.1,0),COLOR009900;\nSTICKLINE(XIAO5&lt;REF(XIAO5,1),0,XIAO5,1.5,0),COLOR00BB00;\nSTICKLINE(XIAO5&lt;REF(XIAO5,1),0,XIAO5,0.9,0),COLOR00DD00;\nSTICKLINE(XIAO5&lt;REF(XIAO5,1),0,XIAO5,0.3,0),COLOR00FF00;\n\u3010\u79c1\u52df\u8fdb\u573a\u3011:IF(XIAO5&gt;REF(XIAO5,1),XIAO5,0),COLORRED,NODRAW;\n\u3010\u79c1\u52df\u6d17\u76d8\u3011:IF(XIAO5&lt;REF(XIAO5,1),XIAO5,0),COLORGREEN,NODRAW;\nB1:=(HHV(H,9)-C)\/(HHV(H,9)-LLV(LOW,9))*100- 70;\nB2:=SMA(B1,9,1)+100;\nB3:=(C-LLV(L,9))\/(HHV(H,9)- LLV(L,9))*100;\nB4:=SMA(B3,3,1);\nB5:=SMA(B4,3,1)+100;\nB6:=B5-B2;\n\u89c2\u671b\u671f:=IF(B6&gt;60,B6-60,0);\nT1:=STICKLINE(REF(\u89c2\u671b\u671f,1)&lt;\u89c2\u671b\u671f,\u89c2\u671b\u671f,REF(\u89c2\u671b\u671f,1),9,0),COLORYELLOW;\nT2:=STICKLINE(REF(\u89c2\u671b\u671f,1)&gt;\u89c2\u671b\u671f,\u89c2\u671b\u671f,REF(\u89c2\u671b\u671f,1),9,0),COLORCYAN;{\u8d8b\u52bf\u80cc\u666f}\nTAI1:=MA(C,1)\/MA(REF(C,13),8)*100;\nTAI2:=MA(FORCAST(TAI1,21),3);\nTAI3:=REF(TAI1,1);\nTAI4:=REF(TAI1,2);\n\u90b01:=LLV(LOW,8);\n\u90b02:=HHV(HIGH,13);\n\uff03\u80a1\u5e02\u9ed1\u5ba2\uff03:= EMA((CLOSE-\u90b01)\/(\u90b02-\u90b01)*100,5),COLORRED,LINETHICK3;{\u8f93\u51fa\u540e\u662f\u8d8b\u52bf\u80cc\u666f}\n\u203b\u5347\u8dcc\u4e34\u754c\u203b:= EMA(0.667*REF(\uff03\u80a1\u5e02\u9ed1\u5ba2\uff03,1)+0.333*\uff03\u80a1\u5e02\u9ed1\u5ba2\uff03,2),COLORGREEN,LINETHICK3;{\u8f93\u51fa\u540e\u662f\u8d8b\u52bf\u80cc\u666f}\nVAR1:=(CLOSE&gt;REF(CLOSE,1) AND CLOSE&gt;REF(CLOSE,2));\nVARD:=(CLOSE&lt;REF(CLOSE,1) AND CLOSE&lt;REF(CLOSE,2));\nVARE:=(REF(VARD,1) AND CLOSE&gt;=REF(CLOSE,1) AND CLOSE&lt;=REF(CLOSE,2));\nVARF:=(REF(VARE,1) AND CLOSE&lt;=REF(CLOSE,1) AND CLOSE&gt;=REF(CLOSE,2));\nVAR10:=(REF(VARF,1) AND CLOSE&gt;=REF(CLOSE,1) AND CLOSE&lt;=REF(CLOSE,2));\nVAR11:=(REF(VAR10,1) AND CLOSE&lt;=REF(CLOSE,1) AND CLOSE&gt;=REF(CLOSE,2));\nVAR12:=(REF(VAR11,1) AND CLOSE&gt;=REF(CLOSE,1) AND CLOSE&lt;=REF(CLOSE,2));\nVAR13:=(REF(VAR12,1) AND CLOSE&lt;=REF(CLOSE,1) AND CLOSE&gt;=REF(CLOSE,2));\nVAR14:=(REF(VAR13,1) AND CLOSE&gt;=REF(CLOSE,1) AND CLOSE&lt;=REF(CLOSE,2));\nVAR15:=(REF(VAR14,1) AND CLOSE&lt;=REF(CLOSE,1) AND CLOSE&gt;=REF(CLOSE,2));\nVAR16:=(REF(VAR15,1) AND CLOSE&gt;=REF(CLOSE,1) AND CLOSE&lt;=REF(CLOSE,2));\nVAR17:=(REF(VAR16,1) AND CLOSE&lt;=REF(CLOSE,1) AND CLOSE&gt;=REF(CLOSE,2));\nVAR18:=(REF(VAR17,1) AND CLOSE&gt;=REF(CLOSE,1) AND CLOSE&lt;=REF(CLOSE,2));\nVAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;\nDIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);{\u6765\u81ea\u7ecf\u5178\u526fB}\nDEA:=EMA(DIFF,9),COLORFFFF00;\nMACD:=(DIFF-DEA)*2;\nA1:=BARSLAST(REF(CROSS(DIFF,DEA),1));\nA2:=BARSLAST(REF(CROSS(DEA,DIFF),1));\n\u5e95\u80cc\u79bb:=REF(CLOSE,A1+1)&gt;CLOSE AND DIFF&gt;REF(DIFF,A1+1) AND CROSS(DIFF,DEA);\n\u9876\u80cc\u79bb:=REF(CLOSE,A2+1)&lt;CLOSE AND REF(DIFF,A2+1)&gt;DIFF AND CROSS(DEA,DIFF);\n\uffe5\u2460:IF(REF((MA(C,5)-C)\/C&gt;0.04 AND (MA(C,10)-MA(C,5))\/MA(C,5)&gt;0.04 AND \u89c2\u671b\u671f=0 AND C&gt;REF(C,1),1),44,0),LINETHICK3,COLORCYAN;{\u8fdb}\n\uffe5\u2461:IF(REF(&amp;QUOT;KDJ.J&amp;QUOT;,1)&lt;0 AND &amp;QUOT;KDJ.J&amp;QUOT;&gt;0 AND TAI1&gt;=TAI2 AND TAI3&gt;TAI4,34,0),LINETHICK3,COLOR0000FF;{\u8fdb}\n\uffe5\u2462:IF(REF(\uff03\u80a1\u5e02\u9ed1\u5ba2\uff03,1)&lt;=13&amp;&amp;CROSS(\uff03\u80a1\u5e02\u9ed1\u5ba2\uff03,\u203b\u5347\u8dcc\u4e34\u754c\u203b)&amp;&amp;REF(MA(C,55),1)&gt;REF(MA(C,55),2)&amp;&amp;(VAR19 OR REF(VAR19,1)),23,0),COLORBLUE,LINETHICK3;\n\uffe5\u2463:IF(\u5e95\u80cc\u79bb,57,0),LINETHICK3,COLORBROWN;\nDRAWTEXT(\u5e95\u80cc\u79bb,54,&amp;QUOT;&amp;LARR;MACD\u5e95\u80cc\u79bb&amp;QUOT;),COLORWHITE;\nDRAWICON(REF(\uff03\u80a1\u5e02\u9ed1\u5ba2\uff03,1)&lt;=13&amp;&amp;CROSS(\uff03\u80a1\u5e02\u9ed1\u5ba2\uff03,\u203b\u5347\u8dcc\u4e34\u754c\u203b)&amp;&amp;REF(MA(C,55),1)&gt;REF(MA(C,55),2)&amp;&amp;(VAR19 OR REF(VAR19,1)),25,5);\nDRAWICON(REF((MA(C,5)-C)\/C&gt;0.04 AND (MA(C,10)-MA(C,5))\/MA(C,5)&gt;0.04 AND \u89c2\u671b\u671f=0 AND C&gt;REF(C,1),1),46,5);\nDRAWICON(REF(&amp;QUOT;KDJ.J&amp;QUOT;,1)&lt;0 AND &amp;QUOT;KDJ.J&amp;QUOT;&gt;0 AND TAI1&gt;=TAI2 AND TAI3&gt;TAI4,36,5),COLORYELLOW;<\/code><\/pre>\n<p>\u8fd9\u662f\u4e00\u6b3e<strong>\u6781\u5176\u590d\u6742\u3001\u7efc\u5408\u6027\u7684\u591a\u6307\u6807\u5171\u632f\u7cfb\u7edf<\/strong>\uff0c\u878d\u5408\u4e86\u8d44\u91d1\u6d41\u5411\u3001\u8d8b\u52bf\u5224\u65ad\u3001K\u7ebf\u5f62\u6001\u3001MACD\u5e95\u80cc\u79bb\u7b49\u591a\u79cd\u6280\u672f\u6a21\u5757\u3002\u8bbe\u8ba1\u7406\u5ff5\u662f&#8221;<strong>\u591a\u7ef4\u5ea6\u5171\u632f<\/strong>&#8220;\uff0c\u901a\u8fc7\u591a\u4e2a\u6307\u6807\u540c\u65f6\u6ee1\u8db3\u6761\u4ef6\u6765\u63d0\u9ad8\u4fe1\u53f7\u7684\u51c6\u786e\u7387\u3002<\/p>\n<hr \/>\n<h2>\u4e00\u3001 \u4ee3\u7801\u6838\u5fc3\u903b\u8f91\u5206\u6790<\/h2>\n<h3>1. XIAO\u7cfb\u5217\uff08\u8d44\u91d1\u6d41\u5411\u6a21\u5757\uff09<\/h3>\n<pre><code class=\"lang-javascript language-javascript javascript\">XIAO1:=REF((LOW+OPEN+CLOSE+HIGH)\/4,1); \nXIAO2:=SMA(ABS(LOW-XIAO1),13,1)\/SMA(MAX(LOW-XIAO1,0),10,1); \nXIAO3:=EMA(XIAO2,10);\nXIAO4:=LLV(LOW,33);\nXIAO5:=EMA(IF(LOW&lt;=XIAO4,XIAO3,0),3);<\/code><\/pre>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left\">\u5143\u7d20<\/th>\n<th style=\"text-align: left\">\u542b\u4e49<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left\"><strong>XIAO1<\/strong><\/td>\n<td style=\"text-align: left\">\u6628\u65e5\u56db\u4ef7\u5e73\u5747<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left\"><strong>XIAO2<\/strong><\/td>\n<td style=\"text-align: left\">\u6d4b\u91cf\u6700\u4f4e\u4ef7\u76f8\u5bf9\u5f3a\u5ea6<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left\"><strong>XIAO3<\/strong><\/td>\n<td style=\"text-align: left\">\u5e73\u6ed1\u5904\u7406<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left\"><strong>XIAO5<\/strong><\/td>\n<td style=\"text-align: left\"><strong>\u4e3b\u529b\u8d44\u91d1\u6d41\u5165\u6307\u6807<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\u6838\u5fc3\u903b\u8f91<\/strong>\uff1a<\/p>\n<ul>\n<li>\u5f53\u80a1\u4ef7<strong>\u63a5\u8fd133\u65e5\u6700\u4f4e\u4ef7<\/strong>\u65f6\uff0cXIAO5\u4f1a<strong>\u653e\u5927\u663e\u793a<\/strong><\/li>\n<li>\u8868\u793a<strong>\u6709\u8d44\u91d1\u5728\u6284\u5e95\u5438\u7b79<\/strong><\/li>\n<\/ul>\n<hr \/>\n<h3>2. \u79c1\u52df\u8fdb\u573a\/\u6d17\u76d8\uff08\u8d44\u91d1\u76d1\u63a7\uff09<\/h3>\n<pre><code class=\"lang-javascript language-javascript javascript\">\u3010\u79c1\u52df\u8fdb\u573a\u3011:IF(XIAO5&gt;REF(XIAO5,1),XIAO5,0),COLORRED;\n\u3010\u79c1\u52df\u6d17\u76d8\u3011:IF(XIAO5&lt;REF(XIAO5,1),XIAO5,0),COLORGREEN;<\/code><\/pre>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: center\">\u4fe1\u53f7<\/th>\n<th style=\"text-align: center\">\u6761\u4ef6<\/th>\n<th style=\"text-align: center\">\u989c\u8272<\/th>\n<th style=\"text-align: left\">\u542b\u4e49<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: center\"><strong>\u79c1\u52df\u8fdb\u573a<\/strong><\/td>\n<td style=\"text-align: center\">XIAO5\u4e0a\u5347<\/td>\n<td style=\"text-align: center\">\u7ea2\u8272<\/td>\n<td style=\"text-align: left\"><strong>\u8d44\u91d1\u6d41\u5165<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center\"><strong>\u79c1\u52df\u6d17\u76d8<\/strong><\/td>\n<td style=\"text-align: center\">XIAO5\u4e0b\u964d<\/td>\n<td style=\"text-align: center\">\u7eff\u8272<\/td>\n<td style=\"text-align: left\"><strong>\u8d44\u91d1\u6d41\u51fa<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3>3. \u89c2\u671b\u671f\uff08\u8d8b\u52bf\u80cc\u666f\uff09<\/h3>\n<pre><code class=\"lang-javascript language-javascript javascript\">B1:=(HHV(H,9)-C)\/(HHV(H,9)-LLV(LOW,9))*100- 70;\nB2:=SMA(B1,9,1)+100;\nB3:=(C-LLV(L,9))\/(HHV(H,9)- LLV(L,9))*100;\nB4:=SMA(B3,3,1);\nB5:=SMA(B4,3,1)+100;\nB6:=B5-B2;\n\u89c2\u671b\u671f:=IF(B6&gt;60,B6-60,0);<\/code><\/pre>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: center\">\u4fe1\u53f7<\/th>\n<th style=\"text-align: center\">\u6761\u4ef6<\/th>\n<th style=\"text-align: left\">\u542b\u4e49<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: center\"><strong>\u89c2\u671b\u671f<\/strong><\/td>\n<td style=\"text-align: center\">B6&gt;60<\/td>\n<td style=\"text-align: left\">\u4e0a\u6da8\u8d8b\u52bf\u4e2d<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3>4. \u80a1\u5e02\u9ed1\u5ba2\u8d8b\u52bf\u7cfb\u7edf<\/h3>\n<pre><code class=\"lang-javascript language-javascript javascript\">\u90b01:=LLV(LOW,8);\n\u90b02:=HHV(HIGH,13);\n\u80a1\u5e02\u9ed1\u5ba2:=EMA((CLOSE-\u90b01)\/(\u90b02-\u90b01)*100,5),COLORRED;\n\u5347\u8dcc\u4e34\u754c:=EMA(0.667*REF(\u80a1\u5e02\u9ed1\u5ba2,1)+0.333*\u80a1\u5e02\u9ed1\u5ba2,2),COLORGREEN;<\/code><\/pre>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: center\">\u5143\u7d20<\/th>\n<th style=\"text-align: center\">\u989c\u8272<\/th>\n<th style=\"text-align: left\">\u542b\u4e49<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: center\"><strong>\u80a1\u5e02\u9ed1\u5ba2<\/strong><\/td>\n<td style=\"text-align: center\">\u7ea2\u8272<\/td>\n<td style=\"text-align: left\">\u77ed\u671f\u8d8b\u52bf\u7ebf<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center\"><strong>\u5347\u8dcc\u4e34\u754c<\/strong><\/td>\n<td style=\"text-align: center\">\u7eff\u8272<\/td>\n<td style=\"text-align: left\">\u591a\u7a7a\u5206\u754c\u7ebf<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3>5. K\u7ebf\u5f62\u6001\u8bc6\u522b<\/h3>\n<pre><code class=\"lang-javascript language-javascript javascript\">VAR1:=(CLOSE&gt;REF(CLOSE,1) AND CLOSE&gt;REF(CLOSE,2));  \/\/ \u8fde\u6da8\nVARD:=(CLOSE&lt;REF(CLOSE,1) AND CLOSE&lt;REF(CLOSE,2));  \/\/ \u8fde\u8dcc\n...\uff08\u5171\u8bc6\u522b12\u79cd\u5f62\u6001\u7ec4\u5408\uff09\nVAR19:=REF(VARD OR ... ,1) AND VAR1;  \/\/ \u7531\u8dcc\u8f6c\u6da8<\/code><\/pre>\n<ul>\n<li>\u8bc6\u522b\u4ece\u4e0b\u8dcc\u8f6c\u4e3a\u4e0a\u6da8\u7684<strong>\u62d0\u70b9\u5f62\u6001<\/strong><\/li>\n<\/ul>\n<hr \/>\n<h3>6. \u6807\u51c6MACD<\/h3>\n<pre><code class=\"lang-javascript language-javascript javascript\">DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);\nDEA:=EMA(DIFF,9);\nMACD:=(DIFF-DEA)*2;\n\u5e95\u80cc\u79bb:=REF(CLOSE,A1+1)&gt;CLOSE AND DIFF&gt;REF(DIFF,A1+1) AND CROSS(DIFF,DEA);\n\u9876\u80cc\u79bb:=REF(CLOSE,A2+1)&lt;CLOSE AND REF(DIFF,A2+1)&gt;DIFF AND CROSS(DEA,DIFF);<\/code><\/pre>\n<ul>\n<li>\u6807\u51c6MACD\u53c2\u6570\uff0812,26,9\uff09<\/li>\n<li><strong>\u5e95\u80cc\u79bb<\/strong>\uff1a\u80a1\u4ef7\u521b\u65b0\u4f4e\uff0cMACD\u672a\u521b\u65b0\u4f4e<\/li>\n<\/ul>\n<hr \/>\n<h2>\u4e8c\u3001 \u56db\u5927\u6838\u5fc3\u4e70\u5165\u4fe1\u53f7<\/h2>\n<h3>\u4fe1\u53f7\u4e00\uff1a\uffe5\u2460\uff08\u5747\u7ebf\u4e70\u5165\uff09<\/h3>\n<pre><code class=\"lang-javascript language-javascript javascript\">\uffe5\u2460:IF(REF((MA(C,5)-C)\/C&gt;0.04 AND (MA(C,10)-MA(C,5))\/MA(C,5)&gt;0.04 AND \u89c2\u671b\u671f=0 AND C&gt;REF(C,1),1),44,0);<\/code><\/pre>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left\">\u6761\u4ef6<\/th>\n<th style=\"text-align: left\">\u542b\u4e49<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left\">(MA5-C)\/C&gt;0.04<\/td>\n<td style=\"text-align: left\">5\u65e5\u4e56\u79bb\u7387&gt;4%<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left\">(MA10-MA5)\/MA5&gt;0.04<\/td>\n<td style=\"text-align: left\">10\u65e5\u5747\u7ebf&gt;5\u65e5\u5747\u7ebf<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left\">\u89c2\u671b\u671f=0<\/td>\n<td style=\"text-align: left\">\u4e0d\u5728\u4e0a\u6da8\u8d8b\u52bf\u4e2d<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left\">C&gt;REF(C,1)<\/td>\n<td style=\"text-align: left\">\u6536\u76d8\u4e0a\u6da8<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ul>\n<li><strong>\u542b\u4e49<\/strong>\uff1a<strong>\u8d85\u8dcc\u53cd\u5f39<\/strong> + <strong>\u5747\u7ebf\u91d1\u53c9<\/strong><\/li>\n<\/ul>\n<hr \/>\n<h3>\u4fe1\u53f7\u4e8c\uff1a\uffe5\u2461\uff08KDJ\u8d85\u5356\u53cd\u5f39\uff09<\/h3>\n<pre><code class=\"lang-javascript language-javascript javascript\">\uffe5\u2461:IF(REF(KDJ.J,1)&lt;0 AND KDJ.J&gt;0 AND TAI1&gt;=TAI2 AND TAI3&gt;TAI4,34,0);<\/code><\/pre>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left\">\u6761\u4ef6<\/th>\n<th style=\"text-align: left\">\u542b\u4e49<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left\">REF(KDJ.J,1)&lt;0<\/td>\n<td style=\"text-align: left\">\u6628\u5929J\u503c\u4e3a\u8d1f<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left\">KDJ.J&gt;0<\/td>\n<td style=\"text-align: left\">\u4eca\u5929J\u503c\u8f6c\u6b63<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left\">TAI1&gt;=TAI2<\/td>\n<td style=\"text-align: left\">\u4ef7\u91cf\u5173\u7cfb\u8f6c\u5f3a<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ul>\n<li><strong>\u542b\u4e49<\/strong>\uff1a<strong>KDJ\u8d85\u5356\u53cd\u5f39<\/strong> + <strong>\u4ef7\u91cf\u914d\u5408<\/strong><\/li>\n<\/ul>\n<hr \/>\n<h3>\u4fe1\u53f7\u4e09\uff1a\uffe5\u2462\uff08\u8d8b\u52bf\u62d0\u70b9\uff09<\/h3>\n<pre><code class=\"lang-javascript language-javascript javascript\">\uffe5\u2462:IF(REF(\u80a1\u5e02\u9ed1\u5ba2,1)&lt;=13 AND CROSS(\u80a1\u5e02\u9ed1\u5ba2,\u5347\u8dcc\u4e34\u754c) AND REF(MA(C,55),1)&gt;REF(MA(C,55),2) AND (VAR19 OR REF(VAR19,1)),23,0);<\/code><\/pre>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left\">\u6761\u4ef6<\/th>\n<th style=\"text-align: left\">\u542b\u4e49<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left\">REF(\u80a1\u5e02\u9ed1\u5ba2,1)&lt;=13<\/td>\n<td style=\"text-align: left\">\u8d8b\u52bf\u5904\u4e8e\u4f4e\u4f4d<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left\">CROSS(\u80a1\u5e02\u9ed1\u5ba2,\u5347\u8dcc\u4e34\u754c)<\/td>\n<td style=\"text-align: left\">\u8d8b\u52bf\u4e0a\u7a7f\u5206\u754c\u7ebf<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left\">REF(MA55,1)&gt;REF(MA55,2)<\/td>\n<td style=\"text-align: left\">55\u65e5\u5747\u7ebf\u5411\u4e0a<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left\">VAR19<\/td>\n<td style=\"text-align: left\">\u51fa\u73b0\u7531\u8dcc\u8f6c\u6da8\u5f62\u6001<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ul>\n<li><strong>\u542b\u4e49<\/strong>\uff1a<strong>\u8d8b\u52bf\u62d0\u70b9<\/strong> + <strong>\u5747\u7ebf\u591a\u5934<\/strong> + <strong>K\u7ebf\u5f62\u6001<\/strong><\/li>\n<\/ul>\n<hr \/>\n<h3>\u4fe1\u53f7\u56db\uff1a\uffe5\u2463\uff08MACD\u5e95\u80cc\u79bb\uff09<\/h3>\n<pre><code class=\"lang-javascript language-javascript javascript\">\uffe5\u2463:IF(\u5e95\u80cc\u79bb,57,0);<\/code><\/pre>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left\">\u6761\u4ef6<\/th>\n<th style=\"text-align: left\">\u542b\u4e49<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left\">\u5e95\u80cc\u79bb<\/td>\n<td style=\"text-align: left\">\u80a1\u4ef7\u521b\u65b0\u4f4e\uff0cMACD\u672a\u521b\u65b0\u4f4e\uff0c\u4e14\u91d1\u53c9<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ul>\n<li><strong>\u542b\u4e49<\/strong>\uff1a\u7ecf\u5178\u7684<strong>MACD\u5e95\u80cc\u79bb<\/strong>\u4fe1\u53f7<\/li>\n<\/ul>\n<hr \/>\n<h2>\u4e09\u3001 \u4fe1\u53f7\u6c47\u603b<\/h2>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: center\">\u4fe1\u53f7<\/th>\n<th style=\"text-align: center\">\u6570\u503c<\/th>\n<th style=\"text-align: center\">\u989c\u8272<\/th>\n<th style=\"text-align: center\">\u56fe\u6807<\/th>\n<th style=\"text-align: left\">\u542b\u4e49<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: center\"><strong>\uffe5\u2460<\/strong><\/td>\n<td style=\"text-align: center\">44<\/td>\n<td style=\"text-align: center\">\u9752\u8272<\/td>\n<td style=\"text-align: center\">5\u53f7<\/td>\n<td style=\"text-align: left\">\u5747\u7ebf\u8d85\u8dcc\u53cd\u5f39<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center\"><strong>\uffe5\u2461<\/strong><\/td>\n<td style=\"text-align: center\">34<\/td>\n<td style=\"text-align: center\">\u84dd\u8272<\/td>\n<td style=\"text-align: center\">5\u53f7<\/td>\n<td style=\"text-align: left\">KDJ\u8d85\u5356\u53cd\u5f39<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center\"><strong>\uffe5\u2462<\/strong><\/td>\n<td style=\"text-align: center\">23<\/td>\n<td style=\"text-align: center\">\u84dd\u8272<\/td>\n<td style=\"text-align: center\">25\u53f7<\/td>\n<td style=\"text-align: left\">\u8d8b\u52bf\u62d0\u70b9<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center\"><strong>\uffe5\u2463<\/strong><\/td>\n<td style=\"text-align: center\">57<\/td>\n<td style=\"text-align: center\">\u68d5\u8272<\/td>\n<td style=\"text-align: center\">\u6587\u5b57<\/td>\n<td style=\"text-align: left\">MACD\u5e95\u80cc\u79bb<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h2>\u56db\u3001 \u4f7f\u7528\u65b9\u6cd5<\/h2>\n<h3>1. \u5b89\u88c5\u6b65\u9aa4<\/h3>\n<ol>\n<li>\u901a\u8fbe\u4fe1 -&gt; <strong>\u529f\u80fd<\/strong> -&gt; <strong>\u516c\u5f0f\u7cfb\u7edf<\/strong> -&gt; <strong>\u516c\u5f0f\u7ba1\u7406\u5668<\/strong>\u3002<\/li>\n<li>\u9009\u62e9 <strong>\u201c\u526f\u56fe\u6307\u6807\u201d<\/strong> -&gt; <strong>\u201c\u65b0\u5efa\u201d<\/strong>\u3002<\/li>\n<li>\u7c98\u8d34\u4ee3\u7801\uff0c\u540d\u79f0\u8f93\u5165\uff1a<code>\u795e\u7ea7MACD<\/code>\u3002<\/li>\n<li><strong>\u786e\u5b9a<\/strong>\u4fdd\u5b58\u3002<\/li>\n<\/ol>\n<hr \/>\n<h3>2. \u5b9e\u6218\u4ea4\u6613\u7b56\u7565<\/h3>\n<h4><strong>\u4fe1\u53f7\u4e00\uff1a\u79c1\u52df\u8fdb\u573a\uff08\u7ea2\u8272\u67f1\uff09<\/strong><\/h4>\n<ul>\n<li><strong>\u542b\u4e49<\/strong>\uff1a\u6709<strong>\u4e3b\u529b\u8d44\u91d1\u6d41\u5165<\/strong><\/li>\n<li><strong>\u64cd\u4f5c<\/strong>\uff1a<strong>\u5173\u6ce8<\/strong>\uff0c\u4f46\u4e0d\u8981\u6025\u4e8e\u4e70\u5165<\/li>\n<\/ul>\n<hr \/>\n<h4><strong>\u4fe1\u53f7\u4e8c\uff1a\uffe5\u2460 \u5747\u7ebf\u4e70\u5165<\/strong><\/h4>\n<ul>\n<li><strong>\u6761\u4ef6<\/strong>\uff1a\u8d85\u8dcc + \u5747\u7ebf\u91d1\u53c9<\/li>\n<li><strong>\u64cd\u4f5c<\/strong>\uff1a<strong>\u4e70\u5165\u4fe1\u53f7<\/strong><\/li>\n<\/ul>\n<hr \/>\n<h4><strong>\u4fe1\u53f7\u4e09\uff1a\uffe5\u2461 KDJ\u53cd\u5f39<\/strong><\/h4>\n<ul>\n<li><strong>\u6761\u4ef6<\/strong>\uff1aKDJ\u8d85\u5356\u8f6c\u5f3a<\/li>\n<li><strong>\u64cd\u4f5c<\/strong>\uff1a<strong>\u4e70\u5165\u4fe1\u53f7<\/strong><\/li>\n<\/ul>\n<hr \/>\n<h4><strong>\u4fe1\u53f7\u56db\uff1a\uffe5\u2462 \u8d8b\u52bf\u62d0\u70b9<\/strong><\/h4>\n<ul>\n<li><strong>\u6761\u4ef6<\/strong>\uff1a\u8d8b\u52bf\u7a81\u7834 + \u5747\u7ebf\u591a\u5934 + K\u7ebf\u5f62\u6001<\/li>\n<li><strong>\u64cd\u4f5c<\/strong>\uff1a<strong>\u4e70\u5165\u4fe1\u53f7<\/strong><\/li>\n<\/ul>\n<hr \/>\n<h4><strong>\u4fe1\u53f7\u4e94\uff1a\uffe5\u2463 MACD\u5e95\u80cc\u79bb<\/strong><\/h4>\n<ul>\n<li><strong>\u6761\u4ef6<\/strong>\uff1a\u5e95\u80cc\u79bb\u786e\u8ba4<\/li>\n<li><strong>\u64cd\u4f5c<\/strong>\uff1a<strong>\u4e70\u5165\u4fe1\u53f7<\/strong><\/li>\n<\/ul>\n<hr \/>\n<h2>\u4e94\u3001 \u6ce8\u610f\u4e8b\u9879<\/h2>\n<h3>1. \u6307\u6807\u7279\u70b9<\/h3>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: center\">\u7279\u70b9<\/th>\n<th style=\"text-align: left\">\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: center\"><strong>\u4fe1\u53f7\u7c7b\u578b<\/strong><\/td>\n<td style=\"text-align: left\">\u591a\u6307\u6807\u5171\u632f<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center\"><strong>\u9002\u5408\u5468\u671f<\/strong><\/td>\n<td style=\"text-align: left\">\u65e5\u7ebf<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center\"><strong>\u98ce\u683c<\/strong><\/td>\n<td style=\"text-align: left\">\u4e2d\u77ed\u7ebf<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>2. \u4f7f\u7528\u5efa\u8bae<\/h3>\n<ol>\n<li><strong>\u5171\u632f\u8d8a\u591a\u8d8a\u597d<\/strong>\uff1a\u5f53\u591a\u4e2a\u4fe1\u53f7\u540c\u65f6\u51fa\u73b0\u65f6\uff0c\u6210\u529f\u7387\u66f4\u9ad8<\/li>\n<li><strong>\u914d\u5408\u6210\u4ea4\u91cf<\/strong>\uff1a\u653e\u91cf\u914d\u5408\u66f4\u53ef\u9760<\/li>\n<li><strong>\u7ed3\u5408\u5927\u52bf<\/strong>\uff1a\u5728\u4e0a\u5347\u8d8b\u52bf\u4e2d\u4f7f\u7528\u6548\u679c\u66f4\u597d<\/li>\n<li><strong>\u4e25\u683c\u6b62\u635f<\/strong>\uff1a\u8ffd\u6da8\u7b56\u7565\u5fc5\u987b\u8bbe\u6b62\u635f<\/li>\n<\/ol>\n<hr \/>\n<h2>\u516d\u3001 \u603b\u7ed3<\/h2>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: center\">\u6a21\u5757<\/th>\n<th style=\"text-align: left\">\u4f5c\u7528<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: center\"><strong>XIAO5<\/strong><\/td>\n<td style=\"text-align: left\">\u4e3b\u529b\u8d44\u91d1\u76d1\u63a7<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center\"><strong>\u79c1\u52df\u8fdb\u573a\/\u6d17\u76d8<\/strong><\/td>\n<td style=\"text-align: left\">\u8d44\u91d1\u6d41\u5411\u5224\u65ad<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center\"><strong>\u80a1\u5e02\u9ed1\u5ba2<\/strong><\/td>\n<td style=\"text-align: left\">\u8d8b\u52bf\u7cfb\u7edf<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center\"><strong>K\u7ebf\u5f62\u6001<\/strong><\/td>\n<td style=\"text-align: left\">\u8bc6\u522b\u62d0\u70b9<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center\"><strong>MACD\u5e95\u80cc\u79bb<\/strong><\/td>\n<td style=\"text-align: left\">\u7ecf\u5178\u80cc\u79bb\u4fe1\u53f7<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center\"><strong>\u56db\u5927\u4e70\u5165\u4fe1\u53f7<\/strong><\/td>\n<td style=\"text-align: left\">\u7efc\u5408\u5224\u65ad<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\u603b\u7ed3<\/strong>\uff1a\u8fd9\u662f\u4e00\u6b3e<strong>\u7efc\u5408\u6027\u6781\u5f3a\u7684\u591a\u6307\u6807\u5171\u632f\u7cfb\u7edf<\/strong>\u3002\u5b83\u878d\u5408\u4e86\u8d44\u91d1\u6d41\u5411\u3001\u8d8b\u52bf\u5224\u65ad\u3001K\u7ebf\u5f62\u6001\u3001MACD\u5e95\u80cc\u79bb\u7b49\u591a\u79cd\u6280\u672f\u5206\u6790\u5de5\u5177\uff0c\u901a\u8fc7\u591a\u4e2a\u7ef4\u5ea6\u7684\u540c\u65f6\u6ee1\u8db3\u6765\u63d0\u9ad8\u4fe1\u53f7\u7684\u51c6\u786e\u7387\u3002\u5f53\u591a\u4e2a\u4fe1\u53f7\uff08\uffe5\u2460\u3001\uffe5\u2461\u3001\uffe5\u2462\u3001\uffe5\u2463\uff09\u540c\u65f6\u51fa\u73b0\u65f6\uff0c<strong>\u6210\u529f\u7387\u6700\u9ad8<\/strong>\u3002\u5efa\u8bae\u914d\u5408<strong>\u6210\u4ea4\u91cf<\/strong>\u548c<strong>\u5927\u76d8\u8d8b\u52bf<\/strong>\u7efc\u5408\u5224\u65ad\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>\u6307\u6807\u6e90\u7801 N1:=9; N2:=5; N3:=13; XIAO1:=REF((LOW+OPEN+CLOSE+H &#8230; <a title=\"\u901a\u8fbe\u4fe1\u795e\u7ea7MACD\u5e95\u80cc\u6307\u6807TDX00054\" class=\"read-more\" href=\"http:\/\/xuebuwan.com\/wp\/?p=715\" aria-label=\"\u9605\u8bfb \u901a\u8fbe\u4fe1\u795e\u7ea7MACD\u5e95\u80cc\u6307\u6807TDX00054\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-715","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"http:\/\/xuebuwan.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/715","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/xuebuwan.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/xuebuwan.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/xuebuwan.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/xuebuwan.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=715"}],"version-history":[{"count":2,"href":"http:\/\/xuebuwan.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/715\/revisions"}],"predecessor-version":[{"id":834,"href":"http:\/\/xuebuwan.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/715\/revisions\/834"}],"wp:attachment":[{"href":"http:\/\/xuebuwan.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=715"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/xuebuwan.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=715"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/xuebuwan.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=715"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}