NinjaTrader Support Forum  

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

Miscellaneous Support Miscellaneous support issues.

Reply
 
Thread Tools Display Modes
Old 04-23-2012, 02:21 PM   #1
tinkerz
Senior Member
 
Join Date: Dec 2009
Posts: 248
Thanks: 0
Thanked 1 time in 1 post
Default Simple Key

Hi,

Are there any example scripts where the a key can be placed on the left hand side of an indicator describing the line.

I have 4 colored lines on my indicator, and I forget what they represent, so a key on the indicator would be great

Thanks

tinkerz
tinkerz is offline  
Reply With Quote
Old 04-23-2012, 02:32 PM   #2
NinjaTrader_Matthew
NinjaTrader Customer Service
 
NinjaTrader_Matthew's Avatar
 
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,770
Thanks: 158
Thanked 562 times in 553 posts
Default

Hello,

I'm not aware of any existing examples that would do this.

A very simple approach would be by using the DrawTextFixed() and using a different color text to match the indicator color.

If you want something more involved, you can create your own custom plot to do so. You can take a look at how to create your own custom plot by going to Tools--> Edit NinjaScript--> Indicators--> locate the CustomPlotSample and select "OK.

From this script, you will want to look under the #region Miscellaneous area and the public over ride void Plot() method.
NinjaTrader_Matthew 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
New Key? kenomalley Installation and Licensing 3 07-09-2010 03:10 PM
license key alpha trader Installation and Licensing 1 04-27-2010 04:06 PM
Error when Remove Hot Key on collapsed hot key category in Hot Key Manager Neil_ Version 7 Beta General Questions & Bug Reports 2 03-22-2010 03:11 AM
Is there a simple way to convert the RSI averages to exponential instead of Simple? forrestang Indicator Development 2 01-06-2010 08:19 PM
Simple question about a simple strategy. shakira Strategy Development 1 02-14-2009 10:56 AM


All times are GMT -6. The time now is 07:10 AM.