• 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

Connecting Indicator with 3 party addon

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

    Connecting Indicator with 3 party addon

    I need assistance for an Idea, to change one indicator to take information from 3 party addon, and plot it on the chart.
    The indicator which I am gonna modify have the elements inside that will be shown of the chart, but I don't know how to make the relation betwen the indicator (.cs) and the addon (.dll)
    Hope you can help me

    Thanks

    #2
    Hello nikodine,
    Thanks for your post.

    To do this you would need to use the static modifier inside your addon to make the values you need available. Please note, this is an advanced C# concept and is not supported by NinjaTrader.

    Using the static modifier can cause all sorts of unexpected things to happen, if you are not familiar with the nuances.

    That being said, I have created a quick sample of how to access a double value set inside your addon and use it in an indicator. I suggest searching the internet for more detailed information on how to work with the static modifier.
    Attached Files
    JoshNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Rmos22, Today, 02:20 PM
    0 responses
    5 views
    0 likes
    Last Post Rmos22
    by Rmos22
     
    Started by sawtooth500, Today, 12:59 PM
    1 response
    3 views
    0 likes
    Last Post NinjaTrader_Spencer  
    Started by Steve L, Yesterday, 09:36 PM
    1 response
    19 views
    0 likes
    Last Post NinjaTrader_Kate  
    Started by MichaelAlexander, 04-25-2017, 03:28 AM
    9 responses
    1,170 views
    0 likes
    Last Post dani neira  
    Started by uday12, Today, 11:34 AM
    2 responses
    9 views
    0 likes
    Last Post uday12
    by uday12
     
    Working...
    X