金叉时二根K线颜色
2020/7/19 18:07:09
公式编写说明:
KDJ的J金叉K 和 RSI1金叉RSI2 的K线指标颜色能在主图显示
公式源码示例:
{J金叉K:黄色}
STICKLINE(CROSS("KDJ.J","KDJ.K"),O,C,3,0),COLORYELLOW;
STICKLINE(CROSS("KDJ.J","KDJ.K"),H,L,0,0),COLORYELLOW;
{RSI1金叉RSI2:绿色}
STICKLINE(CROSS("RSI.RSI1","RSI.RSI2"),O,C,3,0),COLORGREEN;
STICKLINE(CROSS("RSI.RSI1","RSI.RSI2"),H,L,0,0),COLORGREEN;
{J金叉K同时RSI1金叉RSI2:绿色K线实体中加上红色}
STICKLINE(CROSS("KDJ.J","KDJ.K") AND CROSS("RSI.RSI1","RSI.RSI2"),O,C,1,0),COLORRED;
看股 吧公式 www.kangub a.com
其它股票公式列表