v1:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));
v2:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
ma3:MA(C,3),COLOR00ff00,LINETHICK1;
ma多空线:MA(C,80),COLOR00ff00,LINETHICK2;
stickline(ma3 = REF(ma3,1),ma3,ref(ma3,1),8,1),COLORRED,LINETHICK2;
stickline(ma3 REF(ma3,1),ma3,ref(ma3,1),8,1),COLORff9900,LINETHICK2;
A1:=BARSLAST(REF(CROSS( MACD.DIFF (12,26,9), MACD.DEA (12,26,9)),1));
B1:=REF(C,A1+1) C AND REF( MACD.DIFF (12,26,9),A1+1) MACD.DIFF (12,26,9)
AND CROSS( MACD.DIFF (12,26,9), MACD.DEA (12,26,9));
C1:=BARSLAST(REF(CROSS( MACD.DEA (12,26,9), MACD.DIFF (12,26,9)),1));
{www.9m8.cn 九毛八公式指标网 股票软件下载网_最新股票指标公式}
D1:=REF(C,C1+1) C AND REF( MACD.DIFF (12,26,9),C1+1) MACD.DIFF (12,26,9) AND CROSS( MACD.DEA (12,26,9),
MACD.DIFF (12,26,9));
Jm:=CROSS( Macd.DIFF (12,26,9), Macd.DEA (12,26,9));
Jma:=CROSS( Macd.DEA (12,26,9), Macd.DIFF (12,26,9));