通达信突破角度指标公式

牛熊分界线:=DMA(MA(CLOSE+REF(CLOSE,5)/CLOSE*0.098,90),VOL);
年线:=DMA(MA(CLOSE+REF(CLOSE,5)/CLOSE*0.098,250),VOL);
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
上轨:(1+7/100)*DD,NODRAW,COLORYELLOW;
下轨:=(1-7/100)*DD;
中轨:=(上轨+下轨)/2;
AA:=上轨>REF(上轨,1);
AA1:=C>牛熊分界线 AND 牛熊分界线>年线;
突破:=C>上轨 AND AA AND AA1;
MA5均线角度:(ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*180/3.14115926),NODRAW COLORWHITE;
均线角度30:=MA5均线角度>30 AND MA5均线角度<35,NODRAW ;
均线角度35:=MA5均线角度>35 AND MA5均线角度<40,NODRAW ;
均线角度40:=MA5均线角度>40 AND MA5均线角度<45,NODRAW ;
均线角度45:=MA5均线角度>45 AND MA5均线角度<50,NODRAW ;
均线角度50:=MA5均线角度>50 AND MA5均线角度<55,NODRAW ;
均线角度55:=MA5均线角度>55 AND MA5均线角度<60,NODRAW ;
均线角度60:=MA5均线角度>60 AND MA5均线角度<65,NODRAW ;
均线角度65:=MA5均线角度>65 AND MA5均线角度<70,NODRAW ;
均线角度70:=MA5均线角度>70 AND MA5均线角度<75,NODRAW ;
均线角度75:=MA5均线角度>75 AND MA5均线角度<80,NODRAW ;
均线角度80:=MA5均线角度>80 AND MA5均线角度<85,NODRAW ;
{均线角度信号}
DRAWTEXT(EXIST(突破,2) AND 均线角度30,34,'30'),COLORLIBLUE;
DRAWTEXT(EXIST(突破,2) AND 均线角度30,31,'∠');
DRAWTEXT(EXIST(突破,2) AND 均线角度35,34,'35'),COLORLIBLUE;
DRAWTEXT(EXIST(突破,2) AND 均线角度35,31,'∠');
DRAWTEXT(EXIST(突破,2) AND 均线角度40,34,'40'),COLORRED;
DRAWTEXT(EXIST(突破,2) AND 均线角度40,31,'∠');
DRAWTEXT(EXIST(突破,2) AND 均线角度45,34,'45'),COLORRED;
DRAWTEXT(EXIST(突破,2) AND 均线角度45,31,'∠');
DRAWTEXT(EXIST(突破,2) AND 均线角度50,34,'50'),COLORMAGENTA;
DRAWTEXT(EXIST(突破,2) AND 均线角度50,31,'∠');
DRAWTEXT(EXIST(突破,2) AND 均线角度55,34,'55'),COLORMAGENTA;
DRAWTEXT(EXIST(突破,2) AND 均线角度55,31,'∠');
DRAWTEXT(EXIST(突破,2) AND 均线角度60,34,'60'),COLORYELLOW;
DRAWTEXT(EXIST(突破,2) AND 均线角度60,31,'∠');
DRAWTEXT(EXIST(突破,2) AND 均线角度65,34,'65'),COLORYELLOW;
DRAWTEXT(EXIST(突破,2) AND 均线角度65,31,'∠');
DRAWTEXT(EXIST(突破,2) AND 均线角度70,34,'70'),COLORGREEN;
DRAWTEXT(EXIST(突破,2) AND 均线角度70,31,'∠');
DRAWTEXT(EXIST(突破,2) AND 均线角度75,34,'75'),COLORRED;
DRAWTEXT(EXIST(突破,2) AND 均线角度75,31,'∠');
DRAWTEXT(EXIST(突破,2) AND 均线角度80,34,'80'),COLORRED;
DRAWTEXT(EXIST(突破,2) AND 均线角度80,31,'∠');{突破信号}
DRAWICON(突破,18 ,1);
STICKLINE(突破,0,16,1,0),COLORWHITE;
DRAWTEXT(突破,27,'突'),COLORWHITE;
DRAWTEXT(突破,23,'破'),COLORWHITE;

通达信突破角度指标公式

 

大智慧策略终端/职业股民首选分析软件:支持ACE数据,支持L2行情全推数据,支持股票池,超赢数据,价格低廉,支持月季费年费。:

下载地址:https://share.weiyun.com/LPoU0GHu