工作已完成
指定
Write indicator for mt4 and mt5 based on cyclic lines and rectangles with fill, give source code
I really ask you to save this code (I have an idea for a separate indicator). For local and for local mode - when displaying rectangles on the right and left. It will be like a separate indicator. For the local mode, it will look like this - if the rectangle on the right is higher than left rectangle in high, then fill it in green. If it is lower than the left rectangle by low, then we paint it in red.
And do the same for local with Global, only it is necessary that the global cycle can be selected in the form of "Ln" (now is L1 only)!!!!
if the right rectangle is within the left one, we leave the default color (yellow)
----------
fill green right rectangle if higher than hihg left rectangle, fill red colour right rectangle if lower than low left rectangle, yellow if within low and high
Only if cycle lenght is 1 bar - fill canles or make for this rectangles
----
appear/disapear cyclic lines (true false)
----
Shift left cyclic lines N bars (for the change size of right rectangle)
full task after apply to job