fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. fxDreema
    3. Posts
    • Profile
    • Following 0
    • Followers 691
    • Topics 32
    • Posts 7485
    • Best 277
    • Controversial 18
    • Groups 1

    Posts made by fxDreema

    • RE: will the fxDreema be further developed?

      @fxfun said in will the fxDreema be further developed?:

      I have tried to copy blocks around.

      The thing is, in the programming world copying stuff over and over again is very bad practice. That's why I'm not thinking how to make that happen easily. Instead, blocks (or groups of blocks) should be reused. In programming languages there are functions and classes that can be reused. But people who are using this website are mostly non-programmers, so even if there is an easy way to somehow reuse blocks, try to teach them to do it that way πŸ™‚ It's much easier to just copy and paste, because you immediately see the result. To think about how some groups of blocks are reused, this is hard for regular people.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: will the fxDreema be further developed?

      Hi all. I was also thinking about many possible features through the years, but I guess I really hit some ceilings. The main problem is lack of motivation to do anything. The website generates good profit for my country and even if I want more (as any person in the wold), I don't need more profits. There is a difference between want and need here, and the difference is I guess in the desire to make more πŸ™‚

      Unfortunately (or not), I don't see competition from other websites... not that I'm looking if there is any. I'm saying this because I was thinking that something like this can motivate me, it's good to have some competition. But if I don't see any, the other trap is that I think that the website is the best it can be and there is not real need to do more. Also, adding more features means more features to be maintained in the future, to which my brain automatically says "no".

      So I don't know really. I also prefer to be motivated and do more, but the psychology is stronger than that. Otherwise I'm doing stuff in the background. The database as it is now is not constructed very well and I'm working on a new way to write the data on it. This is what I'm mostly doing - bettering the code of the website itself. But even this I'm doing slowly.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Issue backtesting two pairs on MT5

      The problem happened to me, I saw it, here is how my trades looked:
      0_1593175921279_d66550a4-94c6-4b83-927e-e4bb39d73a56-image.png
      This is how it should look:
      0_1593175982892_46c1509c-eb14-46d1-9057-6997ad1d65ac-image.png

      Eventually while I was investigating the problem in MetaEditor, it disappeared. Now it works for me and I wonder how to cause the problem again

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Problem selecting variables

      Yes, it is a bug and it happens when you hit Update when the parameters of both blocks are opened. Somehow the variable of the other block is taken. This could be easy fix, I will try to fix it. Otherwise it works fine when you have only 1 block parameters opened at the time of hitting Update.

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Buy and Sell Button Don't Work on Current Chart

      I tried this one and it works for me: https://fxdreema.com/shared/VMwxP2Odd
      But I manually change the symbol by dragging different symbol over the chart.

      I found another problem, that if I use "Market Properties -> Name: Symbol", only the initial symbol name is printed. But otherwise the button click is detected.

      Do you see some error messages or for some reason the button name is changed?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: sell or buy according to the size of the wick or trail of the candlesell or buy according to the size of the wick or trail of the candle

      There is one block "Single candle template" where you can check such proportions of a single candle.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Condition to trade when MACD goes above and below 0

      You mean both lines or only the Signal line? If both, then another Condition will be needed. I don't know about the crossover sign. You say "above" and "below", maybe you just want to check whether or not the lines are above or below, even 10 candles after they crossed the 0 level. In this case use > and <

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Get the balance from the history tab ?

      @fabiobioware said in Get the balance from the history tab ?:

      @roar The profit I want to check is daily.
      For this I am filtering on the metatrader itself.
      The problem is that this balance appears on the screen.

      For the daily profits I made this block "Check profit (period of time)". As it name suggests, it checks the profit that is made in certain period of time. There are Time 1 and Time 2. By default Time 1 is 00:00 at the current day and Time 2 is the current time.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Is there a condition that can be created in response to an EA taking profit??

      The Condition block takes 2 values and compares them. If you know what values you want to compare, select them on the left and the right side of the block.

      There is one for the profit in "Account", it's called "Profit (Equity - Balance)" and obviously it gives you the difference between equity and balance. Balance is ouf course the last known money you had the last time when you had 0 opened trades.

      Otherwise you can check how much profit was made out of the currently opened trades with "Check profit (unrealized)". Also there are those Bucket blocks whete you can do the same in a different way... depends on what value you want to check.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Backtesting stops abruptly and I don't know why (but I guess why)

      The error is at line 13490 and 105 is the horizontal position at that line. It's about the lot size and I can tell you what is the problem πŸ™‚

      So, what you have is this:
      0_1577105498279_005b25f6-d3ce-4c13-8ed9-b92d5c3de7bb-image.png

      The thing is, this MM method requires some positive value for SL and you can read that "Volume size depending on Stop-Loss". To calculate the lot size, the size of SL is considered - the bigger the SL, the smaller the lot size. But when SL is 0, then the lot size should be infinity, which is of course not possible, and that's why the error is "zero divide".

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Possible bug in positioning candle in 'future' candles

      I tried this: https://fxdreema.com/shared/OuUNxlf3d And I got an error "array out of range" when the EA tried to get value from future candle. It's because there is no data about the future candle, it doesn't exist. I believe that the Time attribute is like Open, High, Close, Low and Volume, it's connected with the candle, and with no candle there are no attributes.

      You can get the time of the current candle, because that time is rounded, and add seconds to it. The time is the number of seconds since 1.1.1970. Look at this: https://www.epochconverter.com/ The "Comment" block may draw human readable version of the time, but in reality it is an integer number.

      Here is another example: https://fxdreema.com/shared/wreYKAEL
      I use that "shift in time" feature, but instead of using fixed number of minutes, I use Period(). It returns the number of minutes for the current period. If the period is M15, it returns 15. So that way you can put the EA on different period and it will show you the time of the non-existent future candle. You can use 1 * Period() or 2 * Period() or MyVariable * Period(). Even _Period should work instead of Period().

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Hello, I just updated my MT5 and all the EAs made with fxdreema have stopped working.

      I'm here πŸ™‚ But give me more details about these problems. One of the reasons I don't like to answer to questions anymore is that for maybe more than 50% of the questions I'm missing the details and I have to guess what is actually happening and ask the person for more details. I like when the question is full and I can understand what the problem is in no time. It's perfect when I can also reproduce the problem easily.

      Here from the question of the author I can only understand that there is some problem with .ex5 files. The title of the topic says that EAs stopped working. Only because some people reported that the new MetaEditor fails to compile some .mq5 files, I know that there is a problem with compilation. But the title doesn't say anything about compilation problems, it says that already compiled EAs stopped working. I tried that on my MT5 and I don't have a problem. So if this is the problem, again, I need more details. Error messages, whatever helps me to understand what is going on.

      I also receive emails every day. I just fixed one compilation problem that happens when the new MetaEditor is used. But I'm personally using the .ex5 button and I don't see these problems, so I'm not even aware that they exist πŸ™‚

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Digit Adjustment of Variable ** SOLVED **

      DoubleToStr() function takes a variable from "double" type and turns it into "string". "double" is a floating point number, while "string" is text. So it's not very correct what you are doing. Try NormalizeDouble() instead. The description of this function is like this: Rounding floating point number to a specified accuracy.

      In Adjust there is some trick that you can do. You know that in Adjust you normally start with +, 0, * or /. But you can also do it like this:

      = NormalizeDouble($, 5)
      

      When it starts with =, it's a little bit different. The final value will equal to whatever is on the right side of =. Well, I want to change the value that I got a little bit, not to give it a whole new value, so I use the value itself. That symbol $ is the value.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Calculation drawdown of balance and equity in mql5

      By the way I wrote to the author in email. I will post a screenshot of it here, just in case:

      0_1565894960254_9caa68b3-99d6-4881-87b2-eb24ba98884e-image.png
      https://fxdreema.com/shared/3j3nzX6Hb
      https://fxdreema.com/shared/EfT7mIZqe

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Incredibly slow backtest at every tick..

      In general any generated EA will be slower that the same strategy if you are able to carefully code it manually. This is because the generated EA is full with useless code. My EA builder is not so clever to only include the code that is needed and to optimize it in the best way, so you always end up with bloated slow code. But it should not be too slow... like waiting for hours to backtest one day. It is important what blocks are you running on every tick. Try to connect them in such a way, so the slowest block are running more rarely. Of course, you can't always say which blocks are slower than others... even I can't tell that without testing them. But maybe you are using some custom indicator - maybe this indicator is poorly written and it is too slow. Put that indicator in few blocks and the time stops πŸ™‚

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: i have problem with groups

      Only do that if you want to have something like 2 (or more) different strategies in the same EA. Like 2-in-1. But remember that it is still one EA and if the strategies are completely different, it's better to just make two separate EAs.

      Otherwise... imagine that you have 2 different groups of blocks that are separate - one for the first strategy and one for the second. In all blocks in the second groups of blocks where you have Group, you should set it to 2 for example. Such blocks are "No trade", "Buy now" and basically all these blocks who are working with trades or pending orders.

      The EA will have one master magic number (it's the MagicStart parameter of the EA) and where you have Group number that is different than 0 (empty value), the magic number will equal to MagicStart + Group.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: MQL4 to MQL5 Converter

      @l-andorrΓ  It works with indicators, but I noticed that for some of them there are certain differences that I don't know how to manage.

      iBandsOnArray()... I don't remember why I skipped this function. I see that I never wrote any code for it. From all "...OnArray()" functions I only wrote code for "iMAOnArray()". I remember that this one was probably the hardest function for me to write for MQL5 and I can even see that now I have this comment in it for MODE_LWMA:

      // TODO lazy fix - I was too tired and lazy to do this in the best way

      So to be honest, I don't feel that I really want to make these OnArray() functions right now πŸ™‚ Knowing myself, I will choose to do something else that I consider more important or easier for me to do πŸ™‚

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Crosses above & below

      You can also try Trace block, to print the same things (Candle Close and Pivot lines) while the EA is running, so you can visually see the values and possibly detect the problem... also any future problem that is similar to this one.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: trades retake

      I imagine two ways of doing this.

      The better way is on the beginning of the candle to check when the last trade was closed, and probably how, and the MA levels. In other words, at the time when a new trade is supposed to be created if the scenario you described happened, you check whether the scenario happened and you create a new trade if needed.

      And the other way is to detect when SL is hit (in "on Trade"), then to write value to some Variable, or even to create some object as a form of temporary memory, and then in the beginning of the next candle (assuming you have "Once per bar" in "on Tick") to check the value of that variable and to create the new trade. In other words, you have 2 events that can happen let's say in 5 minutes apart - when the first event happens, you will write some value in some variable to mark that event and then when the second event happens you will check that variable to see whether the first event happened.

      I prefer the first way, because it would work even if you restart the EA. The second way involves variable, which is just a temporary memory and exists until the EA is working.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: How to get USD value of a trade closed at stop loss for use in a variable

      What about this:
      0_1565892419231_86ed0b2c-d549-458b-a0d3-3b92ebe29a9b-image.png
      To load the last trade only, set that "Not more than..." parameter to 1. The direction is already set to "newest to oldest", so it will start with the newest one. And then get the value in the other block.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • 1
    • 2
    • 9
    • 10
    • 11
    • 12
    • 13
    • 374
    • 375
    • 11 / 375