Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Orders Rejected
Collapse
X
-
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.
-
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.
Leave a comment:
-
Hi tc101,
How are you programming your orders? If you want reversal orders you do not need to explicitly code an exit order. If you were long and you just placed an EnterShort() order it will automatically close your position first then reverse you.
Leave a comment:
-
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
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Tyranny, Today, 01:11 PM
|
2 responses
25 views
0 likes
|
Last Post
![]()
by Tyranny
Today, 08:32 PM
|
||
Started by JAVIER LLORDEN, 03-13-2023, 11:10 AM
|
6 responses
982 views
0 likes
|
Last Post
![]()
by pavan15589
Today, 07:00 PM
|
||
Started by Delerium, 01-11-2022, 04:20 PM
|
5 responses
450 views
0 likes
|
Last Post
![]()
by wbear009
Today, 06:28 PM
|
||
Started by ybforex, 03-11-2025, 05:30 PM
|
12 responses
105 views
0 likes
|
Last Post
![]()
by rockmanx00
Today, 05:41 PM
|
||
Started by forgebench, Today, 02:22 PM
|
2 responses
11 views
0 likes
|
Last Post
![]()
by forgebench
Today, 04:20 PM
|
Leave a comment: