LZM1:=EMA(C,5);
LZM2:=EMA(C,10);
LZM3:=EMA(C,20);
LZM4:=EMA(C,60);
LZM5:=EMA(C,120);
LZM6:=EMA(C,250);
LZMM:=LZM1>LZM2 AND LZM2>LZM3 AND LZM3>LZM4 AND LZM4>LZM5
AND LZM3>LZM6 AND LZM6>REF(LZM6,1) AND LZM5>REF(LZM5,1) AND
LZM4>REF(LZM4,1) AND LZM3>REF(LZM3,1) AND LZM2>REF(LZM2,1);
LZFT1:=EMA((C/REF(C,1)-1)/(V/CAPITAL),3);
LZFT2:=EMA(((H-L)/REF(C,1))/(V/CAPITAL),3);
楼猪飞天:LZMM AND CROSS(LZFT1,LZFT2) AND (C-LZM3)/LZM3<0.3 AND (C-LZM6)/LZM6<0.5;
九毛八公式解读
LZM1赋值:收盘价的5日指数移动平均 LZM2赋值:收盘价的10日指数移动平均 LZM3赋值:收盘价的20日指数移动平均 LZM4赋值:收盘价的60日指数移动平均 LZM5赋值:收盘价的120日指数移动平均 LZM6赋值:收盘价的250日指数移动平均 LZMM赋值:LZM1>LZM2 AND LZM2>LZM3 AND LZM3>LZM4 AND LZM4>LZM5 AND LZM3>LZM6 AND LZM6>1日前的LZM6 AND LZM5>1日前的LZM5 AND LZM4>1日前的LZM4 AND LZM3>1日前的LZM3 AND LZM2>1日前的LZM2 LZFT1赋值:(收盘价/1日前的收盘价-1)/(成交量(手)/当前流通股本(手))的3日指数移动平均 LZFT2赋值:((最高价-最低价)/1日前的收盘价)/(成交量(手)/当前流通股本(手))的3日指数移动平均 输出楼猪飞天:LZMM AND LZFT1上穿LZFT2 AND (收盘价-LZM3)/LZM3<0.3 AND (收盘价-LZM6)/LZM6<0.5