问题详情
增加个条件:K线在EMA60下,只显示绿色竖线,K在EMA60上只显示红色竖线;
源码:
EMA3:EMA2(C,3),NODRAW,NOTEXT;
EMA5:EMA2(C,5),NODRAW,NOTEXT;
VERTLINE(REFX(CROSS(EMA3,EMA5),1),COLORRED);
VERTLINE(REFX(CROSSDOWN(EMA3,EMA5),1),COLORGREEN);
版权:言论及内容仅代表个人观点,不代表本站立场。转载请注明出处:https://www.zbgs518.com/question/3799.html
EMA3:EMA2(C,3),NODRAW,NOTEXT;
EMA5:EMA2(C,5),NODRAW,NOTEXT;
VERTLINE(REFX(CROSS(EMA3,EMA5)&&C>EMA(C,60),1),COLORRED);
VERTLINE(REFX(CROSSDOWN(EMA3,EMA5)&&C