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

Can AddOn Monitor For Indicator Adds Or Change Indicator Panel

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

    Can AddOn Monitor For Indicator Adds Or Change Indicator Panel

    Is it possible for an AddOn to monitor/be notified when any indicator is added to a chart?

    Is it possible for AddOn to change an indicator, i.e. change the Panel, and then have the Chart update accordingly?

    I am trying to auto update the layout based on a user add (without using a template).

    #2
    Hello aslane,

    You could potentially do this however setting values in an indicator is not something we have any supported examples for and may not work as expected. Most items your indicator sets will need to be set up when it starts so depending on what you are trying to update it may or may not be possible. There is also not any events I am aware of, this would be something you could poll for at a timed interval.

    You can see the following page for an example of looping over a charts indicators: https://ninjatrader.com/support/help...indicators.htm

    From the context of an addon you would need to find windows and then dig into each window to find its ChartControl to do this.


    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by goodknight777, Today, 11:39 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Jim  
    Started by Malik_demoacct, Today, 08:31 AM
    0 responses
    19 views
    0 likes
    Last Post Malik_demoacct  
    Started by tonynt, Today, 11:50 AM
    0 responses
    5 views
    0 likes
    Last Post tonynt
    by tonynt
     
    Started by Welovethelibrary, Today, 11:44 AM
    0 responses
    3 views
    0 likes
    Last Post Welovethelibrary  
    Started by MohammedAmine, Today, 10:44 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Kate  
    Working...
    X