以下是通达信多空通道分钟线日线都可用
短线上轨:EMA(H,24),COLORRED;
短线下轨:EMA(L,24),COLORGREEN;
NOTEXT短线01:IF(短线上轨>=REF(短线上轨,1),短线上轨,DRAWNULL),COLORRED;
NOTEXT短线11:IF(短线上轨<REF(短线上轨,1),短线上轨,DRAWNULL),COLORGREEN;
NOTEXT短线03:IF(短线下轨>=REF(短线下轨,1),短线下轨,DRAWNULL),COLORRED;
NOTEXT短线13:IF(短线下轨<REF(短线下轨,1),短线下轨,DRAWNULL),COLORGREEN;
STICKLINE(短线上轨<=C,短线上轨,短线下轨,0,0),COLORRED;
STICKLINE(短线下轨>C,短线上轨,短线下轨,0,0),COLORGREEN;
长线上轨:EMA(H,90),COLORMAGENTA;
长线下轨:EMA(L,90),COLORBLUE;
NOTEXT长线012:IF(长线上轨>=REF(长线上轨,1),长线上轨,DRAWNULL),COLORMAGENTA;
NOTEXT长线112:IF(长线上轨<REF(长线上轨,1),长线上轨,DRAWNULL),COLORBLUE;
NOTEXT长线032:IF(长线下轨>=REF(长线下轨,1),长线下轨,DRAWNULL),COLORMAGENTA;
NOTEXT长线132:IF(长线下轨<REF(长线下轨,1),长线下轨,DRAWNULL),COLORBLUE;
STICKLINE(长线上轨>REF(长线上轨,1),长线上轨,长线下轨,0,0),COLORMAGENTA;
STICKLINE(长线上轨<REF(长线上轨,1),长线上轨,长线下轨,0,0),COLORBLUE;
评论(0)