MA1:=MA(COST(15),1); TJ:=BARSLAST(MA1<C); TJJ:=BARSLAST(MA1>C); 建仓:SUM(V,TJ)/TJ/100,COLORBLUE; 启动:SUM(V,TJJ)/TJJ/100,COLORGREEN; DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); DEA:=EMA(DIFF,9); MCD:=2*(DIFF-DEA),COLORSTICK; AG:=CROSS(DIFF,DEA); MACD1:=SUM(V,BARSLAST(AG)+1)/CAPITAL*200,COLORSTICK; 操作:IF(DEA>REF(DEA,1) AND DIFF>DEA,MACD1,0);
看股吧 公式 www.kanguba .com