fxDreema

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

    EA works fine on admiral markets mt4 but doesn't work on fxpro mt4.

    Bug Reports
    4
    10
    1714
    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.
    • M
      monocska3310 last edited by

      Hi guys,
      I have an EA which works perfectly on the Admiral Market's mt4 , but when I tried it with antoher broker's mt4(fxpro), it does not work perfectly.
      This is the project:
      https://fxdreema.com/shared/ANX2m24he

      The EA should open a buy stop and a sell stop based on the last hourly candle's high and low.
      The following problem occurs when testing with fxpro's mt4 platform:
      It only opens one pending order instead of two, and i dont know why.

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

        @miro1360 @roar
        I have heard that you guys are true geniuses.
        Could you please have a look at my project?
        Thank you in advance.

        roar 1 Reply Last reply Reply Quote 0
        • roar
          roar @monocska3310 last edited by

          @monocska3310 So it opens only sell order, no buy, or vice versa?

          I don't see why it would do that. I tested it and it opens two orders:
          0_1567602890702_b69e1b61-9e3b-4fc0-99b0-17340114ddf2-image.png

          Are you intentionally filtering this to work on only the 01:00 - 02:00 hourly candle?

          Need small help? Tag me in your post
          Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

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

            Yeah, it should work between 01:00 and 02:00.
            I will test it again today, I dont know whats the problem. with my mt4.
            Thanks

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

              This is one of the things that amazes me about fxDreema. This is not the first case in which one MT4 platform works different from another one. I guess the reason must be the broker, not the MT4 platform. I tested it on my MT4 and it (also Admiral) and yes, it works fine.

              How things like this can happen?

              (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
              • M
                monocska3310 last edited by

                So, I tested it agan and checked the logfile.
                Everytime it says Order send error:130
                Maybe it is because my pending order opening price ic too close to the current price?0_1567714266569_Névtelen.png

                roar 1 Reply Last reply Reply Quote 0
                • roar
                  roar @monocska3310 last edited by

                  @monocska3310 Well, the errors refer to invalid stops. Try a version that uses larger SL and TP, or none at all

                  Need small help? Tag me in your post
                  Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

                  1 Reply Last reply Reply Quote 0
                  • T
                    trader.philipps last edited by

                    @monocska3310 If the reasin is as @roar said that the stops are too tight to the market price (you can check stop level in symbol specifications), you might check that value before setting the SL / TP.

                    You can create a new double variable and on the onInit tab you can calculate it by using a Custom MQL code block.

                    That might look like this:

                    0_1567729489942_20a8d07a-b20c-4210-8979-b65b61e57291-image.png

                    And here the code where vd_min_dtoplevel is the variable I specifed before in fxdreema:

                    //
                    vd_min_stoplevel = MarketInfo(Symbol(),MODE_STOPLEVEL);

                    // Print the Minimal Stop level on init of the EA
                    string msl = "MinStopLevel = "+DoubleToString(vd_min_stoplevel,8);
                    Print(msl);
                    //

                    I like to share my knowledge, but expect the others to contribute as well.

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

                      SOLVED

                      Thank you guys. The problem is with the broker's stop level. On FxPro it is 20, on Teletrade it is 40, and on Admiral it is 0.
                      The price was too close.

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

                        I was almost sure the problem was the broker.

                        (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

                        A
                        C
                        M
                        P
                        R
                        S
                        E
                        M

                        19
                        Online

                        146.7k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors