loop object fibonacci
-
@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.
-
@chrisbe From the latest of them... My goal in this code is to find the latest Fibonacci and the latest white line.
-
@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,
-
@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?
-
@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.
-
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...
-
@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
-
@mmmmmmmmmm Here is the EDIT
-
@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...
-
@chrisbe So I need the block "this block can create one object per bar" to be set to "yes".
-
@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
-
My current project is currently with Zigzag as well, although not using fib
-
@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.
-
@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
-
@chrisbe Thank you for your time
-
Deleted by
mmmmmmmmmm -
Restored by
mmmmmmmmmm
-
@chrisbe thank you man Your guidance was helpful
-
@mmmmmmmmmm happy to help