fxDreema

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

    Problems with the speed of my bot

    Questions & Answers
    2
    8
    1136
    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
      tradewith_rubin last edited by tradewith_rubin

      Hello all,

      I have made an equity protector but it is to slow.
      When i put a max amount of money as maximum los it goes a bit further before it closes. This results in a bigger total loss.

      [IMG]https://www.mupload.nl/img/kp9fwo2.png[/IMG]

      I just made an variable change by each tick? Is that the reason why it is slow?

      Thanks a lot.

      Rubin

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

        Many possible reasons:

        • you use "once per bar"
        • you backtest using too rough history data (open prices only)
        • slippage
        • commission charges when closing the position

        It would help if you shared your project link

        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
          tradewith_rubin last edited by

          Hello roar,

          I forgot to paste the link with it.

          https://fxdreema.com/shared/mLCDeuw7d

          Thanks in advance.

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

            @tradewith_rubin turning blocks on and off is a bit difficult to control. I think your delay happens because of these toggles + additional ticks in your "Every n ticks" block.
            Try this approach:
            https://fxdreema.com/shared/sOJ5SY9G

            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
              tradewith_rubin last edited by tradewith_rubin

              @roar Thankyou.

              I made a few changes in the code, but now it doesn't work at all.

              http://fxdreema.com/shared/gMWU9xItb

              Would you make some changes?

              Thanks a lot.

              Rubin

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

                @tradewith_rubin the variable is in the wrong field here:
                0_1595273875559_2c5f49f3-4e6b-487c-919f-5da9c8d92077-image.png

                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
                  tradewith_rubin last edited by

                  @roar Other functions also don't work? What am i doing wrong?

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

                    @tradewith_rubin I dont see any error in the other blocks

                    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
                    • 1 / 1
                    • First post
                      Last post

                    Online Users

                    E
                    R
                    S
                    A
                    B
                    N
                    M
                    A
                    T
                    V
                    M

                    23
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors