This system shows how you can use reflection to override the position manager / broker connection. This allows you to fill orders manually at whatever price you like. You can open and close a position on the same bar.You should be very careful when using these methods. As this system demonstrates, it is possible to "cheat". This system does it by buying at the open price and selling at the close price, but only if the close is greater than the open.Since this system accesses internal methods and fields of the position manager class, it may not work in future releases of RightEdge. Also, the trades created using this method will not show up in the system statistics until the next bar.
The system can be downloaded by clicking here