以下是趋向跟踪
趋向跟踪
趋向跟踪自己写的没优化,主要是不知道该如何定义第一浪的形式,改过几次都不理想,看来还是不能太懒该自己动手的时候还是要自己动手,有兴趣的可以自己改
刚才懒了也没发个图,跟踪变盘1:是对30日均线的跟踪
跟踪变盘2:是对60日均线的跟踪
30出小浪600出大浪
A:=MA(CLOSE,30);
A1:=A>REF(A,Q)*1.0017;
A2:=COUNT(A1>0 AND C<20 ,10)=10;
跟踪变盘1:BARSLAST(A2=0 AND CAPITAL<14000000),COLORYELLOW;
A3:(COUNT((CROSS(C,A) AND 跟踪变盘1>10),1))*10;
DL:=COUNT(A3>0,跟踪变盘1)*100;
DL1:=BARSLAST(DL=0) AND C>MA(C,20);
DL2:BARSLAST(DL1=0);
B:=MA(CLOSE,50);
B1:=B>=REF(B,2)*1.0017;
B2:=COUNT(B1>0 AND C<20 ,10)=10;
跟踪变盘2:BARSLAST(B2=0 AND CAPITAL<14000000 ),COLORGREEN ;
B3:((LONGCROSS(C,MA(C,50),4)) AND 跟踪变盘2>10 )*50;
XL:=COUNT(B3>0,跟踪变盘2)*20;
XL1:=BARSLAST(XL=0) AND C>MA(C,20);
XL2:BARSLAST(XL1=0),COLORWHITE;
D:=LLV(L,8);
D1:=D>=REF(D,1)*0.99;
D2:=COUNT(D1>0 ,10)=10 AND 跟踪变盘1>7 AND C<20;
跟踪变盘3:=BARSLAST(D2=0 AND CAPITAL<30000000 ),COLORRED ;
评论(0)