编写要求:
1、上市100天内次新股; 2、首次突破开板后最高收盘价,中间时间不限; 3、量大于开板当日成交量。
www.gszx.com.cn网解答:
GT:=BARSLAST(CROSS(0.5,EVERY(C/REF(C,1)>1.095 AND L=H,BARSCOUNT(C))>0));
GG:=REF(H,GT);
XG:FILTER(BARSCOUNT(C)<100 AND CROSS(H,GG),100) AND V>REF(V,GT);
{这是以开板高点做基准};
GT:=BARSLAST(CROSS(0.5,EVERY(H>=REF(H,1),BARSCOUNT(C))>0))+1;
GG:=REF(H,GT);
XG:FILTER(BARSCOUNT(C)<100 AND CROSS(H,GG),100) AND V>REF(V,GT);
{这是以开板后继续走高的高点做基准};