编写要求:
老鼠仓公式源码 MA1:MA(CLOSE,P1); MA2:MA(CLOSE,P2); MA3:MA(CLOSE,P3); MA4:MA(CLOSE,P4); MA5:MA(CLOSE,P5); MA6:MA(CLOSE,P6); a1:=ref(c,1)/ref(o,1)>=0.95; b1:=ref(h,1)/ref(o,10)<=1.20; c1:=c/o>=1.19 and ref(c,1)/ref(c,30)<2 and c/ref(c,1)<=1.11; d1:=ma4>ma5 and c>ma4; e1:=c/ref(l,30)<1.5; aa1:=ref(0,2)/ref(c,1)<=1.07; bb1:=l/ref(c,1)<0.925; cc1:=c/ref(c,1)>=0.99; dd1:=c/l>=1.05; ee1:=c/ma(c,250)<=2; f1:=v/ma(v,10)>=1.8; f2:=v/ma(v,10)<1.8; ff1:=a1 and b1 and d1 and e1 and f2 and aa1 and bb1 and cc1 and dd1 and ee1 or (c1 and f2); ff2:=a1 and b1 and d1 and e1 and f1 and aa1 and bb1 and cc1 and dd1 and ee1 or (c1 and f1); drawtext(ff1,l*0.99,'小老鼠'),color00ff00; stickline(ff1,h,l,0.5,0),color00ff00; stickline(ff1,o,c,6,1),linethick2,color00ff00; drawtext(ff2,l*0.99,'大老鼠'),color00ff00; stickline(ff2,h,l,0.5,0),color00ff00; stickline(ff2,o,c,6,1),linethick2,color00ff00; 当主图中出现大老鼠或者小老鼠 作为选股信号 例如 7月31号的600363 麻烦老师了
解答:
?MA4:=MA(CLOSE,30);
MA5:=MA(CLOSE,60);
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!