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: Using Supertrend Indicator

      The value of 0 is the value that is returned by the indicator, I don't think that there is an error. Those indicators who return 0 are actually rare, normally the returned value (where the indicator doesn't show anything) is EMPTY_VALUE, which is some big integer. In other words, I see the value of as very intentional, the developer selected that value to be returned. If there was an error, I don't think that you would see 0.

      Try with Candle ID bigger than 0.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: plzz any help to return my position after (take profit or stop loss)https://fxdreema.com/shared/Ga8Fqjbqe

      What do you mean by "return my position"?

      Guys, please ask your questions in the most understandable way possible. Maybe most of the time when someone asks me a question, there is something that I can't understand and I need to return him another question. My native language is not english and this also makes problems 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Three white soldier

      You know, there is a block "Bulls in a row", maybe this one can help

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Three white soldier

      For multiple candles when you need very specific pattern, I think that it's better to use some indicator that is designed to detect such patterns.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: use customized indicators

      A little bit older pictures here, but the idea is the same: https://fxdreema.com/tutorial/builder/indicators#10

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Trailing take profit after take profit is hit

      Trailing take profit is like trailing stop loss, but opposite. This is just moving TP (or SL) from time to time, and when TP (or SL) is hit - the job is done 🙂 You can't reach TP (or SL) and not close the trade, after all this is the idea of those stops - to close the trade. There is no other reason for them to exist.

      Try to explain what you want to do in a way that is logical 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Ayuda con con Custom code
      1. The Comment parameter is a string parameter. If "int" variables don't work, try with "string" variables.
      2. Use Symbol(), not "Symbol()"
      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: How can I read the Buffer outputs of this indicator?

      The line looks like this:
      0_1547757139445_8d0d6121-d123-4d98-86dc-c17f86b112d4-image.png

      I think that we can accept that when the green line appears, the pink line is gone. So why do you want to use both lines to detect one signal. I think it's enough to detect the appearance of the green line, or the pink line.

      To see what really is going on, I can suggest to put that indicator in Trace blocks and observe it on Visual test. Some indicators repaint, they look one way and after a while they change their past and you can be very confused if you are looking at the results only after the end of the test.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: How to open a chart?

      @Jaico, this will not work. This is the definition of ChartOpen() - https://www.mql5.com/en/docs/chart_operations/chartopen As you can see, it accepts only 2 parameters. You can run it multiple times if you want:

      ChartOpen("EURUSD", PERIOD_M15);
      ChartOpen("EURUSD", PERIOD_M30);
      ChartOpen("EURUSD", PERIOD_H1);
      

      To to that on the current symbol, use Symbol() instead of "EURUSD"

      ChartOpen(Symbol(), PERIOD_M15);
      ChartOpen(Symbol(), PERIOD_M30);
      ChartOpen(Symbol(), PERIOD_H1);
      
      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: close trade with MACD

      I see that your EA looks like this:
      0_1547756375467_4f1bce45-79da-40e3-b5ef-83cf5246e519-image.png

      But this is not the correct way of connecting the lower half of the blocks. Take a look at this: https://fxdreema.com/tutorial/builder/things-not-to-do#2
      Basically, disconnect the lines between blocks 4 and 11, and between 10 and 14

      Then it is very important to Not reach any "Close trades" block that could close a trade that is just created. But this depends on many factors - the signals in "Condition" blocks, the settings in the blocks. You don't want to create a trade after some conditions and then after the similar conditions to close the trade on the very next tick, if not in the current one.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: How can I Create an EA for Buy Stops/ Sell Stops by fxdreema

      So you start with 1 Buy stop and 1 Sell stop at 20 pips from the current price. Then one of these is triggered and turned into a trade. This means that you now have 1 pending order and 1 running trade. Then the running trade is closed by TP. Now only one pending order remains... and you want to modify that remaining trade? I'm pretty sure that I missed something in the whole strategy 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: how can we solve that fault

      I feel that you based this on my example - https://fxdreema.com/demo/mt4-buy-sell-buy-sell-opposite-conditions
      Note the settings on the No trade blocks. One of them is filtering Buys, the other is filtering Sells.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Help with this martingale robot!

      I think that you are doing this mistake that I described here:https://fxdreema.com/tutorial/builder/things-not-to-do#2

      But because you say that you want to hedge, let me try to convince you to forget about hedging, because this doesn't help at all. Hedging in the same symbol is useless strategy that only makes things really complex and nothing else. The whole strategy turns into some crazy useless recursive loop. There is no magic in this. Real hedging is when you trade in multiple pairs, but not in the same symbol. Hedging in the same symbol is plain stupid.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Best way to achieve this?

      This is interesting question and the answer is no. It will open the new trade in the current pair, beccause the value of Symbol is empty value (meaning the current symbol). But it's possible to open it on the same pair of the closed trade if we just use the symbol name of the closed trade.

      Unfortunately the input field of Symbol is a simple input field, not one of those "Custom" fields where you can choose from many available options. But here are 2 methods you can try:

      Write this:

      "" + OrderSymbol() + ""
      

      here:
      0_1547753339063_825d2905-5a7e-4282-801a-9749a759f60d-image.png

      Or put the symbol name into a variable:
      0_1547753419627_f2504a67-3612-4e6e-bc54-1ca53617982d-image.png

      Also test whether this works or not, I didn't tested it in real world.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: check age

      Now my question is why, because weekend days are not supposed to be there, markets don't work Saturday and Sunday. But yes, sometimes those days appear on the chart, I can see that. I think that on Monday some data is filled for the last day or two, but not always.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Project Description Does Not Work!

      How... it is working for me 😕 I tested it on a new project, I saved the description, then I reloaded the page and the description was there.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Retrieving internal value of a specific counter (ID) in order to put it into another condition

      But incrementing a variable is not that ugly, I can say that it's pretty much the same story. I made those counter blocks before the variables. If I created the variables first, maybe the counter blocks would not exist.

      However, I see something in your project that I don't like:
      0_1547752107362_7cd2dcd3-b5a0-4b64-8f06-b0b394138d59-image.png

      It looks to me that the variable will be set to 2 every time (1 + 1).

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Having Absolut Math inserted into Adjust field

      I actually did that long time ago, but maybe I never wrote about it: Try this: https://fxdreema.com/shared/cjhGByvF

      In "Adjust" you have this:

      = MathAbs($)
      

      Where = means that the final value will equal what is after the = symbol, it's not like +, -, * or /. And $ is the value itself. MathAbs() is of course MQL4 function.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Help me apply this idea and thank you

      I read your rules few times, but I got lost in the middle where that swap happens. However, it smells to me that you want to do that is known as "hedging", and if this is true, then I can try to change your mind. Hedging in the same symbol is false magic that doesn't work, it only makes everything more complicated 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Using Supertrend Indicator

      There is a value of 0, this is what the indicator returns. I tried this one, because I don't have your version - https://www.mql5.com/en/code/11162 - and it works. Why yours is giving you only 0... I don't know, depends how it is written, maybe this is intentional. But try with different Candle ID

      posted in Questions & Answers
      fxDreema
      fxDreema
    • 1
    • 2
    • 28
    • 29
    • 30
    • 31
    • 32
    • 374
    • 375
    • 30 / 375