飞狐短线三浪副图指标
-
相关简介:飞狐短线三浪副图指标 源码 {N:1,10,5;} MA5:=MA(CLOSE,5); MA10:=MA(CLOSE,10); MA20:=MA(CLOSE,20); MA30:=MA(CLOSE,30); MA120:=MA(CLOSE,120); MA250:=MA(CLOSE,250),COLORRED; DTPL:=MA10MA30 AND MA20MA30 AND MA30REF(MA30,1); 突破线:=MIN(MA20*1.05,MA30*1.1),COLOR0066FF,POI
-
文章来源:股海网作者:股海网发布时间:2016-06-08浏览次数:
飞狐短线三浪副图指标
源码
{N:1,10,5;}
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
MA120:=MA(CLOSE,120);
MA250:=MA(CLOSE,250),COLORRED;
DTPL:=MA10>MA30 AND MA20>MA30 AND
突破线:=MIN(MA20*1.05,MA30*1.1),COLOR0066FF,POINTDOT;
差幅:C/MIN(MA20*1.05,MA30*1.1)-1,COLOR0066FF,POINTDOT;
均线流:(DTPL AND MA5>MA30 AND MA5<MA10)*-0.1,COLOR00FF00,POINTDOT,LINETHICK0;
偏离率:(C<MIN(MA20*1.05,MA30*1.1) AND C>MA30)*0.1,COLORFF00FF,POINTDOT,LINETHICK0;
BDGD:=C=HHV(C,20);
GDSJ:=BARSLAST(BDGD);
{REF(C,GDSJ),COLOR00FF00,POINTDOT;}
C/REF(C,GDSJ)-1,COLOR00FF00,POINTDOT;
目标:IF(均线流=-0.1 AND 偏离率=0.1 AND GDSJ>=N,0.8,0),COLORWHITE,LINETHICK2;
MBSJ:=BARSLAST(目标=0.8);
TP1:=CROSS(C,MIN(MA20*1.05,MA30*1.1)) AND REF(GDSJ,1)>=N;
TP2:=偏离率=0 AND REF(COUNT(偏离率=0.1,N)=N,1) AND C>REF(C,1);
突破:(TP1 OR TP2)*1,COLOR00FFFF,LINETHICK2;
MAV5:=EMA(V,5);
MAV10:=EMA(V,10);
LNMACD:=((V-MAV5)/MAV5*2+(V-MAV10)/MAV10)*10;
量坑:=LNMACD<=-10;
优选:目标 AND COUNT(量坑,3)>=1,COLORFF00FF,POINTDOT,LINETHICK0;
QSXS1:=MA5>REF(MA5,1);
LYHT:=DTPL AND MA5>MA10 AND NOT(QSXS1) AND REF(QSXS1,1);
回头:LYHT*0.5,COLOR00FF00;
{以下设置副图显示方式}
STICKLINE(均线流=-0.1,0,-0.2,5,1),color00FF00;
STICKLINE(偏离率=0.1,0,0.2,5,1),colorFF00FF;
{DRAWTEXT(目标=0.8,L,'△'),colorFFFFFF;}
DRAWTEXT(突破,1,'★'),coloryellow;
DRAWTEXT(突破,0,'突●破'),color0000FF;
DRAWICON(优选,0,1);
DRAWTEXT(回头,0.2,'●'),COLOR00FF00;
DRAWTEXT(回头,0.2,'¤'),COLOR00FF00;