【趋势主升】(主图指标,源码,贴图,通达信和大智慧通用)
2016-6-3 11:17:56点击:
{趋势主升主图} MA5:MA(C,5); MA10:MA(C,10); MA20:MA(C,20); MA30:MA(C,30); MA60:MA(C,60); MA120:MA(C,120); MA250:MA(C,250); MID:=MA(CLOSE,21); 风险线:= MA(CLOSE,13); 止损线:= MA(CLOSE,27); 牛熊线:=EMA(C,250); 界:=MA(CLOSE,21); DRAWTEXT(CROSS(MA10,界),(LOW * 0.950),'◇底背离'),COLORWHITE; DRAWTEXT(CROSS(C,止损线)AND 止损线>风险线,(LOW * 0.96),'主升浪'),COLORRED,LINETHICK3; DK:=MA(((SLOPE(C,20)*5)+C),20); DRAWTEXT(CROSS(C,DK),LOW*0.99,'★B'),COLORMAGENTA; DRAWTEXT(CROSS(DK,C),H*1.01,'☆S'),COLORYELLOW; X1:=(C+L+H)/3; BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10; EMA8:=EMA(C,8); DRAWTEXT(FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10), EMA8,'∠45上升'),COLORWHITE; AA05:=MA(C,5); 五日乖离率:=(C-AA05)/AA05*100; 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; VAR1:=(AA20-AA30)>REF((AA20-AA30),1) AND AA20>REF(AA20,1) AND AA30>REF(AA30,1); VAR2:=(AA30-AA20)<REF((AA30-AA20),1) AND AA20<REF(AA20,1) AND AA30<REF(AA30,1); BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416; 加仓:=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) ; MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30; DMR:=FILTER(MR,10); DRAWTEXT(DMR,LOW*0.92,'☆低买'),COLORYELLOW;
- 上一篇:MACD配套《给喜爱编辑的同学学习用之》{通达信、副图、源码 2016/6/3
- 下一篇:洗盘结束(副图 源码) 2016/6/2