![]() |
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jan 2008
Posts: 147
Thanks: 0
Thanked 0 times in 0 posts
|
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); } |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
Unfortunately cross strategy positioning is beyond the scope of what we can offer support for.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jan 2008
Posts: 147
Thanks: 0
Thanked 0 times in 0 posts
|
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 |
|
|
|
|
|
#4 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
We do not provide support/assistance for that.
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Jan 2008
Posts: 147
Thanks: 0
Thanked 0 times in 0 posts
|
Ok, I just need to know if it is possible though.
|
|
|
|
|
|
#6 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
It depends what you want to achieve, you need to try by yourself. We don't provide support for that.
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#7 |
|
Senior Member
Join Date: Jan 2008
Posts: 147
Thanks: 0
Thanked 0 times in 0 posts
|
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....
|
|
|
|
|
|
#8 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
>> 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.
Dierk
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |