联系方式 Contact

云指标公式网

淘宝:zb-mart.taobao.com

电话:18020657357

微信:18020657357

Q Q:396950280

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

缺口螺旋战法副图指标

2015-7-21 11:41:32点击:

分享一个副图指标,源码附件!螺旋战法助您看趋势,抓涨停!

缺口螺旋战法

{参数设置N 1 999 80 ; M 1 15 3}

TT:(MA(C,10)*30+MA(C,30)*10+MA(C,60)*5+MA(C,120)*3)/(3+5+10+30); 

TTT:MA(TT,10);

STICKLINE(TT>TTT,TT,TTT,2,0),COLORRED,LINETHICK2;

STICKLINE(TT<=TTT,TT,TTT,2,0),COLORGREEN,LINETHICK2;

高:=REF(HHV(H,N),M); 

低:=REF(LLV(L,N),M);

顶点:REFDATE(高,DATE),COLORRED;

低点:REFDATE(低,DATE),COLORWHITE;

DRAWTEXT(ISLASTBAR,顶点,'顶点'),COLORRED;

DRAWTEXT(ISLASTBAR,低点,'低点'),COLORWHITE;

STICKLINE(C/REF(C,1)>1.099,C,O,2.3,0),COLORYELLOW;

CF:=REF(C/REF(C,1)>1.095,1);

CF1:=O/REF(C,1)>1.02;

CF2:=L>REF(C,1);

CF3:=O>L AND H>C AND C>O;

CE:=CF AND CF1 AND CF2 AND CF3;

STICKLINE(CE ,O,C,3,0), COLOR0044FF;

STICKLINE(CE ,O,C,2.6,0), COLOR0077FF;

STICKLINE(CE ,O,C,2.2,0), COLOR1199FF;

STICKLINE(CE ,O,C,1.8,0), COLOR22BBFF;

STICKLINE(CE ,O,C,1.4,0), COLOR33DDFF;

STICKLINE(CE ,O,C,1,0), COLOR33FFFF;

Y:=C-REF(C,1);

Y1:=100*EMA(EMA(Y,6),6)/EMA(EMA(ABS(Y),6),6);

Y2:=LLV(Y1,2)=LLV(Y1,7) AND COUNT(Y1<0,2) AND CROSS(Y1,MA(Y1,2));

DRAWICON(FILTER(Y2=1,5),(LOW*0.985),1);