编写要求:
请老师将“红柱起飞 ”副图改为选股公式 红柱起飞源码: RC:=DYNAINFO(3); S2:=SMA(C,3,1); S6:=SMA(C,5,1); DK:=2*(S2-S6); STICKLINE(DK>0,RC,RC+DK,0,1),COLORRED; STICKLINE(DK<0,RC,RC+DK,0,1),COLORCYAN; RC,COLORBROWN; MA(C,9); STICKLINE(CROSS(MA(C,1),MA(C,9)),CLOSE,OPEN,8,0),COLORRED; STICKLINE(CROSS(MA(C,1),MA(C,9)),HIGH,LOW,0.8,0),COLORRED; STICKLINE(CROSS(MA(C,1),MA(C,55)),CLOSE,OPEN,6,0),COLORGRAY; STICKLINE(CROSS(MA(C,1),MA(C,55)),HIGH,LOW,0.6,0),COLORGRAY; STICKLINE(CROSS(MA(C,1),MA(C,23.5)),CLOSE,OPEN,7,0),COLORYELLOW; STICKLINE(CROSS(MA(C,1),MA(C,23.5)),HIGH,LOW,0.7,0),COLORYELLOW; STICKLINE(CROSS(MA(C,1),MA(C,120)),CLOSE,OPEN,5,0),COLORMAGENTA; STICKLINE(CROSS(MA(C,1),MA(C,120)),HIGH,LOW,0.5,0),COLORMAGENTA; 要求:出现黄色带红边框柱 时选股
解答:
?A:=MA(C,9);
CROSS(MA(C,1),A);
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!