HWEEK:=REF(H#WEEK,BARSLAST(WEEKOFYEAR!=REF(WEEKOFYEAR,1))+1);
选股:H>HWEEK*0.99{如果不是你想表达的意思就改去掉*0.99} AND
H<=HWEEK*1.1 AND C/REF(C,1)<1.03 AND C>O AND (C-L)/REF(C,1)*100<2;
看股吧公 式 w ww.kanguba.com
[源码翻译]通达信公式动态翻译显示
HWEEK赋值:上次年内星期不等于1日前的年内星期距今天数+1日前的最高价[取周线数据]
输出选股:最高价>HWEEK*0.99 ANDH<=HWEEK*1.1 AND 收盘价/1日前的收盘价<1.03 AND 收阳线AND (收盘价-最低价)/1日前的收盘价*100<2