fxDreema

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

    Deleting Stop Loss

    Questions & Answers
    3
    14
    360
    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.
    • T
      tec.nacks last edited by

      How can I delete the Stop Loss of an Active ORder?

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

        Well you could just not put a Stop Loss in the first place...

        Why would you want to delete the Stop Loss if you already have one....?

        T 1 Reply Last reply Reply Quote 0
        • T
          tec.nacks @Morpheus_0 last edited by

          @Morpheus_0 I need to reference Auto Loss sizing mechanic using Risk X amount of Money which would not work without a SL which I dont need for my logic

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

            Hmm... Well there may be a way to do it but it's beyond me I'm afraid.

            There is a Modify Stops Of Trades block but it doesn't have a Delete option.......

            You could use it to move the SL far, far away.....But do you need to actually delete it...?

            Regards*

            T 1 Reply Last reply Reply Quote 0
            • T
              tec.nacks @Morpheus_0 last edited by

              @Morpheus_0 yeah, think I'll have to move SL far away once order is being triggered.

              if SL is far initially, it calculates wrongly based on distance relative to what I want

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

                If that works then yes.....Not sure you can program the EA to delete it....I could be wrong....

                Sry, best I could come up with :-))

                T 1 Reply Last reply Reply Quote 0
                • T
                  tec.nacks @Morpheus_0 last edited by

                  @Morpheus_0 should be possible just limited in programming.

                  would appreciate if a code structure can be worked on

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

                    You can delete the SL from existing trade the same way you delete it from a new trade: set the SL level at 0.

                    Need small help? Tag me in your post
                    Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      tec.nacks @roar last edited by

                      @roar that works... thanks

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        tec.nacks @tec.nacks last edited by

                        @tec-nacks this is crazy o

                        IT worked yesterday and checking now, the value its gave yesterday is different from today's

                        what wrong?

                        @roar @Morpheus_0

                        https://fxdreema.com/shared/GCHQFEjid

                        Normally the lot value for 1% of 10000 bal is 0.02 now its just different

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

                          How different is it...?

                          Could be due to spread or price movement....

                          Also with that set up it will open a trade every candle...Is that what you want...?

                          And yep, building EAs will put you in a straight jacket no doubt :-))

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            tec.nacks @Morpheus_0 last edited by tec.nacks

                            @Morpheus_0 that's just a pre-build structure to test out a concept

                            honestly it just shitting

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

                              Ok. Well that setting is not risking a %....It is risking $100 and adjusts the SL accordingly*

                              T 1 Reply Last reply Reply Quote 0
                              • T
                                tec.nacks @Morpheus_0 last edited by

                                @Morpheus_0 yes but the value of money is always a X-percent of the balance..

                                When I did it yesterday, it worked by opening at 0.02 now its just ....

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

                                Online Users

                                A
                                L
                                S

                                11
                                Online

                                146.7k
                                Users

                                22.4k
                                Topics

                                122.6k
                                Posts

                                Powered by NodeBB Forums | Contributors