DislikedThank you Meister81, I will put this indie on my chart and give it a try.
be careful with this indicator, the reason it looks so good on the chart is because it recalculates for All bars everytime (ie. a complete repaint),
as the input for the bar is actually taken from the close of the bar afterwards in real time the current bar and last bar are not fixed.
Also the code is not very clever, the last 2 inputs do absolutely nothing.
If anyone wants to see, the source is on code base http://codebase.mql4.com/source/6719