NinjaTrader Support Forum  

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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 10-30-2009, 09:21 AM   #1
David Lean
Senior Member
 
Join Date: Oct 2009
Location: Australia
Posts: 108
Thanks: 2
Thanked 14 times in 7 posts
Default Can an indicator know what panel it is in?

Are there methods that offer reflection type properties?

Within the indicator I'd like to know:-
1) What Panel is it running in?
2) Is it running in more than one panel?

Why?
My Indicator raises Alerts & Plays sounds. If I have the same indicator in 3 different panels I only want one generating that info. (I have properties that make it look different in the other panels, eg: Background ribbon turned on when not in Price panel. extra lines that can be turned on / off) Orignally intended for debugging It actually helps trade.
David Lean is offline  
Reply With Quote
 

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
Indicator Panel Harry Indicator Development 1 10-15-2009 05:12 AM
Indicator / Panel. jthom Strategy Development 3 06-05-2009 07:06 AM
Indicator writing to own panel and price panel cherriman Indicator Development 6 10-13-2008 03:14 PM
DrawText on Indicator Panel thepcmd General Programming 7 09-03-2008 10:24 PM
DrawRectangle in indicator panel zlpele Indicator Development 1 06-30-2008 04:34 AM


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