fxDreema

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

    Modify Stop Loss and Trailing Stop Question

    Questions & Answers
    2
    6
    4915
    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.
    • R
      rafaelgrecco last edited by

      Hi! I have been using fxDreema for several years, but there is one thing I still don't understand correctly.

      I have an EA that open trades on all 54 pairs.

      I am trying to create a very simple EA here to handle SL. Here it is:

      https://fxdreema.com/shared/1XqaFTr8

      "on Trade" I try to put a SL (100 pips) on every opened trade
      "on Tick" I try to trail the SL of all trades on 100 pips distance.

      What I don't understand is:

      1. The SL is not fixed. It keeps appearing and disappearing on the chart and the journal keep saying (example): SL modified to 1.05453 then SL modified to 0.00000. It should be fixed, shouldn't it?

      2. Depending on the pair, the SL is vey different from each other. On some pairs the SL is -100 while on other pairs it can be -251, -367, -434, etc... seems kind of random.

      What's the best way to achieve what I am trying to do? I tried using "money" instead of "pips" but it doesn't seem to make a difference.

      Thanks!

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

        You probably need to put some settings here: http://prntscr.com/f408dx This is where you can say to the EA how much is 1 pips for each symbol or for each point (for all symbols with 0.0001 format for example)

        But are you sure you want to modify SL for all 54 pais every time you create 1 trade in 1 pair?

        1 Reply Last reply Reply Quote 0
        • R
          rafaelgrecco last edited by

          Well, I might have expressed myself incorrectly.

          I understand what you said about changing the settings for each pair.

          But I want to change SL ONCE for each trade. When a trade is opened, it doesn't have any kind of SL or exit strategy, it just opens a trade.

          I want this EA to put a SL on each trade only once, when they are opened. And then follow the profit using trailing stop. Am I doing it wrong?

          Thanks for your time.

          1 Reply Last reply Reply Quote 0
          • R
            rafaelgrecco last edited by

            I figured out why the SL was appearing and disappearing... it was a incompatibility with another EA running on the same account.

            I also ajusted the valor of the SL, using the project settings and calculating the valor of a PIP in each pair.

            Now I just need to wait and make sure the SLs are all correct and that the trailing stop is working as expected.

            Thanks.

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

              So you want to do something on the current trade only, in "on Trade". Try this: http://prntscr.com/f46i7g
              But the Trailing stop block is also there to modify SL, so I don't know if these blocks under "in Trade" are needed.
              For the Market settings I think it's better to set this for Manual trades only.

              1 Reply Last reply Reply Quote 0
              • R
                rafaelgrecco last edited by

                I guess you are right. If Trailing Stop is already being used, there is no point on setting a initial SL.

                I'll just turn it off and let Trailing Stop do it's job and see how it will behave.

                Thanks!

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

                Online Users

                A
                A
                E
                B
                M
                J
                B
                E
                R

                23
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors