手机端
当前位置:爱约股 > 公式技巧 > 涨停板后 后面2阴做个预警选股公式

涨停板后 后面2阴做个预警选股公式

请老师帮忙写一个涨停板后 涨停板k线包后面2阴做个预警选股公式

爱约股解答:

大智慧

 

all(between(h,ref(h,barslast(1.1*ref(c,1)-c<0.005 or (strfind(stkname,'s',1)>0 and 1.05*ref(c,1)-c<0.005))),ref(l,barslast(1.1*ref(c,1)-c<0.005 or (strfind(stkname,'s',1)>0 and 1.05*ref(c,1)-c<0.005)))) and between(l,ref(h,barslast(1.1*ref(c,1)-c<0.005 or (strfind(stkname,'s',1)>0 and 1.05*ref(c,1)-c<0.005))),ref(l,barslast(1.1*ref(c,1)-c<0.005 or (strfind(stkname,'s',1)>0 and 1.05*ref(c,1)-c<0.005)))) and c<o ,2 ) and ref(1.1*ref(c,1)-c<0.005 or (strfind(stkname,'s',1)>0 and 1.05*ref(c,1)-c<0.005),2);

 

 

通达信

 

every(between(h,ref(h,barslast(1.1*ref(c,1)-c<0.005 or ((namelike('st') or namelike('*st') or namelike('sst')) and 1.05*ref(c,1)-c<0.005))),ref(l,barslast(1.1*ref(c,1)-c<0.005 or ((namelike('st') or namelike('*st') or namelike('sst')) and 1.05*ref(c,1)-c<0.005)))) and between(l,ref(h,barslast(1.1*ref(c,1)-c<0.005 or ((namelike('st') or namelike('*st') or namelike('sst')) and 1.05*ref(c,1)-c<0.005))),ref(l,barslast(1.1*ref(c,1)-c<0.005 or ((namelike('st') or namelike('*st') or namelike('sst')) and 1.05*ref(c,1)-c<0.005)))) ,2) and ref(1.1*ref(c,1)-c<0.005 or ((namelike('st') or namelike('*st') or namelike('sst')) and 1.05*ref(c,1)-c<0.005),2);

TAG:
分享至:

相关推荐