最新更新 - 网站地图 -
您的当前位置:首页 > 股票公式 > 公式技巧 > 想在K线上加一条16天均线,K线(在其上为红色其下变绿色)

想在K线上加一条16天均线,K线(在其上为红色其下变绿色)

来源:网络 点击: 时间:2023-01-11 02:06:09

编写要求:

解答:

网友求助:

想在K线上加一条16天均线,但我想K线边成以下 ,K线在16天上为红色,下面为绿色
想在K线上加一条16天均线,K线(在其上为红色其下变绿色)

MA20:=MA(CLOSE,16);
STICKLINE(O>C AND C>MA20,O,C,2,0),colorred;
STICKLINE(O>C AND C>MA20,L,H,0.5,0),colorred;
STICKLINE(OMA20,O,C,2,0),colorred;
STICKLINE(OMA20,C,H,0.5,0),colorred;
STICKLINE(OMA20,O,L,0.5,0),colorred;
STICKLINE(O=C AND C>MA20,O,C,2,0),colorred;
STICKLINE(O=C AND C>MA20,L,H,0.5,0),colorred;
STICKLINE(O>C AND C STICKLINE(O>C AND C STICKLINE(O STICKLINE(O STICKLINE(O STICKLINE(O=C AND C STICKLINE(O=C AND C

解答如下:?

MA20:MA(CLOSE,16),COLORGREEN,LINETHICK2;
IF(C>=MA20,MA20,DRAWNULL),COLORRED,LINETHICK2;
STICKLINE(O>C AND C>MA20,O,C,2,0),COLORRED;
STICKLINE(O>C AND C>MA20,L,H,0,0),COLORRED;
STICKLINE(OMA20,O,C,2,0),COLORRED;
STICKLINE(OMA20,C,H,0,0),COLORRED;
STICKLINE(OMA20,O,L,0,0),COLORRED;
STICKLINE(O=C AND C>MA20,O,C,2,0),COLORRED;
STICKLINE(O=C AND C>MA20,L,H,0,0),COLORRED;
STICKLINE(O>C AND C STICKLINE(O>C AND C STICKLINE(O STICKLINE(O STICKLINE(O STICKLINE(O=C AND C STICKLINE(O=C AND C
?

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

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

    Top