以下是通达信多空趋势主图指标源码(无源码的请下载附件导入)
短上轨:EMA(H,25),COLORRED;
短下轨:EMA(L,25),COLORGREEN;
NOTEXT短下轨0:IF(C>短下轨,短下轨,DRAWNULL),COLORRED;
NOTEXT短下轨1:IF(C<短下轨,短下轨,DRAWNULL),COLORGREEN;
NOTEXT短上轨0:IF(C>短上轨,短上轨,DRAWNULL),COLORRED;
NOTEXT短上轨1:IF(C<短上轨,短上轨,DRAWNULL),COLORGREEN;
STICKLINE(C>短上轨,短上轨,短下轨,0.001,0),COLORRED;
STICKLINE(C<短下轨,短上轨,短下轨,0.001,0),COLORGREEN;
短轨差:短上轨-短下轨,COLORYELLOW,NODRAW;
63655113.jpg
|