fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Possibility of filter trades by bars?

    Questions & Answers
    2
    2
    641
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      PGCOIMBRA last edited by

      Hi,

      We can filter trades by age but is it possible to filter trades by bars? That is, if trade was opened this bar only close next bar if criteria is met?

      Thanks,

      PG

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        Trade has "Open Time" parameter, candles also have Time parameter, which is some rounded number. But if you know the current timeframe and how long is one candle, you can ask for the trade age. If the period is 5 minutes, every trade that is not older than 5 minutes belongs to the current candle.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        Online Users

        A
        E
        J
        H
        A
        E
        M
        E
        A
        E
        T
        X
        A

        21
        Online

        146.8k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors