fxDreema

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

    Moving Average Exit Trade

    Questions & Answers
    3
    6
    1565
    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.
    • S
      Setsuna last edited by

      Hello everyone

      Im new to this community and I was wondering how to make a moving average crossover exit.

      For entering I use 50 EMA and 200 EMA. When 50 EMA is crossing 200EMA upwards it a buy. When 50 EMA is crossing 200EMA downward its a sell.

      To exiting the trade its reverse. When 50 EMA is crossing 200 EMA downward. The buy trade is going to exit and take profit. In the meanwhile its going to open a sell trade.

      When 50 EMA is crossing 200 EMA upward. The sell trade is going to exit and take profit. In the meanwhile its going to open a sell trade.

      Could someone please help me how to program this exit strategy and at the same time buy/sell.

      A 1 Reply Last reply Reply Quote 0
      • A
        ambrogio @Setsuna last edited by

        @setsuna here you go https://fxdreema.com/examples

        S 1 Reply Last reply Reply Quote 0
        • S
          Setsuna @ambrogio last edited by

          @ambrogio Thank you so much

          1 Reply Last reply Reply Quote 0
          • F
            FenixTrading last edited by

            I downloaded the project file from examples but when i backtest i get only one trade. It does not respect che rule.

            A 1 Reply Last reply Reply Quote 0
            • A
              ambrogio @FenixTrading last edited by

              @fenixtrading wich of the project have you downloaded?

              1 Reply Last reply Reply Quote 0
              • F
                FenixTrading last edited by

                @ambrogio Buy-Sell-Buy-Sell. I solved opening a new project and copy and paste the example.

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

                Online Users

                S
                E
                S
                K
                S
                G

                21
                Online

                146.6k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors