loop for array
-
loop for array
Can someone please help me to create a loop for filling an array. The filling works without a loop, but since I still need the lower values and the array still has to become 3 dimensional for a 2 time frame, I need a loop.Variant without a loop
https://fxdreema.com/shared/ckLls8fqeone of my attempts
https://fxdreema.com/shared/cKEB7D5pe -
-
@rgoo why are you adding 1 to the array?
Sometimes its simplier to just use 3 separate arrays instead of one 3-dimensional array.

-
Thank you for the tip, I have revised the conditions again in peace and it works.
If anyone wants to use the solution, here is the link.
You can now, for example, draw different trend lines in 2 time frames and set your own conditions. In my opinion, the well-known indicators switch to a new trend direction too quickly when there is a breakout. -
@rgoo Thank you for sharing, man.