趋势顶线:SMA(AMOUNT/VOL/100,13,1)*1.15,COLORYELLOW,LINETHICK2;
趋势底线:SMA(AMOUNT/VOL/100,21,1)*0.85,COLORGREEN,LINETHICK2;
持股成本:DMA(AMOUNT/V/100,V/CAPITAL),COLORRED;
DRAWICON(CROSS(C,持股成本),L-0.20,4);
DRAWTEXT(CROSS(C,持股成本),LOW*0.980,'追');
DRAWICON(CROSS(C,趋势底线) AND O>REF(C,1),L-0.20,1);
DRAWTEXT(CROSS(C,趋势底线) AND O>REF(C,1),LOW*0.980,'买');
DRAWICON(CROSS(C,趋势底线) AND O<REF(C,1),L-0.20,3);
DRAWTEXT(CROSS(C,趋势底线) AND O<REF(C,1),LOW*0.980,'底');
趋势顶线:SMA(AMOUNT/VOL/100,13,1)*1.15,COLORYELLOW,LINETHICK2;
趋势底线:SMA(AMOUNT/VOL/100,21,1)*0.85,COLORGREEN,LINETHICK2;
持股成本:DMA(AMOUNT/V/100,V/CAPITAL),COLORRED;
DRAWICON(CROSS(C,持股成本),L-0.20,4);
DRAWTEXT(CROSS(C,持股成本),LOW*0.980,'追');
DRAWICON(CROSS(C,趋势底线) AND O>REF(C,1),L-0.20,1);
DRAWTEXT(CROSS(C,趋势底线) AND O>REF(C,1),LOW*0.980,'买');
DRAWICON(CROSS(C,趋势底线) AND O<REF(C,1),L-0.20,3);
DRAWTEXT(CROSS(C,趋势底线) AND O<REF(C,1),LOW*0.980,'底');