loop object fibonacci
-
Hello to all friends. This is a Fibonacci drawing code with Zigzag. It's a very good code, and you can draw different Fibonacci based on your Zigzag settings. I have a big problem in this code, and I would appreciate it if friends who can help me. The problem is as follows: For looping the last Fibonacci: I looped and commented the Fibonacci levels zero and seven at the top of the page according to the code of the last Fibonacci. Everything works fine for a while, and it draws the Fibonacci levels regularly. But after a while, it draws the Fibos (but) the loop no longer works, and whatever Fibonacci is drawn from that date onwards, the numbers above the left side remain fixed and do not change. In other words, the loop no longer works. The white lines are Fibonacci level zero, which cannot be drawn after that date because the loop does not work, as those lines are based on Fibonacci. My main problem is the loop that no longer works after that date. Can anyone solve the problem of looping the last Fibonacci, which no longer works after a while? On the date 2023/01/04 when you start, after 20:00, the loop no longer works, and the comment information, which is the level zero and level 7 of the last Fibonacci, remains fixed and does not change. Thank you for your cooperation.
```
fibo.mq4 code_text -
Can you please share the link to the project instead of the file itself? That will make it easier to review.
-
@l-andorrà I put the project link and the file itself. Thankful
-
-
Wow. That is a very complex project to review! My recommendation is splitting it into smaller parts and check them one by one before uniting them again. It is a slow and boring process, but it works.
-
@l-andorrà Of course, this is a small and simple part of another project, which I separated to solve the problem. I did what you said. But I don't know if the problem is with the software or the code
-
@mmmmmmmmmm , i will explain how i test my projects when i have problems, it may help you figure it out, what i do if for example you one of your variable is not working, i usually dray a text of all my variables and ad the draw text block to each block that is collected to i think i might be having that problem and text live and watch each variable that i added on the draw text block and se which of them os not working that way i am able to know which block is faulty, this process can be time consuming but trust me it always finds the problem..
-
@chrisbe thank you. I tried all the blocks by text and arrow. But I still did not understand where the problem is. I would be grateful if you could help me
-
@mmmmmmmmmm did you try the blocks with just any text or with the variable text of the left top screen
-
@chrisbe I put an arrow or text under each block. for each block separately
-
@chrisbe Would you please try it yourself? Thank you very much for your kindness
-
@mmmmmmmmmm ok, let me explain it so it abit clear, if you use an arror or just any text it may keep producing result with your arrow because if its a bug issue you wont see it, but using the variable of the top left which is fib0 and fib7 if the only way to get the right result, because than the variable will alsi stop producing at a specific time then you are able to tell,
Say for example you add draw text to all the block in your project under the loop function and all the draw text has variable fib0 and fib7, at the exact date when it stops working you will find one or two draw text will stop that will be your problem area, name the draw text block to identify them easily
-
@mmmmmmmmmm I would like to try, but i have a project i am working on now its taking so much of my time, i just decide to get off my project and rest my head before i say your post
-
But do as i explained above you will find the problem area
-
@chrisbe I did not understand exactly what you meant. I have put this code file. Is it possible for you to add this to the code?
-
@chrisbe Thank you very much
-
@mmmmmmmmmm i tried testing your code now but it doesnt even draw a fib
-
@chrisbe
I did what you said, but still didn't get any results -
@mmmmmmmmmm I may have found a solution for you, why is the delete block commented
-
@mmmmmmmmmm also all the white line labeled 01---- do you use them all or just the most recent one