NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 01-13-2012, 05:09 PM   #1
crimsonite
Member
 
Join Date: Jan 2012
Posts: 96
Thanks: 32
Thanked 4 times in 4 posts
Exclamation Blackbox help

Hello,

I made a strategy, and I have six intstances of it running for six different contracts.

Whenever it attempts to execute, I keep getting this popup. There are three popups per execution.

It seems to execute properly, but I'm not understanding why the popups.

The code is solid, and I've successfully run many opto's, forward walks and backtests.

Thanks so much for the superb support, and economical yet effective product. c
Attached Images
File Type: jpg Project1.jpg (187.0 KB, 17 views)
crimsonite is offline  
Reply With Quote
Old 01-13-2012, 08:04 PM   #2
sledge
Senior Member
 
Join Date: Aug 2010
Location: Washington, D.C.
Posts: 1,267
Thanks: 192
Thanked 332 times in 287 posts
Default

Try this???


http://www.ninjatrader.com/support/f...ht=foreign+key


here's a question.. are you using the same name for entries in all 6 contracts?

Like "EnterLong ("Long", .. ) ?

If so, what about making them unique?


"EnterLong ("Long"+ContractName,... ) ?


Quote:
Originally Posted by crimsonite View Post
Hello,

I made a strategy, and I have six intstances of it running for six different contracts.

Whenever it attempts to execute, I keep getting this popup. There are three popups per execution.

It seems to execute properly, but I'm not understanding why the popups.

The code is solid, and I've successfully run many opto's, forward walks and backtests.

Thanks so much for the superb support, and economical yet effective product. c
sledge is offline  
Reply With Quote
The following user says thank you to sledge for this post:
Old 01-14-2012, 10:47 AM   #3
NinjaTrader_AdamP
NinjaTrader Customer Service
 
NinjaTrader_AdamP's Avatar
 
Join Date: Aug 2011
Location: Denver, CO, USA
Posts: 2,895
Thanks: 241
Thanked 375 times in 365 posts
Default

Crimsonite,

I am happy to assist.

Please follow sledge's instructions and let me know if that works.

I look forward to helping you resolve your issue.
NinjaTrader_AdamP is offline  
Reply With Quote
Old 01-14-2012, 06:32 PM   #4
crimsonite
Member
 
Join Date: Jan 2012
Posts: 96
Thanks: 32
Thanked 4 times in 4 posts
Default

Good point, I'll try that.

They all execute, it's just a popup comes up everytime... not too comfortable when real money is on the line!
crimsonite is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I install NinjaTrader on a BlackBox without internet access? tradervick Installation and Licensing 1 05-18-2009 02:38 PM


All times are GMT -6. The time now is 02:57 PM.