ROCによる値幅のフィルタリング
値幅をソースにしたROCを使って大きな値幅をフィルタリングして除外する
f_filter_range_by_roc (_top, _bottom, _len) =>
r = math.max(_top, _bottom) - math.min(_top, _bottom)
roc = ta.roc(r, _len)
roc <= 0
Last updated
値幅をソースにしたROCを使って大きな値幅をフィルタリングして除外する
f_filter_range_by_roc (_top, _bottom, _len) =>
r = math.max(_top, _bottom) - math.min(_top, _bottom)
roc = ta.roc(r, _len)
roc <= 0
Last updated