fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Lacone
    L
    • Profile
    • Following 2
    • Followers 1
    • Topics 1
    • Posts 20
    • Best 2
    • Controversial 0
    • Groups 0

    Lacone

    @Lacone

    3
    Reputation
    13
    Profile views
    20
    Posts
    1
    Followers
    2
    Following
    Joined Last Online

    Lacone Unfollow Follow

    Best posts made by Lacone

    • RE: My first MT5 optimization on fxDreema...and the fisrt issue!

      Hello everyone.
      I would also like to contribute something to analyzing the error.
      Because I have had this problem for a while.
      I only use Metatrader5.
      My EA consists of 162 blocks and includes 3 timeframes and account queries.
      1.
      When optimizing with real ticks, the optimization stops and the following error is displayed. Optimization from 01/01/2020
      “tested with error "no memory for ticks generating (test events error)"
      During live trading, with fast ticks and only one EA, the CPU rose to 100%
      The problem was the long code and nesting when updating.
      With 1min OHLC, the optimization works.

      I revised the EA and use the “once per minutes” block before each tree with multiple blocks.
      Now the optimization worked for real tick and live trading.
      In the backtest there was only a small deviation between the EA with on ticks and once per minutes.

      1. After a small change to the EA, the optimization did not work again.
        Now I have created the EA once with fxDreema. And once via the Metatrader Editor (compilation).

      I found that the file of the EA in fxdreema is larger than the EA in the Metatrader Editor. The results in the backtest are identical.

      The backtest in the Metatrader Editor ran about 50% faster.
      When optimizing only 16 tasks, the EA generated by Metatrader worked. The EA generated by fxdreema did not work.
      With more than 16 tasks during optimization, the EA generated by Metatrader no longer worked either.

      Now I have carried out a test on a different computer.
      Previous PC:
      16 GB RAM and 4 threads
      Second PC:
      32 GB and 12 threads

      Now the optimization worked with real ticks and 640 tasks during optimization, without any problems.

      CONCLUSION
      Currently, the PC is the weakest link when it comes to optimizing MT5 with real ticks.
      I think fxdreema is a great structured program for logical programming.
      I am aware that fxdreema has to generate a much longer code than a hand-programmed EA. This is also the case with competing programs.
      But it still has to be applicable.
      Perhaps fxdreema can say something about it itself.
      Otherwise, I would send the text to support again.
      Perhaps it would be possible to provide a list of which blocks and their links should be avoided.
      And which ones use the most resources, such as loops and account queries over a longer period of time.

      Best regards
      Lacone

      posted in Questions & Answers
      L
      Lacone
    • RE: Show swap in chart

      Hello,
      you can query it with a loop and display it in the chart with comments.
      I have sent you a private message.

      posted in Questions & Answers
      L
      Lacone

    Latest posts made by Lacone

    • RE: Trade two currency pairs simultaneously

      Hello,
      Since the pairs trading backtest isn't working properly for you, I assume you are using MT4. MT4 doesn't support this.
      You should use MT5 for pairs trading. Generally speaking, you can enter the symbol EURUSD for the "Buy" block and the symbol GBPUSD for the "Short" block.

      posted in Questions & Answers
      L
      Lacone
    • RE: How do I find the highest and lowest levels for each Monday?

      Hello,
      Here is the calculation within the EA. On Tuesday, the High and Low from Monday are calculated and displayed as a line.

      Test Monday.mq5

      posted in Questions & Answers
      L
      Lacone
    • RE: Backtesting/demo testing different behavior

      I mean the terminal variables (global variables).
      If handled incorrectly, these can read in incorrect values, in Live Trading.
      The Bucket of Positions blocks also didn't work properly for me on MT5, in my opinion.

      posted in Questions & Answers
      L
      Lacone
    • RE: Backtesting/demo testing different behavior

      Do you use terminal variables in the EA?

      posted in Questions & Answers
      L
      Lacone
    • RE: Show swap in chart

      Hello,
      you can query it with a loop and display it in the chart with comments.
      I have sent you a private message.

      posted in Questions & Answers
      L
      Lacone
    • RE: Valid structure?

      Hallo MT4 Nutzer,
      du kannst beliebe Strukturen mit beliebigen Blöcken erstellen.
      Solange sich mindestens in einer Struktur 2 verbundene Blöcke befinden. Ein Block alleine wird nicht berechnet.
      Gruß Lacone

      posted in Questions & Answers
      L
      Lacone
    • RE: Buy and Sell

      Hello,
      in the “No Trade” block you did not enter a symbol for the Specified Symbol.
      Either enter a symbol or set it to “Any Symbol”.

      posted in General Discussions
      L
      Lacone
    • RE: Total Orders Count both Pending order and running trades

      After closing, the variable (counter) is set back to zero

      posted in Questions & Answers
      L
      Lacone
    • RE: Total Orders Count both Pending order and running trades

      t does not need to be added in a formula, as the counter in the separate trees counts the pending orders and open positions together.
      This means that no matter where the counter is used, with each pass (activating from the output of the "Counter Buy" variable), one is always added (+1).

      posted in Questions & Answers
      L
      Lacone
    • RE: Total Orders Count both Pending order and running trades

      Hello.
      Here is the EA for MT4.
      There you can see that a variable has been created (under Variables) and how it is used for counting.
      Test2.ex4
      Test2.mq4

      posted in Questions & Answers
      L
      Lacone