Hello, please can you give me some advice how to make this kind of indicator?
I would like to program indicator which mark situation described below by rectangle.
if 3 or more bars have open and close price in range of the bar before these 3 or more bars (red line on chart).
I am completely new in programming and any advice help me much.
Thank you very much.
thank you for response.
I already read these articles, and may be I know how to create objects of rectangles, but not sure how to find these situations programmatic. From which side let the loops run? from bar0 to left or from bar[bars] to right.
If you know what I mean.
thanks a lot.
I have not started yet, because I don't know how to make algorithm. But Ok I have now something in my head so I try to write it post it here.