fxDreema

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

    How to avoid losses at each tick?

    Questions & Answers
    4
    24
    7081
    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
      samdeka last edited by

      __Your chart history data is probably bad.. You can re-download them this way (in mt5 at least):

      • close metatrader
      • locate the metatrader history folder, here's an example path: C:\Users\ExampleUser\AppData\Roaming\MetaQuotes\Terminal\D0E09F77C8C37AD8BF0E51FF834584\bases\Alpari-MT5\history
      • delete everything inside the "history" folder
      • start strategy tester, it should download new data automatically[/quote:3n6jnga8]
        Thanx. I will check and reply.
      1 Reply Last reply Reply Quote 0
      • S
        samdeka last edited by

        __I think it works for me. I disabled block 2 to check sells and this is the result: http://prntscr.com/40d3cx[/quote:5qfhcrvq]
        Thanx. I will check and reply.

        1 Reply Last reply Reply Quote 0
        • S
          samdeka last edited by

          Thanks everyone for your previous help.
          I tested your advices, and I think that I have still the same problems.
          So I made a new disposition of the EA blocks. Please find attached: https://fxdreema.com/shared/02cs2xu1d
          Strategy test made on eurusd for the month of june 2014.
          The problems that I want to solve is that:

          1.Normally according to the graphic we should have successive buy and sell trades but not
          in the range that show the strategy tester. It seems that, the test takes in account, first the buy
          trades, and secondly the sell trades.
          Whereas it should take them in the mix range, according to the occuring of each trade whaterver the type.

          1. I noticed that a lot of trades are missing in the test, whereas they appear on the graphic.
            So maybe its about "close profitable trades" block which has not appropriate parameters (I will check).

          2. Why, the strategy tester makes the test only for one month (it does not take in account more than one month),
            and at the end of the test, it jump to the last day of the strategy test,
            and make a big loss displaying "CLOSE AT STOP"?

          3. How can I avoid this "CLOSE AT STOP" loss, at the end of the test?

          Thank you again.

          ......
          buy trades follewed by sell trades not accordingly to the graphic.jpg
          how to avoid close at stop loss.jpg
          close at stop in graphic.jpg

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

            1. This depends on the current conditions, the EA is not doing tricks for fun 🙂 I tested it, it was ok for me.
            2. Mmmm check again
            3. MetaTrader 4 is known for it's bad history data. Sometimes there are months and even years of missing data. You can go to delete some files (in "history" and "history/downloads") and download data again. It's not that this will fix all the problems, you will get holes of data in other places 🙂 This is well known problem for MetaTrader 4.
              Or try Ticks Data Suite or Tickstory (use Google here).
            4. You can't. These are trades that are closed when the finish date is reached. These are currently running trades at that time, they hold their profits and losses.
            1 Reply Last reply Reply Quote 0
            • S
              samdeka last edited by

              __1) This depends on the current conditions, the EA is not doing tricks for fun 🙂 I tested it, it was ok for me.
              2) Mmmm check again
              3) MetaTrader 4 is known for it's bad history data. Sometimes there are months and even years of missing data. You can go to delete some files (in "history" and "history/downloads") and download data again. It's not that this will fix all the problems, you will get holes of data in other places 🙂 This is well known problem for MetaTrader 4.
              Or try Ticks Data Suite or Tickstory (use Google here).
              4) You can't. These are trades that are closed when the finish date is reached. These are currently running trades at that time, they hold their profits and losses.[/quote:3e4417gr]

              Thanx you.
              I will try my best again 😏 to improve the EA, and make it as closer as possible like my will.
              Many thanx for your help. 😉

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

              Online Users

              E
              S
              D
              C

              22
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors