Relative Content

Tag Archive for orb

high Low in Pinescript

What i need is as the day/month/week starts, i want horizontal lines on High and Low both if next candle doesnt break previous candle high and low otherwise it will keep checking untill high and low doesnt break… if it breaks low but doesnt break high then previous plot horizontal line til day end and when low is not broken, then plot horizontal line till day end on previous candle low …Kindly help