NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Miscellaneous Support

Miscellaneous Support Miscellaneous support issues.

Reply
 
Thread Tools Display Modes
Old 08-26-2010, 10:20 AM   #1
telbentel
Member
 
Join Date: May 2009
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
Default create custom event

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?
telbentel is offline  
Reply With Quote
Old 08-26-2010, 11:21 AM   #2
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
Default

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.
NinjaTrader_Brett is offline  
Reply With Quote
Old 08-26-2010, 12:03 PM   #3
telbentel
Member
 
Join Date: May 2009
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
Default

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
telbentel is offline  
Reply With Quote
Old 08-26-2010, 01:21 PM   #4
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
Default

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.
NinjaTrader_Brett 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
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


All times are GMT -6. The time now is 01:52 PM.