![]() |
|
|||||||
| Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Nov 2008
Posts: 12
Thanks: 0
Thanked 0 times in 0 posts
|
OK, new to Ninja, trying to extract myself from TradeStation. Got an autotrader built, applied it to a chart, but it doesn't take trades, either on the sim account or live. It does for the programmer. I use patsystems for the data feed, he uses esignal(not sure if this matters).
Any help here? Thanks, Moneyman |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
Hi moneyman,
Welcome to the NinjaTrader Support Forums. Just to confirm, you are talking about a NinjaScript Strategy correct? Please first connect to your data provider, pull up a chart that is receiving streaming data, and then add the strategy onto the chart. Then take a look in the Control Center logs for any errors.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Nov 2008
Posts: 12
Thanks: 0
Thanked 0 times in 0 posts
|
OK, that is all working. I am getting a good feed from patsystems. no errors that i see.
|
|
|
|
|
|
#4 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
Try throwing on the SampleMACrossOver strategy and see if that trades.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Nov 2008
Posts: 12
Thanks: 0
Thanked 0 times in 0 posts
|
Tried that, and it showed previous trades from the day on the chart. Didn't try it long enough to see if it was taking trades, but having the previous trades show up on the chart was more than my strategy was showing.
|
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Nov 2008
Posts: 12
Thanks: 0
Thanked 0 times in 0 posts
|
should AT Interface be checked?
|
|
|
|
|
|
#7 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
AT Interface does not matter for NinjaScript Strategies. Since we have now confirmed that your NinjaTrader is not at fault since the standard SampleMACrossOver strategy is capable of trading you will want to go back to your programmer. You want to ask the programmer how to get it to work and if the strategy has been limited to real-time only.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Nov 2008
Posts: 12
Thanks: 0
Thanked 0 times in 0 posts
|
I did. He ran it on his chart successfully. Yet mine, it doesn't run. He has no idea...
|
|
|
|
|
|
#9 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
moneyman,
We have no idea how your strategy is coded and as such we are not in a position to advise you. You could try reinstalling NinjaTrader along with .NET to see if that helps. 1. Backup anything you want via File->Utilities->Backup 2. Uninstall NT 3. Delete My Documents\NinjaTrader 6.5 folder 4. Uninstall .NET 2.0 5. Clear browser cache 6. Reinstall .NET 2.0 7. Reinstall NT 8. Try your strategy again
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#10 |
|
Junior Member
Join Date: Nov 2008
Posts: 12
Thanks: 0
Thanked 0 times in 0 posts
|
ok, so can you point me to a place where ninja coding experts hang out, so i can contact one or more and see if they can solve this for me? My head is ready to explode trying to figure out what is most likely a very minor setting issue...
|
|
|
|
|
|
#11 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
If you want you could hop over to the NinjaScript Strategy Development section and throw up your strategy there. See if people know what is going on, but the most useful source of information will still be from your programmer. Get him to provide you with exact steps to get it to work. Try running on the same instrument as him with the same settings. Ensure he is running it in real-time. You run in real-time as well. Eliminate all differences possible. Unfortunately we do not know how to provide you further support on this as this is a 3rd party script issue (we already confirmed that the default NinjaScripts worked on your end).
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#12 |
|
Junior Member
Join Date: Feb 2011
Posts: 28
Thanks: 0
Thanked 0 times in 0 posts
|
New to NT and have the same issue with NT 7. The standard SampleMACrossOver works well, but none of mine.
Any thoughts? Thanks, Gary |
|
|
|
|
|
#13 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
|
Welcome to our forums - are there any errors in the log tab of the Control Center? This would be the first place to check if you run into unexpected results. Are you having enough historical data loaded in your chart? Also it would be important to check your conditions are really triggering any trades, for this Print statements to debug are very helpful - http://www.ninjatrader.com/support/f...ead.php?t=3418
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#14 | |
|
Junior Member
Join Date: Feb 2011
Posts: 28
Thanks: 0
Thanked 0 times in 0 posts
|
Quote:
|
|
|
|
|
|
|
#15 |
|
Junior Member
Join Date: Feb 2011
Posts: 28
Thanks: 0
Thanked 0 times in 0 posts
|
Looks like I have to use TraceOrders = true to have the strategy trigger the order, but I didn't see it in your sample.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IB TWS auto log off driving me nuts with strategy autotrader in NT | scriabinop23 | Connecting | 11 | 03-19-2013 11:19 AM |
| testing trades | diffused | Miscellaneous Support | 3 | 11-03-2008 05:10 AM |
| Live trades not appearing in Positions tab but bogus trades showing up | bluelou | Automated Trading | 5 | 10-16-2008 06:39 AM |
| how to not have your trades on the chart? | chan123 | Charting | 1 | 08-21-2007 11:46 PM |
| NT AutoTrader in Sim mode | DennisAndLisa | Automated Trading | 1 | 01-08-2006 07:17 AM |