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: I thik this has a bug

      https://fxdreema.com/examples/
      https://fxdreema.com/help/

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Preventing Entering A Trade On Same Candle of Exit

      Well, you have "No trade" at the top and when the first trade is created this block will not pass until that trade is closed. Try what will happen if this one is removed

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: all stops on the same price

      This is just one way of giving a trade the SL of the alreasy existing (oldest) trade: https://fxdreema.com/shared/xJWQKFgub It's pretty simple idea - after a trade is created, get the SL of the oldest trade and modify SL of the current (newest) trade with this value.

      Of course, the SL can be pre-calculated. But it's also important to check if that SL is possible for the trade that will be created. If you put SL that is on the other side of the current price, then you will got only an error message.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Is there a way to track Draw Down Of Open Trades?

      The difference between the highest profit earned from this trade and it's current profit? Not implemented and it will probably not be (as default functionality), because such additional calculations will only cause more calculations that almost no one needs. Most of the time we care about the current profit of a single trade, not where it happened to be, and you are the first one to ask me for this since fxDreema started 🙂 And not to mention keeping history of such data. It's not impossible of course, but it's too specific.

      Are you sure that you are asking for this, ot I understood the question wrong?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Close all trades depending on profit

      Just do some basic math. What you have now is this:

      Is Total Profit > Balance * 0.2 ?

      What about this:

      Is Total Profit *(-1) > Balance * 0.1

      If the profit is positive, it will be turned into negative and there is no chance to be bigger than any positive value. When it's negative it will be turned into positive and it can be compared (with ">") with any positive value.

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

      Are you afraid of creating some project with 2-3 blocks only to show me something and then delete it later? I believe I suggested this many many times in this topic and... nothing. What is the problem with that?

      Under On Init in these projects I can see that the "Pass" block above is disabled, I don't even expect something to be working below them.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: I thik this has a bug

      Try with the pink block called "close" instead this blue one. Blue blocks like this has the loop inside, they don't care about pink blocks.

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Problem to compile in ex5

      Ok, but what was the prblem?

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: HELP MA on RSI

      In EAs in fxDreema MA can't be put over another indicators. I tried few times to implement this, but every time I find problems and I only remember that the last time my conclusion was: Impossible. And I don't like "Impossible" as a conclusion normally 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: To use engulfing candle high/low values to trigger signals

      Oops, my fault, try now

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Splitting up grid orders so that the EA will respect the maximum lot size allowed by broker AND a virtual grid question

      Maximum lot for a single order, this is something new and obviously very very stupid 😮

      There is one momeny management option - Custom sequence. But I don't know what to do with this max-lot thing. I guess that SYMBOL_VOLUME_MAX is what we are talking about

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: all stops on the same price

      I think you want one of these:

      • to create a trade with SL and then to copy that SL for each following trades
      • to create a trade with SL and copy that SL to all previously created trades

      but I'm not sure which one of these? 🙂 And why you mention block numbers 🙂

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

      Can you show me smaller temporary examples of something when it doesn't work. It's always projects with hundreds of blocks... I have no idea where to look at and what am I looking for 😕

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: variables and constants

      Again, variables are totally free. Those are 100% global variables for MQL4 and they can be modified from everywhere. Of course, with the same kind of value. Here is how to modify them in different ways https://fxdreema.com/demo/mt4-variables

      At least tell me which one of your projects does not work or gives an error. I can see you recently worked on many of them, but I can't find something that is using constants and variables in the way described here.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Problem to compile in ex5

      I don't remember that 🙂 Just show me what is wrong and what can I do exactly to see it

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Part of profit

      __Or should I take the profit and then open a new trade after that block?[/quote:2bm0909v]

      I'm not sure what is the difference in terms of spread and commissions. Maybe in this way you will generate more losses, but I'm absolutely not sure about this. Maybe both ways are equal.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Part of profit

      Patially close. "For each Trade -> pips away from open-price -> once per trade/order -> close (partially)". "Not more that n trades" in "For each Trade" is an option to only work with the last trade.

      Paritally closing a trade in MT4 creates a new trade actually, but it shares some information with it's parent trade. I don't remember what information, open time, price or something like this 🙂 I mean that it's a new trade with new ticket number, but somehow indirectly linked with the parent.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: all stops on the same price

      Remove 1 from "Not more than N trades" in block 360. In this situation you want to change SL of all trades, including those who were modified in the past... if I am not wrong.

      But if you do this on every tick, you will just flood the server with requests and SL will always be at the same distance from the current price until some big price movement happens. So It's a good idea to limit these modifications somehow, by time for example - every minute or something.

      I don't get this: http://prntscr.com/9phpvw
      By "price fraction" I mean values like 0.0010. By "pips" I mean values like 10. By "Price level" I mean values like 1.23456.

      What you have now is that you are getting some value that looks like 1.23456 and then using that value where 0.0010 means 10 pips, but 1.23456 means many many more pips.

      In other words, I have no idea what you want to do, but at least I explained some things 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: variables and constants

      Variables and Constants are both global variables in MQL4, the difference is only that Constants are also external - they serve as input properties of the EA. So at least in MQL4 Constants are not really constants, they can be changed, but I call them Constants (Inputs) because my idea is that they must not be changed.

      There are real constants in MQL4 which can be defined using "const" or "#define" keywords, but you have no control over these from the project in fxDreema.

      So yes, you can use and modify variables as much as you like. They are global and they can be accessed from everywhere.

      The only thing that is quite impossible is to work with a block in the way we work with functions in the programming code. We can call the same function from multiple places in the code, we can reuse it. But blocks in fxDreema are connected to other blocks, so when you run one block it doesn't just return a value, instead it runs the next blocks connected to it. As a result, sometimes you just have to copy that block. But if you actually want to work with all the blocks connected after, then it's ok to call it from multiple places in the code with different values of the Variables.

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

      I don't know what to tell you, as I also have troubles with this 🙂 Floating numbers are crazy in C/C++, and MQL4 comes from there. NormalizeDouble() is used to cut digits, but sometimes it doesn't work as expected. For displaying data DoubleToString() is used, the input here is a number and the output is string (text).

      I discovered that in strict mode if I try to get the Equity, which is some floating number, the result can be some number followed by many random numbers. And if I apply NormalizeDouble to the 2nd digit for example, it still does not cut the number to the 2nd number, there is something like 000001 left at the end. Then if I put (double) in front it appears that everything is ok. But the whole thing becomes something like:

      (double)(NormalizeDouble(AccountEquity(), 2))
      

      ... only to cut some floating number to the 2nd digit. And I'm still not sure that the number is actually cut or I am only hiding the truth 🙂

      This is for strict mode. Currently I disabled it, because... because. With strict mode people are complaining more from weird looking numbers coming out of "Comment" 🙂 While in normal mode at least numbers are outputted in the way they should be.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • 1
    • 2
    • 179
    • 180
    • 181
    • 182
    • 183
    • 374
    • 375
    • 181 / 375