买点:MA(C,24);
利润:(C-买点)*N,NODRAW;
DRAWBAND(利润,180,买点,90);
红马线:MA(C,30)+2*STDP(C,30);
M1:MA(MA(利润,5),4);
M2:MA(MA(利润,5),12);
STICKLINE(利润>=REF(利润,1),利润,REF(利润,1),3,1),COLORRED;
STICKLINE(利润<REF(利润,1),利润,利润,3,1),COLORGREEN;
DRAWTEXT(CROSS(利润,买点),买点*0.98,'买点'),COLORYELLOW;
{n=0 50000 5000}