黑马初显 周共振副图/选股指标 源码 通达信
DD11:0.9,COLORFF33FF; DD22:1.2,COLORGREEN; {黄金柱}M:=30; N:=15; AJ:=HHV(H,M)=H; AJT:=BARSLAST(AJ); AJ1:=LLV(L,N)=L; AJ1T:=BARSLAST(AJ1); TJ:=HHV(H,M)=H; TJT:BARSLAST(TJ)NODRAW; TJ1T:=BARSLAST(AJ1); {STICKLINE((TJT=0,H,TJ1T=0) AND AJ1 AND FILTERX(AJ1,TJT+1) ,REF(L,TJ1T) ,REF(H,TJT),0,0)COLORBLUE,LINETHICK3;} OUT:=STICKLINE((TJT=0,H,TJ1T=0) AND AJ1 AND FILTERX(AJ1,TJT+1) ,REF(L,TJ1T) ,REF(H,TJT),0,0)COLORBLUE,LINETHICK3; STICKLINE(OUT>0,0,0.89,4,0),COLORYELLOW,LINETHICK2;{黄色柱}DRAWTEXT(OUT,0.95,'底'),COLORYELLOW; {选股} {M:=30; N:=15; AJ1:=LLV(L,N)=L; TJ:=HHV(H,M)=H; TJT:=BARSLAST(TJ); TJ1T:=BARSLAST(AJ1); TJT=0,H,TJ1T=0 AND AJ1 AND FILTERX(AJ1,TJT+1) ;}; {KDJ日金}日K:="KDJ.K#DAY"(9,3,3);日D:="KDJ.D#DAY"(9,3,3); DRAWICON(日K>日D,0.1,32); DRAWICON(日K<日D,0.1,2); DRAWTEXT(ISLASTBAR=1,0.1,'日K'); {MACD日金}日DIF:="MACD.DIF#DAY"(12,26,9);日DEA:="MACD.DEA#DAY"(12,26,9); DRAWICON(日DIF>日DEA,0.2.1,32); DRAWICON(日DIF<日DEA,0.2,2); DRAWTEXT(ISLASTBAR=1,0.2,'日M'); {RSI日}日RSI:="RSI.RSI1#DAY"(9); DRAWICON(日RSI>50,0.3,32); DRAWICON(日RSI<50,0.3,2); DRAWTEXT(ISLASTBAR=1,0.3,'日R'); {KDJ周金}周K:="KDJ.K#WEEK"(9,3,3);周D:="KDJ.D#WEEK"(9,3,3); DRAWICON(周K>周D,0.4,13); DRAWICON(周K<周D,0.4,2); DRAWTEXT(ISLASTBAR=1,0.4,'周K'); {MACD周金}周DIF:="MACD.DIF#WEEK"(12,26,9);周DEA:="MACD.DEA#WEEK"(12,26,9); DRAWICON(周DIF>周DEA,0.5,13); DRAWICON(周DIF<周DEA,0.5,2); DRAWTEXT(ISLASTBAR=1,0.5,'周M'); 欢迎大家自行尝试! 关于指标大家可以私信找我免费领取! |