CD1:=(MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.57;
CD2:=LOW/MIN(CLOSE,OPEN)<=0.97;
EMA9:=EMA(CLOSE,9);
XSLDN:=EMA(EMA9*0.86,5);
CD3:=C<=XSLDN;
CD4:=REF(C,1)/REF(XSLDN,1)<0.98;
锤头:C/REF(C,1)>0.99 AND CD1 AND CD2 AND CD3 AND CD4;
看股吧 公式 www.kanguba .com
[源码翻译]通达信公式动态翻译显示
CD1赋值:(收盘价和开盘价的较小值-最低价)/(最高价-最低价)>0.57
CD2赋值:最低价/收盘价和开盘价的较小值<=0.97
EMA9赋值:收盘价的9日指数移动平均
XSLDN赋值:EMA9*0.86的5日指数移动平均
CD3赋值:收盘价<=XSLDN
CD4赋值:1日前的收盘价/1日前的XSLDN<0.98
输出锤头:收盘价/1日前的收盘价>0.99 AND CD1 AND CD2 AND CD3 AND CD4