A:=(HIGH+LOW+CLOSE)/3;
DIF:=EMA(CLOSE,8)-EMA(CLOSE,22);
DEA:=EMA(DIF,7);
买点:=CROSS(DIF>DEA,0.5);
烂尾楼买点:买点 AND (REF(BARSLAST(买点),1)>3 OR BARSSINCE(买点 )=0),COLORYELLOW;

 

通达信烂尾楼买点指标公式