fxDreema

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

    Once per bar

    Questions & Answers
    2
    3
    1397
    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.
    • E
      Eric last edited by

      I have a buyside,

      no trade is running > condition > once per bar > buy

      and for exit

      for each trade > once per bar > modify stops

      and the same for the sellside and i can have a buy position and a sell open at the same time and wait for the exit (stop get hit)

      now the problem, if i am in a buy position and get stopped out i want to wait for the next bar to open before any new buy

      can i put something between once per bar > buy?

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

        It looks to me that you can "modify stops" right after the trade is created, or assign stops in "Buy now". At least I don't see some condition that can add some delay between the trade's creation and modification, but here I see only what you posted, so... 🙂

        If i understand, you want when you have a trade stopped by SL/TP to wait until the current candle closes. I don't know what to suggest, this sound like a block that does not exists, something like "Check if trade was closed in this bar", which is not a bad idea. Or a block like "Pause until the new bar comes". Am I on the right track?

        Otherwise you can check last trade's close time with For each Closed Trade (set Not more than n trades to 1) -> check age (set it to close time).

        1 Reply Last reply Reply Quote 1
        • E
          Eric last edited by

          "Check if trade was closed in this bar"

          Yes something like that, but this may work also i will try it 🙂

          "check last trade's close time with For each Closed Trade (set Not more than n trades to 1) -> check age (set it to close time)."

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

          Online Users

          M
          A
          M
          W
          E
          G
          K
          E
          A

          16
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors