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: Slippage features

      __1: About slippage setting in trade block... [/quote:3e4bb4j4]

      This is something else, this does not work... most probably. As you can see, the OrderSend() function has "slippage" as a parameter - https://docs.mql4.com/trading/ordersend Yes, this is the "Slippage" from "More settings". But as you can read here: https://forum.mql4.com/45904 in ECN brokers it has no effect. I can only measure it.

      Once I tried different values for "slippage" in OrderSend() and really, there was no difference. I tried values like 0.1, 1, 100 (because I never really knew what kind of value to use for this parameter). You can try this as well, if you want. But this looks to be non-ECN parameter.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Unconventional Grid (Hedge or Trades Nearby)

      This is what I wanted: https://fxdreema.com/shared/Ft2jGRvse

      Here I create new Buy trade on each bar with blocks 7 and 8. Blocks 9 and 10 are there to display some numbers on the screen. Block 11 (Delay) is to pause the EA for a while, so I can review the numbers.

      And this is what I got:
      http://prntscr.com/bqwas8
      http://prntscr.com/bqwaxx
      http://prntscr.com/bqwb39
      ... and so on

      If you look at the numbers, everything is working correctly, I think. Maybe the problem is in the word "Profit". On the right side in "Formula", the value can be positive or negative, because the Profit can be negative. Yes, "Profit" sounds like something that is always positive, but in this case the word is used to describe the result of the trade in money.
      So, depending on the Profit value, the calculation in "Formula" can flip.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Unconventional Grid (Hedge or Trades Nearby)

      keydcuk, the last project that you have shared contains few blocks, but still not enough to be quickly tested 🙂 Why do you think I want you to make fully working and easily testable small example for me? Well... partly because I'm lazy to even read your questions 😄 But also because if you can do that, you already can investigate your own projects for problems. Remember, I don't want to make anyone's projects, what I want is people to master this tool fxDreema, I want you to know how to use it 🙂

      Now I have to add the "Buy now" blocks myself to check how these blocks work...

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: How to add pips to a price level for both JPY and non-JPY prices?

      Try +10pips. In this, the keyword "pips" is replaced with some function that will take the symbol (market) from above and after some calculations it will produce the value that means 10 pips for this pair. Better put "pips" right after the number, without empty space in between. This keyword is not part of MQL4/MQL5, it's something that I added long time ago.

      Also, if you use %, this will be converted to /%.

      pips and % work only in Adjust fields... but I'm not completely sure 😄

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

      I don't like it, because it shows something that will most probably change. It shows nothing for me and I don't know what people are getting from this indicator.

      Also, in fxDreema you can get some HH and LL values out of this indicator, but this does not come with the indicator itself, this is something I did. Because people always asked for these levels. I was very disappointed back then when I searched for some custom indicator (based on Zig Zag) that is designed to show these levels. I found nothing. How can this be true - so many fancy custom indicators in existance, but none of them able to do something that people actually want.

      So, people want to get S/R levels, but this indicator does not show S/R levels and does not send values to the EA of any S/R level. Very weird indicator, that's why I don't like it.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Slippage features

      But you don't know the amount of slippage until it happens. The problem is that you request some price, but the server does not accept that price and opens the trade at different price. And the Comment of the trade (not the comment at the upper left) can be set once when the trade is created, but you can't modify it later, or at least I don't know how.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Builder do not work!

      The problem was something in the settings, yes. Something wrong happened when you saved them, I guess. But I see this for the first time I think, so I'm not sure what actually happened. I don't remember doing something to cause this problem, so for now I will do nothing and hope for this to not happen again.

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Unconventional Grid (Hedge or Trades Nearby)

      Please, make some project that contains only these blocks (or only blocks that are needed) to show the problem that is. This project contains almost 100 blocks. I don't know it's logic. When I put it to work I can see many trades created, but I don't know why and I don't know what to look at. I'm just lazy to even try to understand how this project works, sorry 🙂

      Otherwise you can also use "Comment" or "Trace" to see the value of any Variable realtime. I'm pretty sure that you are capable of finding the problem. Or at least the block that does not work as expected. And this is all I want to know. I want to know if there is a block that does not work as expected, and which one is it 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Check last position...

      Yes, this is how MT5 always worked - only 1 position per symbol. Only lately they added this new "hedge" option. I think that this option is still in testing and is only available when you create account in their "MetaQuotes Demo". But I also have problems with this option and I can't make things to work properly when a position is modified. The result is that the EA hangs, it stops working in the Tester.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Check last position...

      Here are some examples for the pink blocks: https://fxdreema.com/examples/#Loop-(For-each...)
      These blocks are used to create a loop. This loop means loading few trades (positions in MT5) and doing actions over each one of them, one after another. For each..." loads them. If 10 trades are loaded, then the block will cause the next blocks to run 10 times, each time with different trade loaded. With the other pink blocks you can do some actions with these trades. Since in MT5 you have 1 position in the current symbol, "For each Position" would load only this position and then with the other pink blocks you can do something with it.

      But I'm not sure that we are talking for the same thing. In MT5 we can have 1 position per symbol, right? This was always true, but lately they decided to allow "hedging" in MT5. The problem is that at the moment fxDreema does not work well with this option.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Check last position...

      "For each Position" wih "Not more than N trades" set to 1 would load the last opened position. Even if "Not more than N trades" is not 1, because there can be only 1 position per symbol in MT5.
      Then... why not using "pips away from open-price"?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Slippage features

      This is the problem:
      The EA calculates the future SL and TP based on the current price (Ask or Bid) and sends this data to the server. Meanwhile the price may change and the trade may be opened at different price. But SL and TP are the same as requested. As a result SL becomes bigger than TP or TP becomes bigger than SL. The absolute difference between TP and SL is the same as the requested, but the open price is shifted towards one of them.

      This is what I decided to do:
      The EA remembers the requested open price and after the trade was created, this price is compared with the real open price. If there is some difference, then TP and SL are moved with the same difference. So, if you wanted 10:10 pips for SL:TP, the EA tries to provide them. Instead of 12:8 for example.

      No, this is not considered error. I'm aware that this is something that people don't want, but I think that error is when you want a trade and you don't have a trade. So the second output becomes active only when no trade is created.

      If you are still in the same tick, for example immediately after Buy now, then the Ask is the requested open price. But I'm not sure about that... maybe the value of Ask will be updated on-the-fly. I never tested that.

      I think that the Slippage value can't be get later. The EA does not collect this value as well.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Unconventional Grid (Hedge or Trades Nearby)

      Ok, 6 blocks. Which one of them does not work as expected?

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

      I guess that only Price levels can be get, not the Time components. I just hate this indicator, so this time I surrender, I don't want to even think about it 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: and/or

      I think that this is not hard to understand.

      • The orange output is active when the Condition is true and the yellow output is active otherwise.
      • If one of the operands in Condition is EMPTY_VALUE (for example when indicator is used, but the indicator does not show something at the moment), none of the outputs are active
      • If crossover is used (x> or x<), then the yellow output is active in case of the opposite case. If you have x>, then the yellow output works like x<. If you have x<, then the yellow output works like x>.
      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Please help to close positions after reaching profit / loss

      I can see your projects. I can only say that the number of blocks matter when they are connected... without any order. When you want to run some block first and then another block, better connect them one after another. If such blocks are not connected one after another, then be aware of block numbers.

      https://fxdreema.com/demo/blocks-execution-order

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Builder do not work!

      It was a weird problem in this particular project that I don't know how it happened. Probably something wrong happened when exporting or importing it. I think I fixed it for now.

      Review your Global Options. Something was wrong with directories.

      "terminal path" is the directory where terminal.exe is, something like C:\Program Files\MetaTrader 4
      "data path" is the directory where MetaTrader sends you when you click on Fine - Open Data Folder. Without "MQL4", without "Experts"

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Bug in a Sell pending order with OCO yes

      There was a problem when no stops are used. I fixed this problem.

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Please help to close positions after reaching profit / loss

      You still have time

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Unconventional Grid (Hedge or Trades Nearby)

      Now am I supposed to read all text and turn it into a project? 😕 Why don't you just show me your project. I keep repeating this over and over again to people. When there is some problem, make some simple project that shows only the problem. Ideally something that contains 2-3 blocks or as less blocks as possible. Tell me what is expected and what happens. I will try this EA, I will see the problem and I will fix the problem or tell you what can be done.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • 1
    • 2
    • 136
    • 137
    • 138
    • 139
    • 140
    • 374
    • 375
    • 138 / 375