超级波段指标公式源码 抓到大、中黑马不再是梦!通达信公式
本指标由21KD,35KD,55KD组成,体现长中短趋势!利用三KD共振买入!如果再,结合均线粘合买入更隹!抓到大、中黑马不再是梦!上下卖出符号结合,提示长中短頂部
源码
{超级波段指标}
{55KD}
VAR55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K55:=SMA(VAR55,13,1);
D55:=SMA(K55,5,1);
DRAWBAND(K55,RGB(255,0,0),D55,RGB(0,128,255));
{35KD}
VAR35:=(CLOSE-LLV(LOW,35))/(HHV(HIGH,35)-LLV(LOW,35))*100;
K35:=SMA(VAR35,13,1);
D35:=SMA(K35,5,1);
DRAWBAND(K35,RGB(255,255,0),D35,RGB(0,255,255));
{21KD}
DL:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
K:=SMA(DL,6,1),COLORWHITE;
D:=SMA(K,4,1),COLORYELLOW,;
DRAWBAND(K,RGB(255,128,255),D,RGB(0,255,0));
{新买卖奇准}
你:=MA(CLOSE,1);
老:=(((LOW + HIGH) + CLOSE) / 3);
板:=MA(老,5);
好:=HHV(板,10);
急卖奇准:IF(HHV((你 < 好),5),100,85),COLOR00FF00,LINETHICK2;
短卖奇准:IF(HHV((你 < 好),10),100,85),COLORFFFFFF,LINETHICK2;
底:15,COLORFF8000,DOTLINE;
{短中长逃顶}
VAR01:=WINNER(CLOSE*95/100)*100;
VAR02:=EMA(VAR01,10);
短线逃顶: IF(VAR02>50,10,0),STICK,COLORFFFFFF;
中线逃顶: IF(VAR02>65,20,0),STICK,COLOR00FFFF;
长线逃顶: IF(VAR02>85,30,0),STICK,COLORFF00FF;