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 warreng86, 11-10-2020, 02:04 PM
|
4 responses
1,354 views
0 likes
|
Last Post
by mathewlo
Today, 09:18 PM
|
||
Started by Perr0Grande, Today, 08:16 PM
|
0 responses
2 views
0 likes
|
Last Post
by Perr0Grande
Today, 08:16 PM
|
||
Started by elderan, Today, 08:03 PM
|
0 responses
5 views
0 likes
|
Last Post
by elderan
Today, 08:03 PM
|
||
Started by algospoke, Today, 06:40 PM
|
0 responses
10 views
0 likes
|
Last Post
by algospoke
Today, 06:40 PM
|
||
Started by maybeimnotrader, Today, 05:46 PM
|
0 responses
12 views
0 likes
|
Last Post Today, 05:46 PM |
Comment