“大阳创新高”选股公式编写

2025-05-09 03:27:09
推荐回答(1个)
回答1:

value_a:=(close-ref(close,1))/ref(close,1)*100;

value_b:=ref(open,barslast(value_a>=8));

value_c:=ref(high,barslast(value_a>=8));

value_d:=ref(value_a>=8,1) and between(close,value_b,value_c);

value_e:=barslast(value_d) and cross(close,value_c);

value_f:=if((barslast(value_d)-barslast(value_e))>0,barslast(value_d)-barslast(value_e),drawnull);

value_g:=count(close>=value_b,value_f)=value_f;

value:value_e and value_g;