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.
    • fxDreema
      fxDreema last edited by

      If you ask whether it is possible to edit indicators, it's not 🙂

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

        I don't know exactly the problem/conflict between Indicator and fxdreema and what have to be done to make Indicator running on fxdreema. The Indicator is recodeable if this is necessary and the best way to make it working. If it is necessary to change something on fxdreema to eliminate conflict maybe that should be taken into consideration. The Indicator itself does't make any problems at all.

        If I can do something I will do. In my personal opinion this indicator is one of the best trendfollowing Indicators and it is worth to invest time to make it running on fxdreema. So, what do you think...?

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

          I'm not sure if I understand correctly...

          You can use any indicator in fxDreema. iCustom() is used to read the data from indicators by giving the buffer ID and the candle ID. If for some reason the indicator puts crap in it's buffers or it does not have buffers at all, the EA can get information from the objects that it draws - lines, rectangles.

          To use a custom indicator, first you have to add it to the database, so fxDreema knows it's input settings and buffers. Here the problem is that sometimes fxDreema reads parameters/buffers wrong, so always check if the information is correct. If the information is correct, then the indicator is ready to be used.

          Here are more details (I updated this information lately):
          How indicators work with the EA: https://fxdreema.com/documentation/gett ... indicators
          How to add indicator in fxDreema: https://fxdreema.com/documentation/proj ... indicators

          Indicators are basically 3 types:

          • MA/oscillator alike - where for each candle there is a value, so normally it looks like continuous line. Here the values are something like 1.2345 or 25... it depends.
          • Arrows - these are showing arrows at some candles only, like Fractals. The returned numeric value for all the candle where arrow does not appear is the maximum possible 32/64 bit value, also known as EMPTY_VALUE in MQL4/MQL5. Candles with arrows - here the value is like 1.2345
          • Mixed - continuous line, which is interrupted by other line. Here you have 2 buffers, one for each line.

          And there are block to work with indicators in "Indicators" category. For example, "Indicator is visible" checks whether the value is like 1.2345, but not 0 or EMPTY_VALUE. "Indicator appear" detects the moment when the value was EMPTY_VALUE (or 0) and it becomes a value like 1.2345.

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

            the key statement was "the EA can get information from the objects that it draws - lines, rectangles". I will try that but my attempts weren't successful. Could you give me an example like on the issue with the buttons to get Indicators value in "condition" block. This below was not working.

            https://fxdreema.com/shared/txRSTUgZ

            The block "check trades count" is getting reset in case no trade is running?

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

              But you can get information from objects on the chart. Well, not from indicator lines, because they does not exists as objects, but they are results from indicator buffers, so there is no need to read them as objects.

              This block uses OrdersTotal() to calculate how many trades there are. This function is controlled by MetaTrader. So yes, it always gives you fresh information.

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

                Ok, but how to work with this indicator with the problems his buffers are making? The Indicator is drawed correctly but how to get these values and work with them in conditions?

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

                  Tell me, how can I help you if you are not reading me? 🙂

                  __This one has 2 buffers - 0 and 1, green and red. It seems that fxDreema is confused and decided that there is one more. It's interesting that the same thing happened with another indicator to another guy today 🙂

                  Otherwise the indicator is working with buffers 0 and 1, I just checked it. The only thing is that it is slow as hell for backtesting :)[/quote😠3yhqu4f]

                  Again, this indicator works with buffers 0 and 1. Buffer 2 does not even exists!!! I know that fxDreema decides that buffer 2 exists, but this is a bug. There are two buffers for this indicator -> 0 and 1

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

                    I don't know how you have backtested Indicator but on my little test EA I get manny wrong signals on Buffer 0 (Downtrend) and Indicator is not working on "trendmode 1".

                    Is here something wrong? https://fxdreema.com/shared/5EN5Bh5W

                    Could you create a little test environment/EA to show me Indicator is working correctly. What about "trendmode 1"?

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

                      I test indicators with the block called "Indicator tester". It's somewhere on the top of the list. For this indicator it draws exactly what I expect:

                      • for buffer 0: http://prntscr.com/5uirp3
                      • for buffer 1: http://prntscr.com/5uit4o

                      Of course, when I use Candle ID = 0 and the color turns into green or red, it sometimes changes it's decision in the middle of the candle, but this is so expected from custom indicators.

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

                        Looking at these screenshots, can you tell me what can be wrong in block 4? 🙂 It's not a bug actually, but it's something that I'm probably going to fix.

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

                          the screenshots you have posted are ok, I don't see any wrong signals. The Indicator tester shows the same results like the arrows on my test EA. But look at my screenshots there are manny wrong signals but the Indicator line is drawn correctly. What is wrong here? Where are the red arrows? There should be an arrow on every candle.

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

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

                            Oops, I forgot to write it here, but I changed some things. Look here: post/7973

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

                              Ok, you have fixed something. Now Indicator is working with buffer 0 and 1 but the wrong signals are the same as before. What about "TrendMode 1" this is still not working at all. The signals Indicator is generating are sorrowfully. Is that correctable?

                              ......
                              Screenshot_1.jpg
                              Screenshot_2.jpg

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

                                I don't know what is wrong with this indicator, but there is something...

                                http://img.prntscr.com/img?url=http://i.imgur.com/WCro5CG.png

                                This happens when I manually add the indicator right after the EA starts to run. If I add it later, on 25 march let's say, it draws everything behind correctly. I even tried with empty EA, no blocks, no indicators out of it, only the manual indicator that I add later.

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

                                  This is how it looks if I add the indicator manually, so I can see it realtime:
                                  http://img.prntscr.com/img?url=http://i.imgur.com/NTQJkuR.png

                                  And this is how it looks if I backtest it normally - it's the same thing, but without the manually added indicator:
                                  http://i.imgur.com/W1M7J1G.png

                                  So it looks that at some places the indicator is giving wrong signals while running - both buffers have the same values at the same time. Then, when the backtest ends, MetaTrader draws the indicator over the chart, but it does not have problems to draw it's lines in the past, so it looks fine. But while the action happens it's another story.

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

                                    I have tried to replace Indicator by MA's but the results were not as good as this Indicator is delivering. I need this Indicator working correctly.
                                    What I don't understand is that the Indicator's line is drawing correctly and the line is the result of the buffers therefore everything should work correctly if this Indicator is not a repainting Indicator. I believe this is not the case because I have created (with blocks) a similar working Indicator. The base/core Idea of this Indicator is very simple.
                                    Do you find out something more why Indicator is making problems, the last time? Could be something done to make Indicator working correctly (recoding), the Indicator is not that complex?

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

                                      It can be some bug within the indicator 😮

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

                                        thanks, so far. This became obsolet. I have found v.3x version of this Indicator that is working correctly.

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

                                          hi,
                                          is it possible to use the adjust field in conditioin block with variables like this way: +(Variable)Pips
                                          Is there an alternative way to add/substract pips to current market to get cross-signal on indicator sooner or later.
                                          What I need is something to shift custom Indicator up and down in dependence of variable.

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

                                            Mmmm I'm not sure that this will work. The keyword is lowercase "pips" actually, but it's something that I added by myself, it's not from MQL. The actual function that works behind that is: https://fxdreema.com/documentation/coll ... ql4/topips But I will not recommend to someone to use it, because I can modify it eventually.

                                            But you can use this:
                                            http://prntscr.com/6a3zc9

                                            If you have better idea of how to do deal with such calculations, I will be happy to hear(read) it 🙂

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 22
                                            • 23
                                            • 9 / 23
                                            • First post
                                              Last post

                                            Online Users

                                            A
                                            A
                                            E
                                            B
                                            M
                                            J
                                            B

                                            17
                                            Online

                                            146.7k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors