fxDreema

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

    Multiple moving averages

    Questions & Answers
    2
    4
    1864
    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.
    • A
      andyduvall last edited by

      I'm in the early stages of putting together a multiple moving average EA.
      I've used an AND condition (for the 3 MA's) but it only places one trade at the beginning of the backtest and thats it for the duration.
      The SELL side is the exact opposite but it never comes into play unless I delete the BUY side.
      I've used a SL of 5 & TP of 20 but these don't even show on the chart.
      would someone like to have a look?

      http://fxdreema.com/shared/pFRnQPXJ

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

        Your "No position is running" is working for both, buys and sells. If there is a single trade, no matter what type, it will not pass.
        If you connect 3 blocks one after another, this is natural AND and you don't need AND blocks.

        1 Reply Last reply Reply Quote 0
        • A
          andyduvall last edited by

          Is this what you mean?

          http://fxdreema.com/shared/PLCLANmve

          It loses the profit when going sideways (same old story). Will have to experiment with exit points as well.

          Is there a way with fxDreema to work out the angle of the moving average because sometimes in a BUY position all the conditions can be TRUE and the moving averages can be pointing down?

          Thanks

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

            This is well known situation with Moving Average. This indicator does not guarantee profits, it just calculates something and draws a line.

            To know if MA is rising or falling, you must compare two values from it. Oldest value below the newest => rising. Otherwise => falling. You can also check "Indicators" category.

            Blocks 6 and 13. Let's say that there is an option inside called "Filter by type" 🙂

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

            Online Users

            A
            N
            M
            T
            I
            K
            M
            E
            T

            11
            Online

            146.8k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors