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: Can't export the EA

      No one says that .xml should be converted to something or used at all. I told that I will remove that exporting format actually, because the project is already exported with .mq4 file.

      There is a big extra visible button in fxDreema that says with big clear letter ".ex4", so obviously this is the one who generates .ex4 files. There is another one ".mq4" for source code... but you don't need that.

      I will say this again - you definately don't need .xml file, so don't think about how to convert it. But if you are so interested - fxDreema is the tool to convert this .xml file to .ex4 file... kind of. This .xml file contains fxDreema project data... but if you already see blocks and connections, then this .xml file is already "imported".

      If the export of .ex4 file is successfull, it will say that it is successfull, otherwise it will show error message. And if you export .ex4 file name for the first time, MetaTrader needs to be restarted (in order to see that EA to the lists).

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Closing trade when candle closes below MA not when it ...

      I want to mention that I prefer to answer small questions rather than building whole projects...
      So... to see what is going on, I use "Draw arrow" block - connect it after some block and you will se where is this block passing (many arrows will be drawn).
      I created block "Logic points tester" for that reason actually, so it can be used as well. I only found myself using "Draw arrow", but it's a personal preference.
      To see values in realtime - "Levels tester..." block is good.

      By the way I meant connection 1 to 5, not 23 to 5 🙂 Now what you have is... maybe the same as before with less blocks.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Can't export the EA

      You mean .xml file? XML is a standard format that contains some data, it's mostly used to transfer data in internet, but I decided to use it to store project data to it - blocks position, parameters and so on. But this file is used to export the project in order to import it to another account, for example. You can give me .xml file from your project and I can import that project into my fxDreema account, and MetaTrader is not involved to this at all.

      fxDreema writes projects data at the end of .mq4 file as well, so I will eventually drop that .xml file functionality.

      If you wonder how to get the .ex4 file:
      In local version, in fxDreema go to Options->Global Options and set correct MetaTrader folders. Then when you click on .ex4 it will write .ex4 file to "experts" subfolder. There will be no prompt every time.
      In web version, normally there is a prompt. But as I said above, there is a plugin for Firefox and Chrome which allows the browser to write to local folders directly, so the same goes here - set correct MetaTrader directories in the global options.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Closing trade when candle closes below MA not when it ...

      The problem is that when block 1 is executed it leads to creating a new trade because of the Buy now block at the end, but then block is executed, which is now true, and it reaches block 18 (Once per bar). But this "Once per bar" is second one and it works independently from the other one, and as a result in one shot you reach to blocks 2 and 5. I'm not sure if there can be situation where both conditions can be true... but anyways. You can use one "Once per bar", maybe on the top, and remove 18,19,20 and 21. Then connect the yellow output of 1 to 5. I didn't tested that and I'm not 100% sure that it's working, but It sounds better to me.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Check sell before buy

      If "happened just before" can be described as something happened in the previous candle, then just set bigger number in "Candle ID" parameter (in Condition click on More settings). MetaTrader knows candles history data and indicators data, so if this data can be used - use it. I mean... in the present moment you ask for information in the past, and this is the best way to do conditions, because the data is always there are can be easily read.

      If two conditions should be true at the same time, then connect them one after another.

      If you don't know the exact time when B happened (the time between B and A is not the same every time), then you should use variable. Let's say the variable is initially "0" and becomes "1" when B happens. When before checking A you check if that variable is "1"... and then reset it back to "0" for the next turn.
      Variables can be defined in "Variables" (see on the right) and modified in many ways (for example "Modify Variables" block). Similar to this, blocks from category "Flags" can be used... they should be used in such situations actually.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Помощ за МА пресичане

      Това е формулата:

      MathSrand(GetTickCount()/Ask);
      if (MathRand()%2) {/* Orange output */} else {/* Yellow output */}
      

      В която се използват милисекундите от стартирането на експерта и настоящия Ask, та бо трябвало да е на случаен принцип 🙂 Но оранжевия и жълтия изход са си противоположни, така че да кажем че оранжевия е на случаен принцип, а жълтия е обратното му.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Can't export the EA

      This is old video, and it shows what happens in the web version. In the local version there is no export, because the file is written directly into the "/experts" folder. Even the web version now can do that (with a little plugin for Firefox or Chrome).

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: (Noob) closing trade when price closed below MA

      "Buy now" creates a new trade with given parameters, but that's all. To close trade by condition, on a separate group of blocks place something like "Condition -> Close each trade". If needed - "Once per bar" or other filter blocks.
      Highest and lowest values are somewhere in "Market Properties"

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Candlestick Patterns Using Single Candle Template?

      If you ask for "Candlestick pattern", it's not very likely for me to update it. But there is that Relative mode where things are in %.
      If you ask for "Single candle template", there are % options for wicks already. About the body size... it's the difference between the total size and size of the wicks, but I can think about the body size.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Future request

      Currently I keep MT4 and MT5 separated because they have major difference in the way they operate with trades (positions). The reason why someone will want to create an EA is that he wants to use that robot to place some trades automatically, so this is the most important functionality. In other words, even if you create project for MT4 and you save it as .ex5... it will not work as expected and you have to change the trading logic. The same if you have project for MT5 and you save it as .ex4. It's not that 1-2 blocks are different, it's that you have different trading logic at all.
      And I can tell you - it's always better and easier and faster to start something from scratch instead of trying to fix it on most of it's parts.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Open and close

      Don't "panic" so much :)) It's normal to forget some EA working on another chart. This happens to me often, even when I use the Tester most of the time. Actually backtesting helps for this to happen, because there is new chart created on every backtest, and eventually you have tons of charts and you don't remember where EAs are and if there are any somewhere 🙂 So... closing all charts should be enough.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Помощ за МА пресичане

      Накумих се, готово е за проба, би трябвало да работи при кафявите блокове ако не съм изпуснал нещо.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Switching EAs On Live Chart

      Yes. Magic number, SL and trade type (buy or sell) are properties of the trade and they are not lost. Trailing stop uses these properties, so it will work with them when EA is "smiling".
      Even a problem can come from this - if you have two EAs with same MagicStart (Magic Number = MagicStart + Group), they can both control the same trades.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Switching EAs On Live Chart

      Trailing stop does not work when the EA is off. When it's on, trailing stop just checks the distance between Ask/Bid and SL and it that distance is too big - it modifies SL.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Switching EAs On Live Chart

      There are many things that EA does not remember when you restart it, but because magic number is a property of every trade/order, it stays there even if you move to another computer.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Помощ за МА пресичане

      Не се сещам, как, освен с 10 блока... но с известна точност ако сложиш филтъра на "Any market", би трябвало да работи, освен ако някой няма поръчка от 11-ти маркет, която да се бърка. Но поне за бектеста ще е ок, докато се накумя да я направя тая опция да работи с многото маркети.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: MQL5 Local Version 054: BUG? Groups can not controlled

      In MT4 you can have 100 different trades if you want. Some of them can be created from EA1, some of them - from EA2. Magic number is to know which trades are created from EA1 and which from EA2. But in MT5 you just can't have two or more trades, you can only have one position (for a symbol). Let's say that in MT5 it's not very good idea to put two EAs for the same symbol, because they can't really separate the position.

      But if you work with groups of pending orders, maybe you should move to "All (....)" option for "Group mode" parameter in blocks from "Manage positions/orders count" category.

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: MQL5 Local Version 060: Information on a groupe

      http://fxdreema.com/globals/files/help_block.png - this one?

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: MQL5 Local Version 054: BUG? Groups can not controlled

      In MT5 you can't really have 2 positions with different... anything, because you can't have 2 positions (from the same symbol) at all. Group number (which is magic number basically) can be used for pending orders, but for positions - not really. If you open two positions with different group numbers, the end position will have the last group number (magic number). Maybe I should remove this parameter at some places.

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Помощ за МА пресичане

      Не, макар че това е нещо дето планирам да може 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • 1
    • 2
    • 322
    • 323
    • 324
    • 325
    • 326
    • 374
    • 375
    • 324 / 375