fxDreema

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

    How to use Once a day block properly?

    Questions & Answers
    4
    4
    1157
    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.
    • L
      ling last edited by

      Hi,

      I have the following block:
      0_1518686896466_9378fad5-015e-4905-8cd2-7346c73f7ff4-image.png

      I only want either buy or sell depending which condition is met first to happen once a day. I ran a backtest and noticed that the buy would happen and closed and then on the same day if the condition satisfied sell, a short trade would be opened.

      Please help.

      1 Reply Last reply Reply Quote 0
      • S
        saikat4125 last edited by

        set once a day at begin then no trade

        D 1 Reply Last reply Reply Quote 0
        • D
          dany.deluxe @saikat4125 last edited by dany.deluxe

          @saikat4125 said in How to use Once a day block properly?:

          set once a day at begin then no trade

          That's not the right solution.

          The following works in such cases:
          https://fxdreema.com/shared/dtLe9Zlae

          TipsyWisdom 1 Reply Last reply Reply Quote 0
          • TipsyWisdom
            TipsyWisdom @dany.deluxe last edited by

            @dany-deluxe eh. thats debatable.

            I personally avoid that block entirely and use "once per bar" and set it to the daily time frame within the block.

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

            Online Users

            P
            R
            S
            R
            E
            M
            P
            C
            J

            20
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors