• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How can I set the Instrument Link to a specified color programatically?

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

    How can I set the Instrument Link to a specified color programatically?

    Hi,

    On a AddOn, I would like to set the Instrument Link to a predefined color. I do not want to restore from the saved workspace. Everything else regarding the instrument propagation is working fine, I just would like to have the AddOn always open with a specified color independently of the saved workspace.

    Thank you
    jmneto

    #2
    Hello jmneto,

    Thanks for the post.

    I looked around in Visual Studio for a while but I was unable to find any interface that exposes the actual color of the Instrument Link control. All the addon has access to is the IInstrumentProvider and IIntervalProvider interfaces that are notified once the instrument or interval is changed. There is a feature request to add access to the instrument and interval link data for manipulation through NinjaScript, I will add a vote to feature SFT-3082.

    Thanks in advance for your patience.
    Chris L.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NinjaTrader_Brandon, Today, 10:24 AM
    0 responses
    8 views
    0 likes
    Last Post NinjaTrader_Brandon  
    Started by ptertich, Today, 07:56 AM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by aslane, Today, 08:24 AM
    1 response
    14 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by Capablanca, Yesterday, 05:51 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by jackt, Today, 07:43 AM
    3 responses
    14 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Working...
    X