fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. cesardefez
    C
    • Profile
    • Following 2
    • Followers 1
    • Topics 39
    • Posts 128
    • Best 4
    • Controversial 0
    • Groups 0

    cesardefez

    @cesardefez

    4
    Reputation
    1361
    Profile views
    128
    Posts
    1
    Followers
    2
    Following
    Joined Last Online

    cesardefez Unfollow Follow

    Best posts made by cesardefez

    • RE: How can I round a number?

      @miro1360 Thanks a lot. I finally get it to work.
      thank you ,thank you,thank you.

      posted in Questions & Answers
      C
      cesardefez
    • RE: check the number of open and pending operations

      THANK YOU VERY MUCH, Today I have learned a lot, it is these details that make it get its full potential.
      thanks

      posted in General Discussions
      C
      cesardefez
    • Limit the n of decimal places in comments

      Hi.
      I would like to be able to limit the n of decimal places in the comments.
      personally I dislike seeing so much n.
      0_1610103756606_60d87ca4-36e0-4736-aa82-f492022e8b7e-image.png

      posted in General Discussions
      C
      cesardefez
    • RE: Limit the n of decimal places in comments

      Thanks a lot. I finally get it to work.
      thank you thank you thank you

      posted in General Discussions
      C
      cesardefez

    Latest posts made by cesardefez

    • Help with custom indicator

      I have an indicator in mq5, that when importing it, I do not get the Buffers, nor the input parameters.
      if I configure them manually, the output data from the buffers is wrong.
      Someone could take a look at the indicator, which I leave attached.
      Thanks

      indicator: https://drive.google.com/file/d/198DPv4kIdRTZicDTRQbqoioGl95rnL-M/view?usp=sharing

      posted in General Discussions
      C
      cesardefez
    • RE: ghost trading

      @l-andorrà
      The idea is to use it to filter, and accumulate less float.
      I want to filter that it does not operate if they have not opened two (x consecutive losses).
      For this I have to simulate in some way the entry and exit according to my strategy. if there are two, three x's missing, then go in.
      At no time do I want to make a strategy strictly by doing.
      but if it is true that if my backtes comes out "x" of consecutive wins and consecutive losses, I can use this data as a filter and reduce DD.

      posted in General Discussions
      C
      cesardefez
    • ghost trading

      The title seems a bit strange, but let me explain what I would like to achieve.
      I want to simulate placing buy and sell operations. Without being carried out, but if I want the EA to manage if it is a winner or a loser.
      I want to count x losers, and from there, that I can put them in real (stop doing simulated operations).
      Could someone give me a hand to build this idea?
      Thank you

      posted in General Discussions
      C
      cesardefez
    • RE: Indelible variable

      @cesardefez
      Solved.
      At least temporarily.
      the only drawback is that it is only saved up to 4 weeks after the last modification of the variable.
      What I have done is create a global variable, giving them the values that I need to keep.

      0_1612818611745_3851425f-96c9-460d-9832-31dfa0f2ecee-image.png

      I create other variables in the EA, to be able to retrieve the value of the global variable and be able to present it on the screen.

      0_1612818717345_c6d0d256-014e-4ece-b5f7-726ea54c9a69-image.png

      Gracias, @ l-andorrà

      posted in General Discussions
      C
      cesardefez
    • RE: Indelible variable

      @l-andorrà I was hoping that in the same way that an ea can read a set, it could also read the value of a vriable from a text file.
      thanks

      posted in General Discussions
      C
      cesardefez
    • Indelible variable

      Hi.
      in my panel, I want to have some statistical data,
      such as drawdom, the max level of margin that the operation has taken me ... etc.
      The problem that arises for me is that if I turn off the mt5, when I turn it back on, my variables are reset to 0, losing the statistical data of my operations.
      Is there some way that these variables are fixed as if they were a constant. In other words, that the value of my variables are not volatile.
      I have tried, with the block modify variables, modify the value of a constant.
      but obviously it doesn't work.
      the solution would be to create a file with the value of the variables that I want not to be deleted. and when loading the EA in the init tab, retrieve these values from the text file.
      You can help me to do it.
      Thank you

      posted in General Discussions
      C
      cesardefez
    • RE: View earnings for today, last week, last month, last year

      @roarIt
      The configuration that you recommend does not work for me.
      I use the code for mt5.
      from my logic, I have used the following configuration.
      year ... 0, or empty to indicate the current year (2021).
      month ... 1. No and if so. I have placed 1, thinking it is January.
      day 1 . -. , from day 1.

      January 1, 2021.
      shift in time ..... no shift. (I don't know what it's for)

      0_1612214061310_460c7ea0-6de8-48a3-9d39-03d07d76c647-image.png

      Please can you help me to calculate the week.
      from Mondays to Sundays .?
      7 / 5000
      Resultados de traducción
      Thank you

      posted in General Discussions
      C
      cesardefez
    • RE: View earnings for today, last week, last month, last year

      Hi. I pass a photo of what I want to achieve in my panel.

      0_1612205540805_f857e150-098e-49c7-a200-a78ed1d4da7a-image.png

      As you can see at the bottom, I want you to report the profit for the year, the month, the week and today.
      for this I have used the following block.

      0_1612205773713_06a697a0-d7e4-49e6-a1e5-b593c0c2c2c5-image.png

      I have two problems:
      the annual profit miscalculates it for me. it doesn't match the real thing. In the photo you can see how the box is configured.

      and for the week calculation I don't know how to do it. I would have to calculate the profit from Monday to Sunday of each week.
      and finally a doubt.
      What is the shift in time option for?

      thanks

      posted in General Discussions
      C
      cesardefez
    • RE: View earnings for today, last week, last month, last year

      @cesardefez Someone could say what expression could be used, and if it works.
      thanks

      posted in General Discussions
      C
      cesardefez
    • RE: View earnings for today, last week, last month, last year

      0_1612168340049_fd2caf05-f9ca-48af-836d-2dba9b2cf4ae-image.png

      I think this block should be configured.
      with some formula that tells you that we want operations closed today.
      we repeat the block for the current month, current week, current year.
      but this must surely be an expression in mql4 or mql5.

      posted in General Discussions
      C
      cesardefez