In order to use Pending Orders with a controlled risk strategy, the size of the order would need to be adjusted on a bar-by-bar basis until it was executed. This is not possible with the current version of ModifyOrder(). The alternative would be to delete and re-create each pending order every bar, so the new order would have a different LotSize than the previous one. That would be very inefficient.
Add one argument (LotSize) to the ModifyOrder() function and life would be much simpler.
Allow ModifyOrder() to change the LotSize
- Tantalus
- Posts: 302
- Joined: Fri Mar 23, 2007 3:51 pm
- Contact:
Allow ModifyOrder() to change the LotSize
Tantalus Research - Developing 21st Century Trading Systems.
Return to “New Feature Suggestions”
Who is online
Users browsing this forum: No registered users and 18 guests