Help with a pine code

Can anyone help to write a code in pine script to draw a horizontal line in intraday chart with following conditions:
1- A horizontal line to be drawn at the low of the candle.
2- Line on the candle with Maximum volume compared to previous candles after start of the day.
3- Volume of first candle not to be considered for comparison. this comparison of volume is to be between 0918 to 1015 hrs only and final line to be visible all day at the lowest price of that candle with maximum volume in 3 min time frame.

Please try a help. Thx

Try posting this in tradingview forums.