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 Robeeq, Yesterday, 06:35 PM
    1 response
    19 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by WalterSkinner, Today, 01:39 PM
    0 responses
    2 views
    0 likes
    Last Post WalterSkinner  
    Started by babouin77, Yesterday, 06:04 PM
    1 response
    17 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Daddy_Trader21, Yesterday, 05:04 PM
    3 responses
    29 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by ernest93, Today, 01:08 PM
    0 responses
    11 views
    1 like
    Last Post ernest93  
    Working...
    X