I want to design an indicator simailar to pivots

based on yesterdays OPEN, HIGH, LOW AND CLOSE values i want 3 lines to be displayed on intraday charts similar like pivots but they should be connected to the lines of previous days also.

is it possible.

you can design by using AFL or any other programing language and it is bit complex