NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 06-03-2008, 10:37 PM   #1
maninjapan
Senior Member
 
Join Date: Jan 2008
Posts: 147
Thanks: 0
Thanked 0 times in 0 posts
Default Coordinate Multiple strategy entries

Is it possible to get a strategy to recognize the total position in a contract, including positions entered by other strategies? I am trying to run 2 strategies on one contract and want orders from Strategy A to cancel if strategy B takes a position.
Ive tried this, but it only seems to watch orders from its own strategy.


if (Position.MarketPosition == MarketPosition.Flat)
{
EnterLongLimit(this.bid - this.offsetTicks * TickSize);
}
maninjapan is offline  
Reply With Quote
Old 06-03-2008, 11:00 PM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
Default

Unfortunately cross strategy positioning is beyond the scope of what we can offer support for.
NinjaTrader_Josh is offline  
Reply With Quote
Old 06-04-2008, 01:26 AM   #3
maninjapan
Senior Member
 
Join Date: Jan 2008
Posts: 147
Thanks: 0
Thanked 0 times in 0 posts
Default Josh

Thanks for the reply. So does that mean it is possible but you cant help with it on the forum, or does that mean its not possible in Ninja?

Thanks Again
maninjapan is offline  
Reply With Quote
Old 06-04-2008, 01:34 AM   #4
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

We do not provide support/assistance for that.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 06-04-2008, 01:54 AM   #5
maninjapan
Senior Member
 
Join Date: Jan 2008
Posts: 147
Thanks: 0
Thanked 0 times in 0 posts
Default

Ok, I just need to know if it is possible though.
maninjapan is offline  
Reply With Quote
Old 06-04-2008, 01:56 AM   #6
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

It depends what you want to achieve, you need to try by yourself. We don't provide support for that.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 06-04-2008, 02:01 AM   #7
maninjapan
Senior Member
 
Join Date: Jan 2008
Posts: 147
Thanks: 0
Thanked 0 times in 0 posts
Default

I think I get the fact that 'its not supported'. A simple yes or no, was what I was after as my original question was 'Is it possible'. and what I am trying to achieve was also pointed out quite clearly. So I guess I can take it that if I can figure it out myself or pay to get it done then it is a possibility in Ninja. I dont have to go looking for a new platform....
maninjapan is offline  
Reply With Quote
Old 06-04-2008, 02:04 AM   #8
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

>> simple yes or no,
There is not simple reply which is one reason why we don't provide support for that. You need to try by yourself.
NinjaTrader_Dierk 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
Multiple order ATM strategy ericgood ATM Strategies (Discretionary Trading) 5 03-11-2008 01:18 PM
Entries per direction latkinso General Programming 4 02-12-2008 09:27 AM
EMA Entries and Exits gygraham Strategy Development 3 01-25-2008 12:30 PM
Automatic Strategy Entries with Manual Exits daven Automated Trading 9 10-27-2007 07:57 AM
multiple strategy orders. MikeB SuperDOM and other Order Entry Windows 1 02-02-2007 01:58 AM


All times are GMT -6. The time now is 03:10 PM.