Auftrag beendet
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Spezifikation
Hi Folks,
I need an indicator, with the following features, as far as possible:
a)
Marking a "mother candle" with 2 horizontal infinite lines
1 horizontal line starting at the LOW of a mother candle
1 horizontal line starting at the HIGH of a mother candle
Note:
A "mother candle" is a candle which only covered the CLOSE of the following child candle(s).
The LOW or HIGH of the following candle(s) could also be outside of the "mother candle".
Only the CLOSE of the following candle(s) must be within the HIGH and LOW of "the mother candle"
A child candle could also be another mother candle (see attached picture)
b)
Truncate the infinite horizontal lines after a breakout (CLOSE of a candle outside the horizontal lines)
and retest of the horizontal lines.
That means:
Truncate the horizontal line at the HIGH (of a "mother candle") when there is a candle CLOSE above this line and retest of this line from above.
The line will be truncated exactly at the point of retest from above. Only a touching of this line with a spike is enough to truncate the line.
Truncate the horizontal line at the LOW (of a "mother candle") when there is a candle close below this line and retest of this line from below.
The line will be truncated exactly at the point of retest from below. Only a touching of this line with a spike is enough to truncate the line
Adjustable settings:
Colour and style of the horizontal line
I hope I managed clearly to explain what I need.
Please find attached a graphic, how this indicator should work.
Hope any of YOU great programmes could help me
Regards
Christian