fxDreema

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

    Take profit at the end of canlde with minimum pips distance

    Questions & Answers
    2
    2
    537
    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.
    • A
      Arju last edited by

      I need to set take profit for example for buy at the end of bull candle but no less than 10 pips. If this value is not reached and next candle is opened - wait for close of next candle. As long as distance is less than 10 pips at the open of next candle, wait for open of candle higher than open price of buy order.

      Anyone can help me with that?

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

        The problem is that you don't exactly know when is the end of each candle. The end is where the last tick is. If you can try something with "Hours filter", "Minutes filter", "Seconds filter" or similar blocks, if you want to do something somewhere at the end of the candle. But again, you can never be sure that the final tick will come at the last second. And this is more true for the Tester where the ticks are generated and their time is stupid.

        If you want to do something at the last second every time, then go to "on Timer" (set it up in the project's settings). But this can't be backtested correctly, because again - all ticks are generated with some fake times.

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

        Online Users

        T
        J
        A

        28
        Online

        146.9k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors