Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Simple crossover strategy
Collapse
X
-
Simple crossover strategy
Hi; I hired one of the 3rd party developers listed on the NT site to write a simple EMA crossover strategy; when the fast EMA crosses above the slow EMA, it goes long, when it crosses below, it goes short. The problem is the strategy shuts down when there is more than one trade during the day. It is a EOD system. Can I have you look at it for errors? I do not want to post it on this site. I am executing through TDAmeritrade.Tags: None
-
Usually this strategy trades once during the day; occasionally it will trade 2 or 3 times; ie, if it goes long at 10, then goes short at 12, it should close out the long and enter a trade in the other direction. Thats where the problem is; I get error messages and the strategy terminates. The long position is closed, but the short does not get entered.
Error messages:
[IMG]file:///C:/DOCUME%7E1/Bruce/LOCALS%7E1/Temp/moz-screenshot.png[/IMG][IMG]file:///C:/DOCUME%7E1/Bruce/LOCALS%7E1/Temp/moz-screenshot-1.png[/IMG][IMG]file:///C:/DOCUME%7E1/Bruce/LOCALS%7E1/Temp/moz-screenshot-2.png[/IMG][IMG]file:///C:/DOCUME%7E1/Bruce/LOCALS%7E1/Temp/moz-screenshot-3.png[/IMG]Your order(s) can't be placed. The total quantity of outstanding open sell order(s) exceeds the quantity you hold. Affected Order: Sell 100 Market
Strategy 'bpEMA' submitted an order that generated the following error 'OrderRejected'. Strategy has sent cancel requests
I have gone back to the consultant, he's re-written it 3 times total; same problems.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by WHICKED, Today, 12:45 PM
|
0 responses
1 view
0 likes
|
Last Post
by WHICKED
Today, 12:45 PM
|
||
Started by FrazMann, Today, 11:21 AM
|
2 responses
6 views
0 likes
|
Last Post Today, 12:38 PM | ||
Started by rjbtrade1, 11-30-2023, 04:38 PM
|
2 responses
80 views
0 likes
|
Last Post
by DavidHP
Today, 08:12 AM
|
||
Started by Spiderbird, Today, 12:15 PM
|
1 response
7 views
0 likes
|
Last Post Today, 12:34 PM | ||
Started by lorem, Yesterday, 09:18 AM
|
5 responses
18 views
0 likes
|
Last Post Today, 12:29 PM |
Comment