小妖花满楼满fx 发表于 2024-3-25 08:15:10

通达信MACDKDJ完美同图副图源码图片无未来

<p data-first-child >通达信MACDKDJ完美同图副图源码图片无未来</p><p >STICKLINE(C>0,0,10,5,0),COLOR222222;<br/> STICKLINE(C>0,100,90,5,0),COLOR222222;<br/> DLCL:=CROSS(0.9,"KDJ.J"<0);<br/> STICKLINE(DLCL,9,1,3,0),COLOR353500;<br/> STICKLINE(DLCL,9,1,2.5,0),COLOR454500;<br/> STICKLINE(DLCL,9,1,2,0),COLOR555500;<br/> STICKLINE(DLCL,9,1,1.5,0),COLOR656500;<br/> STICKLINE(DLCL,9,1,1,0),COLOR757500;<br/> STICKLINE(DLCL,9,1,0.5,0),COLOR858500;<br/>DLMC:="KDJ.K">80 AND "KDJ.D">80 AND CROSS("KDJ.D","KDJ.K");<br/> STICKLINE(DLMC,91,99,3,0),COLOR353500;<br/> STICKLINE(DLMC,91,99,2.5,0),COLOR454500;<br/> STICKLINE(DLMC,91,99,2,0),COLOR555500;<br/> STICKLINE(DLMC,91,99,1.5,0),COLOR656500;<br/> STICKLINE(DLMC,91,99,1,0),COLOR757500;<br/> STICKLINE(DLMC,91,99,0.5,0),COLOR858500;<br/> {C1:=BARSLAST(REF(CROSS("MACD.DEA","MACD.DIF"),1));<br/> D1:=REF(C,C1+1)<C AND REF("MACD.DIF",C1+1)>"MACD.DIF" AND CROSS("MACD.DEA","MACD.DIF");}<br/> C1:=BARSLAST(REF(CROSS("KDJ.D","KDJ.K"),1));<br/> D1:=REF(C,C1+1)<C AND REF("KDJ.K",C1+1)>"KDJ.K" AND CROSS("KDJ.D","KDJ.K");<br/> STICKLINE(D1>0 ,99,91,3,0),COLOR555555;<br/>STICKLINE(D1>0 ,99,91,2.5,0),COLOR777777;<br/> STICKLINE(D1>0 ,99,91,2,0),COLOR999999;<br/> STICKLINE(D1>0 ,99,91,1.5,0),COLORBBBBBB;<br/> STICKLINE(D1>0 ,99,91,1,0),COLORDDDDDD;<br/> STICKLINE(D1>0 ,99,91,0,0),COLORFFFFFF;<br/>LAW1:=MA(INDEXC,13)/INDEXC;<br/> TJ1:=LAW1>1.05;<br/> LAW3:=(C-MA(C,60))/MA(C,60)*100;<br/> STICKLINE(PERIOD=5 && LAW3<-24 AND TJ1,0,2,3,0),COLOR006600;<br/> STICKLINE(PERIOD=5 && LAW3>24,100,98,3,0),COLOR006600;<br/> N:=9;<br/> RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;<br/> K:=SMA(RSV,3,1),COLOR444444;<br/> D:=SMA(K,3,1),COLOR666633;<br/> J:3*K-2*D,COLOR444444;<br/> DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);<br/> DEA:=EMA(DIFF,9);<br/> MACD:=2*(DIFF-DEA);<br/> KX:=BARSSINCE(CLOSE);<br/> HK:=HHV(K,KX);<br/> HD:=HHV(D,KX);<br/> HJ:=HHV(J,KX);<br/> LK:=LLV(K,KX);<br/> LD:=LLV(D,KX);<br/> LJ:=LLV(J,KX);<br/> HKMAX:=MAX(HK,MAX(HD,HJ));<br/> LKMIN:=MIN(LK,MIN(LD,LJ));<br/> KDBL:=(HKMAX+LKMIN)/2;<br/> KDC:=HKMAX-LKMIN; <br/>MHF:=HHV(DIFF,KX);<br/> MHD:=HHV(DEA,KX);<br/> MHM:=HHV(MACD,KX);<br/> MLF:=LLV(DIFF,KX);<br/> MLD:=LLV(DEA,KX);<br/> MLM:=LLV(MACD,KX);<br/> HMAX:=MAX(MHF,MAX(MHD,MHM));<br/> LMIN:=MIN(MLF,MIN(MLD,MLM));<br/> FDBL:=(HMAX+LMIN)/100;<br/> FDC:=HMAX-LMIN;<br/> SH:=(0-FDBL)*(KDC/FDC)+KDBL;</p><p></p>

千无情实 发表于 2024-4-4 16:16:23

不错的内容!
页: [1]
查看完整版本: 通达信MACDKDJ完美同图副图源码图片无未来