fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. josecortesllobat
    3. Topics
    J
    • Profile
    • Following 2
    • Followers 20
    • Topics 34
    • Posts 507
    • Best 41
    • Controversial 1
    • Groups 0

    Topics created by josecortesllobat

    • J

      UninitializeReason()
      Bug Reports • • josecortesllobat

      1
      0
      Votes
      1
      Posts
      597
      Views

      No one has replied

    • J

      Compilation errors
      Bug Reports • • josecortesllobat

      3
      0
      Votes
      3
      Posts
      1642
      Views

      fxDreema

      The problem is because of the letters P3 in TP3_Pips. If you look on the left side, P1, P2, P3 and other Px can be used in the same way as V1, V2 and so on. So basically the P3 letters in TP3_Pips are replaced with something that doesn't need to be there.

      Anyway, I added some code in few regular expressions and I think I fixed this problem. But if you will need to save the block again.

    • J

      Why first trades on demo account does not get the right values?
      Questions & Answers • • josecortesllobat

      6
      0
      Votes
      6
      Posts
      1605
      Views

      J

      Hello @miro1360

      It looks that is working corectly on demo account as well.

      0_1546583689824_24f15781-1df9-4c29-80c4-f5c778101f97-image.png

      Thanks!!!

    • J

      "Spread filter" block always set 5.0 fixed pips in the code
      Bug Reports • • josecortesllobat

      3
      0
      Votes
      3
      Posts
      1802
      Views

      fxDreema

      Well, you can get very confused if you are looking at the code. I am using many classes linked together. In the past each block had it's own code, but the downside was that if you let's say use the same block copied 20 times in the project, the same code is printed in the source code 20 times. Then I introduced those classes and now the main code of the block is written 1 time (for most blocks, not for all) in a class that I call "model", and 1 separate class for each block where the parameters are set.

      So, in your screenshot what we have is one class that is the model for "Spread Filter", and in this class we have a constructor. What is a constructor? Some part of the class that is called once when we make instance of the class. In short, that value 5 is the initial value and it could be changed for every unique block. The actual value for "maxSpread" is set somewhere else in the code.

    • J

      How to add Custom MQL blocks to "Custom" blocks section?
      Questions & Answers • • josecortesllobat

      8
      0
      Votes
      8
      Posts
      3794
      Views

      J

      Thanks @miro1360

      I will try it.

    • J

      Position´s Expiration
      Questions & Answers • • josecortesllobat

      7
      0
      Votes
      7
      Posts
      2091
      Views

      G

      @fxdreema I've stumbled on the "Check age" block encompasses weekends issue. It is pity this simple but useful block is not flexible to skip weekends, market holidays or skip any given period market was closed, because the period of time that is implied by the notion "CHECKING AGE" is the actual period market was open only.
      Yes, there are other ways to check age excluding holidays, but the "Check age" block is the most intuitive one for the newbies, and IMHO deserves to have such options. Even for me, because I still struggling with variables) Thank you @fxDreema for the great robot-building framework, nonetheless. @GeoFX/2+ years happy FXDreema user

    • J

      Market Close Time
      Questions & Answers • • josecortesllobat

      8
      0
      Votes
      8
      Posts
      1917
      Views

      J

      Hi fxDreema

      It is just an idea. No worries. I have other options that I tested and it works pretty well even though there are not what I would like.

      Thanks

    • J

      how to set Timeframe value at Condition block?
      Questions & Answers • • josecortesllobat

      6
      0
      Votes
      6
      Posts
      1771
      Views

      J

      Thanks @timmyhanke

      I Will try it.

    • J

      "Write to file" block
      Questions & Answers • • josecortesllobat

      22
      0
      Votes
      22
      Posts
      7752
      Views

      K

      @fxdreema I've just tested it. Now, it works accurately. Thank you very much!

    • J

      Automatic string building for a comment
      Questions & Answers • • josecortesllobat

      3
      0
      Votes
      3
      Posts
      924
      Views

      J

      Hi @fxDreema

      Thanks for your support.

      What I would like to have is a way to automatically create a string to manage the opened trades in blocks like "For each trade".

      As an example. My Project opens (n) trades when the condition to enter at market is met. The loop creates (n) trades labelling each trade with a unique group number using a variable that is modified each time that loop passes:

      0_1535657320695_24fc31a7-4e6d-4d23-9cd4-4493c6ba25c9-image.png

      0_1535657354196_60914612-1b98-42e0-bf04-f4a5a19bd0a9-image.png

      Then, if n = 6 & positionIdBuy = 0, it is opened 6 trades with group numbers: 1,2,3,4,5,6.

      I have created a string for using it in the "Filter by group" field available in blocks like the pink ones to do something depending on the conditions of the trade with the last group number. Like as follows

      0_1535657678837_28e02a0b-33b2-4dac-9b78-4f8797cdaf62-image.png

      0_1535657732401_ff96f6e3-8468-4eeb-afe2-be230db1edf5-image.png

      So, if (n) = 6, "LastTradeNumberBuysM3 = 6". But if the project's logic decides to open 10 trades (n = 10), the variable "LastTradeNumberBuysM3" Will be modified automatically to 10.

      What I would like is to know if it is posible to create automatically a string that includes the group number of all the trades opened by the loop as the loop is ran. Like

      loop pass = 1 -> TradesOpened=(string)positionId1;
      loop pass = 2 -> TradesOpened=(string)positionId1+","+(string)positionId2;
      loop pass = 3 -> TradesOpened=(string)positionId1+","+(string)positionId2+","+(string)positionId3;
      .
      .
      .
      loop pass = (n) -> TradesOpened=(string)positionId1+","+(string)positionId2+","+(string)positionId3+","+…+(string)positionId(n);

      Then, the result string Will be:

      loop pass = 1 -> TradesOpened=1
      loop pass = 2 -> TradesOpened=1,2
      loop pass = 3 -> TradesOpened=1,2,3
      .
      .
      .
      loop pass = (n) -> TradesOpened=1,2,3,...,(n)

      Any suggestion or idea Will be very welcome.

    • J

      "Sell now" block does not have Slippage field
      Bug Reports • • josecortesllobat

      3
      0
      Votes
      3
      Posts
      896
      Views

      J

      Yes, totally agree. Don't waste too much time on this.

      Thanks

    • J

      OnTrade section: Close detection by TP does not work correctly
      Bug Reports • • josecortesllobat

      1
      0
      Votes
      1
      Posts
      630
      Views

      No one has replied

    • J

      EAs removed by themselves
      Questions & Answers • • josecortesllobat

      7
      0
      Votes
      7
      Posts
      1347
      Views

      J

      Hi @fxDreema

      About this topic, there is no error logged at the terminal journal. What I found is just what you can see in the picture above. There is no reason apparently for the EAs removing. So, I don't know why is happening that. But I don't think it is related to the code. It is not happening when there is only one EA in one chart not a portfolio.

      What I am doing right now is to copy the EA to MQL4 and check it out with a MT4 demo account with the same broker where I have the MT5 demo accounts. It is easy with fxDreema.

      The other issue that I am trying to figure it out is one that you are aware of.

      Thanks

    • J

      EAs working together. Could there be confusion in the price values sent or received?
      Questions & Answers • • josecortesllobat

      14
      0
      Votes
      14
      Posts
      2854
      Views

      M

      somewhere must be logic error 😄 try to find it with simplification of EA 🙂

    • J

      How to get the values sent to the broker server?
      Questions & Answers • • josecortesllobat

      5
      0
      Votes
      5
      Posts
      974
      Views

      J

      Hi @fxDreema

      I am asking this because of what I explain in the next post

      https://fxdreema.com/forum/topic/5845/eas-working-together-could-there-be-confusion-in-the-price-values-sent-or-received/13

      When 2 EAs open a trade at the same time, it seems that the TP values are confused in one of them.

      Please, take a look at that post.

      Thanks for your help.

    • J

      On Trade issue
      Questions & Answers • • josecortesllobat

      28
      0
      Votes
      28
      Posts
      8358
      Views

      J

      Thanks @fxDreema

      I will compile again the EAs to check out their behavior.

      Working with Partial Close works pretty well and I am getting similar results than using "OnTrade" conditions to move the SL.

      Go on with your hard work improving the builder.

    • J

      How to set the SL level to the closest current price level?
      Questions & Answers • • josecortesllobat

      4
      0
      Votes
      4
      Posts
      1328
      Views

      J

      @fxDreema Thanks for your support. I guess that the blocks work as you described but I was not really sure.

      Yes, it happens what you said. The SL level is not allowed to move to the price set because there is a movement in the opposite direction and now the SL price set is above (longs) the current price.

      Not a problem. I have just to design a workaround for the SL logic what is very easy with your builder.

      Thanks

      Regards

    • J

      Builder is not working
      Bug Reports • • josecortesllobat

      4
      0
      Votes
      4
      Posts
      936
      Views

      J

      I did not think in use the history menu. I will try it next time if it happens.

      Thanks!!!!

      Regards

    • J

      Compilation errors
      Bug Reports • • josecortesllobat

      4
      0
      Votes
      4
      Posts
      750
      Views

      J

      Hi @fxDreema

      WORKING PERFECT!!!

      Thanks for your quick support.

    • J

      Builder issue
      Bug Reports • • josecortesllobat

      2
      0
      Votes
      2
      Posts
      1262
      Views

      K

      Hi Admin,

      Same for me it very slow and when i do any editing or adding of blocks it will erase everything and i have to start from the beginning

      thanks for the help

    • 1
    • 2
    • 1 / 2