最新更新 - 网站地图 -
您的当前位置:首页 > 股票公式 > 公式技巧 > 把这个指标出现买字的地方做个选股指标

把这个指标出现买字的地方做个选股指标

来源:网络 点击: 时间:2022-12-25 22:03:21

编写要求:

源码如下 AA1:=XMA(XMA(XMA(EMA(CLOSE,1),2),2),2); AA:=XMA((AA1-REF(AA1,1))/REF(AA1,1),11)*1000,COLOR0000FF,NODRAW; BB:=EMA(AA,44); CC:=EMA(AA-BB,1),NODRAW; AA2:=XMA(XMA(XMA(EMA(WINNER(C)*100,1),2),2),2),NODRAW; STICKLINE(AA2>30 AND COST(50)0,CC,0,4,0),COLOR000099; STICKLINE(AA2>30 AND COST(50)0,CC,0,3,0),COLOR0000CC; STICKLINE(AA2>30 AND COST(50)0,CC,0,2,0),COLOR0000FF; STICKLINE(AA2>30 AND COST(50)0,CC,0,0.5,0),COLORCC66FF; STICKLINE(AA2>30 AND COST(50)>C AND CC>0,CC,0,4,0),COLOR990099; STICKLINE(AA2>30 AND COST(50)>C AND CC>0,CC,0,3,0),COLORBB00BB; STICKLINE(AA2>30 AND COST(50)>C AND CC>0,CC,0,2,0),COLORDD00DD; STICKLINE(AA2>30 AND COST(50)>C AND CC>0,CC,0,0.5,0),COLORFF00FF; STICKLINE(AA2<30 AND COST(50)>C AND CC>0,CC,0,4,0),COLOR000099; STICKLINE(AA2<30 AND COST(50)>C AND CC>0,CC,0,3,0),COLOR0000CC; STICKLINE(AA2<30 AND COST(50)>C AND CC>0,CC,0,2,0),COLOR0000BB; STICKLINE(AA2<30 AND COST(50)>C AND CC>0,CC,0,1,0),COLOR0000FF; STICKLINE(AA2>30 AND COST(50)C AND CC<0,CC,0,3,0),COLOR009900; A1:=MA(C,1);A5:=MA(C,5);A6:=MA(C,6); DRAWICON(CROSS(1,5),0,1); DRAWTEXT(CROSS( CC,0),0,'*买'),COLORYELLOW; DRAWTEXT(CROSS(0, CC),0,'*卖'),COLORGREEN; 谢谢

解答:

?AA1:=XMA(XMA(XMA(EMA(C,1),2),2),2);

AA:=XMA((AA1-REF(AA1,1))/REF(AA1,1),11)*1000;

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

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

    Top