Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Orders Rejected
Collapse
X
-
Orders Rejected
I am using an automated moving average strategy to trade stocks. When the average crosses above the strategy goes long when it goes below it is supposed to exit and go short. There is no problem entering the first trade, however when the moving average crosses in the opposite direction, my exit and entry into the next position are entered at the same time and my order gets rejected, ("the sell order is greater than the quantity held in your account") the strategy exits and shuts down. I believe that the exit of the one position and entry into the next position are entered the same time causing the rejected order and strategy shut down. Is there a quick fix to this problem?Tags: None
-
Orders rejected
The orders are programmed in SET #1 cross above enter long. Set#2 cross below enter short. I don't have exits programmed yet when the strategy goes to exit and enter the new position the order gets rejected and the strategy does exit but it shuts down.
Comment
-
Can you provide details into how many orders per direction you have in your orders and as a position. Please ensure you are not exceeding your account balance in doing so too. See the Control Center logs for other hints as to what is going on with your strategy.
I advise you to strip your strategy down completely into bare essentials to test. You can use the SampleMACrossOver to test for yourself since it uses the same set of conditions you are currently using.Josh P.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by llanqui, Today, 08:50 AM
|
1 response
3 views
0 likes
|
Last Post
![]()
by llanqui
Today, 08:58 AM
|
||
Started by Bwtharp, Today, 08:51 AM
|
0 responses
8 views
0 likes
|
Last Post
![]()
by Bwtharp
Today, 08:51 AM
|
||
Started by tylersmith, Today, 08:42 AM
|
0 responses
4 views
0 likes
|
Last Post
![]()
by tylersmith
Today, 08:42 AM
|
||
Started by 6bobclose5, Today, 08:33 AM
|
0 responses
4 views
0 likes
|
Last Post
![]()
by 6bobclose5
Today, 08:33 AM
|
||
Started by pstrusi, 10-25-2022, 05:12 AM
|
5 responses
515 views
0 likes
|
Last Post
![]()
by pstrusi
Today, 08:21 AM
|
Comment