PINE HH/LL Indicator Script

Job ID: 31160861

Budget: $30 – $250 USD

Draw High and Low lines with some input parameters

HIGH
* High is based on candles highest high price compared on previous candles.
* High if Candle(1) higher than Candle(2) and previously calculated high
* High is influenced by low. If Current price is lower that LOW then look at previous candles for highest high before next candles high lower price
* High line does not move until current candle (0) closes
* Text High is printed above HIGH LINE (centre)
* Input parameters
--- High line / text colour
--- show previous high (check box)
--- previous high opaque %

LOW
* Low is based on candle's Lowest low price compared to previous candles.
* Low if Candle(1) lower than Candle(2) and previously calculated low
* LOW is influenced by HIGH. If Current price is Higher than HIGH then look at previous candles for lowest Low before next candles Low higher price
* Low line does not move until current candle (0) closes
* Text Low is printed above LOW LINE (centre)
* Input parameters
--- Low line / text colour
--- show previous Low (check box)
--- previous Low opaque %

Please see attached images showing the high and low as well as the previous high and low being shown as the candles close.
Related categories: Pine Script