{"id":20375,"date":"2019-11-27T16:57:42","date_gmt":"2019-11-27T08:57:42","guid":{"rendered":"https:\/\/www.lixiangluntan.com\/20375.html"},"modified":"2019-11-27T16:57:42","modified_gmt":"2019-11-27T08:57:42","slug":"%e5%a4%a7%e6%99%ba%e6%85%a7%e8%82%a1%e7%a5%a8%e5%85%ac%e5%bc%8f%ef%bc%9a%e5%85%a8%e5%8a%9f%e8%83%bdkdjmacd","status":"publish","type":"post","link":"https:\/\/www.lixiangluntan.com\/?p=20375","title":{"rendered":"\u5927\u667a\u6167\u80a1\u7968\u516c\u5f0f\uff1a\u5168\u529f\u80fdKDJ+MACD"},"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;\">\u5927\u667a\u6167\u80a1\u7968\u516c\u5f0f\uff1a\u730e\u5e84\u5229\u5668<\/p>\n<p>\u3000\u3000<br \/>\n<strong><\/strong>\u6709\u54ea\u4e9b\uff1f\u5927\u667a\u6167\u80a1\u7968\u516c\u5f0f\u662f\u4ec0\u4e48\uff1f\u4e0b\u9762\u80a1\u7968\u8d44\u6e90\u9986\u4e3a\u60a8\u4ecb\u7ecd\uff1a\u5927\u667a\u6167\u80a1\u7968\u516c\u5f0f\u3002<\/p>\n<\/blockquote>\n<p>&nbsp;&nbsp;&nbsp;&nbsp; <\/p>\n<p> \u3000\u3000<strong><\/strong>\u6709\u54ea\u4e9b\uff1f\u5927\u667a\u6167\u80a1\u7968\u516c\u5f0f\u662f\u4ec0\u4e48\uff1f\u4e0b\u9762\u80a1\u7968\u8d44\u6e90\u9986\u4e3a\u60a8\u4ecb\u7ecd\uff1a\u5927\u667a\u6167\u80a1\u7968\u516c\u5f0f\u3002<\/p>\n<p style=\"padding: 0px; text-indent: 2em; margin: 15px 0px; font-size: 14px;\"> <span style=\"font-size: 14px; line-height: 25px; font-family: \u5b8b\u4f53, Verdana, Arial, Helvetica, sans-serif; color: rgb(51, 51, 51);\"><span style=\"font-size: 14px;\"><span style=\"font-size: 14px;\"><span style=\"font-size: 14px;\"><span style=\"font-size: 14px;\"><span style=\"font-size: 14px;\">DRAWTEXTABS(0,0,' \u5168\u529f\u80fd<\/span><span style=\"font-size: 14px;\">\uff0bMAC'),colorgreen;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DRAWGBK(close&gt;0,STRIP(RGB(25,25,112),RGB(47,79,79),0));<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">RSV:=(CLOSE-LLV(LOW,9))\/(HHV(HIGH,9)-LLV(LOW,9))*100;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">K:SMA(RSV,3,1),LINETHICK2,COLORWHITE;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">D:SMA(K,3,1),LINETHICK2,COLOR00DDDD;&nbsp;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">J:3*K-2*D,LINETHICK2,COLOR800080;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DIFF:EMA(CLOSE,12)-EMA(CLOSE,26),linethick0,COLOR0099FF;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DEA :EMA(DIFF,9),linethick0,COLORD89837;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">:2*(DIFF-DEA),COLORFF9999,linethick0;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">YLZC:=if(close=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)\/4,AMOUNT\/(vol+0.01)\/100);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u963b\u4ef7:=if(close=INDEXC,YLZC+INDEXC-INDEXl,YLZC+(close-low));<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u652f\u4ef7:=if(close=INDEXC,INDEXl+INDEXC-YLZC,low+(close-YLZC));<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u4eca\u538b:REF(\u963b\u4ef7,1),LINETHICK0,COLORAA11BB;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u4eca\u6491:REF(\u652f\u4ef7,1),LINETHICK0,COLOR009900;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u660e\u538b:\u963b\u4ef7,LINETHICK0;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u660e\u6491:\u652f\u4ef7,LINETHICK0;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">rsv1:=(hhv(h,9.8)-c)\/(hhv(h,9.8)-llv(l,9.8))*101;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">kk:=sma(rsv1,3,1);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">dd:=sma(kk,3,1);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">jj:=3*kk-2*dd;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u4e70\u5356:=if(jj&gt;=100,100,if(jj&lt;=0,0,jj));<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u660e\u5929\u4e70:if(\u4e70\u5356=100,0-10,0),color00cccc;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u660e\u5929\u5356:if(\u4e70\u5356=0,90,100),color00ff00;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">KX:=250;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">KH:=HHV(K,KX);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DH:=HHV(D,KX);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">JH:=HHV(J,KX);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">KL:=LLV(K,KX);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DL:=LLV(D,KX);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">JL:=LLV(J,KX);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">HKMAX:=MAX(KH,MAX(DH,JH));<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">LKMIN:=MIN(KL,MIN(DL,JL));<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">KHLB:=(HKMAX+LKMIN)\/2;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">KHLC:=HKMAX-LKMIN;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">MHF:=HHV(DIFF,KX);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">MHD:=HHV(DEA,KX);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">MHM:=HHV(MACD,KX);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">MLF:=LLV(DIFF,KX);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">MLD:=LLV(DEA,KX);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">MLM:=LLV(MACD,KX);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">HMAX:=MAX(MHF,MAX(MHD,MHM));<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">LMIN:=MIN(MLF,MIN(MLD,MLM));<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">FHLB:=(HMAX-LMIN)\/100;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">FHLC:=HMAX-LMIN;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">SH:=(0-FHLB)*(KHLC\/FHLC)+KHLB;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DIFFA:=(DIFF-FHLB)*(KHLC\/FHLC)+KHLB;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DEAA:=(DEA-FHLB)*(KHLC\/FHLC)+KHLB;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">MACDA:=(macd-FHLB)*(KHLC\/FHLC)+KHLB;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">CDA:=MACD&lt;ref(MACD,1) and MACD&gt;0;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">CDB:=MACD&gt;=ref(MACD,1) and MACD&gt;0;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">CDC:=MACD&gt;ref(MACD,1) and MACD&lt;0;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">CDD:=MACD&lt;=ref(MACD,1) and MACD&lt;0;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">STICKLINE(CDA,SH,macda,6,0),COLOR00AAFF;{\u9ec4\u8272\u6bb5}<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">STICKLINE(CDA,SH,macda,6.6,0),COLOR0066AA;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">STICKLINE(CDA,SH,macda,4.4,0),COLOR0099DD;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">STICKLINE(CDA,SH,macda,3.3,0),COLOR00BBEE;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">STICKLINE(CDA,SH,macda,2.2,0),COLOR00DDFF;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">STICKLINE(CDA,SH,macda,1.1,0),COLOR00FFFF;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">STICKLINE(CDB,SH,macda,6,0),COLOR0000AA; {\u7ea2\u8272\u6bb5}<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">STICKLINE(CDB,SH,macda,6.6,0),COLOR0011BB;&nbsp;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">STICKLINE(CDB,SH,macda,4.4,0),COLOr0022CC;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">STICKLINE(CDB,SH,macda,3.3,0),COLOR0033DD;&nbsp;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">STICKLINE(CDB,SH,macda,2.2,0),COLOR0044EE;&nbsp;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">STICKLINE(CDB,SH,macda,1.1,0),COLOR0055FF;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">STICKLINE(CDC,SH,macda,6,0),COLORAA00BB;{\u5411\u4e0a\u7c89\u7ea2}<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">STICKLINE(CDC,SH,macda,6.6,0),COLORBB1177;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">STICKLINE(CDC,SH,macda,4.4,0),COLORCC2299;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">STICKLINE(CDC,SH,macda,3.3,0),COLORDD33AA;&nbsp;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">STICKLINE(CDC,SH,macda,2.2,0),COLOREE44BB;&nbsp;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">STICKLINE(CDC,SH,macda,1.1,0),COLORFF55BB;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">STICKLINE(CDD,SH,macda,6,0),COLORFF7700;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">STICKLINE(CDD,SH,macda,6.6,0),COLORAA7711;&nbsp;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">STICKLINE(CDD,SH,macda,4.4,0),COLORCC9922;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">STICKLINE(CDD,SH,macda,3.3,0),COLOREEBB33;&nbsp;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">STICKLINE(CDD,SH,macda,2.2,0),COLORFFCC44;&nbsp;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">STICKLINE(CDD,SH,macda,1.1,0),COLORFFDD55;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">PARTLINE(DIFFA,DIFF&gt;0,RGB(255,153,153),DIFF&lt;0,RGB(255,153,153));<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">PARTLINE(DEAA,DEA&gt;0,RGB(65,105,225),DEA&lt;0,RGB(65,105,225));<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DRAWTEXT(BARSTATUS=2,SH,' 0'),color00aaaa;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">TYP:=(HIGH+LOW+CLOSE)\/3;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">STICKLINE(diff&gt;ref(diff,1),20,20,2,0),COLORRED;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">STICKLINE(diff&lt;ref(diff,1),20,20,2,0),COLORGREEN;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">STICKLINE(K&gt;=ref(K,1) or k&gt;d and diff&gt;ref(diff,1),80,80,2,1),COLORRED;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">STICKLINE(K&lt;ref(K,1),80,80,2,1),COLORGREEN;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">MACD\u91d1\u53c9:=CROSS(MACD,DIFF) AND MACD&gt;=(0-0.05) AND MACD&lt;=0.02;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DRAWTEXT(MACD\u91d1\u53c9,macda*0.82,'MACD\u91d1\u53c9'),color00FFFF;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">XX:=ema(MA(LOW,3)*0.96,30);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DIFF\u91d1\u53c9:=if(CROSS(DIFF,DEA) AND XX-REF(XX,1)&gt;0 AND MACD&gt;=REF(MACD,1) AND DIFF&lt;=0,1,0);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DRAWTEXT(DIFF\u91d1\u53c9=1,DIFFA*1.68,'DIFF\u91d1\u53c9'),colorCDFFBB;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u4f4e\u4f4d\u91d1\u53c9:=CROSS(DIFF,DEA) AND DIFF&lt;-0.1;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DRAWTEXT(\u4f4e\u4f4d\u91d1\u53c9,deaa*0.99,' \u4f4e\u4f4d\u91d1\u53c9'),COLOR0099DD;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DIFDEA:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA&gt;=0));<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u4e8c\u6b21\u91d1\u53c9:=CROSS(DIFF,DEA) AND DEA&lt;0 AND COUNT(DIFDEA=2,21)=1;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DRAWTEXT(\u4e8c\u6b21\u91d1\u53c9,deaa*0.99-8,' \u4e8c\u6b21\u91d1\u53c9'),ColorFF00FF;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u5e95\u80cc\u79bb:=REF(CLOSE,A1+1)&gt;CLOSE AND DIFF&gt;REF(DIFF,A1+1) AND CROSS(DIFF,DEA);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DRAWTEXT(\u5e95\u80cc\u79bb,DEAA*0.99-16,' \u5e95\u80cc\u79bb'),Color0099FF;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u9876\u80cc\u79bb:=REF(CLOSE,A2+1)&lt;CLOSE AND REF(DIFF,A2+1)&gt;DIFF AND CROSS(DEA,DIFF);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DRAWTEXT(FILTER(\u9876\u80cc\u79bb,5),DEAA*1.02,'\u9876\u80cc\u79bb'),COLORDDAAAA;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">{\u5468\u91d1\u53c9,\u6b7b\u53c9}<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u5468DIFF:=\"MACD.DIFF#WEEK\";<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u5468DEA:=\"MACD.DEA#WEEK\";<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u5468MACD:=\"MACD.MACD#WEEK\";<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DIF\u5468\u91d1\u53c9:=CROSS(\u5468DIFF,\u5468DEA);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DRAWTEXT(DIF\u5468\u91d1\u53c9,DEAA,'DIFF\u5468\u91d1\u53c9'),COLOR0099FF;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DRAWTEXT(CROSS(\u5468DEA,\u5468DIFF),DEAA+4,'DIFF\u5468\u6b7b\u53c9'),align0,COLORCDFFBB;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">MACD\u5468\u91d1\u53c9:=CROSS(\u5468MACD,\u5468DIFF) AND \u5468MACD&gt;=(0-0.05) AND \u5468MACD&lt;=0.02;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DRAWTEXT(MACD\u5468\u91d1\u53c9,macda-0.03,'MACD\u5468\u91d1\u53c9'),color00FFFF;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">{\u6708\u91d1\u53c9,\u6b7b\u53c9}<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u6708DIFF:=\"MACD.DIFF#MONTH\";<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u6708DEA:=\"MACD.DEA#MONTH\";<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DIF\u6708\u91d1\u53c9:=CROSS(\u6708DIFF,\u6708DEA);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DRAWTEXT(DIF\u6708\u91d1\u53c9,DEAA*0.98,'DIF\u6708\u91d1\u53c9'),COLOR00FFCC;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DRAWTEXT(CROSS(\u6708DEA,\u6708DIFF),DEAA*1.02,'DIF\u6708\u6b7b\u53c9'),align0,COLORDDDDDD;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u5468K:=\"KDJ.K#WEEK\"(9,3,3);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u5468D:=\"KDJ.D#WEEK\"(9,3,3);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u5468J:=\"KDJ.J#WEEK\"(9,3,3);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u6708K:=\"KDJ.K#MONTH\"(9,3,3);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u6708D:=\"KDJ.D#MONTH\"(9,3,3);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u6708J:=\"KDJ.J#MONTH\"(9,3,3);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u6708\u91d1\u53c9:=cross(\u6708K,\u6708D);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u5468\u91d1\u53c9:=cross(\u5468K,\u5468D);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u65e5\u91d1\u53c9:=FILTER(cross(K,D) and K&lt;20,4);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">drawtext(\u6708\u91d1\u53c9,\u6708D-2,''),ALIGN0,color0022ee;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DRAWTEXT(\u6708\u91d1\u53c9,\u6708D-2,'KD\u6708\u91d1\u53c9'),coloryellow;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">drawtext(\u5468\u91d1\u53c9,\u5468D,''),ALIGN2,color0022ee;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DRAWTEXT(\u5468\u91d1\u53c9,\u5468D,' KD\u5468\u91d1\u53c9'),colorgreen;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DRAWICON(\u65e5\u91d1\u53c9,K,1),align2;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DRAWTEXT(\u65e5\u91d1\u53c9,D-6,'\u4f4e\u4f4d\u91d1\u53c9'),color00CCCC;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DRAWTEXT(CROSS(\u5468D,\u5468K),\u5468D*1.2,'KD\u5468\u6b7b\u53c9'),COLOR00DDBB;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DRAWTEXT(CROSS(\u6708D,\u6708K),\u6708D,'KD\u6708\u6b7b\u53c9'),COLORFFFFFF;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">KDB:=BARSLAST(ref(cross(k,d),1));<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">KDDB:=ref(close,KDB+1)&gt;close and ref(k,KDB+1)&lt;k and cross(k,d);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">K\u5e95\u80cc:=if(FILTER(KDDB&gt;0,5),1,0);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DRAWTEXT(K\u5e95\u80cc=1,D*0.98,'\u5e95\u80cc\u79bb'),COLORDDDDDD;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">KDD:=BARSLAST(ref(cross(d,k),1));<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">K\u9876\u80cc:=ref(close,KDD+1)&lt;close and ref(k,KDD+1)&gt;k and cross(d,k);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DRAWTEXT(FILTER(K\u9876\u80cc&gt;0,5),D+8,'\u9876\u80cc\u79bb'),COLORFFAA22;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">MD1:=MA(CLOSE,80)-MA(CLOSE,13)\/3;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">MD2:=MA((CLOSE-MD1)\/MD1,3);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u4e70\u70b91:=CROSS(MD2,0) AND LOW\/REF(HIGH,1)&lt;1.012 AND J&lt;75 AND J&gt;REF(J,1);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">ma12:=MA(CLOSE,12);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u4f73\u70b9:=if(FILTER(MACD&gt;=REF(MACD,5) AND open&lt;=ref(close,1) and XX-REF(XX,1)&gt;0 AND MACD&lt;=0 AND ma12-REF(ma12,1)&gt;=0,3) and J&lt;80 and J&gt;ref(J,1) and D&gt;ref(D,1) and (diff&gt;=ref(diff,1) or dea&gt;=ref(dea,1)),1,0);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DRAWTEXT(\u4f73\u70b9=1,macda*0.98,'\u4f73\u70b9'),color0099FF;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DX0:=EMA(CLOSE,2)-EMA(OPEN,5);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DX1:=if(CROSS(DX0,MACD) AND LOW&lt;=XX AND MACD&lt;=(0-0.11) and (J&lt;20 or K&lt;20),1,0);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DRAWTEXT(FILTER(DX1,3),0,'\u77ed10%'),color00CC00;{<\/span><span style=\"font-size: 14px;\">}<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">MA10:=MA(CLOSE,10);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">SS:=EMA(MA(HIGH,3)*1.05,30);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">LQS:=if(FILTER(0.7*(CROSS(DIFF,DEA) AND CLOSE&lt;SS AND XX-REF(XX,1)&gt;0 AND CROSS(MACD,0) AND MACD&gt;=0 AND DIFF&gt;0 AND ma10-REF(ma10,1)&gt;0 AND&nbsp;<\/span><span style=\"font-size: 14px;\">&gt;REF(VOL,1))&gt;=0.7 AND (CLOSE&lt;SS AND XX-REF(XX,1)&gt;0),5) AND J&lt;80,1,0);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DRAWTEXT(LQS=1,macda*0.98,'\u9f50\u4e0a'),colorCDFFDD;{\u91cf\u4ef7\u9f50\u4e0a}<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u6700\u4f73\u70b9:=IF(COUNT(MD2&gt;REF(MD2,1),3)=3 AND COUNT(MD2&lt;0,10)=10 AND REF(MD2,3)=LLV(MD2,10) and J&lt;80 and J&gt;ref(J,1),1,0);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DRAWTEXT(\u6700\u4f73\u70b9=1,J,'\u6700\u4f73\u70b9'),colorFF00CC;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u4e70\u70b92:=REF(MD2,2)=LLV(MD2,20) AND REF(MD2,2)&lt;0.071 AND REF(MD2,2)&lt;REF(MD2,1) AND&nbsp;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">NOT(REF(LOW,1)&gt;REF(HIGH,2) AND LOW&gt;REF(HIGH,1)) AND CLOSE&gt;REF(CLOSE,1) AND J&lt;75 AND J&gt;REF(J,1);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DRAWTEXT(\u4e70\u70b91 or \u4e70\u70b92,D-1,'\u4e70'),colorff00CC;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">{\u9884\u6da8}<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">YZ:=(INTPART(SMA(RSV,3,1))+INTPART(SMA(K,3,1)))\/2;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">\u9884\u6da8:=cross(yz,50) and j&lt;95 and diff&gt;ref(diff,1) and low&lt;ref(close,1);<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">DRAWTEXT(\u9884\u6da8,d*0.6,'\u9884\u6da8'),COLORA52A2A;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">KD\u91d1\u53c9:=cross(K,D)and J&gt;20 and J&lt;80;<\/span><br style=\"padding: 0px; margin: 0px; font-size: 14px;\"> <span style=\"font-size: 14px;\">:if(cross(macd,0) or DX1 or \u4f73\u70b9 or LQS or K\u5e95\u80cc or \u6708\u91d1\u53c9 or \u5468\u91d1\u53c9 or \u65e5\u91d1\u53c9 or \u4e70\u70b91 or \u4e70\u70b92 or \u6700\u4f73\u70b9 or MACD\u91d1\u53c9 or DIFF\u91d1\u53c9 or \u4f4e\u4f4d\u91d1\u53c9 or \u4e8c\u6b21\u91d1\u53c9 or \u5e95\u80cc\u79bb or DIF\u5468\u91d1\u53c9 or MACD\u5468\u91d1\u53c9 or DIF\u6708\u91d1\u53c9 or KD\u91d1\u53c9,2,0),LINETHICK0;<\/span><\/span><\/span><\/span><\/span><\/span><\/p>\n<p style=\"padding: 0px; text-indent: 2em; margin: 15px 0px; font-size: 14px;\"> <span style=\"font-size: 14px; line-height: 25px; font-family: \u5b8b\u4f53, Verdana, Arial, Helvetica, sans-serif; color: rgb(51, 51, 51);\"><span style=\"font-size: 14px;\"><span style=\"font-size: 14px;\">\u66f4\u591a<span style=\"text-indent: 0px; font-size: 11px; line-height: normal; font-family: Arial, Verdana, sans-serif; color: rgb(34, 34, 34);\">\u5927\u667a\u6167\u80a1\u7968\u516c\u5f0f<\/span>\u77e5\u8bc6\u8bf7\u5173\u6ce8\u80a1\u7968\u8d44\u6e90\u9986<\/span><\/span><\/span><\/p>\n<p> \uff08\u80a1\u7968\u8d44\u6e90\u9986lixiangluntan.com\uff09<a href=\"http:\/\/www.lixiangluntan.com\" target=\"_blank\" rel=\"noopener noreferrer\">\u80a1\u7968\u516c\u5f0f\u7f51<\/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;\">\u5927\u667a\u6167\u80a1\u7968\u516c\u5f0f\uff1a\u5317\u72fc\u7edd\u6740<\/p>\n<p>\u3000\u3000<br \/>\n<strong><\/strong>\u6709\u54ea\u4e9b\uff1f\u5927\u667a\u6167\u80a1\u7968\u516c\u5f0f\u662f\u4ec0\u4e48\uff1f\u4e0b\u9762\u80a1\u7968\u8d44\u6e90\u9986\u4e3a\u60a8\u4ecb\u7ecd\uff1a\u5927\u667a\u6167\u80a1\u7968\u516c\u5f0f\u3002<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u3000\u3000<br \/>\n<strong><\/strong>\u6709\u54ea\u4e9b\uff1f\u5927\u667a\u6167\u80a1\u7968\u516c\u5f0f\u662f\u4ec0\u4e48\uff1f\u4e0b\u9762\u80a1\u7968\u8d44\u6e90\u9986\u4e3a\u60a8\u4ecb\u7ecd\uff1a\u5927\u667a\u6167\u80a1\u7968\u516c\u5f0f\u3002<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[131],"tags":[132],"class_list":["post-20375","post","type-post","status-publish","format-standard","hentry","category-dzhgs","tag-132"],"_links":{"self":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/20375","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=20375"}],"version-history":[{"count":0,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/20375\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=20375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=20375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=20375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}