fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. cdt
    3. Posts
    C
    • Profile
    • Following 0
    • Followers 0
    • Topics 10
    • Posts 24
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by cdt

    • RE: help- I do not update the lot (Bucket of Positions) well

      @cesar_defez
      Solved.
      The problem was solved by adding the condition to set the variables to zero.
      I upload the project in case you are interested.

      shared/J7qxLglUc
      Thank you

      posted in General Discussions
      C
      cdt
    • RE: help- I do not update the lot (Bucket of Positions) well

      @l-andorrà Yeah that's right.
      I want to see lots open for buy and lots open for sale

      posted in General Discussions
      C
      cdt
    • help- I do not update the lot (Bucket of Positions) well

      Hello. Well that.
      I try to make a comment that indicates the lots that I have in long and short.
      As lots are added, it takes it into account, and as I close, when there are no more open lots, I have lots to close.
      I attach the project and a screenshot.
      I'm going crazy and can't find the error. Can someone help me and correct it.
      Thank you

      0_1628155693275_1e9c6ad8-6ff4-431b-86fc-66008641754c-image.png

      https://fxdreema.com/shared/mpOn7hU1d

      posted in General Discussions
      C
      cdt
    • RE: run a script from the EA

      @l-andorrà
      Thank you.
      I hope someone knows how to answer me.
      Thank you

      posted in General Discussions
      C
      cdt
    • run a script from the EA

      Hello.
      I was wondering if an ea can launch a script.
      As scripts can be launched by configuring a shortcut, I was wondering if it could be done from fxdreema.
      Thank you

      posted in General Discussions
      C
      cdt
    • RE: Timeflame option of the boxes- what are they for?

      Thank you

      posted in General Discussions
      C
      cdt
    • Timeflame option of the boxes- what are they for?

      Hello. Can someone explain to me how the timeframe option of some boxes works.
      example.

      0_1626389471900_65ea4c7c-105b-4bdb-bb8a-6ade2b866579-image.png

      In the condition box we find a timeframe dropdown.
      I thought that the EA could be placed in a timeframe of h1, and by configuring this box with timeframe m1, this prompt would take me values of m1. But I must be wrong, because when I do this, the EA doesn't work.
      Can someone tell me how it is used and what it is for.
      Thank you

      posted in General Discussions
      C
      cdt
    • RE: DoubleMathRound

      Yes, but it is very curious that it only works well on demo accounts.
      the same platform, with the EA loaded, I connect a real account, and it does not keep the rounding, I return to the demo account, and it is corrected. same asset, same bloker, same platform, same EA.
      ¿¿¿¿¿
      curious

      posted in General Discussions
      C
      cdt
    • help to create a loss manager EA

      Hello, I need help to make an EA, to manage losses.

      the idea to manage these losses are:
      When I put a buy operation to cover I organize it by group .. (group1).
      If the operation to hedge is a sale, it will be group 2.
      When I close a group 1 trade, I determine the profit from that trade (or deals).
      and I dedicate 50% of the profit to carry out a partial closing of buy-in-losses.
      In addition, it will close from where the opening price is farthest from the current price.
      same in shorts.
      I close group 2, I determine profits and 50% of the profits I use to close the equivalent of lot sell.

      example-
      I close group 1 with $ 100
      $ 50 will be of benefit, and $ 50 to assume closing losses in long trades.

      it may be the case that more than one operation of group # is closed. and evidently there are group # operations previously closed, which do not have to be taken into account at this time (as they were already calculated at the time of closing).
      I leave you a sketch to illustrate the situation.

      If anyone is interested in helping me, we can share ideas.
      Thank you so much

      0_1625846013962_36d4db1d-f8af-4766-848c-7f338d5001f6-image.png

      posted in General Discussions
      C
      cdt
    • RE: DoubleMathRound

      Hello. The rounding thing works when he wants and how he wants. it already has me desperate.
      the same EA, (which I leave you in the link), on two different platforms, from the bloker ism, gives me different results.
      in one it works perfectly. (demo account).
      in another it works badly. (real account).
      I share the project, and a screenshot of the two results.
      If someone can explain why this happens, I would greatly appreciate it.

      link : https://fxdreema.com/shared/fzbSfsvVc
      0_1625818747382_b3a0575d-9e6d-4054-9582-bc0ea27306e2-image.png

      0_1625818782447_60c8b3b0-957e-416c-b078-6da0cd7eadf9-image.png

      posted in General Discussions
      C
      cdt
    • show earnings per day, earnings per week, earnings per month

      Hello.
      I want to show the gains or losses that are obtained.
      earnings day
      profit of the week
      profit of the month
      I only get to have the day gain.
      the weekly and monthly, it is not possible for me to coincide with the history of mt4.
      I leave you the link of what I am trying.
      if someone can explain how to get it.
      Thank you

      https://fxdreema.com/shared/F13sD1T0d

      posted in General Discussions
      C
      cdt
    • RE: DoubleMathRound

      @jstap Thank you. very useful.

      posted in General Discussions
      C
      cdt
    • RE: DoubleMathRound

      lo utilicé en ajuste, =DoubleMathRound(variable,digitos decimales)
      pero no funciona, al menos ahi, o con ese formato.

      posted in General Discussions
      C
      cdt
    • RE: Avoid exponential format

      ok, gracias, voy a probar.

      posted in General Discussions
      C
      cdt
    • DoubleMathRound

      it is possible to use this mt5 function in fxdreeam
      Thank you

      posted in General Discussions
      C
      cdt
    • RE: Avoid exponential format

      it does not work, I have tried the two formulas:
      NormalicezeDouble (variable, 2)
      DoubleToString (variable, 2)
      I have also tried with = sign in front
      = NormalicezeDouble (variable, 2)
      = DoubleToString (variable, 2)
      and it works randomly, sometimes yes, sometimes not, sometimes it respects the n of decimals, others not, and others it puts it in scientific format

      posted in General Discussions
      C
      cdt
    • Avoid exponential format

      Hello how can I avoid the exponential format,
      I want to get a value with 6 decimal digits.
      I attach an image of the confguration and the result, which is sometimes correct and another gives me an exponential format.

      setting
      0_1624551772020_dae125e4-1e4d-4159-9464-d4c2c894e681-image.png

      Outcome
      0_1624551724696_76bc0440-0bc6-4b8d-baab-00eec286f196-image.png

      posted in General Discussions
      C
      cdt
    • RE: identify buffer in mt5

      @vonmunchy Thanks,
      Indeed, a buffer 2 appears, which changes from 1 to 2, depending on the color of the indicator.
      Thank you so much

      posted in General Discussions
      C
      cdt
    • RE: identify buffer in mt5

      @vonmunchy
      Thank you very much vonmunchy.

      Indeed this is too complex for me.
      I give you an attachment to share the indicator.
      Could you please look at it, and tell me step by step how to solve it.

      https://drive.google.com/file/d/1N2KOy4PQUBt1Wj0zuoH8SW9jE1XW8E2v/view?usp=sharing

      Thank you

      posted in General Discussions
      C
      cdt
    • RE: identify buffer in mt5

      @vonmunchy Hello. thanks for answering.
      In the link you give me, I can't find the solution. only speak for mt4.
      Let me explain, tracking the buffet is easy on mt4. We imagine an average that changes color, when it increases in value it is blue, and if its value decreases, it is red. This indicator has three buffets:
      0- the value of the mean.
      1- the value of the mean if it is blue = its values ​​** increase . and matches buffet 0.
      2- the value of the mean if it is red = its values ​​
      decrease **. and matches buffet 0.
      I choose the buffe 1 in the indicator box appears, when I look for an uptrend.
      I choose the buffe 2 in the indicator box appears, when I look for a downtrend.
      easy.
      but in mt5 I only have a buffet:
      0 value of the mean, (regardless of what color the mean takes).
      0_1623362272501_1df7dd05-8975-462b-b213-6457cbbf1ed4-image.png

      in the example in the image above:
      0-upper band
      1: lower band
      2: Average value. (2 colors are configured, but the output buffet is the same)
      I DON'T KNOW HOW TO TRACE IT. with the condition indicator appears, indicator disappears

      It is not an insurmountable problem, since we can compare the value of the mean of candle 1, with the value of candle 3.
      if (value n) - (value 1)> 0 is bearish,
      if (value n) - (value 1) <0 is bullish.

      but I put another example of another indicator, an oscillator:

      0_1623363013337_dcb4d67a-d49b-4a2c-b245-6d979fd7cc34-image.png

      Same buffet, with three colors, although we only see two (purple and green)
      In this indicator, the condition (value of n- value of 1)> 0 bearish, or bicebersa, is not valid. Well, whether the color is green or purple, it can be bullish or bearish.
      How do I track the buffet here?
      Thank you

      posted in General Discussions
      C
      cdt
    • 1
    • 2
    • 1 / 2