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 trader3000a, Today, 02:22 PM
    0 responses
    1 view
    0 likes
    Last Post trader3000a  
    Started by kaywai, Today, 12:05 PM
    0 responses
    28 views
    0 likes
    Last Post kaywai
    by kaywai
     
    Started by DTSSTS, 01-14-2022, 02:53 PM
    3 responses
    24 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by SuperDude123, Today, 05:17 AM
    2 responses
    19 views
    0 likes
    Last Post SuperDude123  
    Started by iamkmckinney, Yesterday, 10:52 PM
    2 responses
    23 views
    0 likes
    Last Post iamkmckinney  
    Working...
    X