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: I need to keep the price of the order in a variable

      The better idea is probably to get this price when you are going to use it. If you want to get the open price of the last closed trade...

      For each Closed Trade (set "Not more than..." to 1) => in the next block, let's say Condition, navigate to (in loop).... and find Open Price
      http://prntscr.com/6pn6ok

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Determine the trend

      The default method to determine trend is to compare 2 moving averages - fast MA vs slow MA

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Fxdreema for jforex or other plataform?

      I'm still fighting with MT4 and MT5 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Draw Text Variable

      As you can see, even I can't spot this issue quickly. I'm sure that people are using Constants and Variables, but I don't remember seeing someone using P. So I don't know, maybe I will dump this functionality. I was happy with this when I first created it, but not everything that I did was actually a good idea 🙂

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: 2 Formula >> Condition, Crosses problem

      First of all, my recommendation for everyone is to NOT use those checkboxes. I know that they are easy to be checked, and they are very good when you want to check one or two and quickly try some optimization for the EA. But to use those as input parameters is not a good idea at all.

      Now the problem comes because you are trying to set input as input. Constants are already inputs, no need for these checkboxes to be checked. And again, I really, really... REALLY recommend to NOT use them.

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Draw Text Variable

      I understand you now 🙂

      Obviously, variables (from the white input) are modified after initialization of block's inputs. Why is that... Because of these P1, P2... and so on. These are block's input parameters actually. If I decide to modify variables above those parameters, then I need to remove them all. I have no problems to remove this and that, but what if someone is using those P1, P2... 🙂

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: 2 Formula >> Condition, Crosses problem

      Of course, use Constants (Inputs): https://fxdreema.com/demo/mt4-constants

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: 2 Formula >> Condition, Crosses problem

      ma14 and ma34 are very simple and normal numeric values, not handles to those indicators, objects, pointers or something like that. Just put both indicators in the Condition and remove those Formula blocks, it will work

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: lot size calculation

      fxDreema generates EAs and Scripts, but not indicators. There are some differences.

      You can generate empty indicator in MetaEditor, it's pretty easy and happens in 5 seconds. I did that and here is the result: http://prntscr.com/6p5skx
      Chart ID... keep it 0. Sub Windows is what matters here. The main chart is 0, the first sub window is 1 and so on.... http://prntscr.com/6p5tdj

      But the need to have separate window can cause you some problems if you want to backtest this, because no separate window will exists and you will not be able to work with these objects

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: FxDreema can not display buffer outputs according to the ind

      Possible, possible. fxDreema tries to guess names of buffers, but not always successfully. You can always rename them anyway. Buffer names does not matter for the code, what matter is buffer ID - 0, 1, 2 and so on....

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: lot size calculation

      You are talking for what option? You wrote % of Balance above, but there are at least 3 MM options containing words **% of Balance ** in their name and they are totally different 😮


      I think it's only possible for indicators to create extra window: http://forum.mql4.com/64721#988426

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Trailing pending orders not working

      There is something called "Magic Number". Expert advisors should work only with trades and orders created by them, this is the idea. Magic Number for manually created trades and orders is 0. Your EA is set up to work with number 1879, which is automatically generated random number. You can edit this number in the project settings (the bench icon on the lower right corner in fxDreema). It appears as "Magic Start" there. Then, in the EA this is input parameters called "MagicStart".

      2 options:

      • If you only want to work with manually created trades and orders, set MagicStart to 0 and everything should be fine
      • Each trading block can be set to work with manually created trades/orders. Look at this parameter more closely: http://prntscr.com/6ooi3b
      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Bulls in a row

      https://fxdreema.com/shared/TXXnF2sJb

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: lot size calculation

      % of Balance => Lots - when set to 100%, on EURUSD this will buy 0.01 lots if you have 1000 dollars. Here the idea is that 1000 dollars = 0.01 lots. On other symbols... who knows.
      Risk % of Balance - lot size will be calculated depending on SL, so when SL is hit to lose this % of the balance. Well, not exactly, because you know that lot sizes have steps.
      Freeze % of Balance - this depends on your free margin.

      This is one of the functions that calculates lot size... if you can understand something: https://fxdreema.com/documentation/coll ... ynamiclots

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: lot size calculation

      __Well if u have a better way to do it, what are u waiting for to tell me taht way??

      I need that function because all the trades have to risk the same amount of the balance i.e. 2% have to be used for each trade on 13 different pairs... but wait.. im thinking.. may be i can sue the function of buy now block that says"% of Balance" if that is correct... what a way to complicate things hahah[/quote:1d7bphad]

      That was what I wanted to say. There are few MM models already build in trading blocks. But even if you don't like some, you can select Fixed and put some formula in the input field. For example, I was using something like this in one project that I tried: AccountBalance()*0.3/10000.

      AccountBalance() = the current balance
      AccountEquity() = the current equity

      Those are also available if you select them as "Custom value". Then you can use "Adjust" to adjust the value if needed....

      I don't know what exactly to show you because in your example you are mixing price value (Ask, Bid) with money, which is a little bit... deep water.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Problem in open position.

      It says Market Closed here and there, but this row is interesting:

      Heiken_Ashi (EURSGD,W1) array out of range in 'Heiken_Ashi.mq5' (71,32)

      It seems that something is wrong in this indicator and maybe because of that it does not load. Check if everything ok with input parameters for this indicator.
      The other indicators are probably fine.

      By the way, I'm really starting to dislike MetaTrader 5. I had conversation about some problems with another guy, from Brazil. The problem was that in some situation when the EA tries to close the position, opposite position with huge load is opened. And unfortunately I can't easily fix this issue, because MT5 is... stupid. It does not wait for it's own database to be updated before going to do something else, or something like that. And this is when OrderSend() is used, not OrderSendAsync(). You can also get a response from the server that is specific for OrderSendAsync() when using OrderSend().
      So, if you can choose between MT4 and MT5, pick MT4!

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Draw Text Variable

      I don't know, there might be some but. You can check the source code if you want. The variable name will be Ycoortinate I think, and you should see something like this below the code that defines input variables:

      Ycoordinate = Ycoordinate+YGap;
      

      Do you have something like this?

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Start Trailingstop at defined point

      I'm pretty sure that you are not a native english speaker, but damn, use some "," at least 😕 I'm also not native, so it's hard for me to understand everything. Now all that I understand is this: "I want point first trade profit second trade 100 pips 200 pips Trailingstop point then second trade first trade point 20 pips 100 pips Trailingstop starts. 😕

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Draw Text Variable

      This one is working for me 😕 : https://fxdreema.com/shared/y44Xj1bHd

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Draw Text Variable

      Example, screenshot?

      posted in Bug Reports
      fxDreema
      fxDreema
    • 1
    • 2
    • 229
    • 230
    • 231
    • 232
    • 233
    • 374
    • 375
    • 231 / 375