新年献礼 AA05:=MA(C,5),COLOR0099CC;BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416; 速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1); 加速度5:=EMA((速度5-REF(速度5,1)),3); AA10:=MA(C,10);AA20:=MA(C,20);BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416; AA30:=MA(C,30);三拾日乖离率:=(C-AA30)/AA30*100; 加仓:STICKLINE(FILTER(COUNT(CROSS(BB05,30),5)>=1 AND AA05>REF(AA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA10>REF(AA10,1)AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10),0,4,1,1); AAA05:=MA(C,5),COLOR0099CC;五日乖离率:=(C-AAA05)/AAA05*100; BBB05:=ATAN((AAA05/REF(AAA05,1)-1)*100)*180/3.1416; AAA10:=MA(C,10);AAA20:=MA(C,20);BBB10:=ATAN((AAA10/REF(AAA10,1)-1)*100)*180/3.1416; AAA30:=MA(C,30); 三十日乖离率:=(C-AAA30)/AAA30*100; MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三十日乖离率>REF(三十日乖离率,1) AND AAA05>REF(AA05,1) AND(C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30; 买入:STICKLINE(FILTER(MR,10),0,5,1,1),COLORRED; A05:=MA(C,5),COLOR0099CC;B05:=ATAN((A05/REF(A05,1)-1)*100)*180/3.1416; A10:=MA(C,10);A20:=MA(C,20);B10:=ATAN((A10/REF(A10,1)-1)*100)*180/3.1416; A30:=MA(C,30);B30:=ATAN((A30/REF(A30,1)-1)*100)*180/3.1416; 狙击:STICKLINE(FILTER(B30>30 AND B10>45 AND CROSS(B05,60),10),0,5,1,1),COLORYELLOW; A:狙击,COLORGREEN; B:买入,COLORRED; D:加仓; DRAWICON(买入 AND 狙击 ,买入,1); DRAWICON(狙击,狙击,2); |
