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 judysamnt7, 03-13-2023, 09:11 AM
    4 responses
    57 views
    0 likes
    Last Post DynamicTest  
    Started by ScottWalsh, Today, 06:52 PM
    4 responses
    36 views
    0 likes
    Last Post ScottWalsh  
    Started by olisav57, Today, 07:39 PM
    0 responses
    7 views
    0 likes
    Last Post olisav57  
    Started by trilliantrader, Today, 03:01 PM
    2 responses
    19 views
    0 likes
    Last Post helpwanted  
    Started by cre8able, Today, 07:24 PM
    0 responses
    9 views
    0 likes
    Last Post cre8able  
    Working...
    X