Support Board
Date/Time: Mon, 21 Apr 2025 23:45:03 +0000
[Programming Help] - Auto trade strat only submitting once
View Count: 97
[2025-02-22 21:42:51] |
Letmein - Posts: 2 |
I created a C++ strat that submits a sell limit order if price is below vwap and under a price that has a multiple of 10 with a 6 pt target price. The strat works but for some reason after the target gets hit a new order never gets submitted. Looking in the message log it says "Short position exists. No new sell order placed." even though there is no orders open. If I manually click clear trade simulation orders and data it then sends an order. So what am I missing in the code to have the script do this automatically?
|
To post a message in this thread, you need to log in with your Sierra Chart account: