![]() |
|
|
|
|
#1 |
|
Member
Join Date: May 2009
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
|
Hi I'm new to NT, I need to comunicate two strategies. Is it possible create a custom event and trigger this event within one strategy and execute the event handler in both strategies?
|
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
|
Hello,
This is theoretically possible, however this is not supported by NinjaTrader. Would recommend posting or reviewing here: http://www.ninjatrader.com/support/f...ht=unsupported Let me know if I can be of further assistance.
Brett
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: May 2009
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
|
ok. Is there any way to comunicate two strategies? I want to stop opening positions or giving alerts when any of the two strategies open a position. I was trying to create a custom event and activate this event in any of the strategies so all strategies will know the new state
|
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
|
Hello,
Cross communication, This is what I was referring to as being Unfortunately not officially supported however I have heard of individuals being able to do this. This would be the general concept you would use to do this. This reference sample referes to an Strategy->Indicators however same concept would apply to Strategy->Strategy. http://www.ninjatrader.com/support/f...ead.php?t=4991 Let me know if I can be of further assistance.
Brett
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Create Custom Type | Mike Winfrey | General Programming | 6 | 01-01-2013 03:01 PM |
| How to create a Custom Class? | poseidon_sthlm | Indicator Development | 1 | 05-26-2010 09:25 AM |
| Custom BarsType & OnMarketData event | cls71 | General Programming | 7 | 05-12-2009 11:43 AM |
| NinjaScript with Superdom to create a custom stop | alanack | ATM Strategies (Discretionary Trading) | 1 | 01-12-2009 04:20 PM |
| How to create custom bracket? | hdfYM6pDOQ | ATM Strategies (Discretionary Trading) | 1 | 02-27-2008 11:55 AM |