fxDreema

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

    Posts made by ramsay09

    • RE: self updating/refreshing grid, compare two groups of trades

      OK, thanks so far. I think I have understand the thing with "For each..." and using It in manny ways succsessfully.

      Now I am trying to create Buttons to control EA's functionallity to avoid to open EA's properties to change constant values.
      The Button you have added is nice but I am missing the connection between "Draw Button" and "check button state". I would like to use Buttons like flags. If a Button is pressed/turned on then some blocks are enabled and vice versa. How to do this?

      Are there better ways than my example below?

      https://fxdreema.com/shared/LsgMKNawd

      posted in Questions & Answers
      R
      ramsay09
    • RE: self updating/refreshing grid, compare two groups of trades

      I have to replace the "ab" blocks to make them disapear on properties.

      Mainly, I think I have understand "For each..." but I was thinking that not only the atributes of the current loaded trade was summed up but also the trades where the attributes were comming from will be hold and then they could be closed all together.

      The profit thing I did not understand. The profits on my account are shown in EUR (Balance, equity). What profit is shown when EA is running on USD/JPY. When I close position the profit is shown in EUR is this the same on open trades? I think yes, but I am not sure.

      posted in Questions & Answers
      R
      ramsay09
    • RE: self updating/refreshing grid, compare two groups of trades

      Ok, I have "normalized" EA and it seems EA is working correctly but there are manny "ab" "inp" now. What is this and how to remove them from EA's property. I want only constants there.

      Then there is another thing... the profit that I get from "For each..." is this the account currency value or the markets value (I am trading currencies like EUR/USD). My account is in EUR but what if EA is running on e. g. USD/JPY?

      posted in Questions & Answers
      R
      ramsay09
    • RE: self updating/refreshing grid, compare two groups of trades

      I have found a solution, this is obsolet now, thanks.

      I do't know why but since a few changings EA is not turning into "working-mode" after changing konstants on EA's properties but remains on "Waiting for tick - mode". Everything is working correctly on live-demo and backtesting but I am not sure if this is "good" as it is now.

      An another problem is that EA has 300+ blocks and ID number is 100000+. Could an execution of "normalize ID" lead to problems or does that not affecting EA's funktionality at all?

      posted in Questions & Answers
      R
      ramsay09
    • RE: self updating/refreshing grid, compare two groups of trades

      I am a little confused now. I think I will explain you in detail how things shoud work maybe you are able to make a suggestion to create what is needed.

      -Assume there are sell-trades in loss in a grid.
      -To close these trades without a loss, a buy-grid (100 group) is started and the sell-grid is stopped (protection-mode)
      -In case 100-buy-group profit is bigger than the first (oldest) two sell-trades, the 100-group and the two oldest trades shoud close.
      -buy-group-grid 100 will start from beginning and after 100-group profit is again bigger than the new first/oldest trades, 100-group and the two oldest sell-trades will be closed again.
      -and so on until there are no sell-trades in loss or protection mode will be canceled manually. This is a basic behaviour I need first.

      Area #1 will work correctly but I don't know how to close the oldest sell-trades (Area #2). Ideally the oldest trades shloud be collected first and then get closed when condition is met. What would you suggest?

      posted in Questions & Answers
      R
      ramsay09
    • RE: self updating/refreshing grid, compare two groups of trades

      Well, the problem is that some "testing enviroments" will take a lot of blocks and there is a propability I will do something wrong. The last Example (a few postings ago), for instance was not working correctly but luckily you coud make me understand how to use that "principle" correctly. I will try to explain problems to you as easy and clearly as possible.

      But back to the current problem... as I understood you, the below modification shoud work correctly, because one trade after another will be "loaded" and closed depending on "Not more...". Right?

      https://fxdreema.com/shared/olSp0LKdd

      posted in Questions & Answers
      R
      ramsay09
    • RE: self updating/refreshing grid, compare two groups of trades

      I have tried something but it was not working correctly. Because of creating a new specific Test EA is sometimes quite difficult, so I have extracted the pice that I want to make working from my current EA. It is just to show you the problem I want you to look over.

      I want to compare the profit of two goups. But I am still not sure how to close specific trades. Could you look over #Area2 and write me what is wrong there and what I have to change. You have to verify just logikally/syntactically in assuming there will be 100-group orders and sell orders.

      https://fxdreema.com/shared/PPWpGtRJd

      posted in Questions & Answers
      R
      ramsay09
    • RE: self updating/refreshing grid, compare two groups of trades

      I also think to get the value of an average open price of trades that is depending on their distance from each other and their lot size is very complex. Maybe I try to create that later again.

      An another problem which came up is, how to close a special trade or trades. For instance I would like to close the two first (oldest) buy trades. To get their profit is possible but how to close these trades?

      posted in Questions & Answers
      R
      ramsay09
    • RE: self updating/refreshing grid, compare two groups of trades

      Now I would like to display a line with the average open price of for instance, all open buy trades, but this is not working:
      https://fxdreema.com/shared/0j7avY9Gd

      Other aplications of this kind of using "For each trade" are working. What is wrong or missing here? I have an assumption but I am not really sure how to do that.

      p.s.:

      actually I need the average open price in one value of all buy trades in cosideration of their lot size.

      posted in Questions & Answers
      R
      ramsay09
    • RE: self updating/refreshing grid, compare two groups of trades

      OK, thanks. I think I got it now (I hope so) :).

      posted in Questions & Answers
      R
      ramsay09
    • RE: self updating/refreshing grid, compare two groups of trades

      I can follow you but I still did not get is.
      There is a comment in the comment Area: https://fxdreema.com/shared/i2n4wfW6e

      "The whole list from "For each Trade" is worked through on every tick and the list is worked through probabely by CPUs speed. Therefore we have to reset the Variable that is collecting the whole lot size "all_buy_lots" and "all_sell_lots" on every tick to have only the current lot size and not adding lots to infinite.

      But this is also not working."

      posted in Questions & Answers
      R
      ramsay09
    • RE: self updating/refreshing grid, compare two groups of trades

      My application for "For each Trade" is a little different than the example you refered to, but I have tried to create something. But unfortunately, it is not working: https://fxdreema.com/shared/9vsPd4Ayd

      What is wrong here?
      "For each Trade" is resetet by EMPTY_VALUE on every loop
      the saved variable is added to an another variable which shoud hold the summed whole lot size.

      What is missing/wrong? (Choose 1M chart and wait a few minutes to see results)

      posted in Questions & Answers
      R
      ramsay09
    • RE: self updating/refreshing grid, compare two groups of trades

      there are comments on the following scheme:
      https://fxdreema.com/shared/RNdjhmD8c

      I try to understand step by step how "For each Trade" and its relationship to the other blocks is working.

      posted in Questions & Answers
      R
      ramsay09
    • RE: self updating/refreshing grid, compare two groups of trades

      laziness is not a virtue, don't you know? 🙂

      I would like to try that with a loop. But I still not really understand how it is working. Does "For each trade" is working on any block?
      logically this should work: https://fxdreema.com/shared/oXgeJOBcb

      What I want here is to hedge the side (buy or sell) that has the bigger lot size. Could the above scheme work? If not, how to use "For each trade" correctly to get the whole lot size (buy or sell) stored in the proper variable?

      posted in Questions & Answers
      R
      ramsay09
    • RE: self updating/refreshing grid, compare two groups of trades

      OK, I will try to keep your advice in mind, but my last posting become obsolet because I have a better idea to protect grid.

      What I need now, is the lot size of all open buy and sell trades as seperate values. On fxdreema I have found "(in loop...)" -> "volume size (lots)" but there is not possibility to select buy and sell values or even better the net lots value as modulus (no minus or plus). iExposure is delivering what I need. Is it possible to extract these values on using iExposure on custom indicators and define new buffers? How could I do that (what values) or what would you suggest?

      By the way, your idea to integrate the values from iExposure in fxdreema or create some blocks with these values was a very good one :).

      posted in Questions & Answers
      R
      ramsay09
    • RE: self updating/refreshing grid, compare two groups of trades

      Could you help, please. I would like to create the following:

      If profit of trade 510 is bigger than X pips then close 510 and the two first (oldest) trades of group 110. Ideally I would like to compare if profit of trade 510 is bigger than the two oldest trades of group 110. The schematic below is not working (it is only a part of something bigger and only for illustration). What should I change to make it working as mentioned above?

      https://fxdreema.com/shared/rQOYKEsCd

      posted in Questions & Answers
      R
      ramsay09
    • RE: self updating/refreshing grid, compare two groups of trades

      Thanks, I will try that later.

      I came to different answeres in the internet, but do you know if it is possible to trade on mt4 nano-lots. There are brokers that offer that but I read something that mt4's minimum lot size is 0.01. Is that right? What I am looking for is a broker where I can trade 1 cent/lot on mt4 instead of 10 cent/lot on micro accounts.

      posted in Questions & Answers
      R
      ramsay09
    • RE: self updating/refreshing grid, compare two groups of trades

      Ok, thanks, I will try to create something according to your suggestion.

      iExposure is very useful to get an overview what is going on on the other markets but unfortunately the profit is a sum of buy and sell positions. What I need is profit of all buy orders and all sell orders as separate values but, OK, I will try to create something as mentioned.

      posted in Questions & Answers
      R
      ramsay09
    • RE: self updating/refreshing grid, compare two groups of trades

      Could something like this working?

      https://fxdreema.com/shared/fsitlrP4e

      posted in Questions & Answers
      R
      ramsay09
    • RE: self updating/refreshing grid, compare two groups of trades

      it seems I need the profit value to display on the chart of all open buy and all open sell trades. I didn' find a block or something that delivers the profit value of, for instance, all open buy trades. How could I realize that?

      Are key combinations possible? Something like "shift + s == close all open sell trades".

      posted in Questions & Answers
      R
      ramsay09
    • 1
    • 2
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 10 / 13