超准确的“顶底王”指标(源码 副图 通达信 贴图)
当出现大底时买入,出现大顶时卖出,完美的波段操作,大家用心体会吧!
源码
AA:=1180730;
SFX:=EMA(2500*(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20)),7);
ZJX:=EMA(2500*(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)),2);
中期:IF(DATE<=AA,SFX,0),COLORGREEN,LINETHICK2;
短期:IF(DATE<=AA,ZJX,0),COLORFF00FF,LINETHICK2;
DRAWTEXT(短期<500,300,'底'),COLORMAGENTA,LINETHICK2;
DRAWTEXT(中期<500,200,'大底'),COLORRED,LINETHICK2;
DRAWTEXT(短期>2000,2200,'顶'),COLORYELLOW,LINETHICK2;
DRAWTEXT(中期>2000,2300,'大顶'),COLORGREEN,LINETHICK2;
STICKLINE(C>0,500,500,5,1),COLORYELLOW;
STICKLINE(C>0,2000,2000,5,1),COLORMAGENTA;
STICKLINE(C>0,1250,1250,5,1),COLORWHITE;