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: Save lot size of open trade for use later

      But is there still a problem or you did something else wrong and they you fixed it?

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: DateTime

      In this case I think MetaQuotes changed something. I use (string) in the front of the datetime variable that comes from Value->Time and in MQL5 only this was enough to convert the datetime into human readable format. But it was different in MQL4, because (string) converted the value into string that is bunch of numbers (the UTC number of the time). So, to fix that I used TimeToString() function and it worked that way. Now it looks that now this function is not necesarry and (string) is enough, just like in MQL5.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: UPDATE time, write here if you have problems!

      @anse33 said in UPDATE time, write here if you have problems!:

      @fxDreema Please do not forget to solve the still remaining problem of worse results out of the same EA after the last big update!

      I can fix everything, but first I need to know what is that I need to fix. I don't know why exactly you have different results, in which block is the problem.

      I compared the results from those EAs in /examples while the update was still only in my local PC. I did that also to see which one is faster - the EA before or after the update. And I'm pretty sure that in most blocks everything works the same. But it is also very possible that I missed something somewhere... unfortunately I don't know where.

      Ok, you know your EAs best. When you backtest them, does everything works as expected or something is clearly broken. Because you know, one of the small things I fixed was that I used NormalizeDouble for some values. The difference before and after that variable is something like 0.0000000001, but in some situations this can change everything. What if the EA before was wrong and now the new one is more right? This is also possible.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: boxes

      Why modify, did I missed to add some property if the Draw block itself?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Sorry to ask you Again and Again. How to get the buy/Sell Price value from Modify variable Block. i dont know how to store the variable. Can you share practical Example. Thanks

      If we are talking for the Open Price, it is probably better to get that value from the trade itself 🙂 Because if something happens and the EA is restarted, variables could be lost.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: DateTime

      I will fix it

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Multiple Timeframe

      MetaTrader somehow knows the data from other timeframes. I don't know how acurate is this, but in general you can get the indicator value from M1 and H1 for example. You can also do that for different Symbol, but in MT4 you cannot backtest multiple symbols, this is some limitation of the Tester.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: boxes

      "Draw Shape" I think

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Check if previous trade was a buy or a sell

      Well, there is no easy way to get the previous running or closed trade. Normally you can use either "For each Trade" or "For each Closed Trade" (with the "Not more than..." parameter set to 1) and as you can see these blocks are separate. But I don't remember someone asking me to find the latest running-or-closed trade, so I think it should be possible to do what you want to do in alternative, or probably better way. What do you want to do?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Time Bomb Job

      I think it waits, it works on periods of those seconds. This block is dumb, I made it long time ago and is one of those blocks that I want to remove.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: is it a bug or what?

      In this case I'm not exactly sure how the crossover works when you have Bid on one side and value on the other. Those are 2 values. For the "Bid" price, I extended it a little bit, so it collects and keeps Bid prices from few candles in the past, but now I'm not 100% sure that this functionality is working, I didn't checked it for months. But how do you imagine this crossover?

      I have another blocks, those 2 blocks on the bottom of the Conditions for Indicators category. Those are more suited for when the price shoud cross something.

      Otherwise sometimes I use "Candle Close" instead of Bid. The idea is that when crossover is used in Condition, then 2 values are used - from the current candle and from the previous candle. This make two Candle Close values. The current Close value is normally the Bid price (if the candle is 0) and the previous value is just a past Bid price.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: problem MagicNumber

      If you never set the Group number in any block, then the magic number of each trade or order is the value of the input parameter called MagicStart. There are also ways to get the magic number of a trade, with "For each Trade" and then find the Magic Number the pink (in loop) option in Condition block.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Like photo :)

      I guess that the lower picture shows the inputs of some custom indicator. Those colors are set in the code of that indicator, but they are something different than objects... I mean, nothing about the "Object..." functions. Yes, the output is probably some line, some arrows, but MetaTrader has it's own way of printing those objects on the chart. But if you try to find them in the list of object, you will find nothing.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Sorry to ask you Again and Again. How to get the buy/Sell Price value from Modify variable Block. i dont know how to store the variable. Can you share practical Example. Thanks

      What do you mean by Buy/Sell price value?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: TP on object level.

      First, be sure that the object exists and has this exact name. Take a look at the top 2 parameters in each Draw block - better read their description. Then I expect this to work.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Previous Highest or Lowest price as Stop-Loss not working

      Look at where you have Custom (price fraction). Use Custom (price level) instead

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: removing pending orders?

      You want to "connect" particular pending order with horizontal line? What if you put 2 or more lines? I don't understand why you want to remove the whole order when the lines moves... removing something when moving something else is not very logical in my opinion 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Slow backtesting

      You are asking for strategy tester? 🙂 Who will do that and why 🙂

      Unfortunately this is true. Indicators are slowing the process and also EAs generated with an EA builder are normally bulk and heavy. But you know, it also depends on the logic itself. To make things faster, try to Not run some blocks all the time if this is not necesarry. This depends on the strategy of course. For example you can put "Once per bar" somewhere where you don't really need something to work on every tick and the result will be the same if it runs once per bar.

      EAs are slow on backtesting, because certain functions are running again and again, millions of times. There are many ticks to be backtested, and that's why everything is slow as a whole. But if you imagine that you only have 1 tick, then everything is ultra fast.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Variable updating ?

      What line?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Check HTTP request for string part

      What value? I told you how it works - the request is sent with a MQL4 function, then the response is turned into an array, and the data from that array is read somewhere in the Condition block. The array's name is FXD_HTTP_RESPONSE and it has at least 1 value (for key 0) or multiple values if delimiter was used. But don't use that variable name for nothing, this is some variable that I made for this situation and I may change it at any time.

      Again, JSON, XML or any other ways to represent an associative array doesn't work here. For MQL4/MQL5 your response means nothing - it's just a string that contains many letters and some [ and ] symbols, nothing special. And in fact, in MQL4/MQL5 we don't even have associative arrays. Arrays in MQL4/MQL5 can only have numeric keys, or I don't know how they can have string keys.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • 1
    • 2
    • 77
    • 78
    • 79
    • 80
    • 81
    • 374
    • 375
    • 79 / 375