NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


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

Indicator Development Support for the development of custom indicators using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 12-03-2009, 02:41 AM   #1
vides2012
Member
 
Join Date: Sep 2009
Posts: 71
Thanks: 0
Thanked 0 times in 0 posts
Default Get running strategies

Dear NinjaTrader Support,

I would like to develop an indicator using Unrealized P/L, but thats only accessible from a strategy subclass. Is there any way to access the active strategy(ies) on an instrument?

Thanks,

vides2012
vides2012 is offline  
Reply With Quote
Old 12-03-2009, 04:11 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,411
Thanks: 252
Thanked 976 times in 959 posts
Default

Unfortunately this is not supported directly - you could read and write the needed values in / from txt files for example or use Global Variables which users have reported success with here on our forums.
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 12-03-2009, 06:09 AM   #3
vides2012
Member
 
Join Date: Sep 2009
Posts: 71
Thanks: 0
Thanked 0 times in 0 posts
Default thanks

Thank you for the tips, I'll try that way.
vides2012 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
How To Save A Workspace With Strategies Running??? Willl Strategy Development 4 06-18-2009 10:14 AM
Running Sim Strategies spacebalts67 Miscellaneous Support 13 04-06-2009 10:54 AM
Running two strategies at the same time Melcotran Automated Trading 3 12-04-2008 11:24 AM
Running New Strategies Faspomy Strategy Development 1 10-31-2008 07:30 AM
Running strategies adrian Suggestions And Feedback 3 05-13-2008 12:33 PM


All times are GMT -6. The time now is 05:53 PM.