最新更新 - 网站地图 -
您的当前位置:首页 > 股票公式 > 公式技巧 > 轨道买卖指标

轨道买卖指标

来源:网络 点击: 时间:2022-12-18 17:12:34

编写要求:

老师好,在网上下载了一个轨道买卖指标.因要叠加均线主图,很花哨,看到眼花。 故仅想提取部分内容,谢谢 M5:MA(CLOSE,5)COLORRED; E40:=EMA(CLOSE,40),COLORFFFFFF; VAR1:=(C+H+O+L)/4; 卖出:XMA(VAR1,12)*(1+60/1000),COLORGREEN,LINETHICK2; 买入:XMA(VAR1,32)*(1-100/1000),COLOR4F2F4F,LINETHICK2; 幅度:=100*(卖出-买入)/买入,NODRAW; 最低位五:(L+0.00)*1.055,NODRAW,COLORFFFFFF; 二:C*1.025,NODRAW,COLOR00FFFF; 三:C*1.035,NODRAW,COLORGREEN; 四:C*1.045,NODRAW,COLOR00FFFF; 五:C*1.055,NODRAW,COLORGREEN; 六:C*1.065,NODRAW; 七:C*1.075,NODRAW,COLOR00FFFF; {划线明成立} BB: MAX(C,O)-(REF(MAX(C,O),2)-MAX(C,O))/2,COLORRED,NODRAW; {蓝线 } RL4:REF(L,1)*(1+5*0.01+0.005),COLORFF0000; DRAWTEXT(ISLASTBAR,L*(1+5*0.01+0.005),' -----ML5'),COLORFF0000; MA1:=MA(VAR1,3); STICKLINE(卖出>LOW AND 卖出MIN(C,O) AND 卖出LOW AND 卖出LOW AND 买入MIN(C,O) AND 买入LOW AND 买入HIGH,OPEN,CLOSE,3,0),COLOR4F2F4F; STICKLINE(买入>HIGH,HIGH,LOW,0,0),COLOR4F2F4F; DRAWTEXT(CROSS(C,买入) OR (L<买入),LOW*0.95,'B'),COLORRED,LINETHICK2; DRAWTEXT(CROSS(C,卖出) OR (H>卖出),HIGH*1.02,'S'),COLORGREEN; A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100; A4:=SMA(A3,3,1); A5:=SMA(A4,3,1); A6:=3*A4-2*A5; A7:=C-REF(C,1); A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6); 买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2)); DRAWTEXT(FILTER(买=1,5),LOW-0.05,'买'),COLORYELLOW; STICKLINE(买,OPEN,CLOSE,2,0),COLORYELLOW; 想要的内容如下: 1.仅要上下轨道,冲出上轨道变色,提示变色S 2.不要蓝线,不要提示的买点,冲出下轨道变色B(我只要卖点) 3.改好后叠加均线 MA1:MA(CLOSE,5),COLORRED; MA2:MA(CLOSE,10),COLORWHITE; MA3:MA(CLOSE,20),COLORGREEN; MA4:MA(CLOSE,30),COLORYELLOW;

解答:

?VAR1:=(C+H+O+L)/4;

卖出:XMA(VAR1,12)*(1+60/1000),COLORGREEN,LINETHICK2;

    Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号

    免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!

    Top