CG:MA(C,10);
FL:HHV(CG,5);
FS:CG-(FL-CG);
DRAWTEXT(FL=FS AND REF(FL,1)>REF(FS,1) ,FS,'买入'),COLORYELLOW ;
DRAWTEXT(FL>FS AND REF(FL,1)=REF(FS,1),FL,'卖出'),COLORYELLOW ;
CG:MA(C,10);
FL:HHV(CG,5);
FS:CG-(FL-CG);
DRAWTEXT(FL=FS AND REF(FL,1)>REF(FS,1) ,FS,'买入'),COLORYELLOW ;
DRAWTEXT(FL>FS AND REF(FL,1)=REF(FS,1),FL,'卖出'),COLORYELLOW ;