发布网友 发布时间:2022-04-25 15:52
共1个回答
热心网友 时间:2023-08-08 22:24
HH1:=HHV(H,50);LL1:=LLV(L,50);CON1:=LL1>=0.6*HH1;CON2:=BARSLAST(H=HH1)>BARSLAST(L=LL1);HH2:=HHV(H,BARSLAST(L=LL1)-1);LL2:=LLV(L,BARSLAST(H=HH2)-1);CON3:=REF(LL2,1)>=0.8*REF(HH2,1);CON4:=REF(LL2,1)>=0.5*REF((HH2+LL1),1);CON5:=BARSLAST(L=LL2)>=2;VVOLC:=REF(SUM(VOL,3),REF(BARSLAST(H=HH2),1));VVOLD:=REF(SUM(VOL,3),REF(BARSLAST(L=LL2),1));CON6:=VVOLC>=2*VVOLD;CON7:=CROSS(CLOSE,REF(HH2,1)) AND VOL>=2*REF(VOL,1);FLAG:CON1 AND CON2 AND CON3 AND CON4 AND CON5 AND CON6 AND CON7;