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: Pips worth with JPY

      This is what MarketInfo(Symbol(),MODE_TICKVALUE)) stands for. It is only described as Tick value in the deposit currency.

      https://docs.mql4.com/constants/environ ... oconstants

      I don't know how this is calculated exactly, but you can try to see what value it holds. I think that if your deposit currency is USD, then all */USD will give you the value of 1. And the value is different when currencies are crossed. If I am not wrong, this is the value of 1 pip for the currency you are in, measured in the deposit currency. Or maybe you ask for somethin something else.

      If you ask for how much profit/loss will happen if we have 0.1 lot trade and the price moves with 1 pip, then this is easy calculation when yu are in EURUSD with USD as deposit currency. But in other cases I think MODE_TICKVALUE should be used. But I can admit that I am really, really bad in mathematics and I have hard times thinking for such otherwise simple calculations. So I'm only giving ideas 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: How to check the average spread for a period of time

      Yes, but this is the only thing I have from this kind. And I don't think that this is the best option to be added in Condition. Maybe there is some indicator that does something similar?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: How to check the average spread for a period of time

      This block actually have such option - http://prntscr.com/a2ibth
      I'm not sure that it's still working. I remember that I made this long time ago and it was very tricky. It's also probably slow, because multiple values are collected and they are calculated every time.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Pips worth with JPY

      What about this - http://prntscr.com/a2i5lj

      Well, in Condition the idea is that you get 2 values to compare them, but they are direct, you get them from specific place. I can't imagine what */JPY would do, because there are many symbols from this type and this is not something direct.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: FxDreema as an indicator?

      Now that you are saying this, it sounds very logical to have such option in Formula 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: I don't get this ea working

      Yes, you need to reset this variable sometimes, maybe once per day. You are right, TS closes the trade by SL. Sorry, there is no special way to detect for sure that the trade was closed by TS.

      Another other way is to check the profit(loss) instead of how many SL were hit.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: IF TRADE OR NO IF TRADE?

      No, it's not necessary. If there is no trade to be closed, nothing will be closed, "Close Trade" will appear to do nothing

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: opening/saving projects

      Save it as .mq4 or .mq5 file and then import that file from Projects->Import Project. Note that this will not work if you save from the web version and import in the current desktop version, because the desktop version is older and it looks that I have no serious plans to upgrade it.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: FxDreema as an indicator?

      https://www.mql5.com/en/docs/convert/normalizedouble
      https://www.mql5.com/en/docs/convert/doubletostring

      These are the native MQL4/5 functions that can round the number to certain decimals. In the blocks there is no other way to do this thing and I can't even guarantee that these functions would work. This part of MQL5/MQL5 is hard for me to explain and often even to work with.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: How to get a value from the last fractals?

      For Fractals set Candle ID to at least 2... if I am not wrong. This indicator gives us nothing in the current candle and as I remember - in the previous candle as well.

      How to get the latest positive value. Well, hardly possible with the built-in indicator. But for the "My indicators" option in "Condition" I have added extra options, check them.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: NAMING INPUTS

      https://fxdreema.com/demo/mt4-constants

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: I don't get this ea working

      I think I wrote this somewhere, but I don't like those AND blocks. I don't understand what are they doing there.

      Also, I can't see what these loops are doing. Note that "For each ...." is able to run the next block/s multiple times for every single run of that block.

      "Check trades count" has nothing to do with the loop. These blue blocks have their own loop inside, they don't care of the outside world. So I don't see what these blocks are doing there as well.

      Again, I don't understand the idea behind the detection of TP/SL/TS. What other ways to close a trade exists? Note that Trailing stop closes trades using the native OrderClose(), there is nothing special about this. Only this that the close price is not the same as TP or SL. In other words, we can detect 3 ways of how a trade was closed - by TP, by SL or otherwise. If you are counting all trades closed by TP, SL and TS, you actually count all closed trades. It will be much easier to not check how were they closed, just count them, it will be the same result.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: close out on entry?

      It looks ok in the EA. Check if you have correct input values, I can see that you have these levels as input parameters. Also check if CCI on the chart is on Typical Price.

      I had few trades on my MT4 and I put that EA to work. CCI is now between -100 and 100 and Nothing happened. I changed timeframes and when I reached M1 (CCI somewhere above 100) I got my two buys closed. So I don't know, I think it worked for me.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: ONCE PER BAR - MAXIMUM TIMES TO PASS

      It means that it will trade 2 times per bar. Well, it's more accurate to say that the block will be able to pass twice in the same bar if you run it 2 or more times.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Take profit depending on market

      The difference between two price levels as a value I call "price fraction". You probably got the value and it is multiplied by 0.9, but then in "Sell now" you selected "Fixed pips", which is not correct in this situation, because you have value similar to 0.0023, not 23. Select "Custom (price fraction)" instead.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Dynamic Levels

      That option "Dynamic level" can be any value, also plain 0. This is the level where the first pending order will be placed. Well, if it's 0 no pending order will be opened there, because I think I programmed it to do nothing id the price is such, but anyway. Then you have Grid size. This is the distance between pending orders... in pips. In pips, so it depends on the market. For EURUSD if you have value of 10 there, then the distance between pending orders will be 0.0010, but you can change that value obviously.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: ELSE MIRROR...TRUE "MIRRORING"

      Just x<. It's not aware of indicator specifics

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: 10 PROJECTS LIMIT

      My fault, problem fixed

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Time filters

      "Once per... whateve" at the end depend on the ticks. If no ticks come in more than 20 seconds, nothing will happen. But that's why those blocks are called Filters, not generators or something.

      There is this event "on Timer" which can be used to run blocks in equal time periods. But note that this works only live, not in backtest.

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

      It's possible to do Copy-Paste of blocks, but then you must that everything is fine in them. Some blocks are exactly the same in both MT4 and MT5, but some of them have small differenced.

      Also some blocks will appear as abandoned, because their low level names is different, so these must be deleted and then added. This is actually my fault, because I have to align those names... who knows when.

      The code behind the blocks is created when building the output EA, it does not come with their plysical appearance. So to copy one block means to copy some data such as position (x and y), it's name from the library, it's parameters and few other stuff. That's why it's possible to copy blocks from MT4 to MT5.

      But if you are not forced to use MT5, I will recommend to stick with MT4. MT5 sucks 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • 1
    • 2
    • 173
    • 174
    • 175
    • 176
    • 177
    • 374
    • 375
    • 175 / 375