fxDreema

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

    close path bar for same order ?

    Questions & Answers
    2
    5
    713
    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.
    • khalids222
      khalids222 last edited by

      0_1579463677254_close path.jpg
      Here there are several buys and several sells on the same path, I tried to close the path after the first buy or sale. but It did not work
      Is there a way before opening a new deal, checking the previous deal, if the new deal is the same as the old one, bypasses.
      And if the matter is different, it opens in reverse؟

      https://fxdreema.com/shared/Ua0mk1Cfc

      T 1 Reply Last reply Reply Quote 0
      • T
        trader.philipps @khalids222 last edited by

        @khalids222 what do you mean? A sell should be filled by a buy and then a sell again?
        In that case you might use the switch ON/OFF trick discussed in a different thread here recently.

        I like to share my knowledge, but expect the others to contribute as well.

        khalids222 1 Reply Last reply Reply Quote 0
        • khalids222
          khalids222 @trader.philipps last edited by

          @trader-philipps
          I tried to use it but it didn't work, i dont know why.
          As you can see in the same path there is more than a buys and sells order.
          There is an unknown error

          T 1 Reply Last reply Reply Quote 0
          • T
            trader.philipps @khalids222 last edited by trader.philipps

            @khalids222 Because you didn't understand how to use the switch ON blocks are meant to work.

            You switch Buy path after a Buy trade was opened only on again, if the Sell condition is met. Like this the next Buy will take place only after at least 1 time a Sell condition was in place.

            If you really want Buy / Sell / Buy sequence, than do the foloowig:

            1. Delete the control path.
            2. On Buy path place after Switch Off Buy Path a Switch On Sell Path block
            3. On Sell path place after Switch Off Sell Path a Switch On Buy Path block

            I introduced the Control path to have conditions for Each direction to be checked regardless of if an opposite order was triggered (remember the MACD example for continuation trades).

            I like to share my knowledge, but expect the others to contribute as well.

            khalids222 1 Reply Last reply Reply Quote 0
            • khalids222
              khalids222 @trader.philipps last edited by

              @trader-philipps
              yes, Thank you very much for your cooperation, it is working well now
              0_1579495277525_yes.jpg

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

              Online Users

              S
              G

              11
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors