fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Robi
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 6
    • Best 0
    • Controversial 0
    • Groups 0

    Robi

    @Robi

    0
    Reputation
    289
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Robi Unfollow Follow

    Latest posts made by Robi

    • RE: Displaying the market price where multiple trades will make a particular gross profit

      Hi, I have been working on a project where I need to display a particular info. Assuming we have some buys and some sells running (none of the trades have any TP or SL set), the EA will close the trades once the gross profit reaches X dollars. Now, the project is running well, closing trades as intended, but I also need to display the point or market price at which the trades will make the X dollar gross profit. Any idea how can that be done?

      posted in Questions & Answers
      R
      Robi
    • RE: Project variables are getting reset

      Hi, Thanks a lot, it worked. No more data loss after shutting down and restarting "autotrading", and the EA seems to be working fine. 😄 😄
      There is another thing I am working on, and was hoping you can give me some advice on that as well. I would like to have a comment output that shows at which point of market price (Ask or Bid) my trades will reach the desired amount of profit that I have set for them. The EA I have built checks the amount of profits and losses amassed by all trades and closes them all when the total profit reaches an amount set by me. I would like to calculate that point and show it on the comments. But so far I haven't been able to do it, actually being a noob I can't even find the right blocks to do it. Could you please advice me on which blocks can I use to get it done?

      posted in Questions & Answers
      R
      Robi
    • RE: Project variables are getting reset

      Yes, but the Check Trades Count block only checks the number of trades with a value, while what I really need is the number itself, to store in one of my variables. I am attaching a screenshot here.
      http://postimg.org/image/e6lmqrki7
      I took your advice and I am restructuring my EA to get the trade counts and lot sizes information from existing trades by using the Bucket of Trades block. I have four variables 1) CumulativeBuy- the amount of total lots that are bought, 2) CumulativeSell- the amount of total lots that are sold, 3) BuyCounter- number of buys, and 4) SellCounter- number of sells. I need the new values to be loaded in these variables whenever a new trade is opened. However, in the current setting, the values are not getting loaded in the variables. Am I doing it wrong? Please also let me know if there is a better way to do this.

      posted in Questions & Answers
      R
      Robi
    • RE: Project variables are getting reset

      "Many thanks. I want to keep track of the number of Buys and Sells (separately) that I have opened and also the total size of bought and sold lots.
      I need to put those values in variables to calculate and make decision of future trades. As you have explained, if I use variables they get reset when the EA gets closed.
      I have tried using "Bucket of trades" block, but when I use the "Modify Variables" block underneath it to load values in my variables, it doesn't seem to work. Can you please help me with this?"

      posted in Questions & Answers
      R
      Robi
    • RE: Project variables are getting reset

      @cfabian Tnx for replying..all the user declared variables get reset. And as the lot size of the trades depend on how many trades have been opened, the reset hampers the trading. My other EA's do not face this problem and that were not built with fxdreema. Can u give me any solution??

      posted in Questions & Answers
      R
      Robi
    • RE: Project variables are getting reset

      Hi, this is my first attempt at building an expert. I am facing a problem while running my expert in a demo account. It seems that whenever I stop Autotrading on my MT4 platform and then turn it back on, the expert goes to it's default setting i.e., all the project variables get reset to the default. Here is the link to my project,

      https://fxdreema.com/shared/7GQWEhe3e

      Can you please help me with this issue? Thanks in advance.

      posted in Questions & Answers
      R
      Robi