@edmundlbc Are you manually drawing the rectangle? if so you could just have the EA draw lines on chart so when you drag into position and price is in-between, EA reacts.