WMA13:EMA(C,13),COLORWHITE;
WMA21:EMA(C,21),COLORYELLOW;
WMA34:EMA(C,34),COLORFF00FF;
WMA120:EMA(C,120),COLORFFCCCC;
WMA250:EMA(C,250),COLORFFCC66;
{ 爱约股_最新股票指标公式}
MJJ:=((C-REF(WMA13,1))/13+WMA13)*1.004;
STICKLINE(MJJ>REF(MJJ,1) AND C>MJJ,H,L,0,0),COLORRED;
STICKLINE(MJJ>REF(MJJ,1) AND C>MJJ,O,C,1,1),COLORRED;
MAFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
MAA:=EMA(MAFF,50);
MAFA:=2*(MAFF-MAA);
STICKLINE(MAFA>=REF(MAFA,1)AND MAFA>0,L,H,0,0),COLORRED;
STICKLINE(MAFA>=REF(MAFA,1)AND MAFA>0,O,C,1,1),COLORRED;
STICKLINE(MAFA<REF(MAFA,1) AND MAFA>0,H,L,0,0),COLORFFFF55;
STICKLINE(MAFA<REF(MAFA,1) AND MAFA>0,O,C,1,0),COLORFFFF55;
STICKLINE(MAFA<=REF(MAFA,1) AND MAFA<0,H,L,0,0),COLORFFFF55;
STICKLINE(MAFA<=REF(MAFA,1) AND MAFA<0,O,C,1,0),COLORFFFF55;
STICKLINE(C<EMA(C,21),L,H,0,0),COLORFFFF55;
STICKLINE(C<EMA(C,21),O,C,1,0),COLORFFFF55;