Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Simple Key

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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

    #2
    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.
    MatthewNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    71 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    43 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    25 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    28 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    56 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X