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 algospoke, Today, 06:40 PM
    0 responses
    9 views
    0 likes
    Last Post algospoke  
    Started by maybeimnotrader, Today, 05:46 PM
    0 responses
    7 views
    0 likes
    Last Post maybeimnotrader  
    Started by quantismo, Today, 05:13 PM
    0 responses
    7 views
    0 likes
    Last Post quantismo  
    Started by AttiM, 02-14-2024, 05:20 PM
    8 responses
    168 views
    0 likes
    Last Post jeronymite  
    Started by cre8able, Today, 04:22 PM
    0 responses
    10 views
    0 likes
    Last Post cre8able  
    Working...
    X