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: working with (Round Number Detector)

      I added one option to reset it after some % movement. You can try it. I actually changed most of the code in the block and I tested it, but as always I expect bugs and if you find some problem, report it to me

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Project variables are getting reset

      The reason I made "Bucket" blocks was because people wantet to get values like this 🙂

      Block numbers are important when you connect blocks like this in parallel. Both of your Comment blocks has lower numbers than Modify Variables, so they run first. Connect Comment blocks after Modify Variables to print the newest information

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: working with (Round Number Detector)

      Yes, but remember that the price can move up and down around the round level and cross it many many times, so it can't be reset all the time. There must be some limit. One way is to reset it after the price moves with N pips above/below the latest round level. Or to reset it on each new candle... I think this is what you want. I will try to add some options

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: working with (Round Number Detector)

      I think people were asking me this thing before, but I don't know why. You want to be able to detect certain level, and then if the price is moving around it to detect it again? To reset it remotely from other block or what? But I don't think I will do that with the remote reset, because yet another block that is kinda disconnected from others... I'm tired to explain to people how such blocks work 🙂

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

      Yes, "on Trade". Of course, the way under "on Tick" is to check the current count of trades or orders, if this can be used. I prefer to try things in "on Tick" first and if I can't find a way - under "on Trade". Because in "on Tick" I work with the current state of the account while in "on Trade" I work with events that only happen when the EA is working and only once.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Project variables are getting reset

      Show me specific problem and I will help. That's why I am here. But you can check counts with Check trades count and all the other blocks in that category.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: How to write a successful EA

      ryangrey, never believe in results like this. The Tester has it's own little flaws and sometimes you can make an EA that exploits them. This is especially true if the EA is working with small stops and does things very often. This is because ticks are generated, there is no information below M1 and everything inside the minute is fake.

      Before believing in such results, backtest them with Tickstory. And on a demo account of course. Recently I was playing with Tickstory. It's a pain in the butt to make everything to work (+ you have to buy it), but then it appears to work.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: about open reverse order with multiply lot size from previous trade

      There is no single answer to these questions. Not to mention that I hardly understand what you want to say.

      1 - under "on Tick" with blocks like "No trade", "No trade/order", "No pending order" you can check the current state of trades and orders and create trades and orders. These blocks have filters and you can make different scenarios.

      2 - under "on Trade" you can detect one-time events - when trade is opened or closed, when pending order is placed or deleted, and others. At any of these moments you can create/modify/delete any trades and orders. The disadvantage is that these "on Trade" events happen just once. I personally prefer to find a way to make things under "on Tick" first, and only if I can't, I would do something under "on Trade"

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Need to build an EA Based on Extreme Spike Indicator

      Ask me something specific, because I always prefer to tell people how to do something after they tried and failed. I'm not here to make EAs for people 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: input variables of indicators w/ multiple choice to be selectable

      You are asking for enumerations. This comes with the data type. There are few basic data types like int, double, bool, string and few others, and there are some special data types that start with ENUM. For MA periods it's called ENUM_MA_METHOD - https://www.mql5.com/en/docs/constants/ ... _ma_method

      There is no one link where I can show you all predefined enumerations. In the MQL4 documentation they are everywhere. You need to know what you are searching in order to find them.

      I will eventually add these, who knows when. It's also interesting that you can create custom enumerations in MQL4/MQL5.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Saving ObjectName in Variable

      It looks that the name of the object is the only thing that is missing if you use For each Object, this is because of the way I organized things in Condition -> Object on the chart 🙂 The issue is that the name is a string value, while everything else is numering, and in some way it doesn't fit.

      For now you can use this function - LoadedObjectName(). Just write this somewhere after "For each Object" and it should give you the name. But note that in any time in future I may, and most probably will rename this function or remove it. This is function created by me and I often change things 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: New User help Please

      You can save everything in variable, but candles data is available immetiately after the EA is loaded, it's just there and there, it's like fruits in a tree 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Matrix Loop

      No, expiration time is not linked with candles, it's N minutes after the creation of the trade. Technically, in the Comment of the trade some information is written and then the EA reads this information and decides when to close that trade. This is for trades. For pending orders, their expiration works on the server.

      I think I don't understand your candles. I decided that you want to open trades at certain pips away from the first trade and with different lot sizes. But if this is something like renko... maybe just use renko.

      Candle Time. So, go to your History Center and you will see that each candle has O, H, L, C, Volume and... Time. This is the rounded time at which the candle is positioned. For H1 we have candles at 00:00, 01:00, 02:00 and so on.
      As a variable, the Time is an integer value, a whole number value. Also known as Epoch or Unix Timestamp. The number of seconds since 01.01.1970. Here is more - http://www.epochconverter.com/

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Info About Pending Order

      Click on the settings icon and look at the Point format rules. I tried to explain it there, hopefully you will get it

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Problem with PENDING ORDER IN GRID

      Fixed. Thank you for reporting this problem 🙂

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Matrix Loop

      What about pending orders in grid?

      Otherwise check this topic, someone put interesting example for opening trades, but the lot sizing is another thing - post/12945

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Price cross indicator

      In general:

      1. If at the current moment you can get information about candles and indicator from the history, do that, this is the best way
      2. Using Variables to store states. You check some condition and set the value of some Variable to something, this is entirely custom. In other blocks you check what is the state (the value of the Variable) and depending on that you do something else. The downside is that if MT4 crashes, Variables are gone, they are temporary memory.
      3. This https://fxdreema.com/demo/mt4-wait-crossovers. But here all steps must happen one after another. I mean, block 1 will not run again until block 2 passes.
      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Calling values from other charts????

      I don't think so, at least I don't know how to do something like this. But there is this type of variables - https://fxdreema.com/help/-/working%20w ... 0variables

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Project variables are getting reset

      Variables are global variables in the MQL4 program, they will reset. Well, if you stop the EA and add it again on the chart, there is no question about it - everything will reset. But if you only change the input parameters of the EA while it is still active, values should remain. Here is a little test - https://fxdreema.com/shared/2w5eBTFbb It forks fine for me.

      But I will not recommend to rely on variables for counts and lot sizes. It's better if you get information from existing trades and orders, because they exists in all memories - in the MQL4 program, in MT4, on the server. And if any type of shutdown happens, they are still there after restart. Be very careful if you organize things with Variables and such temporary data and test different scenarios.

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

      cfabian, I didn't changed that block on the web version. Not to mention on the desktop version. If something worked before and now it doesn't work, and I didn't changed anything, I suppose that it's something that you have done. But I don't know what it is.

      For this block, note that this stuff 5.7 => 0.0 is generated inside the block every time it runs. If for some reason the block does not run all the time, this thing will not be updated.
      Also, I admit that there can be some problem inside the block, some bug. I'm fixing this one from time to time. Now I don't know what is the problem exaxtly, but if you give me simple example that contains 2-3 blocks and shows the problem when I put it into my MT4, I will fix whatever it is. I probably said this few times already 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • 1
    • 2
    • 143
    • 144
    • 145
    • 146
    • 147
    • 374
    • 375
    • 145 / 375