fxDreema

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

    store 2 or 4 points in the past

    Questions & Answers
    2
    17
    4786
    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.
    • O
      okranoblues last edited by

      How can i store more than one previous price in the past based on indicators eg: in the screen shot you see how do i store those 3 points so i can use them later in formulas or conditions?

      Thank you..

      ......
      eurjpyh4.png

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

        You can define 3 Variables "point1", "point2" and "point3" and when certain condition happens to modify them. But it's always best if the indicator can give those values to the EA 🙂 After all, indicators are used for that reason - to give the EA what is needed to trade.

        I just wonder how the robot will decide to place "point1" there and not on the previous bottom?

        1 Reply Last reply Reply Quote 0
        • O
          okranoblues last edited by

          well I'm trying to use price action when price is making higher highs keep buying and opposite for selling..

          I've bee trying to use variables but just don't know how to combine the blocks.. like how can I check the last 20 bars behind without create 10 different conditions. . or variables I know how to store it into a variable but how to combine with the other blocks .. how to use modify variables and when to use it same for modify formulas...

          I'm sorry for all the inconvenience but is easy to understand better with examples...

          thank you

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

            Don't do that with blocks, it will be rude to try to create indicator out of indicator in EA. Can some kind of "Channels" indicator be used instead of this one?

            1 Reply Last reply Reply Quote 0
            • O
              okranoblues last edited by

              I do have a channel indicator but is kind of inaccurate...

              1 Reply Last reply Reply Quote 0
              • O
                okranoblues last edited by

                With this update my indicators are not working and there's no levels tester available either

                ......
                PChannel.mq4

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

                  This indicator works. I renamed that block to "Draw Values" because I didn't liked the old name... but I don't like the new as well, so I would like to hear suggestions 🙂

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

                    Try this one:
                    Condition -> Indicator -> ZigZag

                    I have to say that no cache is used, so everytime the value for High/Low is recalculated.

                    1 Reply Last reply Reply Quote 0
                    • O
                      okranoblues last edited by

                      Hi what about for the name of draw values: Check Values or Verify Values, Check Indicator Values,

                      Also i checked the zigzag indicator you told me i think is awesome but i have some questions i was checking the values but i don't understand it too well heres the screenshot..

                      instead of showing the current high it seems is showing high in the past when i set the option to check the last 5 bars and exception bars 1..

                      Would you please explain to me how it works...

                      Thank you very much...

                      ......
                      eurjpyh4.png

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

                        High[0] for ZigZag is the value of the first reverse point that looks like ^, or /.
                        Low[0] for ZigZag is the value of the first reverse point that looks like V, or .

                        Here [0] is not candle ID, it's reverse point ID.
                        If there is ZigZag over there, there is some High and Low that is always visible, so "Indicator visible" is not to be used with this indicator.

                        High, Low, HighestHigh and LowestLow options are not part of what ZigZag indicator can give you, these are calculated.

                        And you can try to check the normal output of ZigZag for candle 0 (current value) and any other older candles - there is difference. This indicator is just not like others. It's line does not represent it's values. This line only connects some of the past positive values.

                        ZigZag is 0 for almost all candles. It's positive for those where reverse is displayed. Even on these points there is only the price level, no information at all if this level is V or ^. Also, there are other positive candles in between.

                        If you want to use real channel, use some Channel indicator where there will be positive value for every candle. In my opinion ZigZag is only interesting if you look at it from distance without knowing how it works 🙂

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

                          __

                          instead of showing the current high it seems is showing high in the past when i set the option to check the last 5 bars and exception bars 1..

                          [/quote:2xmv8kdk]
                          Maybe I created function for Lowest High, because it draws the last high that i above the current one :)))

                          1 Reply Last reply Reply Quote 0
                          • O
                            okranoblues last edited by

                            ok that sounds good..I'm agree with you and thank you for your help...but let ask u something do you think this toll would work good to calculate Fibonacci retracement? or what tool do you consider best to draw or calculate fibonacci levels..

                            thanks again

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

                              I checked this and I think it's correct, but it depends on the current moment.

                              Let's take this screenshot for example:
                              http://fxdreema.com/forum/download/file.php?id=304

                              These are Higher Lows. There is a Low between point 1 an point 2 and from the current point of view it can be skipped. But if you look from 17 Mar 08:00 (where the dashed line is) to the past, this point was one of the Higher Lows. A few moments later it is skipped.

                              But there are many ways to look at these Highs and Lows, especially in other configurations, and I think I can't give single answer to all of them. I tried to cover all the situations - HH, LL, HL, LH - but everytime it depends on the current moment and I think I can't deal with that. I'm leaving this "ZigZag" indicator there and I surrender 🙂

                              Fibonacci parameters can be accessed if it is already drawn. For more than that... I surrender again, sorry. I'm not good with indicators and the program is not capable to do many things with them.
                              It's better if there is already existing custom indicator that can give you the exact signals that you need. I tried to find an indicator to show HH, LL, LH and HL of ZigZag, but I was not able to find such creature even if there are tens of indicators out there. I don't know why, but maybe there is a reason.

                              1 Reply Last reply Reply Quote 0
                              • O
                                okranoblues last edited by

                                I understand. . and thank you very much for the indicator still is usefull for me I appreciate it..

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

                                  I can suggest this website for indicators: http://www.best-metatrader-indicators.com/ This website looks very good and all indicators have screenshots. But I think it does not have search.

                                  Otherwise many ammateur indicators can be found in Code Base of mql4.com and mql5.com.

                                  I also know this website where some paid indicators can be found: http://www.truetl.com/ I never used any of them, but again I think that the website looks very good 🙂

                                  1 Reply Last reply Reply Quote 0
                                  • O
                                    okranoblues last edited by

                                    Hi I have a question for the zig zag indicator is there any way we can get this option...like once it gets the hi.high and lo low avoid to draw more zig zags until the current hi high or lo low is broken?

                                    in that way avoids to the indicator to be drawing lines and determine if the market trending or if market is in range bound???

                                    Thank you

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

                                      I have to say that I don't understand indicators very well and because of that fxDreema can't create or modify indicators. But if you want to create or modify some indicator you can ask in forexfactory, mql4.com, mql5.com or other forums or websites where there are people willing to do that 🙂

                                      1 Reply Last reply Reply Quote 0
                                      • 1 / 1
                                      • First post
                                        Last post

                                      Online Users

                                      H
                                      G

                                      9
                                      Online

                                      146.7k
                                      Users

                                      22.4k
                                      Topics

                                      122.6k
                                      Posts

                                      Powered by NodeBB Forums | Contributors