Here is a bit of code that demonstrates what I've been blogging about. It's a simple way to manage pending position requests. The idea is that a signal his been raised but that this code will let you wait for an improvement in the price before actually opening a position.// *******************************************************************// Name: AMS_PEND.MQ4// Date: 01-Mar-2009// Prog: Rookie