以下是优化KDJ+MACD指标—-红绿灯

优化KDJ+MACD指标----红绿灯

C/C++ Code复制内容到剪贴板三只红灯,先亮一只买入,三只都灭,坚决卖出。其他要综合判断! DIF:(EMA(CLOSE,12)-EMA(CLOSE,26))*100,COLORGREEN,LINETHICK1; IF(DIF>=REF(DIF,1),DIF,DRAWNULL),COLORRED,LINETHICK2; IF(DIF,5,DRAWNULL),COLORYELLOW,LINETHICK9; IF(DIF>=REF(DIF,1),5,DRAWNULL),COLORRED,LINETHICK9; IF(DIF<=REF(DIF,1),5,DRAWNULL),COLORGREEN,LINETHICK9; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,9,1); D:=SMA(K,9,1); J:3*K-2*D,COLORLIBLUE,LINETHICK1; IF(J>=REF(J,1),J,DRAWNULL),COLORMAGENTA,LINETHICK2; IF(J,10,DRAWNULL),COLORYELLOW,LINETHICK9; IF(J>=REF(J,1),10,DRAWNULL),COLORRED,LINETHICK9; IF(J<=REF(J,1),10,DRAWNULL),COLORGREEN,LINETHICK9; MA5:=MA(C,5),COLORLIBLUE,LINETHICK1; IF(MA5,15,DRAWNULL),COLORYELLOW,LINETHICK9; IF(MA(C,5)>=REF(MA(C,5),1),15,DRAWNULL),COLORRED,LINETHICK9; IF(MA(C,5)<REF(MA(C,5),1),15,DRAWNULL),COLORGREEN,LINETHICK9;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。