#通达信#——极为神秘得【一招鲜】副图#...
这是将很多精品顶底指标放在了一个副图中,不仅无未来,效果也是前所未有的精准!
可以说,有了这个指标,其他任何抄顶底的指标都不需要了!
原本想秉着独乐乐不如众乐乐的原则将原码放出来,只可惜字数超出了上限。
实在是心有余而力不足,希望大家能谅解。
#我要上微头条#
源码附上:
{低吸高抛:强买}
VAR1:=REF(CLOSE,2);
趋势线:SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100,LINETHICK2,COLORLIBLUE;
VAR2:=REF(CLOSE,1);
VAR3:=SMA(MAX(CLOSE-VAR2,0),7,1)/SMA(ABS(CLOSE-VAR2),7,1)*100;
逢高派发:STICKLINE(趋势线>85,78,85,1.2,0), COLORYELLOW;
极高风险:STICKLINE(趋势线>90,78,85,1.8,0), COLORRED;
DRAWICON(趋势线>95 ,100,2);
吸:=IF(趋势线<12,23,12),COLORWHITE,LINETHICK2;
强买:=IF(VAR3<12,30,12),COLORMAGENTA,LINETHICK2;
{轻仓大底}
长期线:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19)+100,COLOR9900FF,LINETHICK3;
短期线:=-100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6))+100,COLORRED;
中期线:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4)+100,COLORYELLOW,LINETHICK2;
STICKLINE(中期线<12,23,12,2,0), COLORYELLOW;
STICKLINE(长期线<12,23,12,2,0), COLORRED;
{强势拉升}
上趋势:=MA(LOW,20)*1.2,COLOR0080FF,LINETHICK2;
次上趋势:=MA(LOW,20)*1.1,COLORYELLOW;
次下趋势:=MA(HIGH,20)*0.9,COLORWHITE;
下趋势:=MA(HIGH,20)*0.8,COLORGREEN,LINETHICK1;
ZD:=(C-REF(C,1))/REF(C,1)*100;
HDZF:=(HHV(H,20)-C)/(HHV(H,20)-LLV(L,20));
趋势强度:=IF(C>次上趋势,IF(C>上趋势,4,3),IF(C>次下趋势 AND C<次上趋势,2,IF(C<下趋势,0,1))),NODRAW;
底距:=(C-下趋势)/下趋势*100,NODRAW;
{一目了然}
MA多:=SMA(MAX(C-REF(C,1),0),8,1)/SMA(ABS(C-REF(C,1)),8,1)*100,COLORFFB5FF,LINETHICK2;
多方:EMA(MA多,5),COLORYELLOW,LINETHICK2;
XX:=IF(多方<45,多方,DRAWNULL),COLORGREEN,LINETHICK3;
三成:=IF(多方<25 AND 多方>=20,50,25),COLORWHITE,LINETHICK2;
六成:=IF(多方<20 AND 多方>=15,35,25),COLORLIRED,LINETHICK3;
全仓:IF(多方<15,37,25),COLORRED,LINETHICK5;
STICKLINE(多方>75,68,60,1.2,0), COLORYELLOW;
STICKLINE(多方>80,68,60,1.2,0), COLORRED;
DRAWICON(多方>85 ,55,2);