fxDreema

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

    Cannot Turn Off Block

    Questions & Answers
    5
    30
    6984
    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
      engrled last edited by

      Hello,

      I have a problem in where if profit reaches => 12 USD which is Block 6, should turn off Block 5.. But if profit falls below 12 USD, it again initiates Block 5 in where it should have been off already. Kindly see image.0_1502893452892_fxd1.jpg
      Am I missing something?

      Thanks in advance for your respone!

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

        I'm also having the same problem.

        I do not know if it's the Turn OFF blocks or the check Type (last winner) or Check profit (last closed) blocks.

        1 Reply Last reply Reply Quote 0
        • tcanuto
          tcanuto @engrled last edited by

          @engrled said in Cannot Turn Off Block:

          Hello,

          I have a problem in where if profit reaches => 12 USD which is Block 6, should turn off Block 5.. But if profit falls below 12 USD, it again initiates Block 5 in where it should have been off already. Kindly see image.0_1502893452892_fxd1.jpg
          Am I missing something?

          Thanks in advance for your respone!

          Try these blocks that worked for me:
          0_1502923003027_blocks.png

          E 1 Reply Last reply Reply Quote 0
          • E
            engrled @tcanuto last edited by

            @tcanuto Thanks for the suggestion but my problem is mainly on existing trades without any closed trades. I still cannot figure out how to disable Block # 5 in case the profit reaches 12 USD or more. If the profit reaches 12 USD then initiates the trailing stop and once the profit falls below 12 USD, the SL goes back to the Open price in which I don't want. Upon hitting the 12 USD profit, the SL should remain as to the last trailing stop recorded.

            FXDreema Admins we need your help with this.

            Thanks advance.

            tcanuto 1 Reply Last reply Reply Quote 0
            • A
              Aizen last edited by

              Its hard to tell from picture, but if you press left upper corner button "Projects" and create a shared copy it would be way faster to get help. You dont need AND block, you should switch block 2 instead block 5, at some point you have to turn it on back.

              E 1 Reply Last reply Reply Quote 0
              • E
                engrled @Aizen last edited by

                @Aizen Thanks I will try your suggestion!

                1 Reply Last reply Reply Quote 0
                • E
                  engrled last edited by

                  Here is the Shared copy FYI: https://fxdreema.com/shared/8oWuwd71e

                  1 Reply Last reply Reply Quote 0
                  • tcanuto
                    tcanuto @engrled last edited by

                    @engrled Try the Check profit (unrealized) block

                    E 1 Reply Last reply Reply Quote 0
                    • timmyhanke
                      timmyhanke last edited by timmyhanke

                      The problem with everything is when you want 2 conditions to happend in the exact same time , but i sat down a couple of months ago just tested until i found the solution, i worked with crossover on everytick , like that i had 2 lines , one above and one below , and i wanted it to trade if it went above the upper and then went down below it again . then you are looking for >and < at the same second . and thats why most use x </> but that are comparing the last bar to do that .

                      So i used something that you can use , i used flags , but if you use:

                      https://fxdreema.com/shared/bhucayUZc

                      it should use the trick

                      so you are using sections that only can pass once , and when the opposite of that is true that will close , and by that create a loop

                      E 1 Reply Last reply Reply Quote 0
                      • E
                        engrled @tcanuto last edited by

                        @tcanuto Thanks but still have the problem even though I have the "check profit (unrealized)" which is block # 2 as you have suggested be switched off instead.

                        timmyhanke 1 Reply Last reply Reply Quote 0
                        • timmyhanke
                          timmyhanke @engrled last edited by

                          @engrled

                          if i understood your what you wanted this should work

                          https://fxdreema.com/shared/pmLS6NLFd

                          1 Reply Last reply Reply Quote 0
                          • E
                            engrled @timmyhanke last edited by

                            @timmyhanke yes a loop could be done but I was thinking how about a variable in where if the profit reaches 12 or more then the variable will have a value of "1" then another check will happen after block 1 which will verify if the variable has a numeric value 0 or 1. If the value will be "0" then it will proceed to block # 2 but if the value is "1", it will disregard block #2 and proceed its way to block# 6 as in the previous image I posted. But how can I create a condition to compare if the value is "0" or "1"? Which block can I use?

                            E timmyhanke 2 Replies Last reply Reply Quote 0
                            • E
                              engrled @engrled last edited by

                              @engrled If I were to implement the diagram https://fxdreema.com/shared/2W60eSN4d , will block # 9 work?

                              timmyhanke 1 Reply Last reply Reply Quote 0
                              • timmyhanke
                                timmyhanke @engrled last edited by

                                @engrled

                                Variables is something that im not good with , and you should ask roar .

                                And by what i wrote i just did by adding turn on and off blocks .

                                What i did was when the profit is > 12 it turn on another section in my case block 5 which is otherwise turned off.

                                So if the profit is > 12 it activates the trailing and block 5 , and if it goes < 12 after beeing at >12 a new SL is created and then closes that section after the SL is created .

                                And can only be activated again if it goes above 12 again and then goes below that , isnt that the principle that you wanted ?

                                E 1 Reply Last reply Reply Quote 0
                                • timmyhanke
                                  timmyhanke @engrled last edited by timmyhanke

                                  @engrled

                                  the section were you use profit is above 5 and next block below 12 will never ever pass because it has to pass in the same tick which , because a condition will never ever be <and > at the same tick especially if you use 2 different values like 5 and 12 .

                                  thats why i used sections , if one section is true it activates that until the opposite is true , and when section 2 is true it will close itself out .

                                  1 Reply Last reply Reply Quote 0
                                  • E
                                    engrled @timmyhanke last edited by

                                    @timmyhanke it is actually my problem that I don't want to happen. What i require is once the profit reaches 12 or more then it will activate the trailing stop. Even if the profit goes less than 12 USD again, the last stop set by the trailing stop should still be the current SL. Is there any workaround for this?

                                    timmyhanke 2 Replies Last reply Reply Quote 0
                                    • timmyhanke
                                      timmyhanke @engrled last edited by

                                      @engrled

                                      the way i made it yesterday that i sent you is exactly that

                                      1 Reply Last reply Reply Quote 0
                                      • timmyhanke
                                        timmyhanke @engrled last edited by

                                        @engrled

                                        When the profit is above 12 the trailing will be activated and never closed out and turn on a new section , if the profit goes below 12 it will create a SL and then close out that section after the SL is created. and it will loop like that.

                                        So if the profit dosnt go back to below 12 it will not create a SL and only have the trailing activated

                                        E 1 Reply Last reply Reply Quote 0
                                        • E
                                          engrled @timmyhanke last edited by engrled

                                          @timmyhanke I have actually did the same concept although a little different in the Check Profit (Unrealized) block as shown in the image below. Is my setup wrong here? Should i set the 12 USD limit in the "Filter trades with certain profit" or the "Profit settings for the filtered trades"? Can you check on this shared project please? --> https://fxdreema.com/shared/Xeb8RHlFd

                                          I actually tried the one you suggested but still the SL changes to Open price once the profit goes below 12 USD.![alt text](![image url](0_1503165620071_12usd.jpg image url))

                                          timmyhanke 2 Replies Last reply Reply Quote 0
                                          • timmyhanke
                                            timmyhanke @engrled last edited by timmyhanke

                                            @engrled

                                            You wrote you tried my suggestion and that the sl changes to open price when profit goes below12 usd , isnt that the point of all of this ?

                                            you even have it on what you made , <12 usd - create new sl at open price

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

                                            Online Users

                                            H
                                            E
                                            A
                                            G
                                            Q
                                            C

                                            17
                                            Online

                                            146.7k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors