![]() |
|
|
#1 |
|
Senior Member
Join Date: Dec 2009
Posts: 248
Thanks: 0
Thanked 1 time in 1 post
|
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 |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,770
Thanks: 158
Thanked 562 times in 553 posts
|
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.
Matthew
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |