冀苍鸾 发表于 2023-11-10 17:40:08

以下是通达信精准背离源码附图

<p data-first-child >以下是通达信精准背离源码附图</p><p class="ztext-empty-paragraph"><br/></p><p class="ztext-empty-paragraph"><br/></p><p >DRAWGBK(C>0, RGB(1,1,1),RGB(1,1,1),0,'0',0);<br/>STICKLINE(C>0,120,120,28,-1)COLORBLACK;<br/>STICKLINE(C>0,100,100,28,-1)COLOR000080;<br/>STICKLINE(C>0,80,80,28,-1)COLOR000080;<br/>STICKLINE(C>0,50,50,28,-1)COLOR000080;<br/>STICKLINE(C>0,20,20,28,-1)COLOR000080;<br/>STICKLINE(C>0,0,0,28,-1)COLOR000080;<br/>STICKLINE(C>0,-20,-20,28,-1)COLORBLACK;<br/>RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;<br/>K:SMA(RSV,3,1)COLORCYAN;<br/>D:SMA(K,3,1)COLORYELLOW;<br/>J:3*K-2*D,COLORMAGENTA;<br/>{K值,D值,J值的背离}<br/>{------------------------------------------------------------------------------}<br/>N:=5;<br/>J底背:REF(C,BARSLAST(REF(FILTER(BACKSET(REF(KDJ.J,N)=LLV(KDJ.J,2*N+1),N+1),N) AND KDJ.J=LLV(KDJ.J,N+1),1))+1)>C AND<br/>REF(KDJ.J,BARSLAST(REF(FILTER(BACKSET(REF(KDJ.J,N)=LLV(KDJ.J,2*N+1),N+1),N) AND KDJ.J=LLV(KDJ.J,N+1),1))+1)<KDJ.J AND<br/>FILTER(BACKSET(REF(KDJ.J,N)=LLV(KDJ.J,2*N+1),N+1),N) AND KDJ.J=LLV(KDJ.J,N+1),COLORWHITE,NODRAW;<br/>DRAWLINE(FILTER(BACKSET(REF(KDJ.J,N)=LLV(KDJ.J,2*N+1),N+1),N) AND KDJ.J=LLV(KDJ.J,N+1),KDJ.J,FILTER(J底背>0,5),KDJ.J,0),<br/>COLORWHITE,DOTLINE;<br/>DRAWTEXT(J底背,KDJ.J,'J底背'),COLORLIMAGENTA;<br/>J顶背:REF(C,BARSLAST(REF(FILTER(BACKSET(REF(KDJ.J,N)=</p>

日微牧 发表于 2024-1-13 22:00:16

找了很久了,多谢!

火锅春卷爱幂幂 发表于 2024-2-2 15:56:05

看帖回帖是美德!:lol
页: [1]
查看完整版本: 以下是通达信精准背离源码附图