fxDreema

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

    loop object fibonacci

    Questions & Answers
    3
    37
    2455
    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.
    • mmmmmmmmmm
      mmmmmmmmmm @chrisbe last edited by

      @chrisbe The white lines are for Fibonacci level zero. It means that every Fibonacci drawn is represented by a white line on level zero. I did this to test the loop. However, even after some time of operation, the robot cannot even find these white lines. You can turn it off in the raw code. Also, by turning on the delete block, you can automatically delete any object that exits the Fibonacci range.

      C 1 Reply Last reply Reply Quote 0
      • mmmmmmmmmm
        mmmmmmmmmm @chrisbe last edited by

        @chrisbe From the latest of them... My goal in this code is to find the latest Fibonacci and the latest white line.

        1 Reply Last reply Reply Quote 0
        • C
          chrisbe @mmmmmmmmmm last edited by

          @mmmmmmmmmm Well your loop is working, but for some reason the variable of the fib cannot hold too many values of the fib0 and fib7, however deleting one fib0 and fib7 from your loop list creates space for another, which lets the new value be recorded, so i suggest turning on the block to delete but use a condition that will not affect you EA by after certain condtions it deletes older recoded fib,

          mmmmmmmmmm 2 Replies Last reply Reply Quote 0
          • mmmmmmmmmm
            mmmmmmmmmm @chrisbe last edited by

            @chrisbe Thanks for your suggestion. However, I need old fibs that have not expired. Fibs expire when the price goes above their level 6. If it doesn't go, the fib remains. Considering your suggestion, an idea came to my mind that if the problem is as you say, my idea is to group them in sets of 5 or 10. What do you think?

            C 1 Reply Last reply Reply Quote 0
            • mmmmmmmmmm
              mmmmmmmmmm @chrisbe last edited by mmmmmmmmmm

              @chrisbe I want only two fibo to be on the page according to your suggestion, and it should delete the fibos before the second one. If this works correctly, its effect will be evident. I'll try this and let you know.

              C 1 Reply Last reply Reply Quote 0
              • C
                chrisbe last edited by

                I have found the actual culprit of the issue, and its your FIB when the system draws the FIB, it redraws too many which causes a break in the system, if its only drawing one fib at a time it works without an issue, i tested, on the fib block top where its writen ""this block can creat one object per bar"" set it to no, and everything will work fine, you need another fib to get your output right, create conditions for it, i tested it and its working fine...

                1 Reply Last reply Reply Quote 0
                • C
                  chrisbe @mmmmmmmmmm last edited by

                  @mmmmmmmmmm Grouping them can work but your original issue will still remain, if you need more than one fib create seprate conditions otherwise multiple reproduction of this thing causes your EA Crash

                  1 Reply Last reply Reply Quote 0
                  • C
                    chrisbe @mmmmmmmmmm last edited by

                    @mmmmmmmmmm Here is the EDIT

                    https://fxdreema.com/shared/x3nToxaU

                    mmmmmmmmmm 2 Replies Last reply Reply Quote 0
                    • mmmmmmmmmm
                      mmmmmmmmmm @chrisbe last edited by

                      @chrisbe Thank you. But as I mentioned, I need the previous fibs to remain, and whenever a fib reaches expiration conditions, it should be deleted; otherwise, it should stay...

                      C 1 Reply Last reply Reply Quote 0
                      • mmmmmmmmmm
                        mmmmmmmmmm @chrisbe last edited by

                        @chrisbe So I need the block "this block can create one object per bar" to be set to "yes".

                        1 Reply Last reply Reply Quote 0
                        • C
                          chrisbe @mmmmmmmmmm last edited by

                          @mmmmmmmmmm to do this i recomend, creating two fib name them fib 1 and 2 for example, create to fib and 2 variable, (eg fib 1and 2) when fib one is created set var to 1 and when fib 2 is created set fib 2 var to 1 if a new fib 1 is about to be created create a condition that check if fib1 variable is set to 1 if it is then deleted previous fib1 to replace it with the new onw also do thesame for fib2

                          mmmmmmmmmm 2 Replies Last reply Reply Quote 0
                          • C
                            chrisbe last edited by

                            My current project is currently with Zigzag as well, although not using fib

                            1 Reply Last reply Reply Quote 0
                            • mmmmmmmmmm
                              mmmmmmmmmm @chrisbe last edited by

                              @chrisbe The loop capacity is not specified. Perhaps the number of fibs reaches 50 or 100. Based on the test we conducted, the capacity of each loop may be less than ten. However, overall, if this is correct, a solution can be found for it within the framework of your suggestion.

                              C 1 Reply Last reply Reply Quote 0
                              • C
                                chrisbe @mmmmmmmmmm last edited by

                                @mmmmmmmmmm true the loop capacity is not specified, which is why i suggested since you only need the last 2 fib, creating 2 alternating fib would be ideal it will also increase the capacity of the EA so its not slow, well good luck

                                mmmmmmmmmm 1 Reply Last reply Reply Quote 1
                                • mmmmmmmmmm
                                  mmmmmmmmmm @chrisbe last edited by

                                  @chrisbe Thank you for your time

                                  1 Reply Last reply Reply Quote 0
                                  • Deleted by  mmmmmmmmmm mmmmmmmmmm 
                                  • Restored by  mmmmmmmmmm mmmmmmmmmm 
                                  • mmmmmmmmmm
                                    mmmmmmmmmm @chrisbe last edited by

                                    @chrisbe thank you man Your guidance was helpful

                                    C 1 Reply Last reply Reply Quote 0
                                    • C
                                      chrisbe @mmmmmmmmmm last edited by

                                      @mmmmmmmmmm happy to help

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

                                      Online Users

                                      E
                                      C
                                      M
                                      M
                                      F
                                      L
                                      F
                                      F
                                      E
                                      K
                                      M
                                      T

                                      37
                                      Online

                                      146.6k
                                      Users

                                      22.4k
                                      Topics

                                      122.6k
                                      Posts

                                      Powered by NodeBB Forums | Contributors