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

      There are no Variables in "F3 window". EA is starting properly only the first time with a new magic number. After the magic number was "used", EA or MT4 is adding additional lots to the existing ones and if there are no open trades it starts with the old value + X in one position. And this is regardless even when I reboot computer before restart MT4. I would change to MT5 but gridtrading is not possible there, right? Help is very welcome.

      EA has a usable state for a longer demo testing periode (appart from the above mentioned) but it is a little bit slow. What makes fxdreema EAs slow most:
      Variables, Constants, Conditions or many blocks in general or what should I "optimize" to make it faster.

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

      I could not solve the obove mentioned problem. The EA itself is working as it should. I have never seen that behaviour on other EAs (downloaded free EAs). What in particular is to do to avoid that. It is absolutly unaccaptable in case I have to shut down my Computer the EA is opening randomly orders after MTs restart.

      Other things I would like to ask you:
      Is it possible to change font size on "Comment on Chart" block and to shift comments to the right?
      Is it possible to disable the label of an open trade (or to shift it to the right). I mean the white lettering "#124273 buy 0.01" this is overlaping with comments on chart.

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

      too busy at the moment? Do you have an idea? A hint or something clould help me.

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

      It seems EA is working stable. But there is a problem in case EA was running and mt4 was restarted. There are two problems:

      EA has buy/sell open (e. g. 0.01 each) -> trades are closed and EA is removed -> restart mt4 and EA with same magic number ->
      EA starts buy/sell with 0.02 each instead of 0.01 -> after repeating same procedure it starts with 0.03 each and so on. When I change magic nummber it starts as it should with 0.01 each. Whats wrong here and how to reset mt4s memory or what ever?

      The next problem was when mt4 get closed while EA was running and trades were open. After restart, mt4 added the same ammount of trades or something random (I did not verify that exactly) again. That happens only on mt4 restart and not when internet connection get lost. The EA itself was working properly. How to avoid that behaviour? Could you help please, maybe on monday when markets are open again.

      https://fxdreema.com/shared/gm2RwUZje

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

      OK. Thanks so far. I have to test on demo the next time.

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

      Yes, of course "Comment on chart" but where to get the values. The other values I have displayed were constants, variables or formula results. Which block delivers current profit and loss (buys and sells, not whole account or something) that could be used for "Comment on chart" or how to used it there. I would like to see the current profit/loss of current running buy trades and sell trades.

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

      I have a working version, finally. I will keep that version as a basic EA and do not touch it. A copy of this as a working EA (building up) and an another copy as test/experimenting version. I would like to keep the Group number because I do not know what I will try to create in the future, maybe it will be nececary to seperate everything.

      I did not find out how to display current profit and loss. How could I realize that.

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

      Yes, I have tried it but the results were differet to "my" atr stop. The atr stop-logic is not the problem it works fine. The most benefit of my creation is that it is plottable (so I can see what is going on) and I can use a special caracteristic whitch is useful for gridtrading and for other "protection logic" I will create later. But the trailing TP sounds very interesting 🙂 .How does it work? A TP is usually always in front of market. Could you explain how it works.

      It seems many things are going more and more wrong but logically everything should work and it was working correctly for some time. I have rearranged an old version was working correctly appart from the atr stop (at that time). But it seems I did something wrong because the grid space "grid_space_factor" is not working when buy and sell grid is enabled. If one of them is disabled everything is working fine. I do not see the problem. Could you look over, please. https://fxdreema.com/shared/ATiPJuVEc
      This is at least what I need.

      You are right I have to go on very carefully but usually I try something and as long as it is not working or is not usefull I disable these blocks and the last time I look very carefully if everything is still working as it should. Sometims (not this time) it helps to delete a block and load/create it again. Do you think it could help to rebuild everything, the whole EA from begining? Logicaly everything seems to be OK and it was working.

      Well, the martingale thing is just something to increase lot size, usually 0.01 (custom) in market and agaist market direction. Lot size count should start from beginning after trades have been closed. On jumping lot size I mean the rise of lot size is not linear like 0.01, 0.02, 0.03, reset, 0.01, 0.02, ... but something like 0.01, 0.02, 0.03, 0.01, 0.05, 0.01, 0.01, 0.01, 0.15, ... what I saw on block 523/4 (new created blocks, but did not help). https://fxdreema.com/shared/csDwp1txb

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

      thank you so far. The Trailing stop does not deliver the same results as the atr stop does, but it does not matter the atr and parabolic are working fine.

      Everything else seems to working properly but now I have realized that block 523 and 524 are creating something like jumping lot size and are not working according to the selected settings. Could you look over what is wrong, please (the old version does not have that problem).

      https://fxdreema.com/shared/N2HjkNFxe

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

      thank you, everythink is working fine but the atr stop. The Trailing stop you have created is not similar to an atr stop. You wrote you did not know where the stop should be or something like that. I have created the atr stop again but it is still not working. In the following I will explain how the atr stop should work. Maybe you have a solution the stop will work:

      • when atr stop is enabled it should start to work after "Buy TP as sum" has reached 50 pips
      • "atr indicator value X factor (3)" is written to atr_1
      • now, to create a stop loss band for buy trades it is substracted from current market price. But this band is running always parallel to market price and will be never touched.
      • to make this working as a stop this stop band have to be buffered into "atr_stop_buy_grid" after a comparision to its last value. This is because the stop should only rise and not fall below its last value. "atr_stop_buy_grid" gets only a new value if it is biger than last value otherwise it will not change.
      • than market is compared with stop value. If true (market below stop) orders should close.
      • in case orders could be closed "atr_stop_buy_grid" gets value "0" again and everything starts from beginning.

      This is working correctly but as it seems not in direct connection to "Buy TP as sum". The stop is pictured correctly but the orders do not close after stop was hit.

      Suggestions are welcome :).

      https://fxdreema.com/shared/yBPhFexO

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

      I understand you very well but you shoud really feel encouraged to improve fxdreema because it is an intuitive and efficient tool to build EAs ones you get familar with it. I personally like it more and more. The EA I am building has just 50%-70% of functionallity but it is usable for me at this state.

      But I would like to have the EA working at the following state:
      https://fxdreema.com/shared/VZzVfHhpb to test it and to finde more ideas to improve it later. It seems the flags and the connection between the atr-tree and "check current unrealized profit" makes problems. The atr-tree itself and everything else is working. What timeframe would you estimate to solve the problems to make the EA running at this state?

      Thank you for your effort, help and patience :).

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

      Suggestions to reduce blocks and complexity are very welcome :).

      p.s.

      This is also not working.

      https://fxdreema.com/shared/hM7pa9eVb

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

      The atr Stop at the left lower corner is not working (no backtest graph). There is backtest graph and arrows are drawn correctly when I connect "enable_atr" and "close buy trades" together. But there is already connection because of the flags. I do not know what is wrong. Could you help, please.

      http://prntscr.com/4a5oyc

      https://fxdreema.com/shared/5qu3M9rib

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

      thank you for help, it is working now but I have to go more in detail.

      Trailing stop is not a good idea but I think an ATR stop could work better. I have tried to create an ATR stop but it is working a little bit strange. http://prntscr.com/495t2o
      What would you suggest to improve to make an ATR stop that is not moving back and working as trend following stop?

      The another thing is to make "For each trade" and its blocks running/working on after an interruption. For instance if price is going below a resistence value (condition), "For each trade" stops but when price is above resistence value again "For each trade" is not going on with buying. http://prntscr.com/49601d . How that could be solved?

      https://fxdreema.com/shared/2SiPR6fSb

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

      If you mean MTs expert properties, this can not be the reason EA is not working because I allways klick reset button after restart MT. Logically everything seems ok, to ensure this I try to name everything as good as possible. You also did not see any logical mistake, do not you? I just try to become more and more familar with fxdreema but there are still many blocks and features I did not touch.

      p.s.

      "pips away..." / "buy grid double sided" makes problems. I took dynamic size and as input formula result. When I substitut it with numeric value it works as it should. But the variable "grid space" gets the right calculated value and was used properly. The grid space was ok. What is wrong here? Please, look over when you have time.

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

      Mybe, but what could be done to prevent that? What is the reason for that?

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

      thanks. I will try to implement trailing stop later.

      Now I have the problem that there is something not working properly and I do not know whats wrong. Could you look over, please (left buy-side only).

      What I am expecting (with the default constant values) is the EA is working on "double sided" mode and on "buy now linear" mode but it is working on trading mode ("with market" condition). Earlier (on partly testings) it seems to work correctly.

      https://fxdreema.com/shared/FcgwQ3Dyb

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

      thanks so far.

      Is there a way to realize "Check current unrealized profit" (pips as sum of all profits) as trailing Stop or trailing TP? Using Trailing Stop for Groups have different results. I need a hint if it is possible. Mybe something with variables, formulas, flags, conditions... . I need something like after sum of profit was hitting 70 pips profit will be trailed with 20 pips.

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

      Thank you, works fine.
      But how to realize something like "do not sell above price". Here I need current price value to compare with constant (this is changeable on the fly). I did not find where/how to get current price value.

      What would you suggest?

      By the way is there a block or something to detect or calculate support and resistence? If not what "way" would you suggest to realize that?

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

      unfortunately increasing the grid size by percentage or in steps is not helpful. Therefore I have to intervene more manually. What is a good way to make something like :
      enable buy grid / enable sell grid
      Pause grid (no more trades)
      close buy grid trades / close sell grid trades
      enable MA cross filter

      I mean something like setting true or false as custom input to turn on and off functions, blocks or trees?

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