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: self updating/refreshing grid, compare two groups of trades

      What is this now: http://prntscr.com/41c9na

      Adjust fields acceps something like "+10", "-20", "+10/100".
      "150%" does not mean 150% of the value, but you can try *150% or *150/100 or 1.5. notice the "" sign here.

      And these values are not something from the last pending order. To load data from the last pending order, "For each Pending Order" can be used with "Not more than...." parameter set to 1. And then use: http://prntscr.com/41cbyo

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Undeclared identifier

      I can use that indicator with no problems at all: https://fxdreema.com/shared/LvrioUY6c
      I use the same indicator with 2 different settings here, so 2 indicators appear on my list after the end of the test, as expected.

      I don't remember what caused indicators to reappear, I have seen such a thing before, I think in MT5. I need more details - the project itself? Maybe checking the same EA in another MT4? How another custom indicators behave?

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Problem with custom indicator ex5

      This is a bling shot because I can't get why mixing those 2 methods: https://fxdreema.com/shared/Uewkhic5d
      In my backtest Martingale reached more than 30 lots (and errors of not enough money), whine Ryan Jones is somewhere at 0.02 lots.

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: On bar close, do this...

      Again, the time is a whole number value, which is the number of seconds since 1.1.1970. It's not hours, not days, not months... it is seconds, and it is some very big number.

      I don't understand what are you trying to do, it looks for me that you are trying to do something simple in the hardest way 😕 Why not just use normal human readable hour values. The time of Daily Candle[1] is 0:00 of the previous day and when you add 86400 the result is 0:00 today. Why doing this... In places where you can see default value like 01:00, 08:00 or similar, and there is no day defined, the current day is used. Like in "Once per bar".

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Problem with custom indicator ex5

      I'm not sure these are compatible, Ryan Jones uses some variables for memory, so it does not depend on the last trades, but on these variables. Martingale reads the last closed trade lot size.

      You can for example have 2 Buy now blocks, one for Ryan, one for Martingale. And before martingale to check if the last closed trade was losable. Or profitable 🙂

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: On bar close, do this...

      Yes, this is. The variable should be integer (whole number), but it will work that way as well. Well, it's "datetime", which is integer.
      So, the time is integer, a whole number. Check this one: http://www.epochconverter.com/

      Here is a function to convert that time into human readable text (string), but this is for visualisations only, don't use it for calculations: http://docs.mql4.com/convert/timetostring

      And there are functions to get hour, day, second... whatever from that time value: http://docs.mql4.com/dateandtime/timehour

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: How to avoid losses at each tick?
      1. This depends on the current conditions, the EA is not doing tricks for fun 🙂 I tested it, it was ok for me.
      2. Mmmm check again
      3. MetaTrader 4 is known for it's bad history data. Sometimes there are months and even years of missing data. You can go to delete some files (in "history" and "history/downloads") and download data again. It's not that this will fix all the problems, you will get holes of data in other places 🙂 This is well known problem for MetaTrader 4.
        Or try Ticks Data Suite or Tickstory (use Google here).
      4. You can't. These are trades that are closed when the finish date is reached. These are currently running trades at that time, they hold their profits and losses.
      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Problem with custom indicator ex5

      Now this is something that I can't understand why 😮

      "Buy Now and Sell Now (Custom Martigale)" is still available, if you have these blocks somewhere you can copy them, but it sounds weird to me

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: self updating/refreshing grid, compare two groups of trades

      Ok, no stops for trades, pending orders needs to be moved down when the price goes down. Then what about this: https://fxdreema.com/shared/SriajFcge

      1. When there is no pending order -> create one at 10 pips above the price.
      2. When that pending order turns into trade we go to 1) because now we don't have pending order anymore.
      3. We have pending order at 10 (or < 10) pips above the current price all the time, because when the price is going down the order is also moved down.
      4. We have trades opened at ~10 (or < 10) pips from each other: http://prntscr.com/40yfdj
      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: self updating/refreshing grid, compare two groups of trades

      Ahhh, on Init...

      No, these blocks does not work by themselves, they also does not work by chance. "For each Trade" gets the total number of trades and then starts to load them one by one, calling the next blocks. All pink blocks know what trade is loaded by "For each Trade", so they do something with that trade... depends on what is the name of the block.

      "For each Trade" is not self-executed! When it is under "on Init" it will be executed once and forever. No block has internal "on Tick" functionality. All blocks are basically passive = they work when they are executed, they do whatever they has to do and stop forever, or until they are executed again.

      Also, "For each Trade" works for trades, not for pending orders. I can see you have "Buy pending order", but this creates what - pending order. There is "For each Pending Order" for pending orders 🙂 All the other pink blocks are universal - they work with whatever is loaded using "For each....". Well, most of them, some like "slide order" are specific for pending orders.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Undeclared identifier

      The current candle has ID = 0. The previous candle has ID = 1. The next one is 2, then 3, 4, 5....
      Candle with ID = -1 does not exists

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: self updating/refreshing grid, compare two groups of trades

      Are you aware that all of the blocks are disabled? 😮 Look at that red glowing.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Undeclared identifier

      Ummm... I think it is saved but then it does not appear as saved... bug 🙂

      I don't know when I will fix it, so for now I can give a workaroud - define this parameter as "int" and use 0 and 1. Integer is compatible with boolean.

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Set take profit based on stop loss?

      In the past all input parameters were accessible in .ex4 files, but now nothing can be read from there, or at least I don't know how. Well, copyright information can be read, but who cares.

      I wrote some information in the window where indicators are organized, also look at the bottom half of this page to see what datatypes to use for parameters: https://fxdreema.com/documentation/proj ... indicators

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Undeclared identifier

      It uses datatype which is defined in it - ENUM_NEXTTF. You can define it as int with default value of 0, which is Disabled. Also, for some reason fxDreema does not detect it's 4 buffers, so add them manually. This is what it should be: http://prntscr.com/40i7tk
      Buffer names are optional, I defined them as the name of their colors.
      I don't know how this indicator works, it is also very slow and heavy on my system 😕

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: How to avoid losses at each tick?

      I think it works for me. I disabled block 2 to check sells and this is the result: http://prntscr.com/40d3cx

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: EA works fine in Backtest but fails on live ECN brokers

      Or why not directly using this symbol http://prntscr.com/409qzx 😕

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Where are my Bookmarks

      Wow, this is new to me, I never used this option in forums 😄 But i guess this is the answer: ucp.php?i=main&mode=bookmarks

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

      All these pink blocks with lowercase titles needs "For each Trade" in order to work, but I'm so tired to explain this 🙂

      https://fxdreema.com/demo/mt4-loop-how-it-works

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: EA works fine in Backtest but fails on live ECN brokers

      https://fxdreema.com/shared/D9ulgNX2

      Or use:

      Symbol() + "+"
      

      as a market name.

      I will try to do something to automatically detect situations like this.

      By the way -> http://prntscr.com/409buo 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • 1
    • 2
    • 275
    • 276
    • 277
    • 278
    • 279
    • 374
    • 375
    • 277 / 375