fxDreema

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

    how to close trade using my own indicator

    Questions & Answers
    4
    6
    2045
    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.
    • B
      Bsalamone @fxDreema last edited by

      @fxdreema Hello!! I am having so much trouble with making my EA I have the same problem, I am doing a very simple moving average cross EA for mt4, I want to buy when it crosses over and close the buy when it crosses again and then sell ect, when I run this I get a critical error zero divide, please please please help me find a way to get this working I have been trying to code this in mql4 from scratch then gave up and found fxdreema and I love this idea but similar problems, I would be so thankful if you could help me thank you so much!!!!!

      Brian

      Brian Salamone

      1 Reply Last reply Reply Quote -1
      • K
        kkumar116 last edited by

        Sir
        I first thank U for Ur kind service.I uploaded one indicator and made one EA using its levels
        to trade.But I could not do how to close trade using that indicator instead of stop loss.
        When indicator changes its direction I wish to close that order using that indicator and start opposite
        trade according to changed indicator direction.
        Sir I request you to help me in this regard for which I shall be ever grateful to U.
        I give here indicator download area
        https://www.mql5.com/en/code/8032
        indicator also I gave condition as follows:
        indicator value>10 SELL
        indicator value<10 BUY
        time frame:H1

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

          So the real question is "How to detect when this indicator changes it's direction". This one looks to me like PSAR and here is some example https://fxdreema.com/demo/mt4-psar-reversals

          B 1 Reply Last reply Reply Quote 0
          • K
            kkumar116 last edited by

            Hello
            I need actual change as follows
            When red line is above the candle, SELL

            When red line is below the candle, BUY
            if one trade buy is there and indicator line changed to above the H1 candle then this BUY must be
            stopped and SELL must be opened-how to write this
            please explain step wise.thank U

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

              Ok, in another words: http://prntscr.com/6io1tr

              1 Reply Last reply Reply Quote 0
              • l'andorrà
                l'andorrà last edited by

                Could you please create a new thread for your request? Retaking this old one is not useful. 🙂

                (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

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

                Online Users

                M
                W
                E
                G
                K
                E
                A
                S
                O
                S
                A
                N
                J

                21
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors