fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    self updating/refreshing grid, compare two groups of trades

    Questions & Answers
    10
    449
    423928
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      cfabian last edited by

      __cfabian, I didn't changed that block on the web version. Not to mention on the desktop version. If something worked before and now it doesn't work, and I didn't changed anything, I suppose that it's something that you have done. But I don't know what it is.

      For this block, note that this stuff 5.7 => 0.0 is generated inside the block every time it runs. If for some reason the block does not run all the time, this thing will not be updated.
      Also, I admit that there can be some problem inside the block, some bug. I'm fixing this one from time to time. Now I don't know what is the problem exaxtly, but if you give me simple example that contains 2-3 blocks and shows the problem when I put it into my MT4, I will fix whatever it is. I probably said this few times already :)[/quote:2vz8yxka]

      Thank you... looks like I have resolve it. Will let you know if not.

      1 Reply Last reply Reply Quote 0
      • R
        ramsay09 last edited by

        Is it possible to create a condition in case there was placed a new trade, indipendend of what kind of trade (manually or automatically placed)? I would like to enable a group of blocks after a new trade was placed. Maybe something on "on Trade"?

        1 Reply Last reply Reply Quote 0
        • fxDreema
          fxDreema last edited by

          Yes, "on Trade". Of course, the way under "on Tick" is to check the current count of trades or orders, if this can be used. I prefer to try things in "on Tick" first and if I can't find a way - under "on Trade". Because in "on Tick" I work with the current state of the account while in "on Trade" I work with events that only happen when the EA is working and only once.

          1 Reply Last reply Reply Quote 0
          • R
            ramsay09 last edited by

            I would like to draw a trendline from zig-zag-high_id2 to zig-zag-high_id1 and zig-zag-low_id2 to zig-zag-low_id1. It shoud look like a channel but depending on zig-zag highs and lows. How to do that?

            1 Reply Last reply Reply Quote 0
            • fxDreema
              fxDreema last edited by

              I guess that only Price levels can be get, not the Time components. I just hate this indicator, so this time I surrender, I don't want to even think about it 🙂

              1 Reply Last reply Reply Quote 0
              • R
                ramsay09 last edited by

                Ok, luckily I have found an indicator (attached) and could adapt the code a little bit to make two of them running on mt4. Appart from that you definitaly underestimate the zig zag Indicator. It is (one of?) the best indicator for detecting S/R-levels und drawing trendlines. This indicator is very good to analyse the charts past.

                What exactly do you hate on the zig-zag indicator?

                ......
                ZigZag_Channels_original.mq4

                1 Reply Last reply Reply Quote 0
                • fxDreema
                  fxDreema last edited by

                  I don't like it, because it shows something that will most probably change. It shows nothing for me and I don't know what people are getting from this indicator.

                  Also, in fxDreema you can get some HH and LL values out of this indicator, but this does not come with the indicator itself, this is something I did. Because people always asked for these levels. I was very disappointed back then when I searched for some custom indicator (based on Zig Zag) that is designed to show these levels. I found nothing. How can this be true - so many fancy custom indicators in existance, but none of them able to do something that people actually want.

                  So, people want to get S/R levels, but this indicator does not show S/R levels and does not send values to the EA of any S/R level. Very weird indicator, that's why I don't like it.

                  1 Reply Last reply Reply Quote 0
                  • R
                    ramsay09 last edited by

                    I don't agree with you. The zig-zag Indicator is able to indicate the most relevant S/R-levels very well. Take a look on my current EA, start it on a demo account and press the 3rd button then you will see what is possible. For my needs these S/R levels are absolute sufficient. EA is just drawing a horizontal line from zig-zag id20 (or what ever) to zig-zag id1. To make EA drawing these levels I have used a kind of loop but I am using my EA as trading tool and not as a full auto EA. Zig-Zag is very good to analyse the past an a chart and as you can see on the attached Indicator it is possible to draw trendlines based on the zig-zags.

                    1 Reply Last reply Reply Quote 0
                    • fxDreema
                      fxDreema last edited by

                      Ok, but take the natural ZigZag indicator and try to do something with it in the EA. It's useless in this form 🙂

                      1 Reply Last reply Reply Quote 0
                      • R
                        ramsay09 last edited by

                        Yes, the zig-zag itself, directly used for trading is useless like the most indicators seems to be. That is unfortunately true.

                        1 Reply Last reply Reply Quote 0
                        • R
                          ramsay09 last edited by

                          I would like to identify a narrow range bar ( e. g. NR7).
                          More precise: I would like to know if the bar_id 1 has the lowest volatility of the last 7 bars (comparision of bar_id 2 to id 7). I have found "total candle size" but how to use this in the best way to detect these NR bars? Do you have a suggestion?

                          I also need to enabe blocks when timeframe was changed. Is that possible. A kind of Init or condition when timeframe was changed.

                          Is it possible to draw a Text or a symbol that is only visible on a predefined timeframe? For e. g. "a" is visible only on 1H chart, "b" on 4H and "c" is only visible on 1D chartframe.

                          1 Reply Last reply Reply Quote 0
                          • fxDreema
                            fxDreema last edited by

                            Nothing comes in my mind for the first question. People often ask me how to get some value from some candle (which is job for custom indicators) and it looks that I need to add yet another kind of Loop blocks 🙂

                            There is no such event. It looks that I need to also add another kind of events 🙂

                            I think that this is possible, there is some OBJPROP_TIMEFRAMES property. Right now there is no such option in the "Draw..." blocks. But can you tell me how can I turn this matrix into an option http://prntscr.com/bwgxee 😄 Yes, I can add 9 options, but damn, this is ugly

                            1 Reply Last reply Reply Quote 0
                            • R
                              ramsay09 last edited by

                              Thanks, I have found a kind of loop and a compromise to make the NR bars visible.

                              Regarding the timeframe visibility: I hope fxdreema is not made or designed to win a kind of Miss World contest but to become a very good and efficient tool to create EA's :). I think a compromise could be to implement something like the "specific properties" folder of the "Draw..." blocks which is open- and closeable. Whithin this folder you could place the matrix or 9 yes/no pulldowns.

                              p.s.
                              there is condition: market properties -> timeframe == valune -> numeric -> 1440. This is working for me.

                              1 Reply Last reply Reply Quote 0
                              • fxDreema
                                fxDreema last edited by

                                Wait a second... when is this option used, for the Tester only?

                                1 Reply Last reply Reply Quote 0
                                • R
                                  ramsay09 last edited by

                                  either/both, I am usually testing on visual mode. The only thing I am still missing is to make objects visible on predefined timeframe.

                                  1 Reply Last reply Reply Quote 0
                                  • R
                                    ramsay09 last edited by

                                    How to use an custom indicator with condition-block in case the indicator is delivering arrows? I have the buffers but there is no line to > < compare the condition should provide a signal when indicator will draw an arrow.

                                    1 Reply Last reply Reply Quote 0
                                    • fxDreema
                                      fxDreema last edited by

                                      While you have an arrow, it's the same as it is a line, the value of the buffer at that time is the price where the arrow is. But arrows appear only here and there. What is going on in the other candles where there are no arrows? For these candles the value that the indicator gives you is EMPTY_VALUE, which is a predefined constant and contains the maximum integer value (2147483647). It's some huge value, that's all. MT4 knows how to react on this value. Some indicators may use 0 instead.

                                      So, there are some blocks in a special category for indicators. But also Condition can do the job. In Condition, if one of the sides equals to EMPTY_VALUE, the block does not pass at all. So you can do this condition [Indicator > 0] and the block will only pass when there is an arrow. This is also what the "Indicator is visible" block does.

                                      "Indicator appear" is also interesting, check it's description. Also in Condition, a crossover with some value like 1000 detects something - imagine that for the previous candle the indicator was 2147483647 and for the current candle it is 1.2345, which means that it crossed 1000 🙂

                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        ramsay09 last edited by

                                        Is there a problem with mt4 build 1010? It was necerssary to reinstal mt4 but now mt4 crashes when I am adding EAs. It crashes also in the past but now it became more seriouse.
                                        Is there a restriction of how many EAs could be added to mt4 or is there a known bug on build 1010? Do you know where to get an older version maybe < build 950?

                                        1 Reply Last reply Reply Quote 0
                                        • fxDreema
                                          fxDreema last edited by

                                          I don't know. These days I'm out of my town and my internet is limited, so I decided to disable MT4 updates. Do you have error messages somewhere? If this also happens when you use other EA's (not from fxDreema), then I think this is some bug from MT4 or from Windows

                                          1 Reply Last reply Reply Quote 0
                                          • R
                                            ramsay09 last edited by

                                            I am usually using fxdreema EAs but I am assuming the problem is because of mt4 or windows. There is no error massage but there is always a message window saying that mt4 is not working and is suggesting to close mt4.

                                            A new reinstallation was helpfull but I believe after a while (weeks) the crashes will come back again. It only happens when I am adding EAs. Ones the EAs are running (up to 17) there are no crashes. I will go on asking google.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 18
                                            • 19
                                            • 20
                                            • 21
                                            • 22
                                            • 23
                                            • 20 / 23
                                            • First post
                                              Last post

                                            Online Users

                                            A
                                            A
                                            E
                                            B
                                            M
                                            J
                                            B

                                            18
                                            Online

                                            146.7k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors