Hello, I don’t have a good result. I would like a drawrectangle with: PPJ (pivot point Daily), OPR ( the high and low from the first candle , 8 hours, in UT 15 minutes and if the candle is lower 5 pips, include wicks) GAP (last day) the highest of my rectangle can be PPJ or OPR or GAP and the same for the lowest. //once plusBas = close*1000 PPJ = (DHigh(1) + DLow(1) + DClose(1)) / 3 OPR= (time=080000) and open and close GAP= Close and time>214500 and time <=220000 // Rectangle x = gap x1= 180000 y= high (ppj or opr or gap) y1= low (ppj or opr or gap) DRAWRECTANGLE(x, y, x1, y1) coloured (30,30,255) Merci pour votre aide