Need assistance for reconditions support indicator

 
Hello in the following picture one can see what I to program wants.



One sees the black lines which are Support and resistances lines.
I can not program gladly it as indicator however point yet as go, can someone please to help.
The number in the Chart are unimportantly those I made pure.
 

What is your suggestion to detect support and resistance levels?

MQL How-To Guide
Your Ideas in Expert Advisors

 
I have think perhaps with fractals Indikator, which you mean?
Reason: