市场成本:=DMA(AMOUNT/V/100,V/CAPITAL),COLORGREEN;
K1:=BACKSET(市场成本>REF(市场成本,1),2);
强:IF(K1,市场成本,DRAWNULL),COLORRED,LINETHICK2;
K2:=BACKSET(市场成本<REF(市场成本,1),2);
弱:IF(K2,市场成本,DRAWNULL),COLORGREEN,LINETHICK2;
ER:市场成本+2*STD(CLOSE,30),POINTDOT,COLORYELLOW;
WR:市场成本-2*STD(CLOSE,30),POINTDOT,COLORCYAN;
MA7:=MA(C,7),COLORWHITE;
MA21:=MA(C,21),COLORYELLOW;