BOX breakout

 
 Anybody can tell me how to verify in an if statement when price is out of rectangle/box object ? Thank you.
 
Get the two prices of the rectangle and check if the market is above the larger of the two, or below the smaller of the two.
 
William Roeder:
Get the two prices of the rectangle and check if the market is above the larger of the two, or below the smaller of the two.

Thank you William. I shall use ObjectGet ObjectGetDouble.

 
First time I hear of this graphing technique. Seems like a better visual way of identifying support and resistance levels.
 
fxstrategist007:
First time I hear of this graphing technique. Seems like a better visual way of identifying support and resistance levels.
Depends how you consider the box, oriented for support and resistance or for corrections or other.
Reason: