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: Open New Pending Orders

      This is something that you need to understand: https://fxdreema.com/demo/mt4-wrong-closing-rule (connecting everything in one row is not the answer)

      I don't know why you use "For each Trade".

      So, there are few ways to do this, it depends.

      One way is to check the existance of the current orders/trades and create a new order based on that. Like, if there is a trade and there is no order -> create new order. The type of the last order or trade can be always get, everywhere and at any time.

      Another way is to do it under "on Trade" and detect the exact moment when the old order becomes a trade. But this is an event that happens 1 time only and if the EA is not working at this moment, you will miss that event. You can actually prefer to do it that way.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Wishlist Item for new version

      Variables will not be able to work as input parameters and their names will be defined directly.

      "Stopped" message should appear instead of "Working" when the EA is removed 😮

      Tell me at least if SendNotification works with new rows or it will be stupid if I make it the same way as in Alert 🙂

      I don't understand why this is a good thing. The problem is that you can try to "Comment" the result of a Condition before the Condition runs... then what happen?

      This is a little bit... I don't now...

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Pending Order Bug

      I remember that once I worked about this problem. For this particular symbol, what do you have in it's Specification... here: http://prntscr.com/7zbavl

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Square Root

      Yes, you can always use original MQL4 functions, everywhere. Otherwise there is nothing in fxDreema to make such conversions. I was wondering many times how to make something like that, how to make it completely visual, but I don't know... The thing is that you may want to do chain of conversions, and for each one of them there can be parameters (like when you round a number, how many digits to round). 1 block for square root, another one for rounding, another one for whatever - this is not a good way to do that, I think. Or is it?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: ??? take profit

      If the price reach Take-Profit, what happens is that the trade is closed on the server. But even if you modify Take-Profit when the price is close to it, what is the point then, how is that different than not having Take-Profit at all. If it can't be reached, why do you have it, for fun?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: How to : Set a minimum distance between consecutive orders

      Again... in case I didn't repeated this here and there at least 1000000 times... when pink blocks are used, one of "For each..." blocks should be used as well. What if there are 10 trades at the moment, do anybody know for which one of them will "pips away from open price"? It will work with the last trade that was loaded in "If trade is running", now guess that trade...

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: how to display result of a condition in comments

      If you have the Comment block after that Condition, then it is true. But you can have it before, the Comment block could run before the Condition is checked. It depends.

      You can have a Variable that will be set to 0 before the condition and to 1 after. Look at the vertical "Variables" for that Condition block, there are ways to modify Variables in there.

      Another way is, if you are working with the current symbol and timeframe, then if you write this somewhere:

      Close[1] > Open[1]
      

      ... it should return the result of that comparison, which will be true or false

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: how to display result of a condition in comments

      A condition is something like this:

      if (A > B)
      {
         do something
      }
      

      or

      bool result = (A > B);
      
      if (result == true)
      {
         do something
      }
      

      or

      bool result = false;
      
      if (A > B)
      {
         result = true;
      }
      
      if (result == true)
      {
         do something
      }
      
      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: When order take stoploss = stop EA immediately

      Many people are asking for this, how to stop trading until the next day. I will eventually try to make this thing somehow in a block or something, otherwise this is the idea: https://fxdreema.com/shared/08pUwA2Mc

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: ??? take profit

      I don't understand sentences without at least one comma, try to write this again in a different way 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: how to display result of a condition in comments

      The result of a condition is that the next block(s) run. Condition = if. If A > B, then do something. No information is saved from those if's. What is your idea?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: self updating/refreshing grid, compare two groups of trades

      No, there is no such thing in "Delete objects".

      More than that, there are no restrictions for object's names and the comma itself can be used within the name, so there will be no way to separate multiple names with commas. Look, I have no problems to give such name to my object: http://prntscr.com/7xqire

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Renko Charts and once per bar function

      I don't like Bars, because it depends on our settings. But I realised that we can use bar 1 instead of bar 0 with the same success. The Time of bar 1 also changes when a new bar is created, so it can be used for online charts. In your chart Time (1) is at least constant while the candle exists. I just changed one value from 0 to 1 in "Once per bar" and it works now, you can try it.

      There are other blocks that have the same "once per bar" functionality in them and I "fixed" some of them... hopefully all of them, but if you find that some block shoud do something 1 time per bar and it does not, tell me.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Renko Charts and once per bar function

      What if we have this situation: http://prntscr.com/7xkebh

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Renko Charts and once per bar function

      I got this: http://prntscr.com/7xhwbn
      Arrows are put on the previous candle and the value of Time[0] changes. I think it's not correctly written or something like that. With normal candles each candle has it's own unique Time and it does not change. It's the same with my Renko EA. This one... I don't know what can be used to detect new candles. For a while I was thinking that Candle Open can be used, but it just created a new candle that is exactly on the same level as the previous: http://prntscr.com/7xhz3i

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Wishlist Item for new version

      I will cover these problems once after I upload the new version of fxDreema. I also find myself lost when I have to find some block number. There are people with many many blocks, but usually they don't complain, I don't know why.

      I also think that I might decide to hide block numbers somehow. We only need them to arrange blocks execution order when blocks are connected in parallel, but even this reason is not very well understood by many people.

      Highlighting blocks is pretty easy, I will have no problems with this when I decide what to do with block numbers.

      By the way I was just searching for good opinions about fxDreema in the forum, so I can use them in the future Testimonials page. Here is just a little preview of how it will probably look like: http://prntscr.com/7xd6rk So I decided to give you a little bonus, one extra month for free 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: SendNotification

      255 is the maximum length according to the specification:
      http://docs.mql4.com/common/sendnotification

      Can you tell me if rows can be used. I mean, is the text one-row-only or we can put things each in a new row. This is how "Alert message" works now, you can actually see that this block is separated into few rows. There is no problem with the Alert message, it supports new rows, but I started to wonder if that is really possible with SendNotification()

      By the way notice these limits:
      Strict use restrictions are set for the SendNotification() function: no more than 2 calls per second and not more than 10 calls per minute. Monitoring the frequency of use is dynamic. The function can be disabled in case of the restriction violation.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: how to determine the pip value of multi candles

      Well, the difference can be calculated, let's say in one "Formula" block. Then the conversion into pips is the problem, because fxDreema does not have special methods to convert values. In the code I use a function created by me called toPips(), but I will never recommend to someone to use functions created by me 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: SendNotification

      __I get the fact that all and everybody asks for different and often similar or conflicting features

      But I have a hard time understanding why I would wnat to receive a popup alert on my computer and a push notification to my phone at the same time
      can we at least separate them?[/quote:3l9ags2s]
      Because the alert message holds the data and ifyou miss something you can see it later. I suppose that you will use the phone while you are away from MetaTrader. But yes, there is no reason to not have separate block for this thing only and I can easily create one. Can you tell me if all the other options in "Alert message" are ok to be used the same way, or something is missing or too much?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: SendNotification

      Almost there! But use only snd in the code, without "". If you look at the code that is generated, local variable called snd will be automatically put on the top of the function.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • 1
    • 2
    • 209
    • 210
    • 211
    • 212
    • 213
    • 374
    • 375
    • 211 / 375