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

Events while changing indicator parameters

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

    Events while changing indicator parameters

    Hi:

    Where I can find more information about the sequence of events triggered, when indicator parameters are changed and Apply / OK buttons are pressed on Indicators window.

    Thanks

    #2
    Hello sherazwaqar,

    We do not have any documentation on the sequence as it is event driven. With that said, when you open up any menu or window with a Strategy/Indicator the Initialize() method will be ran at least once to populate a list to show up. Once a NinjaScript is applied and you press the Ok, button OnStartUp() will be called after Initialize(), and before OnBarUpdate().

    Let us know if we can be of further assistance.
    JCNinjaTrader Customer Service

    Comment


      #3
      I meant to ask, if I have indicator loaded on a chart and I right click and open the indicator dialog box, and changed some parameters for the indicator already loaded on the chart, do it go through the intialize() , OnStartUp() and OnBarUpdateCycle() when I click Apply/OK

      Comment


        #4
        Hello sherazwaqar,

        Yes, that would correct.
        JCNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by DJ888, 04-16-2024, 06:09 PM
        6 responses
        18 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by Jon17, Today, 04:33 PM
        0 responses
        1 view
        0 likes
        Last Post Jon17
        by Jon17
         
        Started by Javierw.ok, Today, 04:12 PM
        0 responses
        6 views
        0 likes
        Last Post Javierw.ok  
        Started by timmbbo, Today, 08:59 AM
        2 responses
        10 views
        0 likes
        Last Post bltdavid  
        Started by alifarahani, Today, 09:40 AM
        6 responses
        41 views
        0 likes
        Last Post alifarahani  
        Working...
        X