fxDreema

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

    MACD exit

    Questions & Answers
    4
    5
    1708
    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.
    • D
      dahbigdog last edited by

      I am having a problem with my EA.1) If the MACD signal is above the main line.2) the 9EMA crosses under the 26EMA. Enter sell trade. Exit trade when the MACD signal line crosses under the main line. Every time I try to make an exit order, mt4 starts messing up on the back test. It will only draw a few bars and then throws a bunch of errors and stops working. If anyone can help, I would really appreciate it. Thank you for your time.

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

        The problem I see in your project is here:

        0_1547160654483_779bd158-2c8a-4901-a453-d7f9e8952867-image.png

        This MM option requires some SL.

        Without this problem, I see another:

        0_1547160769494_1755c550-94bd-4267-8fe3-a769ba221a44-image.png

        It looks that at this point the signals to sell and to close the sell are both true, and multiple sells are created and immediately deleted. But this is a logical problem.

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

          If having no stop-loss is a problem with fxDreema's money management (makes sense) then why let the user even try to set it without at least a warning?

          Ten more minutes for the programmer, once in his life, would save potentially hundreds or thousands of hours for users.

          fxDreema's purpose is to save users time. The many land-mines like this one work against that goal.

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

            Because this situation is too special, I never wrote a code to check whether SL is different than "No Stop-Loss" when this particular MM is selected. This situation is only present in these blocks. For that reason I wrote this text over there, and also I think that the person who decides to use this MM should understand that he needs some SL, because this is the risk. You risk 2% of the money you have, meaning that is the trade is closed by SL, you will lose 2% of the balance. With no stop-loss, what is the risk... it is 100%.

            But you are right that this is confusing to people, because few times in the past people had the same problem. But again, I think if someone uses this MM, he should understand that SL is a must.

            Or... what did you expected from this MM to do? Because you probably intentionally selected it and then set SL to "No Stop-Loss".

            1 Reply Last reply Reply Quote 0
            • M
              make_123 last edited by

              no stop loss in macd still try it

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

              Online Users

              H
              R
              A

              14
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors