牛熊分界线:=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;
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/161889.html,转载请注明出处。