求老师合并个预警(已解答:老马识途10)
[通达信] ZF1:= (REF(C,1)-C)/REF(C,1)*100>3; T:= BARSLAST(YX AND ZF1); ZF2:= C>O AND (C-REF(C,1))/REF(C,1)*100>3; XG: FILTER(ZF2 AND C>REF(O,T) AND T<5,5);§83§ T01:=CONST(LLVBARS(LOW,10)); T1HIGH:=CONST(REF(HIGH,T01)); MM1:=CONST(CURRBARSCOUNT); T02:=CONST(BARSLAST(CURRBARSCOUNT>MM1+T01 AND H>T1HIGH)); T2HIGH:=CONST(REF(HIGH,T02)); T03:=CONST(BARSLAST(CURRBARSCOUNT>MM1+T02 AND HIGH>T2HIGH)); T3HIGH:=CONST(REF(HIGH,T03)); CROSS(C,T3HIGH);同时出信号预警 谢谢老师 [ 本帖最后由 任刚 于 2017-11-13 22:09 编辑 ] |
楼主 |
2楼 |