Hi!
I'm just starting to program and I need help.
Did not get to write code fractal trend.
Fractal trend shown in the screenshot.
The growing trend is based on fractals number 1, 2, 3, 4, 5.
FractalDownBar: 1 <2 <3
FractalUpBar: 2 <4
Fractals have to go in order: FractalDownBar-FractalUpBar-FractalDownBar-FractalUpBar-FractalDownBar, ie 1-2-3-4-5.
There are only a part of the code.

CODE:
Please log in to see this code.