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

      that looks interesting, but what is "Bid"? This is not a variable. I know "pips" which I can use in adjust field, I assume Bid is similar. Are there more "Words" like these two that could be used in a similar way? If there is "Bid" there must be "Ask", any else?

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

      Oh, yes, of course :). The following is the same I have added to my EA and was working as mentioned above:
      https://fxdreema.com/shared/v5JaYqMmb

      I would like to have something that starts increasing variable right from the first trade that is in loss. The above is working correctly but only after the 2nd trade was placed. The lot size of the 3rd trade is set correctly.

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

      very nice, thanks. I believe that will work.

      My "step counter" is still not working. What is wrong with solution1? Assume that there are buy-trades of group 111 already running. Every 100 pips V1 should increase. What is wrong here?
      https://fxdreema.com/shared/PODADgWOc

      p.s.
      Actually this is working correctly but the first step/increase of variable is not working correctly. Everything seems to work after the 2nd trade. The 3rd trade is calculated correctly.

      p.p.s. I think "For each trade" need at last two trades to know which one is the oldest. Right?

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

      it is working but the problem are the names of indicators lines on the chart. The names are like sr_1, sr_2, sr_3 and so on. In "condition" -> "object on chart" -> "object name" I would like to use something like sr_X or how to "say" EA in "objet on chart" to use every line on chart that is starting with sr_. Other blocks are allowing to use prfix.

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

      to pick up chart objects and use it with EA, is it necessary to have added the mql-file of indicator into fxdreema? Is it possible to have only the exe-file of indicator and use its objects with EA (all these objects have names of course)?

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

      Blocks 6 and 11 will be used somewhere else to increase lot-size variable. The increase of lot-variable is a major thing here.

      There should be allways a line in front of market-direction (each for uptrend and downtrend) and should be redrawed if condition was meet. I hope it will work as a step-counter to have always the right lot-size ready for execution on the right market condition.

      Is it possible to make these two lines invisible because they are just helplines for stepcounter.

      Are both variations correct and would they work as described/expected.

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

      Ok, thanks. I hope I could follow you. Will the following two solutons work, especially the right one?
      https://fxdreema.com/shared/5VioyYuab

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

      Indeed, I really think that "round block detector" could be modified to deliver that behaviour. It is important to have something like that to create things independent of how manny trades are running. Of course there should be an reset and it makes only sense to operate it with a block like "If trade is running" (or this could be the reset, actually). A possible modification could be to safe the price value when orange output was triggered and it will be allowed to the block to trigger the orange output again only when price is bigger (or lower, yellow output) than the next trigger level and the saved price value.

      Appart from the above, could something like this work? https://fxdreema.com/shared/6BioX7Oad

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

      hi, it's me again,

      It seems I need something that is working like "pips away.." on "trading model" but without an opened trade. I need something that is working like "round number detector" but only in one direction. The orange output should be set to open only when market was moving from his last position (for instance) 20 pips away and not setting orange output to open when market was moving back and is continuing his last direction. Is it possible to create something that is working that way?

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

      Ah ok. The sum of MagicStart and GroupNumber must be "0". That equals to MagicNumber = "0". Therefore I can take the negativ MagicStart = -1860 (I am assuming -1890 is a typing error) but MagicStart as word will also work?
      "close trades" (1, 2, -1860) is the same like (1, 2, MagicStart)?

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

      Ok, if I understand you right:
      1860 + 0 (manually opened trades) = 1860 therefore
      "close open trades" (1, 2, 1860) will lead to
      close group 1, group 2 and close all manually opened trades, right?

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

      Ok, But EA is running on Cent-Account and changing Magic-Number will cause a loss of control of all running trades, right? The current Magic-Number is 1860 (default). Is it possible to take "1860" instead of "0" to get the same results. To get this (1,2,0) with "0" I could make (1, 2, 1860) with "1860" or is (1, 2, 01860) or (1, 2, 18600) correct? I am afraid it will not work.

      I don't know where and how EA is recognizing his trades (Magic Number of course) but is it possible to delete somewhere tradehistory or something loke that and force EA to take running trades only by the market name EUR/USD for instance. What I mean is that EA has a different Magic Number than the trades have but after "reset" EA is recoginzing for instance EUR/USD trades and takes them under control again.

      What would you suggest?

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

      As I have understand you, the block "Close trades" with groups (1,2,0) shoud close group 1 and 2 and 0, as 0 are the manually opeded trades. But this seems not to work. I need exactly something like this (1,2,0). If condition is met groups and manually opened trades shoud close. What could be wrong?

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

      thanks so far. I will try the obove mentioned later.

      Now, It is necessary to use manually opened trades with group trades. It is possible to use groups in one block (111,110,500,...) but I need to add manually opened trades to blocks (111,110,500, manually opened, ...). To use "All" is not possible because there will be groups (600,800,...) that should be not take into consideration. Do manually opened trades have a group number too?

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

      Unfortunately I have problems to understand the code of the Super Money Grid EA I have attached. Could you "tell" me how and where they calculate the take profit. What logic/method do they use. I would like to add this to my EA.

      ......
      Super Money Grid.mq4

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

      thanks, money is working correctly.

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

      my calculation was wrong but how to do it to get profit for one lot? This was also not working as expected:

      (trade profit from 0.1 lot) / (trade lot size 0.1/0.01) = 100pips profit / (0.1/0.01) factor = 10pips profit for one lot of 0.01

      I am dividing here the profit from 10 lot with the ammount of lot on the latest trade.

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

      Why not, it is selectable but any other value will also do. It should be a ruler. What I am expecting here is that I get on every candle (every tick) the current profit/distance for one lot from the last open buy trade.

      The idea behind is to convert this distance value into lot size and use it when a new signal is generated to make EA dynamic or auto adapting to market situation.

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

      I have tried this
      Screenshot_2.jpg
      but the profit values are too big
      Screenshot_3.jpg

      What is wrong here?

      ......
      Screenshot_2.jpg
      Screenshot_3.jpg

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

      I need the current distance as a value (pips or double value) of the newest open trade (for example the latest buy). Profit or loss in pips will do that but I need it always for one lot only. I need a kind of ruler.

      "in loop" "profit ammount of trade" / "Volume size" (for each trade 1 newest trade) could work, I hope.

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