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));
{ _最新股票指标公式}
D1:=REF(C,C1+1)
"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));