Hello, once again I am stuck and I am hoping you can help me out. I am building algo's on drops at the moment. When a particular symbol drops 2.1% I want to get long. Then when the symbol mean reverts and reaches a percent change of 0, I want to exit the trade. I am able to get in the position fine, the trouble is I can't get out of the position. I do not know how to identify when I am in the trade, to tell the IDE when to get out of the trade. So then the algo just keeps buying and never selling. I have played around with get_open_orders and get_order, but I do not know how to use them apparently. Any help is greatly appreciated,