fxDreema

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

    Need Help.. MVA cross over

    Questions & Answers
    2
    6
    528
    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
      t1brewster last edited by

      Im trying to create an ea for a cross over...

      Rules are:
      **
      To Sell**
      When price is below 40 EMA and 9 SMMA is below 18 SMMA Sell at open of next candle-

      To Buy
      When price is above 40 EMA and 9 SMMA is above 18 SMMA buy at open of next candle

      I am back testing with the indicator I created but the buy/sells dont align and Im unable to set the EA to buy at open of next candle.

      Thanks for the help!

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

        Don't look for the next candle. While you are in the current candle, check MAs in the previous candle. There is parameter "Candle ID" to select on which candle to work.

        1 Reply Last reply Reply Quote 0
        • T
          t1brewster last edited by

          So candle ID 0 means what? What if I put 1 there?

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

            https://fxdreema.com/help/-/you%20shoul ... indicators
            https://fxdreema.com/help/pics/indicators_buffers_ma.png

            1 Reply Last reply Reply Quote 0
            • T
              t1brewster last edited by

              Ok what is the deal with the if trade and no trade? any where I can read up on this? My EA is not working its missing buy/sells. Also can I submit what I have for review?

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

                Take a look at the examples here: https://fxdreema.com/examples/

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

                Online Users

                M
                C
                L
                P
                A
                G
                J

                14
                Online

                146.9k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors