短线双龙 短线操作指标 飞狐副图指标 源码 贴图 无未来 短线最常用的指标是KDJ,反应快,方向感强。短线操作KDJ结合波段趋势是最佳搭档,绝配双龙! RSV:=(C-LLV(L,N))/(HHV(H,N)-LLV(L,N))*100; KO:=SMA(RSV,N1,1),PRECISION1; DK:=SMA(KO,N2,1),PRECISION1; JO:=3*KO-2*DK,PRECISION1; FILLRGN(JO>90,JO,90),COLOR20E839; FILLRGN(JO<12,JO,12),COLORRED; FILLRGN(JO<>90,90,10),COLOR000000; DRAWBAND(90,0,10,0); J:JO,LINETHICK1,COLORWHITE,PRECISION1;DRAWTEXT(ISLASTBAR,J,' J'),COLORWHITE,LINETHICK16; K:KO,COLORFF00FF,PRECISION1,NODRAW; D:DK,COLORGREEN,PRECISION1,NODRAW; A2:=BARSLAST(REF(CROSS(KO,DK),1)); B2:=REF(C,A2+1)>C AND REF(KO,A2+1) D2:=REF(C,C2+1) KDJ底背:=B2>0; DRAWTEXT(B2>0,K*1.1,' K底背'),COLORFF00FF;DRAWICON(B2>0,K*1.1,1); KDJ顶背:=D2>0;DRAWTEXT(D2>0,K*1.2,'K顶背'),COLORGREEN; DRAWTEXT(CROSS(K,D),K*0.95,' K金'),COLORYELLOW; RSI:SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100,PRECISION0,COLORRED;DRAWTEXT(ISLASTBAR,RSI,' RSI'),COLORRED; TJA:=(2*C+H+L)/4; TJB:=LLV(L,9); TJA1:=HHV(H,9); BX:=EMA((TJA-TJB)/(TJA1-TJB)*100,8); BX1:=EMA(BX,5);{WWW.GPXIAZAI.COM} DRAWBAND(BX,RGB(255,00,255),BX1,RGB(110,200,255)); 短线多空:PARTLINE(BX>BX1,0),COLOR0000FF,LINETHICK2;DRAWTEXT(ISLASTBAR,短线多空,' 短线多空'),COLORBLUE,LINETHICK15; PARTLINE(BX<=BX1,0),COLORGREEN,LINETHICK2; DRAWTEXT(CROSS(BX,BX1),BX*0.95,' ↑▲反向'),COLORYELLOW; TR1:=SMA(MAX(MAX(H-L,ABS(H-REF(C,1))),ABS(L-REF(C,1))),14,1); HD:=H-REF(H,1); LD:=REF(L,1)-L; DMP:=SMA(IF(HD>0 AND HD>LD,HD,0),14,1); DMM:=SMA(IF(LD>0 AND LD>HD,LD,0),14,1); PDI:=DMP*100/TR1; STICKLINE(RSI>90,0,30,0.5,0),COLORGREEN; DRAWTEXT(RSI>90,30*1.1,'!RIS'),COLORGREEN; 10,LINEDOT; 90,LINEDOT; |