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: Problem with the SL of the blocks "By Now" and "Sell Now"

      In the broker I use (MT4 downloaded from MetaQuotes, MIG bank inculded with minimum lot of 0.1), in backtester I can place 5, 4, 3 or 2 pips SL/TP. When I try to put 1 pips SL/TP I receive error 130.

      Just try what is the real minimum value at which you can put SL/TP, it's easy. It might be 10 pips, 6 pips, who knows... Don't rely on what the broker says, let's work with facts.

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: MM Fixed Ratio Position Sizing created by Ryan Jones

      Do you have an idea what should happen if the EA shuts down by accident?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Problem with the SL of the blocks "By Now" and "Sell Now"

      In blocks 5 and 6, 100pips are used for SL and TP. I don't know how many pips you are using via Inputs of the EA, maybe 50, maybe something else, but I can see only values in the project you show.

      Error 130 comes when you the EA tries to place SL < 5 pips, which happens from "Break Even" block. "Break even price offset" is where to put SL in relation to OpenPrice. By default it puts it on the OpenPrice (offset is 0). If offset is 2 pips, SL will be placed at OpenPrice+2pips. But you try to do that when the price is only 3 pips above OpenPrice.

      Emergency stops are real SL and TP that can be placed when Virtual Stops are used, but in this project you are using normal hard stops, so there are no emergency stops. Virtual stops are horizontal lines only and the EA detects when to close the trade, but in case of internet or PC problems, emergency stops can be placed at some distance from virtual ones.

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Library Studio

      Well, this is not a new programming language. What is different is that different parts of the code are written in different places 🙂

      Unfortunately Library Studio is still not capable to return compilation errors, I'm still skipping this...

      Have a look at it now. Global variables are defined in the same way you define it in MQL4, something like "double Varname=0;".

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: feature request "Parameters On the Fly"

      I can think about it. Someone else finds this interesting?

      The little problem is that it seems to be for MT5 only, and I prefer to make equal features for both, MT4 and MT5 😕

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Problem with the SL of the blocks "By Now" and "Sell Now"

      Break even - this block simply puts SL to the level where OpenPrice is, and because this can lead to small losses, there is an option to put SL to level OpenPrice+Offset. You have offset of 2 pips and you wait to have 3 pips in profit to set the price to level OpenPrice+2pips... which is like putting SL of 1pip.
      Error 130 comes from this block only.

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Library Studio

      You can define global variable(s) into the smaller field below the block's code. Then, this variable can be used with it's name in other blocks. I'm using this method for a very few system blocks, because I want global variables to be free to be used as Formula Results, Constants and Variables.

      I prefer to store data in functions with static variable inside.

      The block itself is also a function, but that function is not meant to return a value.

      What do you expect to see? Block with 2 input parameters, who makes calculations internally and returns the value.... where? And where you want to use that value?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Problem with the SL of the blocks "By Now" and "Sell Now"

      Error 130 means that the level of SL or TP is not acceptable. I think it's because of broker's limit. Try to put SL or TP manually to see what is the real acceptable minimum 😕

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: I need help for custom indicator in metatreader 5

      That's my point. The buffer of this particular indicator returns something that no one needs.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Problem with the SL of the blocks "By Now" and "Sell Now"

      What about "Options->Current project options->Point format"? When it is 0.0001, 5 pips are 0.0005.
      Do you receive error messages?

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Library Studio

      You checked this and this?

      I tried to create a block named "MyCustomBlock" in your account. But today my internet is broken and I can't do many things.

      But try it, there is nothing you can broke there. I'm pretty sure that with very little trial and error you will get it. Library Studio is not very complex actually.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Library Studio

      I'm using this part of fxDreema to build system blocks and it works for me, but for average people... I don't know, it's really not very well documented. At some level I prefer to be like that, because sometimes I'm changing my own API functions or other rules. And you are maybe 2nd or 3rd (of almost 2000 people now) who ask for it.

      By "library" I mean the code of the block. I think I will retire this word and will use just "block".

      What you can do in Studio is to create a new block, write code for it (this code will be inserted in a generated funtion later) and define input parameters for it (right-top panel). Those parameters will be automatically inserted at the top of the code. You can also define your own functions (right-bottom panel) and use them inside the code, but what is important here - if you defined some function and it is not used by any block, it will not be included to the final EA code.

      And all of this should work if there are no bugs 🙂 The last time I made updates on Library Studio was probably more than 6 months ago...

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Problem with the SL of the blocks "By Now" and "Sell Now"

      SL exists on the chart and the price seems to reach it, but is not triggered? Or it cannot be created?

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: MM Fixed Ratio Position Sizing created by Ryan Jones

      I might be wrong, but... is it something like this:

      initial capital = $10.000
      delta = $500

      $10.000 -> 0.1 lot
      $10.500 -> 0.2 lot
      $11.000 -> 0.3 lot
      $11.500 -> 0.4 lot
      $12.000 -> 0.5 lot
      ...
      ...
      $20.000 -> 40 lots???

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: MM Fixed Ratio Position Sizing created by Ryan Jones

      Well, I'm still trying to understand it (I'm not really good with calculations and my mind tends to work slow), and I'm still asking myself - why is that formula better than just opening lot size as % of Balance or Equity 😕 For example, If I have 10.000 now and I decide to open 100% of it, I will open 0.1 lots. When I reach 11.000 I will open 0.11 lots... and so on.

      $10.000 -> 0.1 lots
      $11.000 -> 0.11 lots
      $12.000 -> 0.12 lots
      $13.000 -> 0.13 lots...
      ...
      ...
      $25.000 -> 0.25 lots
      ...
      ...
      $100.000 -> 1 lot

      Can you please write to me similar table for Ryan's formula?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: MM Fixed Ratio Position Sizing created by Ryan Jones

      To be honest, I'm a little bit skeptic... it looks to me like just another fancy stuff around that can be described as "doing same thing in another way because it's cool to be different" 🙂
      You want to try this formula because you really get it or because you saw the chart on the bottom of the page?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: MM Fixed Ratio Position Sizing created by Ryan Jones

      How can this be translated for forex trading and MetaTrader? And what is the difference between this method and trading with % of balance? Maybe this method tell us the frequency of trading (with fixed amount of money), but isn't the frequency of trading dependent on the trading signals of the strategy?
      I feel that this method tells me "Today you can open not more than X equal trades", so if I opened X trades today, I have to wait for tomorrow to start trading again. Why should the EA skip potential trades?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Save as... [DONE]

      This is old topic. See "Export as project file (.xml)"... but now exported .mq4 (.mq5) file also includes the project data inside, so no .xml needed.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Draw Rectangle

      Fixed. Thanks for noticing!

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: I need help for custom indicator in metatreader 5

      http://fxdreema.com/shared/PvS9wX2ke
      It looks that this single buffer is used as a ticks counter.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • 1
    • 2
    • 362
    • 363
    • 364
    • 365
    • 366
    • 374
    • 375
    • 364 / 375