Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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
    Josh G.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by futtrader, 04-21-2024, 01:50 AM
    5 responses
    56 views
    0 likes
    Last Post NinjaTrader_Eduardo  
    Started by PeakTry, Today, 10:49 AM
    0 responses
    2 views
    0 likes
    Last Post PeakTry
    by PeakTry
     
    Started by llanqui, Today, 10:32 AM
    0 responses
    5 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Started by StockTrader88, 03-06-2021, 08:58 AM
    45 responses
    3,992 views
    3 likes
    Last Post johntraderuser2  
    Started by TAJTrades, Today, 09:46 AM
    0 responses
    8 views
    0 likes
    Last Post TAJTrades  
    Working...
    X