fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Smallous
    3. Posts
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 16
    • Posts 40
    • Best 1
    • Controversial 0
    • Groups 0

    Posts made by Smallous

    • RE: How to delete a project description in fxfreema?

      Hello, if create & import the mq5 file. You can re-edit or delete the Project Description. I have not tested this for mq4 files, but assume this would work.

      posted in Questions & Answers
      S
      Smallous
    • RE: Unable to connect blocks in 'on Tick' section.

      I have found the problem quite by accident. For some reason one of my blocks stopped working. When I deleted the block everything worked again, so I just recreated the faulty block.

      posted in Questions & Answers
      S
      Smallous
    • RE: Unable to connect blocks in 'on Tick' section.

      I have tried Google Chrome & Edge, deleted cache etc, but the blocks in the 'on Tick' section just refuse to work. I'll see if I can contact Support.

      posted in Questions & Answers
      S
      Smallous
    • Unable to connect blocks in 'on Tick' section.

      I have been working on a project, but I have been unable to connect any blocks in the 'on Tick' section for several hours now. I have tried every trick I can think of without success. Anyone else having problems?

      posted in Questions & Answers
      S
      Smallous
    • What is the function of Arrow Color in the Buy/Sell Block?

      Hello,

      Ref.

      2f3b6ee7-8bfb-48e6-a557-2d4975e4e60c-image.png .

      If I change the Arrow Color it does not appear to have any effect. Anyone know what this is for or when the Color is applied? The Arrow colour appears to be hard coded?

      posted in Questions & Answers
      S
      Smallous
    • RE: Write to the Custom column in optimization results MT5

      As a work-around, I may be able to make use of the Write to File block.

      My EA controls when it writes to the file, during Optimization ie before Termination of current test.

      The problem is I need some Custom Code that is able to fetch the Optimization Pass number, put it into a variable, which I can then Write to a file. Hopefully these would then tie together. If anyone can point me in the right direction, I would be grateful. I have no idea if this would be possible.

      posted in Questions & Answers
      S
      Smallous
    • RE: Write to the Custom column in optimization results MT5

      @l-andorrĂ  Unfortunately, using MT4 is not an option for me. I understand that double OnTester() is tied to Genetic algorithm Optimization, so the above may not work as I am using Slow complete algorithm for Optimization. Not sure how to write to the Custom column and currently thinking about how to tackle this problem. Coding is outside my area of expertise.

      posted in Questions & Answers
      S
      Smallous
    • RE: Project Blocks - Normalise ID's

      That's great news thanks.

      posted in Questions & Answers
      S
      Smallous
    • Project Blocks - Normalise ID's

      cfe7bcc6-602a-43cc-93b4-4e6d96da92e7-image.png

      Hello,

      I tend to spend a long time re-numbering my blocks, so I like the idea of using this. However, when discussing this function a long time ago (pre cloud version), I believe caution was advised at it could corrupt the code. Is it safe to use now? Anyone use it regularly?

      Paul

      posted in Questions & Answers
      S
      Smallous
    • RE: Write to the Custom column in optimization results MT5

      I tried this, but not so simple.

      T080gETanp3QiQpq.png

      posted in Questions & Answers
      S
      Smallous
    • Write to the Custom column in optimization results MT5

      Hello,

      I understand that this is possible using Custom MQL code, but my programming skills are poor. I don't believe Fxdreema has this functionality built-in.

      My EA will Terminate if the Free-Margin falls below a level set via a Constant.

      I simply wish to record that a Terminate 'event' occurred in the Custom column in the Optimization results, so I can filter them out.

      Any help would be greatly appreciated.

      Paul

      posted in Questions & Answers
      S
      Smallous
    • RE: Can't Connect Blocks...

      @l-andorrĂ 

      Hello,

      I just experienced the almost exact same problem. I was manually re-numbering blocks, but did not notice any same number issue. The last block in the chain was previously switched off (this may be irrelevant). I was then unable to connect any of the old blocks with the dots appearing as above (new blocks connected ok). I tried logging off, clearing cache etc. Fortunately, I was able to resolve the problem by going far enough back through the history to where I started re-numbering. I have been using fxDreema a lot this year, so appears to be a rare issue.

      Regards
      Paul

      posted in Bug Reports
      S
      Smallous
    • RE: 'input' - unexpected token error when compiling mq5 file

      @jstap Thanks for your reply. I am now using another indicator and coded my EA differently to get around the error.

      posted in Questions & Answers
      S
      Smallous
    • RE: 'input' - unexpected token error when compiling mq5 file

      @ambrogio Hello, I changed the settings in the the indicator first, but it stopped the indicator from working.

      posted in Questions & Answers
      S
      Smallous
    • 'input' - unexpected token error when compiling mq5 file

      Hello,

      Any ideas on why the above is occurring? The indicator works ok on its own. I am manually entering the indicator values as I have not had any luck uploading an "MT5" indicator.

      The data type that is obscured below is ENUM_APPLIED_PRICE. Do I need to make entries into the Enumerations field and if so, what should I place there?
      0_1649537548067_a80427c8-e946-4604-8d4b-1b8d4e6a8cc0-image.png

      These all look ok.
      0_1649537806636_4ccce7b8-2da9-4114-9241-bab2c18bb676-image.png

      Indicator appears to be ok in Condition block.
      0_1649537284851_0ef0035f-ab36-4c30-9bdc-a800d67f2517-image.png

      Inputs from code:
      0_1649538188722_e1f79b0a-58f1-4812-ab3f-7e524c1f7426-image.png

      Buffers from code:
      0_1649538423760_5a8f8515-90ba-40bf-a162-3545b73bc256-image.png

      Thank you
      Paul

      posted in Questions & Answers
      S
      Smallous
    • RE: Modification denied because order too close to market (145)

      __My problem with this 145 error is that I can't produce it :)[/quote:1v1n0xcg]

      Hello,

      I find it strange that you cannot produce the 145 error as I practically encounter it all the time without the 'Pips Away' loop. But not to worry, my work-around in certainly working with my current EA that I'm working on. If I become stuck again I'll can always get back to you (support has been great). Maybe it is better to keep the 145 error and program the EA accordingly, so there are no surprises in a Live environment.

      posted in Questions & Answers
      S
      Smallous
    • RE: Modification denied because order too close to market (145)

      __So, now there are no problems đŸ˜•[/quote:6iy2b95s]

      Yes making use of 'Pips Away' in my EA has stopped the 145 errors and all the strange results I was getting when Optimizing. I now have a much better understanding of this error and the importance of making sure an EA manages the error properly. Because 145 errors can drastically effect back-testing, I would prefer that this error was managed by fxDreema directly, assuming that would be more efficient than my work-around.

      posted in Questions & Answers
      S
      Smallous
    • RE: Modification denied because order too close to market (145)

      Hello,

      I added a 'Pips away from stop-loss' loop to the condition that would close a Sell &/or open a Buy and vice-versa. A Trailing Stop is also active. I then experimented with using an Input of 1 to 30 for the 'Pips away' loop.

      I am pleased to report the following:

      1. No suspected 145 errors were encountered during back-testing in Optimization mode, regardless of whether Virtual Stops were used or not. Optimization completed successfully for all 'Pips away' Inputs tested.

      2. No 145 errors were encountered during back-testing outside of Optimization mode whether Virtual Stops were used or not for all 'Pips away' Inputs tested.

      3. Back-tests performed with the same Testing Inputs using Virtual Stops now behave the same whether inside or outside of Optimization mode.

      4. Back-test results with Virtual Stops and 'Normal' Stops are now identical.

      I assume the above confirms the 145 error was genuine and it stresses the importance of making sure an EA includes a proper work-around for this error to produce 'accurate' back tests results.

      posted in Questions & Answers
      S
      Smallous
    • RE: Modification denied because order too close to market (145)

      __Well, this error comes frm the broker and I believe that it's description tells the reason. Where are some limits and when you are too close, modification can't happen. The EA will try to do it for few times anyway and it should quit trying after a while. If someone thinks that it's better to just skip this error or don't even try to do the modification, I can program it like this.[/quote:1bjrozop]

      Hello,

      I would like to resurrect this post as I am experiencing constant problems with back-testing.

      1. If a suspected 145 error is encountered during a back-test in Optimization mode, regardless of whether Virtual Stops are used or not, the test goes into an infinite loop if any EA uses Stops. The back-test has to be manually stopped and an 'Optimization stopped due to a fatal error in the EA' Message is created in the Journal.

      2. A back-test using the same Inputs outside of Optimization mode will produce a 145 error when Virtual Stops are not used.

      3. A back-test using the same Inputs outside of Optimization mode will not necessarily produce a 145 error when Virtual Stops are used. This means that a a test performed with the same Inputs using Virtual Stops can behave differently depending upon whether inside or outside of Optimization mode!

      4. With the limited amount of back-testing I have been able to do, results can be significantly different when Virtual Stops are used as opposed to 'Normal' Stops (this would need further testing).

      Please note the above error is rare in the sense that it can take thousands of simulated trades before encountering. However, because I back-test over 4 year worth of data I always encounter the error during Optimization mode. Unfortunately, this error is rendering fxDreema unusable for back-testing. The inconsistency of results when using Virtual Stops inside/outside of Optimization mode is also worrying.

      I think the above is a strong case to "skip this error or don't even try to do the modification" as I assume this is what would happen in real trading anyway (though I am no expert in this area).

      posted in Questions & Answers
      S
      Smallous
    • 1
    • 2
    • 1 / 2