{ 股票指标 }
量化:=maX(MA(C,5),MAX(MAX(MA(C,10),MA(C,20)),MAX(MA(C,60),MA(C,120))));
M20:=MA(量化,20);
DRAWBAND(M20,RGB(0,0,0),量化,120);
MA5:MA(量化,5),COLORMAGENTA;
MA3:MA(量化,3),COLORBROWN;
DRAWTEXT(crOSS(C,量化) AND CROSS(C,MA5) AND CROSS(C,M20),L,'量价五线'),COLORYELLOW;
黄金线:IF(量化>=MA5 AND 量化>REF(量化,1),量化,DRAWNULL),LINETHICK3,COLORYELLOW;
MA10:MA(量化,10),COLORGREEN;
stICKLINE(C>=REF(C,1) AND C>量化,H,L,0,0),COLORRED;
STICKLINE(C>=REF(C,1) AND C>量化,C,O,3,1),COLORRED;
STICKLINE(C<ref(c,1) and="" c="">量化,H,L,0,0),COLORCYAN;
STICKLINE(C<ref(c,1) and="" c="">量化,C,O,3,0),COLORCYAN;
标签:MA,STICKLINE,M20,通达信,熊主图,源码,量化,REF,MA5 From: https://www.cnblogs.com/zhibiao/p/18061732