缺口螺旋战法副图指标
分享一个副图指标,源码附件!螺旋战法助您看趋势,抓涨停!
缺口螺旋战法
{参数设置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);
- 上一篇:二次回踩(鹏腾2009版本)源码 主图 通达信 贴图 2015/7/21
- 下一篇:黑马趋势 2015/7/21